/* ========================================
   PHYSIOCLINIC - MAIN STYLESHEET
   Mobile-first responsive design
   ======================================== */

/* ========================================
   1. CSS VARIABLES & ROOT
   ======================================== */
   body {
  scroll-padding-top: 80px;
}

:root {
    /* Color Palette */
    --primary-color: #0f6b66;
    --primary-dark: #0a4d49;
    --primary-light: #1a8b84;
    --accent-color: #f6a623;
    --accent-dark: #d48d1a;
    --accent-light: #ffc04d;
    
    /* Neutral Colors */
    --text-dark: #2d3436;
    --text-medium: #636e72;
    --text-light: #95a5a6;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #ecf0f1;
    --border-color: #dfe6e9;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
    --shadow-3d: 0 20px 40px rgba(0,0,0,0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-round: 50%;
    
    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-modal: 1050;
    --z-tooltip: 1070;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

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

p {
    margin-bottom: var(--spacing-md);
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style: none;
}

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

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   3. UTILITY CLASSES
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}
.section-title {
  color: var(--text-dark);
  margin-top: 0;                     /* remove default margin */
  margin-bottom: var(--spacing-md);
  padding-top: 2px;                  /* 👈 small top padding */
}




.section-subtitle {
    color: var(--text-medium);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width var(--transition-base);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

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

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

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

.btn-secondary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   4. HEADER & NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-sm);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    background: #0078c9;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    z-index: var(--z-dropdown);
}

.hamburger {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-nav-toggle.active .hamburger:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Navigation Menu */
/* underline */
/* ===============================
   NAVBAR UNDERLINE (FINAL FIX)
=============================== */

/* ===== NAVBAR UNDERLINE (FAIL-SAFE METHOD) ===== */

/* ===== CLEAN UNDERLINE (NO BOX SHADOW) ===== */

.nav-link:not(.cta-button) {
  display: inline-block;
  padding-bottom: 6px;      /* space for underline */
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

/* hover underline */
/* .nav-link:not(.cta-button):hover {
  border-bottom-color: #1179cb;
} */

/* active page underline */
.nav-link.active:not(.cta-button) {
  border-bottom-color: #1179cb;
}



/* ========================================
   5. HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
rgba(122, 191, 197),
        rgba(15, 107, 102, 0.7) 50%,
      rgba(228, 221, 186)
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: var(--spacing-xxl) 0;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    animation: fadeInUp 1s ease 0.4s both;
    
}

/* Primary Button (Book Free Consultation) */
.btn-primary {
    background-color: #1179cb;
    border: 2px solid #1179cb;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: #0e68b0; /* darker shade on hover */
    border-color: #0e68b0;
    transform: translateY(-2px);
}


/* Secondary Button (Explore Services) */
.btn-secondary {
    background-color:#1179cb;
    border: 2px solid #1179cb;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1179cb;
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   6. CARDS & 3D EFFECTS
   ======================================== */
.card-3d {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.card-inner {
    transition: transform var(--transition-base);
    transform-style: preserve-3d;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    position: relative;
}

.card-3d:hover .card-inner {
    transform: translateZ(20px) rotateX(5deg);
    box-shadow: var(--shadow-3d);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-lg);
    background: #1179cb;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.feature-title {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.feature-text {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.service-card .card-inner {
    padding: 0;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: var(--spacing-xl);
}

.service-title {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.service-text {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-base);
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ========================================
   7. TESTIMONIALS CAROUSEL
   ======================================== */
.testimonials {
    background: var(--bg-light);
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

.testimonials-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.stars {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    color: var(--text-medium);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
    background: #1179cb;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    background: #1179cb;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-round);
    background: var(--border-color);
    transition: all var(--transition-base);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
}

/* ========================================
   8. CTA SECTION
   ======================================== */
.cta-section {
    background: #1179cb;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: black;
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    color: black;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    justify-content: center;
}

/* ========================================
   9. FOOTER
   ======================================== */
/* ================= FOOTER ================= */

.footer {
  background: var(--text-dark);
  color: #ffffff;
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

/* CENTER CONTENT */
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: var(--spacing-xl);
}

/* BRAND COLUMN */
.footer-brand {
  max-width: 420px;
}

.footer-logo {
  width: 70px;
  height: auto;
  margin-bottom: 14px;
}

.footer-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* SUB TITLES */
.footer-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
}

/* LINKS */
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

/* CONTACT */
.footer-contact li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* SOCIAL ICONS */
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-4px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* BOTTOM BAR */
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-logo {
    width: 64px;
  }

  .footer-title {
    font-size: 1.4rem;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}


/* ========================================
   10. ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Fade-in on scroll classes */
.fade-in,
.fade-in-up,
.fade-in-down,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-up.visible {
    opacity: 1;
    animation: fadeInUp 0.8s ease;
}

.fade-in-down.visible {
    opacity: 1;
    animation: fadeInDown 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    animation: slideInLeft 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    animation: slideInRight 0.8s ease;
}

/* ========================================
   11. RESPONSIVE DESIGN
   ======================================== */

/* Small devices (480px and up) */
@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: row;
    }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .mobile-nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
        flex-direction: row;
        padding: 0;
        align-items: center;
        gap: var(--spacing-lg);
    }
    
    .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transform: translateX(-50%);
        transition: width var(--transition-base);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }
    
    .nav-link.cta-button {
        margin: 0;
        margin-left: var(--spacing-md);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .section {
        padding: var(--spacing-xxl) 0;
    }
}

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* Parallax effect for desktop only */
@media (min-width: 768px) {
    .parallax-container {
        position: relative;
        overflow: hidden;
    }
    
    .parallax-element {
        will-change: transform;
        transform: translateZ(0);
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .mobile-nav-toggle,
    .carousel-controls,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

.certifications {
  padding: 90px 0;
  background: #f7faff;
}

/* GRID */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

/* ITEM – SAME SIZE */
.cert-item {
  width: 100%;
  aspect-ratio: 3 / 4;        /* Portrait document */
  background: #eef2f7;        /* Neutral background (no white frame) */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

/* IMAGE – FULLY VISIBLE */
.cert-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;        /* 👈 NO CROPPING */
  transition: transform 0.35s ease;
}

/* HOVER (VERY SUBTLE) */
.cert-item:hover img {
  transform: scale(1.02);
}

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

/* MOBILE */
@media (max-width: 576px) {
  .certifications {
    padding: 60px 0;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }
}
/* --- New Videos Section --- */
.videos-section {
    padding: 40px 0;
}

.videos-section h2,
.videos-section p {
    text-align: center;
    margin-bottom: 30px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

.video-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-media {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    overflow: hidden;
}

.video-image,
.service-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-video {
    border: 2px solid #fff;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.video-title {
    padding: 15px;
    text-align: center;
    background-color: white;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-weight: 500;
    color: #333;
}
/* Video Showcase Section */
.video-showcase-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

/* Beautiful Animated Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #f5576c 75%, 
        #4facfe 100%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.video-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(120,119,198,0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,119,198,0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(120,219,255,0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.video-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.video-card {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 35px 70px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.2);
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Shows COMPLETE VIDEO */
    display: block;
    border-radius: 24px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.4s ease;
}

.video-overlay.playing {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
}

.play-btn:hover {
    transform: scale(1.1);
    background: white;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

/* RESPONSIVE DESIGN - Perfect for ALL devices */
@media (max-width: 1200px) {
    .video-card {
        max-width: 800px;
    }
}

@media (max-width: 992px) {
    .video-showcase-section {
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .video-card {
        max-width: 700px;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .video-showcase-section {
        min-height: 50vh;
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .video-card {
        max-width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }
    
    .play-btn {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .video-showcase-section {
        min-height: 45vh;
        padding: 30px 0;
    }
    
    .video-card {
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }
    
    .play-btn {
        width: 70px;
        height: 70px;
        font-size: 22px;
    }
}

@media (max-width: 360px) {
    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

/* Loading Animation */
.video-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    z-index: 10;
}

.video-card.loading::before {
    opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ensure video maintains aspect ratio */
@supports not (aspect-ratio: 16/9) {
    .video-card {
        height: 56.25vw;
        max-height: 500px;
    }
    
    @media (max-width: 768px) {
        .video-card {
            height: 62.5vw;
            max-height: 400px;
        }
    }
}
.contact-row {
  display: grid;
  grid-template-columns: 22px 1fr; /* icon | text */
  gap: 12px;
  align-items: start;              /* 🔥 icon aligns to first line */
  margin-bottom: 14px;
  color: #e5e7eb;
}

.contact-icon {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 2px;                 /* 🔥 fine alignment */
}

.contact-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Desktop polish */
@media (min-width: 992px) {
  .contact-text {
    font-size: 16px;
  }

  .contact-icon {
    font-size: 18px;
  }
}
/* Remove default list spacing */
.footer-services .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Ensure proper left alignment */
.footer-services .footer-links li {
  margin-bottom: 10px;
}

/* FIX multi-line alignment */
.footer-services .footer-links a {
  display: block;          /* 🔥 important */
  text-align: left;
  line-height: 1.6;
  padding-left: 0;         /* 🔥 removes shift */
  color: #e5e7eb;
  font-size: 15px;
}

/* Desktop polish */
@media (min-width: 992px) {
  .footer-services .footer-links a {
    font-size: 16px;
  }
}
/* Shift the whole services column left */
.footer-services {
  text-align: left;
  padding-left: 12px;   /* 🔥 moves everything left */
}

/* Reset list spacing */
.footer-services .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* List items */
.footer-services .footer-links li {
  margin-bottom: 10px;
}

/* Links */
.footer-services .footer-links a {
  display: block;
  color: #e5e7eb;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

/* Desktop fine-tuning */
@media (min-width: 992px) {
  .footer-services {
    padding-left: 0;   /* aligns perfectly in desktop grid */
  }

  .footer-services .footer-links a {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .footer-services {
    padding-left: 8px;
  }
}
/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #1179cb;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 999;
}

.scroll-top:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}


/* Mobile size */
@media (max-width: 576px) {
  #scrollTopBtn {
    width: 44px;
    height: 44px;
    bottom: 18px;
    right: 18px;
  }
}
/* Team card layout */
.single-team .team-flex {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Image container */
.single-team .team-image {
  flex: 0 0 140px;   /* 🔥 controls image width */
  max-width: 140px;
}

/* Image itself */
.single-team .team-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

/* Content takes remaining space */
.single-team .team-content {
  flex: 1;
}

/* Tablet */
@media (max-width: 768px) {
  .single-team .team-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .single-team .team-image {
    flex: 0 0 120px;
    max-width: 120px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .single-team .team-image {
    max-width: 100px;
  }
}
.services-cta {
  text-align: center;
  margin-top: 40px;
}
/* Card wrapper */
.team-card {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* 3D hover effect */
.card-3d:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

/* Inner flex */
.team-flex {
  display: flex;
  gap: 30px;
  padding: 30px;
  align-items: center;
}

/* Image */
.team-image img {
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(17, 121, 203, 0.25);
  transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

/* Content */
.team-content {
  flex: 1;
  text-align: left;
}

/* Name */
.team-name {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Role */
.team-role {
  color: #1179cb;
  font-weight: 500;
  margin-bottom: 14px;
}

/* Specializations */
.team-specializations {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.spec-tag {
  background: linear-gradient(135deg, #1179cb, #4aa3ff);
  color: #fff;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 50px;
  transition: transform 0.3s ease;
}

.spec-tag:hover {
  transform: translateY(-3px);
}

/* Bio */
.team-bio {
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Meta section */
.team-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Experience */
.team-experience {
  font-weight: 600;
  color: #333;
}

/* Social */
.team-social a {
  margin-left: 12px;
  font-size: 18px;
  text-decoration: none;
  color: #1179cb;
  transition: transform 0.3s ease, color 0.3s ease;
}

.team-social a:hover {
  transform: scale(1.2);
  color: #0d5fa3;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .team-flex {
    flex-direction: column;
    text-align: center;
  }

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

  .team-meta {
    flex-direction: column;
    gap: 12px;
  }
}
/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Container */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #1179cb;
  text-decoration: none;
}

/* Nav menu */
.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

/* Links */
.nav-link {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #1179cb;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

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


/* CTA Button */
.cta-button {
  background: #1179cb;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(17, 121, 203, 0.4);
}

/* Mobile toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-toggle span {
  width: 26px;
  height: 3px;
  background: #1179cb;
  border-radius: 2px;
}

/* 🔹 Responsive */
@media (max-width: 768px) {

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 30px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .cta-button {
    width: 80%;
    text-align: center;
  }
}
/* ===== FIXED FLOATING BUTTONS ===== */

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.whatsapp-float img {
  width: 24px;
  height: 24px;
}

/* Scroll To Top Arrow */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 90px; /* 👈 ABOVE WhatsApp */
  width: 50px;
  height: 50px;
  background-color: #1179cb;
  color: #fff;
  border-radius: 50%;
  display: none; /* JS controls visibility */
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 9999; /* 👈 higher than WhatsApp */
}

/* Mobile Fix */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 45px;
    height: 45px;
    right: 15px;
    bottom: 15px;
  }

  .whatsapp-float img {
    width: 22px;
    height: 22px;
  }

  .scroll-top {
    width: 45px;
    height: 45px;
    right: 15px;
    bottom: 75px;
    font-size: 20px;
  }
}

/* Certification Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cert-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Lightbox Overlay */
.cert-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
}

/* White Box Image */
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  animation: zoomIn 0.3s ease;
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

/* Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .lightbox-img {
    max-width: 100%;
    max-height: 85%;
    padding: 10px;
  }

  .lightbox-close {
    font-size: 30px;
    top: 15px;
    right: 20px;
  }
}
/* =========================
   COMPACT CONTACT SECTION
========================= */

/* Overall spacing control */
.section {
  padding: 60px 0; /* reduced from large default */
}

/* Contact container */
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: start;
}

/* Form section */
.contact-form-section {
  padding: 30px;
  border-radius: 16px;
}

/* Reduce form spacing */
.form-grid {
  gap: 18px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 10px 14px;
  font-size: 14px;
}

.form-textarea {
  min-height: 90px;
}

/* Info cards compact */
.contact-info-section {
  display: grid;
  gap: 20px;
}

.info-card {
  padding: 22px;
  border-radius: 14px;
}

.info-item {
  margin-bottom: 10px;
  font-size: 14px;
}

/* Clinic hours compact */
.hours-grid {
  gap: 6px 12px;
  font-size: 14px;
}

/* Emergency notice smaller */
.emergency-notice {
  padding: 16px;
  font-size: 14px;
}

/* =========================
   SMALL RESPONSIVE MAP
========================= */

.map-container {
  margin-top: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.map-title {
  margin-bottom: 12px;
  font-size: 18px;
}

.map-responsive {
  width: 100%;
  height: 260px; /* 👈 reduced height */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.map-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-form-section {
    padding: 24px;
  }

  .map-responsive {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 45px 0;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 13px;
    padding: 9px 12px;
  }

  .map-responsive {
    height: 200px;
  }
}
/* Reduce top spacing for contact section */
.section {
  padding-top: 2px;   /* was large */
  padding-bottom: 60px;
}
/* Reduce top gap above map section */
.map-container {
  margin-top: 20px;   /* was too large */
}

/* Remove extra space above map heading */
.map-title {
  margin-top: 0;
  margin-bottom: 10px;
}
/* Reduce top space above FAQ section */
.faq-grid {
  margin-top: 20px;   /* reduce gap from above */
}
/* Fix fade-in-up final position */
.fade-in-up {
  transform: translateY(0) !important;
}
/* ===== FIX LAYOUT JUMP AFTER FADE-IN-UP ===== */
.fade-in-up {
  transform: translateY(0) !important;
  animation-fill-mode: forwards;
}
/* =========================
   FAQ SECTION SPACING FIX
========================= */

.faq-section {
  padding-top: 30px;   /* reduce from large default */
  padding-bottom: 60px;
}

/* Reduce space between title and FAQ grid */
.faq-section .section-header {
  margin-bottom: 20px;
}

/* Reduce gap above FAQ grid */
.faq-grid {
  margin-top: 0;
}

/* Ensure animation doesn't shift layout */
.faq-section .fade-in-up {
  transform: translateY(0) !important;
  animation-fill-mode: forwards;
}
@media (max-width: 768px) {
  .faq-section {
    padding-top: 25px;
    padding-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .faq-section .section-header {
    margin-bottom: 15px;
  }
}
/* Reduce space above Service Videos section */
.videos-section {
  margin-top: 25px;   /* adjust: 15–30px */
}
@media (max-width: 480px) {
  .videos-section {
    margin-top: 15px;
  }
}
/* Reduce space above Services CTA */
.services-cta {
  margin-top: 5px;   /* adjust: 15–30px */
}
/* Reduce top spacing for section headers */
.section-header {
  margin-top: 0;
  margin-bottom: 25px; /* keep nice spacing below */
}
.section-header .section-title {
  margin-top: 0;      /* removes extra top gap */
}

.section-header .section-subtitle {
  margin-top: 8px;    /* small, balanced gap */
}
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 18px;
  }

  .section-header .section-subtitle {
    margin-top: 6px;
  }
}
/* =========================
   CTA SECTION SPACING FIX
========================= */

.cta-section {
  padding-top: 28px;    /* reduced from large default */
  padding-bottom: 50px;
}

/* Remove extra space inside CTA */
.cta-content {
  margin-top: 0;
}

/* Tighten title & text spacing */
.cta-title {
  margin-top: 0;
  margin-bottom: 12px;
}

.cta-text {
  margin-bottom: 20px;
}

/* Buttons spacing */
.cta-buttons {
  margin-top: 10px;
}
@media (max-width: 480px) {
  .cta-section {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .cta-title {
    font-size: 20px;
  }
}
/* Reduce space below Testimonials section */
.testimonials {
  padding-bottom: 30px;   /* reduce from large default */
}
/* Tighten CTA section spacing */
.cta-section {
  padding-top: 24px;      /* small gap from above */
  padding-bottom: 40px;
}
.team-card {
  margin-bottom: 20px;
}
/* FORCE remove top gap above Certifications */
.certifications {
  padding-top: 20px !important;
  margin-top: -30px;   /* 👈 this is the key */
}
/* Reduce gap after Team section */
.team-section,
.team-card {
  margin-bottom: 40px !important;
  padding-bottom: 40px !important;
}
.certifications .section-header {
  margin-bottom: 30px;
}

.certifications .section-title {
  margin-top: 0;
}

.certifications .section-subtitle {
  margin-top: 6px;
}
@media (max-width: 480px) {
  .certifications {
    margin-top: -30px;
    padding-top: 16px;
  }
}
/* Global section spacing normalization */
.section {
  padding-top: 40px;
  padding-bottom: 50px;
}
/* Tight spacing for Experience CTA */
.cta-section {
  padding-top: 25px;
}
.testimonials,
.certifications,
.team-section {
  padding-bottom: 30px;
}
@media (max-width: 480px) {
  .section {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .cta-section {
    padding-top: 20px;
  }
}
/* ===============================
   SERVICE DETAIL CTA BUTTON
   CENTER ALIGN + RESPONSIVE
================================ */

/* Center the button */
.service-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

/* Button sizing */
.service-cta .btn {
  min-width: 220px;
  text-align: center;
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .service-cta {
    margin-top: 20px;
  }

  .service-cta .btn {
    width: 100%;          /* full width on tablet */
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .service-cta {
    margin-top: 16px;
  }

  .service-cta .btn {
    width: 100%;          /* full width on mobile */
    max-width: 100%;
    padding: 14px 18px;
    font-size: 15px;
  }
}
/* Reduce top gap above FAQ section */
.faq-section {
  padding-top: 10px;   /* move FAQ section upward */
}

/* Reduce space above FAQ heading */
.faq-section .section-header {
  margin-top: 0;
  margin-bottom: 16px;
}

/* Remove default h2 top margin */
.faq-section .section-title {
  margin-top: 0;
}
@media (max-width: 768px) {
  .faq-section {
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding-top: 12px;
  }
}
/* ===============================
   WHATSAPP FLOAT BUTTON (CLEAN)
================================ */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 90px;          /* above arrow */
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.whatsapp-float svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1179cb;
  color: #fff;
  font-size: 20px;
  border: none;
  cursor: pointer;
  z-index: 1000;
  display: none;
}

/* Hover – subtle */
.whatsapp-float:hover,
.scroll-top:hover {
  opacity: 0.9;
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 480px) {
  .whatsapp-float,
  .scroll-top {
    width: 40px;
    height: 40px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 80px;
  }

  .scroll-top {
    bottom: 20px;
    font-size: 16px;      /* balanced arrow size */
    line-height: 1;
  }

  /* 🔥 REAL FIX: optical scaling */
  .whatsapp-float svg {
    width: 18px;
    height: 18px;
    transform: scale(1.25);   /* 👈 THIS makes it match ↑ */
    transform-origin: center;
  }
}

/* ================================
   SERVICES SECTION
================================ */

.services-preview {
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Grid layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.service-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

/* Prevent overlays blocking clicks */
.service-card::before,
.service-card::after,
.card-inner::before,
.card-inner::after {
  pointer-events: none;
  content: none;
}

.card-inner {
  position: relative;
  height: 100%;
}

/* Image */
.service-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Content */
.service-content {
  padding: 18px;
  position: relative;
  pointer-events: auto;
}

.service-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.service-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Link (CLICKABLE FIX) */
.service-link {
  display: inline-block;
  color: #1179cb;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  z-index: 5;
}

.service-link:hover {
  text-decoration: underline;
}

/* Hover animation (desktop only) */
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }
}

/* ================================
   RESPONSIVE
================================ */

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

  .service-image img {
    height: 200px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-image img {
    height: 180px;
  }

  .service-content {
    padding: 16px;
  }

  .service-title {
    font-size: 16px;
  }

  .service-text {
    font-size: 13px;
  }
}
/* CTA section bottom spacing */
.cta-section {
  padding-bottom: 50px;   /* bottom space */
}

/* Tablet */
@media (max-width: 768px) {
  .cta-section {
    padding-bottom: 40px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .cta-section {
    padding-bottom: 32px;
  }
}
/* =====================================
   Lazy Image Blur Effect
===================================== */

.service-detail-image {
  position: relative;
  overflow: hidden;
  background: #f1f3f5; /* light placeholder */
}

/* Image default state (before load) */
.service-detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(12px);
  transform: scale(1.05);
  transition: filter 0.6s ease, transform 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

/* Image after load */
.service-detail-image img.loaded {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

/* Prevent layout shift */
.service-detail-image::before {
  content: "";
  display: block;
  padding-top: 65%; /* aspect ratio placeholder */
}

/* Remove placeholder after image loads */
.service-detail-image.loaded::before {
  display: none;
}

/* Responsive tuning */
@media (max-width: 768px) {
  .service-detail-image::before {
    padding-top: 70%;
  }
}

@media (max-width: 480px) {
  .service-detail-image::before {
    padding-top: 75%;
  }
}
/* ===============================
   CONTACT SECTION – FIXED LAYOUT
================================ */

.section.contact-section {
  padding-top: 32px;
  padding-bottom: 40px;
  min-height: auto; /* 👈 prevents forced scroll */
}

/* Remove animation offset push */
.contact-section .fade-in-up {
  transform: none !important;
  opacity: 1 !important;
}

/* Main layout */
.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: flex-start;
}

/* Form section spacing */
.contact-form-section {
  margin-top: 0;
}

.form-title {
  margin-top: 0;
  margin-bottom: 6px;
}

.form-subtitle {
  margin-bottom: 16px;
}

/* Form grid tighter */
.form-grid {
  gap: 14px;
}

/* Inputs */
.form-input,
.form-select,
.form-textarea {
  padding: 10px 12px;
}

/* Checkbox */
.form-checkbox-group {
  margin-top: 12px;
}

/* Buttons */
.form-buttons {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Info section */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  padding: 14px;
}

/* Map section */
.map-container {
  margin-top: 28px;
}

.map-title {
  margin-bottom: 10px;
}

/* Map responsive */
.map-responsive {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
}

.map-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===============================
   TABLET VIEW
================================ */

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .map-responsive {
    height: 260px;
  }
}

/* ===============================
   MOBILE VIEW
================================ */

@media (max-width: 480px) {
  .section.contact-section {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .contact-container {
    gap: 20px;
  }

  .form-grid {
    gap: 12px;
  }

  .map-responsive {
    height: 220px;
  }

  .form-buttons {
    flex-direction: column;
  }
}
/* ===== CONTACT SECTION FIX ===== */
.contact-section {
  padding-top: 40px;     /* ⬅ reduce top gap */
  padding-bottom: 60px;
}

/* Remove extra space from hero/banner above */
.contact-section .container {
  margin-top: 0;
}

/* ===== FORM CARD ===== */
.contact-form-section {
  background: #ffffff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Headings spacing */
.form-title {
  margin-top: 0;
  margin-bottom: 8px;
}

.form-subtitle {
  margin-bottom: 24px;
  color: #666;
}

/* ===== FORM GRID ===== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Full width fields */
.form-group.full-width {
  grid-column: 1 / -1;
}

/* Inputs */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
}

/* Textarea height */
.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Checkbox spacing */
.form-checkbox-group {
  margin-top: 20px;
}

/* Buttons */
.form-buttons {
  margin-top: 25px;
  display: flex;
  gap: 12px;
}
/* ===== MAP CONTAINER ===== */
.map-container {
  margin-top: 40px;
}

/* Title spacing */
.map-title {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

/* ===== RESPONSIVE MAP WRAPPER ===== */
.map-responsive {
  position: relative;
  width: 100%;
  max-width: 100%;        /* full width */
  height: 420px;          /* 👈 increase height */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Iframe fills container */
.map-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .map-responsive {
    height: 300px;   /* mobile-friendly height */
  }
}

@media (max-width: 480px) {
  .map-responsive {
    height: 260px;   /* small phones */
  }
}
/* popup */
/* ===== CONTACT MODAL (cm- prefix) ===== */
#contactModal{ font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

.cm-modal{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  perspective: 1200px;
}

.cm-modal.cm-open{ display: grid; }

/* .cm-backdrop{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(124,92,255,.28), transparent 60%),
    radial-gradient(900px 600px at 80% 30%, rgba(35,213,255,.20), transparent 55%),
    rgba(0,0,0,.60);
  backdrop-filter: blur(10px);
  animation: cmFade .22s ease-out both;
} */

.cm-dialog{
  position: relative;
  width: min(920px, calc(100vw - 22px));
  max-height: 88vh;
  overflow: auto;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);

  transform-style: preserve-3d;
  animation: cmPop3d .45s cubic-bezier(.2,.9,.2,1.05) both;
}

.cm-dialog::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(124,92,255,.35), rgba(35,213,255,.22), transparent 60%);
  filter: blur(14px);
  opacity: .65;
  z-index: -1;
}

.cm-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.95);
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transform: translateZ(25px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  font-size: 28px;
  line-height: 40px;
}
.cm-close:hover{ background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); transform: translateZ(25px) scale(1.03); }
.cm-close:active{ transform: translateZ(25px) scale(.98); }

.cm-head{
  padding: 18px 22px 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.cm-title{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(18px, 2.2vw, 24px);
}
.cm-subtitle{
  margin: 6px 46px 0 0;
  color: rgba(255,255,255,.70);
  font-size: 13px;
}

#contactModal #contact-form{ padding: 16px 22px 22px; }

/* ===== form styling inside modal only ===== */
#contactModal .form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
#contactModal .form-group{ display:flex; flex-direction:column; gap:7px; }
#contactModal .full-width{ grid-column: 1 / -1; }

#contactModal .form-label{ font-size: 13px; color: rgba(255,255,255,.70); }
#contactModal .required{ color: rgba(255,255,255,.85); }

#contactModal .form-input,
#contactModal .form-select,
#contactModal .form-textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(7,10,16,.35);
  color: rgba(255,255,255,.92);
  padding: 12px 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
#contactModal .form-textarea{ min-height: 110px; resize: vertical; }
#contactModal .form-input::placeholder,
#contactModal .form-textarea::placeholder{ color: rgba(255,255,255,.45); }

#contactModal .form-input:focus,
#contactModal .form-select:focus,
#contactModal .form-textarea:focus{
  border-color: rgba(124,92,255,.65);
  box-shadow: 0 0 0 4px rgba(124,92,255,.18);
  transform: translateY(-1px);
}

#contactModal .form-error{
  display:none;
  color: rgba(255,77,109,.95);
  font-size: 12px;
  margin-top: -2px;
}
#contactModal .form-error.is-visible{ display:block; }
#contactModal .is-invalid{
  border-color: rgba(255,77,109,.85) !important;
  box-shadow: 0 0 0 4px rgba(255,77,109,.18) !important;
}

/* checkbox */
#contactModal .form-checkbox-group{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
#contactModal .form-checkbox{ margin-top:3px; width:18px; height:18px; accent-color: #7c5cff; }
#contactModal .checkbox-label{ color: rgba(255,255,255,.70); font-size: 13px; line-height: 1.35; }
#contactModal .checkbox-label a{ color: rgba(255,255,255,.92); text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); }

/* buttons */
#contactModal .form-buttons{ margin-top:16px; display:flex; gap:10px; flex-wrap:wrap; }
#contactModal .btn{
  border-radius: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
#contactModal .btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
#contactModal .btn:active{ transform: translateY(0); }

#contactModal .btn-primary{
  border: 1px solid rgba(124,92,255,.55);
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(35,213,255,.65));
}
#contactModal .btn-outline{ background: rgba(255,255,255,.06); }

/* success */
#contactModal .cm-success{
  display:none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(53,208,127,.35);
  background: rgba(53,208,127,.12);
  color: rgba(220,255,236,.95);
  font-size: 13px;
}

/* responsive */
@media (max-width: 720px){
  #contactModal .form-grid{ grid-template-columns: 1fr; }
  .cm-head{ padding-right: 56px; }
}

/* animations */
@keyframes cmFade{ from{opacity:0;} to{opacity:1;} }
@keyframes cmPop3d{
  0%{ opacity:0; transform: rotateX(16deg) translateY(26px) scale(.975); filter: blur(1px); }
  100%{ opacity:1; transform: rotateX(0) translateY(0) scale(1); filter: blur(0); }
}
@media (prefers-reduced-motion: reduce){
  .cm-backdrop, .cm-dialog{ animation: none !important; }
}
/* whatsapp */
html, body {
  overflow-x: hidden;
}
.floating-actions {
  position: fixed;
  bottom: 16px;
  right: clamp(10px, 4vw, 20px); /* ⬅ responsive right spacing */
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
.whatsapp-float {
  width: 48px;
  height: 48px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.whatsapp-float img {
  width: 22px;
  height: 22px;
}

.scroll-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1179cb;
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
}
@media (max-width: 480px) {
  .floating-actions {
    bottom: 14px;
    gap: 10px;
  }
}
/* certificates */
/* Section */
.highlights {
  padding: 60px 0;
  background: #ffffff;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c2c2c;
}

.section-subtitle {
  color: #6b7280;
  margin-top: 8px;
}

/* Slider */
.single-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
}

/* Slide */
.slide {
  min-width: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
}

/* Image */
.image-wrapper {
  height: 320px;
  background: #f4f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Title */
.card-title {
  height: 65px;
  background: linear-gradient(135deg, #1179cb, #3fa9f5);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 15px;
}

/* Tablet */
@media (max-width: 768px) {
  .image-wrapper {
    height: 240px;
  }

  .card-title {
    height: 58px;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .image-wrapper {
    height: 210px;
  }
}
/* logo */
/* NAVBAR */
/* ================= NAVBAR ================= */
.navbar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  max-width: 1200px;          /* ✅ desktop balance */
  margin: 0 auto;
  padding: 14px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;             /* ✅ prevents squeeze */
}

.logo-img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0077cc;
  white-space: nowrap;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;                  /* ✅ better spacing */
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #1d4ed8;
}
/* ===== MOBILE NAV FIX ===== */
@media (max-width: 768px) {

  /* Center whole menu */
  .nav-menu {
    align-items: center;
  }

  /* Make each li center its content */
  .nav-menu li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* CTA button centered */
  .nav-menu .nav-link.cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 0;
  }
}


.nav-link.cta-button:hover {
  background: #005fa3;
}
@media (max-width: 768px) {

  .nav-container {
    padding: 12px 16px;
  }

  /* Logo scale */
  .logo-img {
    max-height: 42px;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  /* Mobile menu panel */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: #ffffff;

    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding-top: 40px;

    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  /* Mobile links */
  .nav-link {
    font-size: 1.1rem;
  }

  /* CTA mobile */
  .nav-link.cta-button {
  width: auto;                 /* ✅ let content decide width */
  min-width: 220px;            /* ✅ enough for text */
  max-width: 90%;
  text-align: center;

  padding: 14px 22px;          /* balanced padding */
  font-size: 1rem;
  line-height: 1.2;

  border-radius: 999px;
  white-space: nowrap;         /* ✅ prevents text break */
}
@media (max-width: 380px) {
  .nav-link.cta-button {
    font-size: 0.95rem;
    padding: 12px 18px;
    min-width: 200px;
  }
}

}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 72px;
  height: auto;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    width: 60px;
  }
}
/* sticky nav */
.navbar {
  position: sticky;        /* ✅ makes it sticky */
  top: 0;
  width: 100%;
  z-index: 1000;           /* stays above content */
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
}

.nav-link.active {
  color: #0078c9;
}
.nav-link.cta-button {
  background: #0078c9;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-link.cta-button:hover {
  background: #005fa3;
}
@media (max-width: 768px) {

  .logo-img {
    height: 40px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .nav-menu {
    position: fixed;
    top: 64px;              /* below navbar */
    right: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: #ffffff;

    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 40px;

    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
/* cross */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.hamburger {
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-nav-toggle.active .hamburger:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .hamburger:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}
/* Hide hamburger on desktop */
@media (min-width: 769px) {
  .mobile-nav-toggle {
    display: none;
  }
}
/* sticky */
/* ================= STICKY NAVBAR ================= */

.navbar {
  position: sticky;       /* ✅ makes navbar sticky */
  top: 0;                 /* ✅ sticks to top */
  z-index: 1000;          /* ✅ stays above content */
  background: #ffffff;   /* ✅ required for sticky */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* NAV CONTAINER */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0078c9;
  white-space: nowrap;
}

/* ================= DESKTOP MENU ================= */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: #1f2937;
  position: relative;
}

.nav-link.active {
  color: #0078c9;
}

/* CTA BUTTON */
.nav-link.cta-button {
  background: #0078c9;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-link.cta-button:hover {
  background: #005fa3;
}

/* ================= HAMBURGER ================= */

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.hamburger {
  width: 100%;
  height: 3px;
  background: #0078c9;
  transition: all 0.3s ease;
}

/* CROSS ANIMATION */
.mobile-nav-toggle.active .hamburger:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .hamburger:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 40px;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link.cta-button {
    width: 80%;
    text-align: center;
  }
}
/* humberger */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* 🔥 KEY */
  width: 100%;
  min-height: 64px;
  padding: 0 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 60px); /* 🔥 leaves space for hamburger */
}
.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0078c9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* 🔥 prevents pushing */
}
.mobile-nav-toggle {
  margin-left: auto;     /* 🔥 pushes it right */
  flex-shrink: 0;        /* 🔥 prevents squeezing */
}
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
}
/* sticky */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  }
  
  body {
    padding-top: 80px !important;
  }
  
  @media (max-width: 768px) {
    body {
      padding-top: 70px !important;
    }
    
    .nav-menu {
      top: 70px !important;
      height: calc(100vh - 70px) !important;
    }
  }
  .nav-link,
.nav-link:hover,
.nav-link.active {
  text-decoration: none !important;
}

.nav-link::after,
.nav-link::before {
  content: none !important;
  display: none !important;
}
/* humberger */
/* HAMBURGER BUTTON */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle .hamburger {
  width: 26px;
  height: 3px;
  background: #1179cb;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* CROSS ANIMATION */
.mobile-nav-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE MENU */
.mobile-nav-menu {
  position: fixed;
  top: 70px;
  right: -100%;
  width: 100%;
  height: calc(100vh - 70px);
  background: #fff;
  list-style: none;
  padding: 40px 20px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-nav-menu li {
  margin-bottom: 20px;
}

.mobile-nav-menu a {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.mobile-nav-menu a:hover {
  color: #1179cb;
}

/* SHOW MENU */
.mobile-nav-menu.active {
  right: 0;
}

/* SHOW HAMBURGER ONLY ON MOBILE */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
}
/* footer */
/* ================= FOOTER ================= */

.footer {
  background: #263238;
  color: #cfd8dc;
  padding: 60px 0 0;
  font-size: 14px;
}

.footer .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

/* BRAND */
.footer-brand {
  text-align: left;
}

.footer-logo {
  width: 65px;
  margin-bottom: 12px;
}

.footer-title {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-text {
  line-height: 1.6;
  color: #b0bec5;
}

/* SOCIAL ICONS */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: #1179cb;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: #0d6efd;
}

/* TITLES */
.footer-subtitle {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 15px;
}

/* LINKS */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
  color: #b0bec5;
}

.footer-links a {
  color: #b0bec5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #1179cb;
}

/* CONTACT */
.footer-contact li {
  line-height: 1.6;
}

/* BOTTOM BAR */
.footer-bottom {
  margin-top: 50px;
  background: #1e272e;
  padding: 18px 10px;
  text-align: center;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
  color: #90a4ae;
}

.footer-bottom a:hover {
  color: #ffffff !important;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .footer-brand {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-subtitle {
    margin-top: 20px;
  }
}
/* ================= FORCE MOBILE FOOTER FIX ================= */
@media (max-width: 768px) {

  footer.footer {
    padding-top: 35px !important;
  }

  footer .footer-grid {
    display: block !important;
  }

  footer .footer-column {
    margin-bottom: 28px !important;
  }

  /* BRAND SECTION */
  footer .footer-brand {
    text-align: center !important;
  }

  footer .footer-logo {
    margin: 0 auto 8px !important;
    width: 55px !important;
  }

  footer .footer-title {
    font-size: 18px !important;
  }

  footer .footer-text {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    max-width: 300px !important;
    margin: 0 auto !important;
  }

  footer .social-links {
    justify-content: center !important;
    margin-top: 14px !important;
  }

  /* SECTION HEADINGS */
  footer .footer-subtitle {
    font-size: 15px !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  }

  /* LINKS */
  footer .footer-links li,
  footer .footer-contact li {
    font-size: 14px !important;
    padding: 6px 0 !important;
  }

  footer .footer-links a {
    display: block !important;
  }

  /* BOTTOM BAR */
  footer .footer-bottom {
    font-size: 12px !important;
    padding: 14px 10px !important;
  }

  /* FLOATING BUTTONS – PREVENT OVERLAP */
  .whatsapp-float {
    bottom: 95px !important;
  }

  #scrollTopBtn {
    bottom: 35px !important;
  }
}

/* services */
/* ================= SERVICES DETAIL SECTION ================= */

.services-detail {
  background: #f8fafc;
  padding: 60px 0;
}

/* REMOVE BOXED FEEL */
.services-detail .container {
  max-width: 1200px;   /* SAME AS NAVBAR */
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}


/* GRID WRAPPER */
.services-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* SERVICE CARD – FULL WIDTH */
.service-detail-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  width: 100%;
   max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* IMAGE SIDE */
.service-detail-image {
  height: 100%;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT SIDE */
.service-detail-content {
  padding: 60px;
}

/* TITLES */
.service-detail-title {
  font-size: 30px;
  margin-bottom: 16px;
  color: #1e293b;
}

/* DESCRIPTION */
.service-detail-description {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 20px;
}

/* FEATURES */
.service-features h4 {
  margin-bottom: 10px;
  color: #1179cb;
}

.service-features ul {
  padding-left: 18px;
  margin-bottom: 25px;
}

.service-features li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* META INFO */
.service-meta {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.service-meta-item {
  background: #f1f5f9;
  padding: 12px 16px;
  border-radius: 10px;
}

.service-meta-label {
  font-size: 12px;
  color: #64748b;
}

.service-meta-value {
  font-weight: 600;
  color: #0f172a;
}

/* CTA */
.service-cta .btn {
  padding: 12px 28px;
  font-size: 14px;
}

/* ================= MOBILE FIX ================= */

@media (max-width: 900px) {
  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-detail-image {
    height: 240px;
  }

  .service-detail-content {
    padding: 30px 20px;
  }

  .service-detail-title {
    font-size: 24px;
  }

  .service-meta {
    flex-direction: column;
    gap: 12px;
  }
}
/* services animation */
/* ========= SERVICES ANIMATION ========= */

/* Scroll reveal */
.service-detail-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Visible */
.service-detail-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hover lift */
.service-detail-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* Image zoom */
.service-detail-image img {
  transition: transform 0.6s ease;
}

.service-detail-card:hover .service-detail-image img {
  transform: scale(1.06);
}

/* Button micro animation */
.service-cta .btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(17, 121, 203, 0.35);
}

/* Icon motion */
.service-icon svg {
  transition: transform 0.4s ease;
}

.service-detail-card:hover .service-icon svg {
  transform: rotate(-5deg) scale(1.1);
}
/* contact form */
/* ================= CONTACT SECTION ================= */

.contact-section {
  background: #f8fafc;
  padding: 60px 0;
}

.contact-section .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* MAIN LAYOUT */
.contact-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: flex-start;
}

/* ================= FORM CARD ================= */

.contact-form-section {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.form-title {
  font-size: 32px;
  margin-bottom: 8px;
  color: #1e293b;
}

.form-subtitle {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 30px;
}

/* FORM GRID */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
  color: #334155;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
}

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

/* CHECKBOX */
.form-checkbox-group {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox-label {
  font-size: 13px;
  color: #475569;
}

/* BUTTONS */
.form-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ================= INFO COLUMN ================= */

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1e293b;
}

.info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
}

.info-item-icon {
  font-size: 18px;
}

.info-link {
  color: #1179cb;
  text-decoration: none;
}

.info-link:hover {
  text-decoration: underline;
}

/* ================= MAP ================= */

.map-container {
  margin-top: 50px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.map-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.map-responsive {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  height: 350px;
}

.map-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================= MOBILE ================= */

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-form-section {
    padding: 25px;
  }

  .form-title {
    font-size: 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .map-responsive {
    height: 260px;
  }
}
/* /centre cta */
