/* Global Variables */
:root {
  /* Colors */
  --primary-color: #1E3A8A;
  --secondary-color: #2563EB;
  --accent-color: #3B82F6;
  --light-bg: #F8FAFC;
  --sky-blue: #EAF4FF;
  --dark-text: #111827;
  --success-color: #10B981;
  --white: #FFFFFF;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;

  /* Gradients */
  --primary-gradient: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  --dark-gradient: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Mobile touch targets */
@media (max-width: 768px) {
  a, button, .btn {
    min-height: 44px;
    min-width: 44px;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}

body {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.85);
  background-color: #1A3C8E;
  background-image: 
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(135deg, #1B3B8B 0%, #152E6A 100%);
  background-size: 40px 40px, auto;
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #FBBF24;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-bg-white {
  background: transparent;
  color: var(--white);
}

.section-bg-white h1, .section-bg-white h2, .section-bg-white h3, .section-bg-white h4, .section-bg-white h5, .section-bg-white h6 {
  color: #FFFFFF;
}

.section-bg-light {
  background: transparent;
  color: var(--white);
}

.section-bg-light h1, .section-bg-light h2, .section-bg-light h3, .section-bg-light h4, .section-bg-light h5, .section-bg-light h6 {
  color: #FFFFFF;
}

.section-bg-dark {
  background: transparent;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-bg-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4,
.section-bg-dark h5,
.section-bg-dark h6 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.section-bg-dark .section-subtitle {
  color: var(--gray-300);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-cols-3, .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.75rem; }
}

/* Glassmorphism utility */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-shadow);
}

/* ==========================================
   New Custom Hero Section (Screenshot Design)
   ========================================== */
.hero-custom {
  position: relative;
  background: transparent;
  color: #ffffff;
  padding: 10rem 0 6rem 0;
  text-align: center;
  overflow: hidden;
}

.hero-custom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.hero-custom .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #FBBF24; /* yellow highlighting */
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4.5rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: #F59E0B; /* Golden yellow/orange */
  color: #FFFFFF;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-hero-primary:hover {
  background: #D97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.scroll-indicator {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  opacity: 0.8;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: scrollWheelAnim 1.8s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================
   New Everything You Need to Succeed Section
   ========================================== */
.succeed-section {
  background: transparent;
  padding: 6rem 0;
}

.succeed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.succeed-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: 100%;
}

.succeed-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.08);
  border-color: rgba(255, 255, 255, 0.9);
}

.succeed-icon-box {
  width: 3.75rem;
  height: 3.75rem;
  background-color: #2563EB; /* Rich blue icon container */
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.succeed-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.succeed-card-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* Responsive overrides for new sections */
@media (max-width: 1200px) {
  .succeed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero-custom {
    padding: 8rem 0 4rem 0;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .succeed-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .succeed-card {
    padding: 2rem 1.5rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 2rem;
    margin-bottom: 2rem;
  }
  .stat-number {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .btn-hero-primary, .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }
  .hero-actions {
    gap: 1rem;
  }
}

/* ==========================================
   Why Choose Tamilnadu Business Links Section
   ========================================== */
.why-choose-section {
  padding: 6rem 0;
  background: transparent;
}

.why-choose-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.why-choose-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: 500;
}

.why-choose-list li i {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* .wc-card styles removed as they are defined in components.css with proper dark theme */

@media (max-width: 992px) {
  .why-choose-section .grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Animated Stats Section
   ========================================== */
.stats-animated-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #122f5a 70%, #0a1628 100%);
}

/* Animated floating gradient orbs */
.stats-bg-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.stats-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.stats-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #2563EB 0%, transparent 70%);
  top: -100px;
  left: -50px;
  animation: statsOrbFloat1 8s ease-in-out infinite;
}

.stats-orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #FBBF24 0%, transparent 70%);
  bottom: -80px;
  right: -30px;
  animation: statsOrbFloat2 10s ease-in-out infinite;
}

.stats-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: statsOrbFloat3 12s ease-in-out infinite;
}

/* Animated grid overlay */
.stats-grid-lines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: statsGridShift 20s linear infinite;
}

@keyframes statsOrbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.1); }
  66% { transform: translate(-20px, 50px) scale(0.95); }
}

@keyframes statsOrbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, -30px) scale(1.15); }
  66% { transform: translate(30px, -50px) scale(0.9); }
}

@keyframes statsOrbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.35; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.2; }
}

@keyframes statsGridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Stats card grid layout */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Individual stat card */
.stats-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FBBF24, #3B82F6, #FBBF24);
  background-size: 200% 100%;
  animation: statsCardTopBar 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stats-card:hover::before {
  opacity: 1;
}

.stats-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

@keyframes statsCardTopBar {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Icon */
.stats-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #FBBF24;
  transition: all 0.3s ease;
}

.stats-card:hover .stats-card-icon {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #0a1628;
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

/* Number */
.stats-card-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

/* Label */
.stats-card-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

/* Progress bar */
.stats-card-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.stats-card-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FBBF24, #3B82F6);
  border-radius: 2px;
  animation: statsBarGrow 2s ease-out forwards;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes statsBarGrow {
  to { transform: scaleX(1); }
}

/* Responsive */
@media (max-width: 992px) {
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-cards-grid {
    grid-template-columns: 1fr;
  }
  .stats-card-number {
    font-size: 2.5rem;
  }
  .stats-animated-section {
    padding: 4rem 0;
  }
}

/* Blog Detail Content Styles */
.blog-detail-card {
  color: #111827 !important;
}

.blog-detail-card h1,
.blog-detail-card h2,
.blog-detail-card h3,
.blog-detail-card h4,
.blog-detail-card h5,
.blog-detail-card h6 {
  color: #111827 !important;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.blog-detail-card p {
  color: #374151 !important;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-detail-card ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: disc !important;
}

.blog-detail-card li {
  color: #374151 !important;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  list-style-type: disc !important;
}

/* Core Value Cards Styling */
.value-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.value-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 15px rgba(59, 130, 246, 0.2);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon-wrapper {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #FBBF24;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.value-card:hover .value-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #0F172A;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(251, 191, 36, 0.4);
}

.value-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.value-card:hover .value-card-title {
  color: #FBBF24;
}

.value-card-text {
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.value-card:hover .value-card-text {
  color: rgba(255, 255, 255, 0.95);
}


