/* ==========================================
   DIVYABHARATHI COACHING WEBSITE
   Modern, Premium Design System
   ========================================== */

/* === CSS VARIABLES === */
:root {
  /* Colors - Based on Logo */
  --primary-blue: #1a4d6d;
  --secondary-cyan: #00d4d4;
  --secondary-teal: #3dd9d9;
  --dark: #0a1f2e;
  --dark-alt: #1a3a4d;
  --light: #f0f8ff;
  --white: #ffffff;
  --accent: #00bcd4;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent) 100%);
  --gradient-success: linear-gradient(135deg, var(--secondary-cyan) 0%, var(--secondary-teal) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26, 77, 109, 0.95) 0%, rgba(0, 212, 212, 0.85) 100%);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* 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);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-base: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-index */
  --z-header: 1000;
  --z-whatsapp: 999;
  --z-modal: 1100;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* === UTILITY CLASSES === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-alt {
  background: var(--light);
}

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

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 1rem 2rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: var(--gradient-success);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-header);
  transition: var(--transition-base);
  border-bottom: 2px solid rgba(0, 212, 212, 0.1);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(0, 212, 212, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-md);
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--dark);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  animation: fadeInUp 0.8s ease-out;
}

.hero-tagline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: var(--spacing-xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
  color: var(--white);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

/* === GRID LAYOUTS === */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: var(--spacing-md) auto 0;
}

/* === ABOUT SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
}

/* === SERVICES GRID === */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  transition: var(--transition-slow);
}

.service-card:hover::before {
  height: 100%;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.service-detail-card-icon {
  margin: 0;
}

@media (max-width: 768px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-card-icon {
    margin-bottom: var(--spacing-md);
  }
}

/* === PROCESS STEPS === */
.process-timeline {
  position: relative;
  padding: var(--spacing-xl) 0;
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.process-content h4 {
  margin-bottom: var(--spacing-xs);
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary-blue);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 20px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

/* === CONTACT FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* === CONTACT INFO === */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: var(--light);
  margin-bottom: var(--spacing-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--spacing-3xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-xs);
  transition: var(--transition-base);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.social-link:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

/* === WHATSAPP BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #00d4d4;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--shadow-xl);
  z-index: var(--z-whatsapp);
  transition: var(--transition-base);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 212, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(0, 212, 212, 0);
  }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === MAP === */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === BLOG === */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.blog-image {
  height: 250px;
  background: var(--gradient-primary);
  overflow: hidden;
}

.blog-content {
  padding: var(--spacing-lg);
}

.blog-meta {
  display: flex;
  gap: var(--spacing-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--dark);
}

/* === POLICY PAGES === */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-3xl) var(--spacing-md);
}

.policy-content h2 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.policy-content ul,
.policy-content ol {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.policy-content li {
  margin-bottom: var(--spacing-xs);
  color: var(--text-secondary);
}

/* === RESPONSIVE === */

/* Tablets */
@media (max-width: 1024px) {
  .hero {
    min-height: 80vh;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .process-number {
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --spacing-3xl: 3rem;
    --spacing-2xl: 2.5rem;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
  }
  
  .nav.active {
    left: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .card {
    padding: var(--spacing-md);
  }
}

/* === PRINT === */
@media print {
  .header,
  .whatsapp-float,
  .footer {
    display: none;
  }
}

/* ==========================================
   DIVYABHARATHI COACHING - PREMIUM V2 (2026)
   ========================================== */

:root {
  /* Refined Color Palette */
  --primary-blue: #0f172a;
  --accent: #00d4d4;
  --secondary-teal: #2dd4bf;
  --dark: #020617;
  --light: #f8fafc;
  --white: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --border-color: rgba(226, 232, 240, 0.8);
  
  /* Modern Gradients */
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #00d4d4 100%);
  --gradient-glass: rgba(255, 255, 255, 0.7);
  --gradient-hero: radial-gradient(circle at top right, rgba(0, 212, 212, 0.15), transparent),
                   radial-gradient(circle at bottom left, rgba(30, 64, 175, 0.1), transparent),
                   linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  
  /* Shadows - Layered for Depth */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  
  --radius-md: 12px;
  --radius-xl: 24px;
  --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === BASE ENHANCEMENTS === */
body {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
  background-color: var(--white);
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.03em;
  font-weight: 700;
}

/* === HEADER & NAVIGATION === */
.header {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border-color);
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-primary);
  opacity: 0.8;
}

.nav-link:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-link::after {
  background: var(--gradient-primary) !important;
  height: 3px !important;
  border-radius: 2px;
}

/* === HERO SECTION REDESIGN === */
.hero {
  background: var(--gradient-hero) !important;
  color: var(--primary-blue) !important;
  padding: 160px 0 100px;
}

.hero::before {
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='%2300d4d4' fill-opacity='0.2'/%3E%3C/svg%3E");
  opacity: 1;
}

.hero-title {
  color: var(--primary-blue) !important;
  font-size: clamp(3rem, 6vw, 4.5rem) !important;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-tagline {
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1rem !important;
}

.hero-subtitle {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
}

/* === BUTTONS - PREMIUM FEEL === */
.btn {
  padding: 14px 28px !important;
  text-transform: none;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--primary-blue) !important;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--dark) !important;
  box-shadow: 0 0 20px rgba(0, 212, 212, 0.3);
}

.btn-secondary {
  background: var(--white) !important;
  color: var(--primary-blue) !important;
  border: 1px solid var(--border-color);
}

/* === CARDS - GLASSMORPHISM === */
.card {
  border: 1px solid var(--border-color);
  background: var(--white);
  transition: var(--transition-base);
}

.service-card:hover {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-xl);
}

.card-icon {
  background: var(--light) !important;
  color: var(--accent) !important;
  transition: var(--transition-base);
}

.service-card:hover .card-icon {
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  transform: rotate(10deg);
}

/* === PROCESS STEPS === */
.process-number {
  background: var(--white) !important;
  color: var(--primary-blue) !important;
  border: 2px solid var(--accent);
  font-size: 1.5rem !important;
}

.process-step:hover .process-number {
  background: var(--accent) !important;
  color: var(--white) !important;
  transform: scale(1.1);
}

/* === TESTIMONIALS === */
.testimonial-card {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.testimonial-avatar {
  background: #e2e8f0 !important;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-md);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  background: #25D366 !important; /* Authentic WA color */
  border: 4px solid var(--white);
}

/* === ANIMATIONS === */
.fade-in {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
/* === CRITICAL MOBILE MENU FIXES === */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden by default */
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: 20px 0 50px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 1001;
  }

  .nav.active {
    left: 0;
  }

  /* Overlay background when menu is active */
  .nav.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: -1;
  }

  .mobile-menu-toggle {
    display: block;
    font-size: 1.5rem;
    z-index: 1002;
    background: var(--light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
  }

  /* Grid Fixes for Mobile */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* Featured blog card mobile */
  .featured-blog-card > div:first-child {
    display: none !important;
  }
}

/* === FEATURED BLOG BANNER — Collapse image on mobile === */
@media (max-width: 640px) {
  .featured-blog-banner {
    grid-template-columns: 1fr !important;
  }
  .featured-blog-banner img {
    display: none;
  }
}

/* === PRODUCTION POLISH === */
/* Smooth image loading */
img {
  transition: opacity 0.3s ease;
}

/* Om icon color */
.fa-om {
  color: inherit;
}

/* WhatsApp float button visibility */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-whatsapp);
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}