 .kuwait-wrapper {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            vertical-align: super;
            position: relative;
            top: -10px;
            margin-left: -8px;
            line-height: 1;
        }
        .kuwait {
            font-size: 0.48rem;
            letter-spacing: 2px;
            font-weight: 600;
            display: block;
            color: #ffffff;
            text-transform: uppercase;
            font-family: 'Montserrat', sans-serif;
        }
        .kuwait-flag {
            display: block;
            margin-top: 1px;
            width: 30px;
            height: 15px;
        }

* {
margin: 0;
            padding: 0;
            box-sizing: border-box;
        
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            line-height: 1.6;
            color: #333;
        }

        .header {
            background: linear-gradient(135deg, #164289 0%, #164D92 100%);
            color: white;
            padding: 0 0;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(22, 66, 137, 0.4);
            transition: padding 0.3s ease, box-shadow 0.3s ease;
        }

        .header.scrolled {
            padding: 0.5rem 0;
            box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4), 0 2px 12px rgba(22, 66, 137, 0.5);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            /* font-size: 1.8rem; */
            /* font-weight: bold; */
            /* white-space: nowrap; */
            margin-right: 15px;
            /* float: left; */
            line-height: 0;
        }
.logo img{
    width: 170px;
}
        nav {
            display: flex;
            gap: 0.5rem;
            /* margin-right: auto; */
        }

        nav a {
            color: white;
            text-decoration: none;
            transition: all 0.3s;
            padding: 6px 10px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 0.82rem;
            white-space: nowrap;
        }

        nav a:hover {
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        nav a:active {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(0);
        }

        .location_link a {
            color: white;
            text-decoration: none;
            transition: all 0.3s;
            padding: 6px 10px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 0.82rem;
            white-space: nowrap;
        }

        .location_link a:hover {
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .location_link a:active {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(0);
        }
.doctors_btnmain{
        background: #cf118c;
    padding: 15px;
    text-align: center;
    margin-bottom: 50px;
}
.inner_banner{
    padding-top: 150px !important;
}
.doctors_btnmain .container{
    padding: 0;
}
        /* Hamburger menu - hidden on desktop */
        .menu-toggle {
            display: none;
        }

        /* Language Selector */
        .language-selector {
            position: relative;
        }

        .language-btn {
            display: flex;
            align-items: center;
            gap: 2px;
            color: white;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 6px 3px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.82rem;
            font-family: 'Montserrat', sans-serif;
        }

        .language-btn:hover {
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .language-btn svg {
            flex-shrink: 0;
        }

        .language-btn .chevron {
            transition: transform 0.3s;
        }

        .language-btn.active .chevron {
            transform: rotate(180deg);
        }

        .language-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s;
            z-index: 1001;
            max-height: 400px;
            overflow-y: auto;
        }

        .language-dropdown.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .language-option {
            display: block;
            padding: 12px 20px;
            color: #333;
            text-decoration: none;
            transition: background 0.2s;
            border-left: 3px solid transparent;
            font-size: 0.9rem;
        }

        .language-option:first-child {
            border-radius: 10px 10px 0 0;
        }

        .language-option:last-child {
            border-radius: 0 0 10px 10px;
        }

        .language-option:hover {
            background: #f0f4f8;
            border-left-color: #164289;
        }

        .language-option.active {
            background: #e3f2fd;
            color: #164289;
            font-weight: 600;
            border-left-color: #164289;
        }

        /* Custom Scrollbar for Language Dropdown */
        .language-dropdown::-webkit-scrollbar {
            width: 6px;
        }

        .language-dropdown::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        .language-dropdown::-webkit-scrollbar-thumb {
            background: rgba(22, 66, 137, 0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 10px;
        }

        .language-dropdown::-webkit-scrollbar-thumb:hover {
            background: rgba(22, 66, 137, 0.5);
        }

        /* Hide Google Translate Default Toolbar */
        .goog-te-banner-frame.skiptranslate {
            display: none !important;
        }

        body {
            top: 0px !important;
        }

        #google_translate_element {
            display: none !important;
        }

        .goog-te-gadget {
            display: none !important;
        }

        .goog-te-banner-frame {
            display: none !important;
        }

        .hero {
            position: relative;
            overflow: hidden;
            isolation: isolate;
            background: #164289;
            background-size: auto;
            background-position: 50% 50%;
            color: white;
            padding: 80px 20px 80px;
            text-align: center;
            animation: none;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

        .hero > * {
            position: relative;
            z-index: 2;
        }

         .hero-ecg {
            position: absolute;
            top: 56%;
            width: 34%;
            height: 132px;
            opacity: 0.32;
            pointer-events: none;
            z-index: 1;
        }

        .hero-ecg-left {
            left: 3%;
        }

        .hero-ecg-right {
            right: 3%;
            transform: scaleX(-1);
        }

        .hero-ecg svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        .hero-ecg .ecg-line {
            fill: none;
            stroke: rgba(176, 234, 255, 0.8);
            stroke-width: 3.2;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-dasharray: 520;
            stroke-dashoffset: 520;
            filter: drop-shadow(0 0 7px rgba(110, 210, 255, 0.7));
            animation: ecgTrace 6s linear infinite;
        }

        .hero-ecg .ecg-glow {
            fill: none;
            stroke: rgba(80, 195, 255, 0.2);
            stroke-width: 10;
            stroke-linecap: round;
            stroke-linejoin: round;
            filter: blur(4px);
        }

        @keyframes heroBreathingGradient {
            0%, 100% {
                background-size: 140% 140%;
                background-position: 50% 50%;
            }
            50% {
                background-size: 155% 155%;
                background-position: 52% 46%;
            }
        }

        @keyframes ecgTrace {
            0% { stroke-dashoffset: 520; opacity: 0.12; }
            12% { opacity: 0.2; }
            32% { opacity: 0.72; }
            58% { opacity: 0.76; }
            82% { opacity: 0.4; }
            100% { stroke-dashoffset: 0; opacity: 0.12; }
        }


        @keyframes mobileMedicalArtFloat {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(8px); }
        }


        .hero-medical-art svg {
            width: 100%;
            height: auto;
            display: block;
            overflow: visible;
            color: rgba(160,235,255,0.96);
            filter: drop-shadow(0 0 3px rgba(110,210,255,0.18));
        }

        .hero-medical-art .medical-art-line {
            fill: none;
            stroke: rgba(149, 224, 255, 0.9);
            stroke-width: 1.6;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        @media (max-width: 1200px) {
            }

        @media (max-width: 980px) {
            }

        @media (max-width: 768px) {
            }


        /* ============================================================
   HERO LOGO ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Neon + Pulse + Ripple + Heartbeat-synced Glow
   (Single source of truth ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â duplicates removed)
   ============================================================ */
.hero-logo{
  width: fit-content;
  margin: -3px auto 10px;
  padding: 6px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease-in-out;
  will-change: transform, filter, box-shadow;
  display: inline-block;
}

.hero-logo::before{
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 22px;
  border: 1px solid rgba(173, 231, 255, 0.28);
  box-shadow:
    0 0 0 0 rgba(120, 210, 255, 0.16),
    0 0 18px rgba(120, 210, 255, 0.12);
  opacity: 0;
  transform: scale(0.96);
  animation: logoHaloRipple 4.8s ease-out infinite;
  pointer-events: none;
}

.hero-logo::after{
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 28px;
  border: 1px solid rgba(120, 210, 255, 0.14);
  opacity: 0;
  transform: scale(0.9);
  animation: logoHaloRippleOuter 4.8s ease-out infinite;
  animation-delay: 1.2s;
  pointer-events: none;
}

.hero-logo-img{
  max-width: 180px;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Hover ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ strong neon glow */
.hero-logo:hover{
  transform: translateY(-4px) scale(1.08);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 18px rgba(22, 132, 255, 0.95),
    0 0 35px rgba(22, 132, 255, 0.85),
    0 0 55px rgba(22, 132, 255, 0.75),
    0 0 85px rgba(22, 132, 255, 0.65),
    0 0 120px rgba(22, 132, 255, 0.55);
  filter: brightness(1.2) contrast(1.05);
}

/* Click ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ pulse animation + stronger neon burst */
.hero-logo:active{
  animation: pulseGlow 0.6s ease-out;
  box-shadow:
    0 0 30px rgba(22, 166, 255, 1),
    0 0 60px rgba(22, 166, 255, 0.95),
    0 0 100px rgba(22, 166, 255, 0.85),
    0 0 140px rgba(22, 166, 255, 0.75),
    0 0 180px rgba(22, 166, 255, 0.65);
  filter: brightness(1.3);
}

/* Expanding circular ripple on click */
.hero-logo:active::after{
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background: rgba(22, 66, 137, 0.45);
  box-shadow:
    0 0 40px rgba(22, 66, 137, 0.85),
    0 0 70px rgba(22, 66, 137, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: pulseRipple 0.7s ease-out;
  top: 50%;
  left: 50%;
  pointer-events: none;
}

/* Applied while the heartbeat sound is playing */
.hero-logo.heartbeat-neon{
  animation: hbNeonPulse 0.90s ease-in-out infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@keyframes logoHaloRipple{
  0%, 100% { opacity: 0; transform: scale(0.94); }
  10% { opacity: 0.18; }
  45% { opacity: 0.34; transform: scale(1.04); }
  78% { opacity: 0.08; transform: scale(1.12); }
}

@keyframes logoHaloRippleOuter{
  0%, 100% { opacity: 0; transform: scale(0.9); }
  18% { opacity: 0.08; }
  50% { opacity: 0.18; transform: scale(1.08); }
  82% { opacity: 0.04; transform: scale(1.18); }
}

/* Pulse glow animation */
@keyframes pulseGlow{
  0%   { box-shadow: 0 0 0 rgba(22, 66, 137, 0.0); }
  50%  { box-shadow: 0 0 25px rgba(22, 66, 137, 0.65); }
  100% { box-shadow: 0 0 0 rgba(22, 66, 137, 0.0); }
}

/* Ripple expansion animation */
@keyframes pulseRipple{
  0%   { transform: translate(-50%, -50%) scale(0);   opacity: 0.85; }
  65%  { transform: translate(-50%, -50%) scale(2.8); opacity: 0.35; }
  100% { transform: translate(-50%, -50%) scale(3.4); opacity: 0; }
}

/* Heartbeat synced neon pulse */
@keyframes hbNeonPulse{
  0%{
    transform: scale(1) translateZ(0);
    filter:
      drop-shadow(0 0 10px rgba(120, 200, 255, 0.45))
      drop-shadow(0 0 22px rgba(0, 140, 255, 0.25));
  }
  12%{
    transform: scale(1.05) translateZ(0);
    filter:
      drop-shadow(0 0 16px rgba(120, 200, 255, 0.75))
      drop-shadow(0 0 40px rgba(0, 170, 255, 0.50));
  }
  24%{
    transform: scale(1.01) translateZ(0);
    filter:
      drop-shadow(0 0 12px rgba(120, 200, 255, 0.55))
      drop-shadow(0 0 28px rgba(0, 150, 255, 0.35));
  }
  38%{
    transform: scale(1.06) translateZ(0);
    filter:
      drop-shadow(0 0 18px rgba(120, 200, 255, 0.85))
      drop-shadow(0 0 52px rgba(0, 200, 255, 0.60));
  }
  55%{
    transform: scale(1.02) translateZ(0);
    filter:
      drop-shadow(0 0 14px rgba(120, 200, 255, 0.65))
      drop-shadow(0 0 34px rgba(0, 160, 255, 0.40));
  }
  100%{
    transform: scale(1) translateZ(0);
    filter:
      drop-shadow(0 0 10px rgba(120, 200, 255, 0.45))
      drop-shadow(0 0 22px rgba(0, 140, 255, 0.25));
  }
}

/* Mobile-optimized heartbeat animation - simpler filters for performance */
@media (max-width: 767px){
  .hero-logo.heartbeat-neon{ animation: hbNeonPulseMobile 0.90s ease-in-out infinite; }

  @keyframes hbNeonPulseMobile{
    0%   { transform: scale(1) translateZ(0);    filter: drop-shadow(0 0 12px rgba(100, 180, 255, 0.5)); }
    12%  { transform: scale(1.05) translateZ(0); filter: drop-shadow(0 0 20px rgba(100, 180, 255, 0.8)); }
    24%  { transform: scale(1.01) translateZ(0); filter: drop-shadow(0 0 14px rgba(100, 180, 255, 0.6)); }
    38%  { transform: scale(1.06) translateZ(0); filter: drop-shadow(0 0 24px rgba(100, 180, 255, 0.9)); }
    55%  { transform: scale(1.02) translateZ(0); filter: drop-shadow(0 0 16px rgba(100, 180, 255, 0.65)); }
    100% { transform: scale(1) translateZ(0);    filter: drop-shadow(0 0 12px rgba(100, 180, 255, 0.5)); }
  }

  /* Keep splash logo pulse consistent on mobile */
  #splash-screen .hero-logo.pulsing{ animation: hbNeonPulseMobile 0.90s ease-in-out infinite; }
}

        .hero h1 {
            font-size: 2.4rem;
            margin-bottom: 0.3rem;
        }

        .hero h2 {
            font-size: 1.6rem;
            margin-bottom: 0.3rem;
        }

        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto;
        }

        @media (max-width: 768px) {
            .hero {
                animation-duration: 14s;
                padding-top: 200px;
                padding-left: 16px;
                padding-right: 16px;
            }

            .hero-ecg {
                height: 90px;
                opacity: 0.22;
            }

            .hero-logo,
            .hero-logo-wrap {
                display: block;
                margin-left: auto !important;
                margin-right: auto !important;
                left: auto !important;
                right: auto !important;
                transform: none;
            }

            .hero-logo-img {
                max-width: min(44vw, 170px);
                margin: 0 auto;
            }

            .hero h1,
            .hero h2 {
                width: 100%;
                margin-left: auto;
                margin-right: auto;
                position: relative;
                left: 0;
            }
        }

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

        .section {
            margin-bottom: 80px;
        }

        .section-title {
            font-size: 2.5rem;
            color: #164289;
            margin-bottom: 2rem;
            text-align: center;
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 2px solid #164D92;
            box-shadow: 0 8px 32px 0 rgba(22, 66, 137, 0.15);
            padding: 6px 16px;
            border-radius: 10px;
            display: inline-block;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.3), 0 0 0 3px rgba(22, 66, 137, 0.15);
        }

        .card h3 {
            color: #164289;
            margin-bottom: 1rem;
        }

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

        .specialty-item {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            padding: 25px;
            border-radius: 12px;
            border-left: 4px solid #164289;
            box-shadow: 0 4px 15px rgba(22, 66, 137, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .specialty-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(22, 66, 137, 0.05), transparent);
            transition: left 0.5s ease;
        }

        .specialty-item:hover::before {
            left: 100%;
        }

        .specialty-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(22, 66, 137, 0.15);
            border-left-color: #1a5dc8;
            background: linear-gradient(145deg, #ffffff, #f0f4ff);
        }

        .specialty-item h4 {
            transition: all 0.3s ease;
        }

        .specialty-item:hover h4 {
            color: #1a5dc8 !important;
            transform: translateX(5px);
        }

        .specialty-item p {
            transition: all 0.3s ease;
            color: #555;
        }

        .specialty-item:hover p {
            color: #333;
        }

        .centers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .center-card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .center-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.3), 0 0 0 3px rgba(22, 66, 137, 0.15);
        }

        .center-card h3 {
            color: #164289;
            margin-bottom: 1rem;
        }

        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: box-shadow 0.3s;
        }

        .contact-form:hover {
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.2), 0 0 0 3px rgba(22, 66, 137, 0.15);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }

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

        .btn {
            background: #164289;
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s;
        }

        .btn:hover {
            background: #164D92;
        }

        .footer {
            background: #164289;
            color: white;
            padding: 40px 20px;
            text-align: center;
        }
        .social-links a{
            border: 1px solid #fff;
            padding: 8px;
        }
.footer h3{
    font-size: 32px;
    margin-bottom: 20px;
}
        .social-links {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
        }

        .social-links a {
            color: white;
            text-decoration: none;
            font-size: 1.2rem;
            height: auto;
            line-height: 14px;
            border-radius: 10px;
        }

        .values-box {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 40px;
            border-radius: 10px;
            margin-top: 30px;
            transition: box-shadow 0.3s;
        }

        .values-box:hover {
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.2), 0 0 0 3px rgba(22, 66, 137, 0.15);
        }
.values-box h3{
    font-size: 36px;
}
.values-box .cards h3{
    font-size: 20px;
}
        /* Management Section Styles */
        .management-cards {
            display: flex;
            justify-content: center;
            gap: 150px;
            flex-wrap: wrap;
            margin-top: 40px;
        }

        .management-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.15);
            padding: 25px;
            text-align: center;
            width: 320px;
            transition: all 0.4s ease;
        }

        .management-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(22, 66, 137, 0.3), 0 0 0 3px rgba(22, 66, 137, 0.2);
        }

        .management-photo {
            width: 220px;
            height: 270px;
            margin: 0 auto 30px;
            border-radius: 10px;
            overflow: hidden;
            border: 3px solid #164D92;
            box-shadow: 0 4px 15px rgba(22, 66, 137, 0.2);
        }

        .management-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.4s ease;
        }

        .management-photo img:hover {
            transform: scale(1.05);
            box-shadow: none;
        }

        .management-info h3 {
            color: #164289;
            font-size: 0.95rem;
            font-weight: 500;
            margin-top: 10px;
            line-height: 1.4;
        }

        .management-name {
            color: #164289;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        @media (max-width: 767px) {
            .management-cards {
                gap: 50px;
            }

            .management-card {
                width: 300px;
                padding: 30px;
            }

            .management-photo {
                width: 170px;
                height: 210px;
            }

            .management-info h3 {
                font-size: 0.95rem;
            }

            .management-name {
                font-size: 1.3rem;
            }
        }

        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 40px;
            right: 40px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
        }

        .whatsapp-float svg {
            width: 35px;
            height: 35px;
            fill: white;
        }

        .whatsapp-menu {
            position: fixed;
            bottom: 115px;
            right: 10px;
            background: white;
            border-radius: 10px;
            border: 2px solid #164D92;
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
            padding: 5px 0;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s;
            width: 200px;
            max-height: calc(100vh - 180px);
            overflow-y: auto;
        }

        .whatsapp-float:hover + .whatsapp-menu,
        .whatsapp-menu:hover {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Menu Header */
        .whatsapp-menu-header {
            padding: 8px 12px;
            border-bottom: 1px solid #e9ecef;
            margin-bottom: 3px;
        }

        .whatsapp-menu-header h4 {
            color: #164289;
            font-size: 0.85rem;
            margin: 0;
            font-weight: 600;
        }

        .whatsapp-menu-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 7px 12px;
            color: #333;
            text-decoration: none;
            transition: background 0.2s;
            border-left: 3px solid transparent;
        }

        .whatsapp-menu-item:hover {
            background: #f0f9f4;
            border-left-color: #25d366;
        }

        .whatsapp-menu-item svg {
            width: 16px;
            height: 16px;
            fill: #25d366;
            flex-shrink: 0;
        }

        .whatsapp-menu-title {
            font-weight: 600;
            color: #164289;
            font-size: 0.78rem;
            line-height: 1.2;
        }

        .whatsapp-menu-subtitle {
            font-size: 0.68rem;
            color: #888;
            line-height: 1.2;
        }

        .whatsapp-menu::before {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 35px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid white;
        }

        /* Custom Scrollbar for WhatsApp Menu */
        .whatsapp-menu::-webkit-scrollbar {
            width: 6px;
        }

        .whatsapp-menu::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
        }

        .whatsapp-menu::-webkit-scrollbar-thumb {
            background: rgba(22, 66, 137, 0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 10px;
        }

        .whatsapp-menu::-webkit-scrollbar-thumb:hover {
            background: rgba(22, 66, 137, 0.5);
        }
/* ========== BRANCH SIDEBAR ========== */
        .branch-sidebar {
            position: fixed;
            top: 100px;
            left: 22px;
            width: 260px;
            max-height: calc(100vh - 120px);
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 2px solid #164D92;
            box-shadow: 
                0 4px 20px 0 rgba(22, 66, 137, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            transition: all 0.15s ease-out;
            z-index: 900;
            opacity: 0;
            transform: translateX(-120%);
            overflow: hidden;
            clip-path: inset(0 0 0 0 round 12px);
        }

        .branch-sidebar.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .branch-sidebar.expanded {
            width: 260px;
        }

        .branch-sidebar.collapsed {
            width: auto;
            background: transparent;
            border: none;
            box-shadow: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            overflow: visible;
        }

        @keyframes slideInFromLeft {
            from {
                opacity: 0;
                transform: translateX(-100%);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .branch-sidebar-header {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            color: white;
            padding: 10px 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5px;
            white-space: nowrap;
            user-select: none;
            border-radius: 12px 12px 0 0;
            max-width: 180px;
        }

        .branch-sidebar.expanded .branch-sidebar-header {
            max-width: none;
            width: auto;
            margin: 0;
            border-radius: 11px 11px 0 0;
            padding: 6px 0 6px 15px;
            background: rgba(255, 255, 255, 0.25);
            justify-content: flex-end;
        }

        .branch-sidebar-header:hover {
            background: rgba(255, 255, 255, 0.3);
            box-shadow: 
                0 12px 40px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        .branch-sidebar.collapsed .branch-sidebar-header {
            border-radius: 12px;
            margin: 0;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            padding: 12px 8px;
            gap: 8px;
            background: rgba(22, 66, 137, 0.25);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: #164289;
            border: 2px solid rgba(22, 66, 137, 0.4);
            box-shadow: 
                0 4px 20px rgba(22, 66, 137, 0.2),
                0 2px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
            font-weight: 700;
        }
        
        .branch-sidebar.collapsed .branch-sidebar-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(180deg, 
                        rgba(255, 255, 255, 0.3) 0%, 
                        rgba(255, 255, 255, 0.05) 50%,
                        transparent 100%);
            pointer-events: none;
        }
        
        .branch-sidebar.collapsed .branch-sidebar-header:hover {
            background: rgba(22, 66, 137, 0.35);
            border-color: rgba(22, 66, 137, 0.6);
            box-shadow: 
                0 6px 25px rgba(22, 66, 137, 0.3),
                0 4px 15px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
            transform: translateY(-2px);
        }

        .branch-sidebar-logo {
            max-width: 240px;
            width: 100%;
            height: auto;
            max-height: 60px;
            object-fit: contain;
            filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
            transition: all 0.8s ease;
            opacity: 1;
            display: block;
            margin-left: auto;
            margin-right: 1px;
            transform: scale(1.05);
            transform-origin: right center;
        }

        .branch-sidebar.collapsed .branch-sidebar-logo {
            display: none !important;
            opacity: 0;
            visibility: hidden;
        }

        .branch-sidebar.expanded .branch-sidebar-logo {
            display: block !important;
            opacity: 1;
            visibility: visible;
        }

        .branch-sidebar-header-text {
            transition: all 0.8s ease;
            font-size: 0.9rem;
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
            letter-spacing: 0.3px;
            opacity: 0;
            color: white;
            display: none;
        }

        .branch-sidebar.collapsed .branch-sidebar-header-text {
            display: block !important;
            opacity: 1;
            visibility: visible;
            color: #164289;
            font-weight: 700;
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
        }

        .branch-sidebar.expanded .branch-sidebar-header-text {
            display: none !important;
            opacity: 0;
            visibility: hidden;
        }

        .branch-sidebar-header .chevron-icon {
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
            color: white;
        }

        .branch-sidebar.expanded .branch-sidebar-header .chevron-icon {
            display: none;
        }
        
        .branch-sidebar.collapsed .branch-sidebar-header .chevron-icon {
            color: #164289;
            filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.3));
        }

        .branch-sidebar-content {
            padding: 16px 0;
            margin: 0;
            max-height: calc(100vh - 180px);
            overflow-y: auto;
            overflow-x: hidden;
            transition: opacity 0.3s ease;
            width: 100%;
            box-sizing: border-box;
        }

        .branch-sidebar.collapsed .branch-sidebar-content {
            opacity: 0;
            max-height: 0;
            padding: 0;
            overflow: hidden;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0s 0.2s;
        }

        .branch-item {
            padding: 10px 12px;
            margin: 6px 0 6px 0;
            background: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            border-left: none;
            border-right: none;
            border-radius: 0;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 0.85rem;
            color: #164289;
            font-weight: 600;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            display: block;
            line-height: 1.35;
            word-wrap: break-word;
            width: 100%;
            box-sizing: border-box;
            text-indent: 0;
        }

        .branch-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s;
        }

        .branch-item:hover::before {
            left: 100%;
        }

        .branch-item:hover {
            background: rgba(22, 66, 137, 0.12);
            border-color: rgba(22, 66, 137, 0.35);
            transform: translateX(6px);
            box-shadow: 0 4px 15px rgba(22, 66, 137, 0.2);
        }

        .branch-item.active {
            background: linear-gradient(135deg, 
                rgba(22, 66, 137, 0.18) 0%, 
                rgba(22, 77, 146, 0.12) 100%);
            border-color: #164D92;
            box-shadow: 0 3px 12px rgba(22, 66, 137, 0.18);
            font-weight: 600;
        }

        /* Custom Scrollbar for Branch Sidebar */
        .branch-sidebar-content::-webkit-scrollbar {
            width: 4px;
        }

        .branch-sidebar-content::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
        }

        .branch-sidebar-content::-webkit-scrollbar-thumb {
            background: rgba(22, 66, 137, 0.25);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 8px;
        }

        .branch-sidebar-content::-webkit-scrollbar-thumb:hover {
            background: rgba(22, 66, 137, 0.4);
        }

        @media (max-width: 768px) {
            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
            }

            .whatsapp-float svg {
                width: 28px;
                height: 28px;
            }
.whatsapp-menu {
                bottom: 85px;
                right: 10px;
                width: 220px;
                max-height: calc(100vh - 150px);
            }

            .whatsapp-menu::before {
                right: 30px;
            }

            .hero h1 {
                font-size: 2rem;
            }

            nav {
                flex-wrap: wrap;
            }

            .language-selector {
                width: 100%;
                margin-top: 10px;
            }

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

            .language-dropdown {
                right: auto;
                left: 0;
                width: 100%;
            }
            
            nav {
                flex-direction: column;
                gap: 1rem;
            }

            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
            }

            .whatsapp-float svg {
                width: 28px;
                height: 28px;
            }

            .branch-sidebar {
                display: none !important;
            }
        }

        /* ========== RESPONSIVE STYLES FOR ALL SCREEN SIZES ========== */
        
        /* Large screens (1200px and above) */
        @media (min-width: 1200px) {
            .container {
                max-width: 1200px;
            }
            
            .hero h1 {
                font-size: 2.6rem;
            }
            
            .hero h2 {
                font-size: 1.8rem;
            }
        }

        /* Medium screens / Tablets (768px - 1199px) */
        @media (min-width: 768px) and (max-width: 1199px) {
            .container {
                max-width: 95%;
                padding: 40px 20px;
            }
            
            .hero {
                padding: 80px 20px;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero h2 {
                font-size: 1.7rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .section-title {
                font-size: 2rem;
                padding: 15px 30px;
            }
            
            .cards {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 20px;
            }
            
            .centers-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }
            
            .specialties-grid {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }
            
            nav {
                gap: 0.8rem;
            }
            
            nav a {
                padding: 6px 12px;
                font-size: 0.85rem;
            }
            
            .logo {
                font-size: 1.5rem;
                margin-right: 20px;
            }
        }

        /* Small screens / Mobile (below 768px) */
        @media (max-width: 767px) {
            .header {
                padding: 0 0;
            }
            
            .header-content {
                flex-direction: row;
                flex-wrap: nowrap;
                justify-content: space-between;
                align-items: center;
                gap: 10px;
                padding: 10px 15px;
                width: 100%;
            }
            
            .logo {
                font-size: 1.55rem;
                margin-right: 0;
                text-align: left;
                flex: 1;
                line-height: 1.2;
                white-space: nowrap;
                display: flex;
                align-items: center;
            }
            
            .logo a {
                display: flex;
                align-items: center;
                width: 100%;
                justify-content: space-between;
            }
            
            .logo .kuwait-wrapper {
                margin-left: auto;
                margin-right: 0;
            }
            
            .menu-toggle {
                flex-shrink: 0;
            }
            
            .logo .kuwait-wrapper {
                top: -5px;
            }
            
            .logo .kuwait {
                font-size: 0.35rem;
            }
            
            .logo .kuwait-flag {
                width: 20px;
                height: 10px;
            }
            
            /* Hamburger Menu Button */
            .menu-toggle {
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                width: 30px;
                height: 24px;
                background: transparent;
                border: none;
                cursor: pointer;
                padding: 0;
                z-index: 1002;
                margin-right: 15px;
            }
            
            .menu-toggle span {
                width: 100%;
                height: 3px;
                background: white;
                border-radius: 3px;
                transition: all 0.3s ease;
            }
            
            .menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            
            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }
            
            .menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }
            
            nav {
                display: none;
                width: 100%;
                flex-direction: column;
                gap: 8px;
                padding-top: 15px;
                order: 3;
            }
            
            nav.active {
                display: flex;
            }
            
            nav a {
                padding: 12px 15px;
                font-size: 0.9rem;
                text-align: center;
                width: 100%;
            }
            
            .language-selector {
                width: 100%;
                margin-top: 5px;
            }
            
            .language-btn {
                width: 100%;
                justify-content: center;
                padding: 12px 15px;
            }
            
            .language-dropdown {
                position: relative;
                top: 5px;
                width: 100%;
            }
            
            .hero {
                padding: 30px 15px 40px;
                margin-top: 60px;
            }
            
            .hero-logo {
                max-width: 120px;
                margin-top: 0;
            }
            
            .hero h1 {
                font-size: 1.5rem;
                line-height: 1.3;
            }
            
            .hero h2 {
                font-size: 1.1rem;
            }
            
            .hero p {
                font-size: 0.95rem;
            }
            
            .container {
                padding: 30px 15px;
            }
            
            .section {
                margin-bottom: 40px;
            }
            
            .section-title {
                font-size: 1.3rem;
                padding: 10px 15px;
            }
            
            .cards {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .card {
                padding: 20px;
            }
            
            .card[style*="padding: 50px"] {
                padding: 25px !important;
            }
            
            .centers-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .center-card {
                padding: 20px;
            }
            
            .specialties-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .specialty-item {
                padding: 18px;
            }
            
            .specialty-item:hover {
                transform: translateY(-4px) scale(1.01);
            }
            
            .specialty-item:active {
                transform: scale(0.98);
                box-shadow: 0 8px 20px rgba(22, 66, 137, 0.12);
            }
            
            .contact-form {
                padding: 25px 15px;
            }
            
            .values-box {
                padding: 20px 15px;
            }
            
            /* Management cards mobile */
            .management-cards {
                gap: 20px !important;
            }
            
            .management-card {
                width: 100% !important;
                max-width: 280px;
                margin: 0 auto;
            }
            
            .management-photo {
                width: 140px !important;
                height: 175px !important;
            }
            
            /* Chairman/Vice Chair images */
            .card img[style*="width: 600px"],
            .card img[style*="width:600px"] {
                width: 100% !important;
                max-width: 100% !important;
            }
            
            /* Footer mobile */
            .footer {
                padding: 30px 15px;
            }
            
            .footer a {
                color: white !important;
            }
            
            .footer h3 {
                font-size: 1.3rem;
            }
            
            .footer h4 {
                font-size: 1rem;
            }
            
            .footer p {
                font-size: 0.85rem;
                line-height: 1.6;
            }
            
            .footer div[style*="grid"] {
                grid-template-columns: 1fr !important;
                gap: 25px !important;
            }
            
            .social-links {
                flex-wrap: wrap;
                gap: 10px;
                justify-content: center;
            }
            
            .social-links a {
                font-size: 0.9rem;
            }
            
            /* Quotation marks mobile */
            .card span[style*="font-size: 3rem"] {
                font-size: 2rem !important;
            }
        }

        /* Very small screens (below 480px) */
        @media (max-width: 480px) {
            .header-content {
                gap: 6px;
                padding: 8px 10px;
            }
            
            .logo {
                font-size: 1.32rem;
                flex: 1;
                white-space: nowrap;
            }
            
            .logo a {
                display: flex;
                align-items: center;
                width: 100%;
                justify-content: space-between;
            }
            
            .logo .kuwait-wrapper {
                margin-left: auto;
                margin-right: 0;
            }
            
            .hero h1 {
                font-size: 1.5rem;
            }
            
            .hero h2 {
                font-size: 1.1rem;
            }
            
            .hero p {
                font-size: 0.9rem;
            }
            
            .section-title {
                font-size: 1.3rem;
                padding: 10px 15px;
            }
            
            nav a {
                padding: 5px 8px;
                font-size: 0.75rem;
            }
            
            .card h3, .center-card h3 {
                font-size: 1.1rem;
            }
            
            .form-group input,
            .form-group select,
            .form-group textarea {
                padding: 10px;
                font-size: 0.9rem;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 0.9rem;
                width: 100%;
            }
        }

        /* Ensure images and media scale properly */
        img, video, iframe {
            max-width: 100%;
            height: auto;
        }

        /* Smooth hover effect for all images */
        img {
            transition: all 0.4s ease-in-out;
            cursor: pointer;
        }

        img:hover {
            transform: scale(1.12);
            box-shadow: 0 15px 40px rgba(22, 66, 137, 0.4);
            filter: brightness(1.1);
        }

        /* Prevent logo images from having hover effect */
        .branch-sidebar-logo:hover,
        .logo img:hover {
            transform: scale(1.05);
            box-shadow: none;
        }

        /* No hover effect for specific images */
        .no-hover {
            cursor: default !important;
            transition: none !important;
        }
        
        .no-hover:hover {
            transform: none !important;
            box-shadow: 0 6px 20px rgba(22, 66, 137, 0.25) !important;
            filter: none !important;
        }

        /* Subtle hover effect for Care Flow image */
        .subtle-hover {
            transition: transform 0.3s ease;
        }
        
        .subtle-hover:hover {
            transform: scale(1.05) !important;
        }

        /* Care Flow card hover effect */
        .care-flow-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.3), 0 0 0 3px rgba(22, 66, 137, 0.15);
        }

        /* Insurance logo card hover effect */
        .insurance-logo-card {
            transition: all 0.3s ease;
        }
        
        .insurance-logo-card:hover {
            transform: translateY(-8px) scale(1.08);
            box-shadow: 0 12px 25px rgba(22, 66, 137, 0.25), 0 0 0 3px rgba(22, 66, 137, 0.2);
            z-index: 10;
        }
        
        .insurance-logo-card img {
            transition: none !important;
        }
        
        .insurance-logo-card img:hover {
            transform: none !important;
        }

        /* Prevent horizontal scroll */
        html, body {
            overflow-x: hidden;
        }
        
        /* Mobile nav dropdown fix */
        @media (max-width: 768px) {
            nav {
                width: 100% !important;
                order: 3 !important;
                flex-basis: 100% !important;
                overflow-x: hidden !important;
            }
            nav.active {
                display: block !important;
                background: rgba(22, 66, 137, 0.95) !important;
                padding: 15px !important;
                border-radius: 10px !important;
                margin-top: 10px !important;
                max-height: 80vh !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
            }
            .nav-links {
                display: flex !important;
                flex-direction: column !important;
                width: 100% !important;
                gap: 10px !important;
                margin: 0 !important;
                padding: 0 !important;
                overflow: hidden !important;
            }
            nav a, .language-btn, .contact-btn, .book-appointment-btn {
                width: 100% !important;
                text-align: center !important;
                padding: 15px !important;
                box-sizing: border-box !important;
                display: block !important;
                margin: 0 !important;
            }
            .language-selector, .contact-selector {
                width: 100% !important;
                position: relative !important;
                display: block !important;
            }
            .contact-dropdown, .language-dropdown {
                position: relative !important;
                width: 100% !important;
                left: 0 !important;
                right: 0 !important;
                top: 0 !important;
                transform: none !important;
                min-width: 100% !important;
            }
            .contact-dropdown.show, .language-dropdown.show {
                position: relative !important;
                width: 100% !important;
                margin-top: 10px !important;
            }
            .contact-dropdown a, .language-dropdown a {
                width: 100% !important;
                text-align: center !important;
            }
        }
    
        /* ===== Vice Chairperson Article Modal (Embedded) ===== */
        .modal-overlay{
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.65);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            z-index: 2000;
        }
        .modal-overlay.show{ display: flex; }

        .modal-card{
            width: min(1200px, 95vw);
            max-height: 90vh;
            background: #fff;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.35);
            position: relative;
        }

        .modal-close{
            position: absolute;
            top: 10px;
            right: 12px;
            width: 44px;
            height: 44px;
            border: 0;
            border-radius: 12px;
            background: rgba(22, 77, 146, 0.12);
            color: #164D92;
            font-size: 28px;
            cursor: pointer;
        }

        .modal-body{
            padding: 14px;
            overflow: auto;
            max-height: 90vh;
        }

        .modal-image{
            width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
        }

    
        /* Disable zoom for modal article image (Vice Chairperson article) */
        .modal-image{
            cursor: default;
        }
        .modal-image:hover{
            transform: none !important;
            box-shadow: none !important;
            filter: none !important;
        }



.country-title{
display:flex;
align-items:center;
gap:8px;
font-weight:600;
}

.country-flag{
width:22px;
height:14px;
border-radius:2px;
box-shadow:0 0 3px rgba(0,0,0,0.25);
transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.country-title:hover .country-flag{
transform: scale(1.15);
box-shadow:
0 0 6px rgba(22,66,137,0.35),
0 0 14px rgba(22,66,137,0.30),
0 0 22px rgba(22,66,137,0.22);
filter: brightness(1.08) saturate(1.08);
}

.world-map-card{
background: linear-gradient(145deg, #ffffff, #f8fbff);
padding: 35px;
border-radius: 16px;
box-shadow: 0 8px 24px rgba(22,66,137,0.12);
margin-top: 38px;
border: 1px solid rgba(22,66,137,0.10);
}

.world-map-wrap{
position: relative;
max-width: 1050px;
margin: 0 auto;
padding: 10px 0 0;
}

.world-map-svg{
width: 100%;
height: auto;
display: block;
filter: drop-shadow(0 8px 22px rgba(22,66,137,0.10));
}

.map-pin{
fill: #164289;
stroke: #ffffff;
stroke-width: 0.65;
filter: drop-shadow(0 0 8px rgba(22,66,137,0.35));
animation: mapPulse 2.4s infinite ease-in-out;
}

.map-label{
font-family: 'Montserrat', sans-serif;
font-size: 14px;
font-weight: 700;
fill: #164289;
}

.map-sublabel{
font-family: 'Montserrat', sans-serif;
font-size: 11px;
font-weight: 600;
fill: #4b648c;
}

@keyframes mapPulse{
0%{transform: scale(1); opacity: 0.95;}
50%{transform: scale(1.08); opacity: 1;}
100%{transform: scale(1); opacity: 0.95;}
}

@media (max-width: 767px){
.world-map-card{
padding: 18px;
}
.map-label{
font-size: 10px;
}
.map-sublabel{
font-size: 8px;
}
}



/* Premium global network card glow */
.cards .card{
position: relative;
overflow: hidden;
transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
border: 1px solid rgba(22,66,137,0.08);
background: linear-gradient(145deg,#ffffff 0%,#f8fbff 100%);
box-shadow:
0 6px 18px rgba(22,66,137,0.08),
0 2px 6px rgba(22,66,137,0.05);
}

.cards .card::before{
content:"";
position:absolute;
top:0;
left:-120%;
width:70%;
height:100%;
background:linear-gradient(90deg,transparent,rgba(255,255,255,0.75),transparent);
transform:skewX(-20deg);
transition:left 0.7s ease;
pointer-events:none;
}

.cards .card::after{
content:"";
position:absolute;
inset:0;
border-radius:10px;
pointer-events:none;
box-shadow:
inset 0 0 0 1px rgba(22,66,137,0.03),
0 0 0 rgba(0,0,0,0);
transition:box-shadow 0.35s ease;
}

.cards .card:hover::before{
left:150%;
}

.cards .card:hover{
transform:translateY(-10px) scale(1.03);
background:linear-gradient(145deg,#ffffff 0%,#eef4ff 100%);
box-shadow:
0 20px 45px rgba(22,66,137,0.22),
0 10px 22px rgba(22,66,137,0.18),
0 0 20px rgba(22,66,137,0.15);
}

.cards .card:hover::after{
box-shadow:
inset 0 0 0 1px rgba(22,66,137,0.08),
0 0 30px rgba(22,66,137,0.12);
}

.cards .card{
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    border: 1px solid rgba(22, 66, 137, 0.08);
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}

.cards .card::before{
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.cards .card::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(22, 66, 137, 0.03);
}

.cards .card:hover::before{
    left: 150%;
}

.cards .card:hover{
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 16px 36px rgba(22, 66, 137, 0.18),
        0 0 0 1px rgba(22, 66, 137, 0.08);
    border-color: rgba(22, 66, 137, 0.18);
    background: linear-gradient(145deg, #ffffff 0%, #eef5ff 100%);
}

.cards .card h3.country-title{
    position: relative;
    z-index: 1;
}

.cards .card p{
    position: relative;
    z-index: 1;
}

@media (max-width: 767px){
    .cards .card:hover{
        transform: translateY(-5px) scale(1.01);
    }
}


/* Global network connector effect */
.cards{
    position: relative;
}

.cards::before{
    content:"";
    position:absolute;
    inset: 12% 8%;
    background:
        radial-gradient(circle at 18% 32%, rgba(22,66,137,0.16) 0 2px, transparent 3px),
        radial-gradient(circle at 48% 18%, rgba(22,66,137,0.14) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 30%, rgba(22,66,137,0.16) 0 2px, transparent 3px),
        radial-gradient(circle at 28% 76%, rgba(22,66,137,0.14) 0 2px, transparent 3px),
        radial-gradient(circle at 66% 74%, rgba(22,66,137,0.16) 0 2px, transparent 3px),
        linear-gradient(120deg, transparent 0 14%, rgba(22,66,137,0.07) 15%, transparent 16%),
        linear-gradient(22deg, transparent 0 44%, rgba(22,66,137,0.06) 45%, transparent 46%),
        linear-gradient(165deg, transparent 0 63%, rgba(22,66,137,0.06) 64%, transparent 65%);
    pointer-events:none;
    z-index:0;
    opacity:0.95;
    animation: networkDrift 9s ease-in-out infinite;
}

.cards .card{
    z-index:1;
}

@keyframes networkDrift{
    0%{
        transform: translateY(0px);
        opacity: 0.82;
    }
    50%{
        transform: translateY(-4px);
        opacity: 1;
    }
    100%{
        transform: translateY(0px);
        opacity: 0.82;
    }
}

@media (max-width: 767px){
    .cards::before{
        inset: 8% 4%;
        opacity: 0.55;
    }
}


/* Ultra-premium Shifa Story enhancements */
.section-title{
    position: relative;
    overflow: hidden;
}

.section-title::after{
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
    animation: titleSweep 4.8s ease-in-out infinite;
}

@keyframes titleSweep{
    0%{ left: -120%; }
    55%{ left: 140%; }
    100%{ left: 140%; }
}

.cards .card{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
}

.cards .card .country-title{
    font-size: 1.18rem;
    letter-spacing: 0.2px;
}

.cards .card p{
    color: #4d5f7f;
    line-height: 1.75;
}

.cards .card:hover p{
    color: #31496f;
}

.country-title{
    position: relative;
}

.country-title::after{
    content: "";
    position: absolute;
    left: 30px;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #164289, rgba(22,66,137,0.18));
    transition: width 0.35s ease;
}

.cards .card:hover .country-title::after{
    width: calc(100% - 30px);
}

.country-flag{
    border: 1px solid rgba(255,255,255,0.65);
}

.cards .card:hover .country-title{
    text-shadow: 0 0 10px rgba(22,66,137,0.10);
}

@media (max-width: 767px){
    .cards .card{
        border-radius: 14px;
    }
    .cards .card .country-title{
        font-size: 1.05rem;
    }
}


        .hero-medical-art-right svg {
            width: 100%;
            height: auto;
            display: block;
            overflow: visible;
        shape-rendering: geometricPrecision;
            filter: drop-shadow(0 0 6px rgba(142, 224, 255, 0.16));
        }

        @media (max-width: 1200px) {
            }

        @media (max-width: 980px) {
            }

        @media (max-width: 768px) {
            }


/* Improve line quality of hero SVG artwork */
.hero svg path{
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 0.6;
    shape-rendering: geometricPrecision;
    vector-effect: non-scaling-stroke;
}


/* Move hero text slightly upward closer to artwork */
.hero h1{
    margin-top: -20px !important;
}

.hero h2{
    margin-top: -6px !important;
}


/* Mobile fix: push hero text slightly downward to avoid logo overlap */
@media (max-width:768px){
  .hero h1{
    margin-top: 40px !important;
  }
  .hero h2{
    margin-top: 8px !important;
  }
}


/* Desktop adjustment: move hero text slightly downward */
@media (min-width:769px){
  .hero h1{
    margin-top: 20px !important;
  }
  .hero h2{
    margin-top: 6px !important;
  }
}

 @media (max-width: 768px) {
        .header-content { display: flex !important; flex-wrap: wrap !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; gap: 10px !important; padding: 10px 15px !important; overflow: hidden !important; }
        .logo { flex: 1 !important; display: flex !important; align-items: center !important; font-size: 1.55rem !important; white-space: nowrap !important; line-height: 1.2 !important; }
        .logo a { font-size: inherit !important; display: flex !important; align-items: center !important; width: 100% !important; justify-content: space-between !important; }
        .logo .kuwait-wrapper { margin-left: auto !important; margin-right: 0 !important; }
        .menu-toggle { flex-shrink: 0 !important; }
        
        /* Mobile nav dropdown fix - fully vertical */
        nav {
            width: 100% !important;
            order: 3 !important;
            flex-basis: 100% !important;
            overflow-x: hidden !important;
        }
        nav.active {
            display: block !important;
            background: rgba(22, 66, 137, 0.95) !important;
            padding: 15px !important;
            border-radius: 10px !important;
            margin-top: 10px !important;
            max-height: 80vh !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
        }
        .nav-links {
            display: flex !important;
            flex-direction: column !important;
            width: 100% !important;
            gap: 10px !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: hidden !important;
        }
        nav a, .language-btn, .contact-btn, .book-appointment-btn {
            width: 100% !important;
            text-align: center !important;
            padding: 12px !important;
            box-sizing: border-box !important;
            display: block !important;
            margin: 2px !important;
            font-size: 16px;
        }
        .language-selector, .contact-selector {
            width: 100% !important;
            position: relative !important;
            display: block !important;
        }
        .contact-dropdown, .language-dropdown {
            position: relative !important;
            width: 100% !important;
            left: 0 !important;
            right: 0 !important;
            top: 0 !important;
            transform: none !important;
            min-width: 100% !important;
            opacity: 0 !important;
            visibility: hidden !important;
            max-height: 0 !important;
            overflow: hidden !important;
            transition: all 0.3s ease !important;
            margin-top: 0 !important;
        }
        .contact-dropdown.show, .language-dropdown.show {
            opacity: 1 !important;
            visibility: visible !important;
            max-height: 500px !important;
            margin-top: 10px !important;
        }
        .contact-dropdown a, .language-dropdown a {
            width: 100% !important;
            text-align: center !important;
        }
    }
    @media (max-width: 480px) {
        .header-content { gap: 6px !important; padding: 8px 10px !important; }
        .logo { font-size: 1.32rem !important; }
    }
    @media (max-width: 768px) {
  #heroSection.hero {
    padding-top: 60px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: 60px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  #heroSection .hero-logo,
  #heroSection .hero-logo-wrap {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 auto 6px !important;
    width: fit-content !important;
    max-width: 100% !important;
    display: inline-block !important;
    align-self: center !important;
    justify-self: center !important;
    z-index: 4 !important;
  }

  #heroSection .hero-logo-img {
    display: block !important;
    margin: 0 auto !important;
    max-width: min(44vw, 170px) !important;
  }

  #heroSection #heroSection h1 {
    width: 100% !important;
    margin: 0 auto 0.3rem !important;
    position: relative !important;
    left: 0 !important;
    text-align: center !important;
    z-index: 4 !important;
  }

  #heroSection h2 {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    left: 0 !important;
    text-align: center !important;
    z-index: 4 !important;
  }
}
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #000000 0%, #000000 55%, #0E2A47 90%, #0E2A47 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 1s ease-out;
    cursor: pointer;
}

#splash-screen.fade-out {
    opacity: 0;
}

#splash-screen .hero-logo {
    max-width: 350px;
    height: auto;
    display: block;
    padding: 4px;
    border-radius: 14px;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform, filter;
}

#splash-screen .hero-logo.pulsing {
    animation: hbNeonPulse 0.90s ease-in-out infinite;
}

#splash-screen 


.tap-text {
    margin-top: 32px;
    padding: 10px 26px;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    color: #E0F3FF;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);

    border: 2px solid rgba(255, 255, 255, 0.25);

    text-shadow:
        0 0 6px rgba(22,132,255,0.85),
        0 0 14px rgba(14,106,180,0.9);

    animation: borderPulse 2.8s ease-in-out infinite;
    opacity: 0.95;
    transition: all 0.25s ease-in-out;
}

.tap-text:hover {
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 0 10px rgba(22,132,255,0.8),
        0 0 20px rgba(14,106,180,0.6);
}

/* Subtle Futuristic Border Animation */
@keyframes borderPulse {
    0% {
        border-color: rgba(255,255,255,0.18);
        box-shadow: 0 0 0px rgba(14,106,180,0.0);
    }
    40% {
        border-color: rgba(22,132,255,0.65);
        box-shadow: 0 0 12px rgba(22,132,255,0.35);
    }
    70% {
        border-color: rgba(255,255,255,0.22);
        box-shadow: 0 0 4px rgba(14,106,180,0.25);
    }
    100% {
        border-color: rgba(255,255,255,0.18);
        box-shadow: 0 0 0px rgba(14,106,180,0.0);
    }
}


.tap-text:hover {
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 0 10px rgba(22,132,255,0.8),
        0 0 20px rgba(14,106,180,0.6);
}


/* Futuristic pulse for tap hint */

    25% {
        transform: translateY(-2px);
        opacity: 0.75;
        text-shadow:
            0 0 6px rgba(22, 132, 255, 0.85),
            0 0 16px rgba(14, 106, 180, 0.9),
            0 0 30px rgba(6, 40, 89, 1);
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    75% {
        transform: translateY(1px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0);
        opacity: 0.25;
        text-shadow:
            0 0 3px rgba(22, 132, 255, 0.6),
            0 0 10px rgba(14, 106, 180, 0.7),
            0 0 20px rgba(6, 40, 89, 0.9);
    }


@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}




   

/* swiper */

.swiper-container {
   padding: 0;
   height: 700px;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
   .swiper-container {
      height: 500px;
   }
}

.swiper-slide {
   width: 100%;
   background-size:cover;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
}

.swiper-slide:after {
   content:'';
   background-image: linear-gradient(0deg, black, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
   position: absolute;
   width: 100%;
   height: 100%;
   bottom:0;
   z-index: 1;
   opacity: 0.3;
}

.swiper-slide:before {
   content:'';
   background-color: rgba(69, 69, 78, 0.2);
   /* background-image: linear-gradient(180deg, rgba(255, 234, 213, 0.3), rgba(241, 244, 255, 0.3)); */
   position: absolute;
   width: 100%;
   height: 100%;
   bottom:0;
   z-index: 1;
}


/* swiper arrows */

.swiper-button-prev,
.swiper-button-next {
   width: 50px;
   height: 50px;
   background-image: none;
   display: flex;
   align-items: center;
   justify-content: center;
}

.swiper-button-prev {
   left: 30px;
}

.swiper-button-next {
   right: 30px;
}


.swiper-button-prev span,
.swiper-button-next span {
   width: 10px;
   height: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   background-color: transparent;
   position: absolute;
   border: solid 2px white;
   border-left:0;
   border-bottom: 0;
   transition: all 0.3s ease;
} 

.swiper-button-prev span {
   transform: rotate(-135deg);
   left: 50%;
}

.swiper-button-next span {
   transform: rotate(45deg);
   right: 50%;
}


.swiper-button-prev span:after,
.swiper-button-next span:after {
   content:'';
  position: absolute;
  background-color: white;
  width: 0px;
  height: 2px;
  transition: all 0.3s ease;
  transform: rotate(-45deg);
}

.swiper-button-prev:hover span{
   left:30%;
}
.swiper-button-next:hover span{
   right:30%;
}

.swiper-button-prev:hover span:after,
.swiper-button-next:hover span:after {
   width: calc(20px - 4px);
}

/* swiper arrows mobile */

@media screen and (max-width: 768px) {
   .swiper-button-prev {
      left: 0px;
   }
   
   .swiper-button-next {
      right: 0px;
   }
   .swiper-button-prev:hover span{
      left:50%;
   }
   .swiper-button-next:hover span{
      right:50%;
   }

   .swiper-button-prev:hover span:after,
   .swiper-button-next:hover span:after {
      display: none;
   }
}


/* swiper pagination */

.swiper-pagination{
   height: 40px;
}

.swiper-pagination-bullet {
  background-color: transparent;
  border: solid 1px white;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.swiper-pagination-bullet:hover {
   background-color: white;
}

.swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  left:0;
  background-color: transparent;
  border: solid 1px white;
}

/* text content */

.slide-text {
   text-align: center;
   color: white;
   opacity: 1;
   z-index: 2;
   /* font-family: 'IBM Plex Sans', sans-serif; */
   width: 80%;
   max-width: 500px;
}


.slide-text h1 {
   /* font-family: 'IBM Plex Sans', sans-serif; */
   font-size: 30px;
   letter-spacing: 0.03em;
}


.slide-text p {
   font-size: 16px;
   /* font-family: 'IBM Plex Mono', monospace; */
}


/* text mobile */

@media screen and (max-width: 768px) {
   .slide-text {
      width: 60%;
   }
   
   .slide-text h1 {
      font-size: 20px;
      letter-spacing: 0.02em;
   }
   
   .slide-text p {
      font-size: 14px;
   }
}

/* button */

.slide-text .btn {
   /* font-family: 'IBM Plex Mono', monospace; */
   background-color: transparent;
   border: solid 1px white;
   padding: 15px 30px;
   min-width: 100px;
   width: fit-content;
   font-size: 14px;
   letter-spacing: 2px;
   color: white;
   position: relative;
   border-radius: 80px;
   transition: all 0.3s ease-in-out;
   cursor: pointer;
   margin-top: 20px;
}

.slide-text .btn:after {
   content: '';
   background-color: rgba(255,255,255, 0.1);
   width: 100%;
   height: 100%;
   display: block;
   position: absolute;
   z-index:2;
   left: 0px;
   top: 0px;
   border-radius: inherit;
   transition: all 0.3s ease-in-out;
}

.slide-text .btn:hover::after {
   left: 4px;
   top: 5px;
   /* background-color: rgba(255,255,255, 0.3); */
}

.slide-text .btn:hover {
   font-weight: 800;
   background: #bd1a8d;
}

@media screen and (max-width: 768px) {
   .slide-text .btn:hover::after {
      left: 0px;
      top: 0px;
      background-color: rgba(255,255,255, 0.1);
   }
}




/* swiper */

.swiper-container {
   padding: 0;
   height: 700px;
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
   .swiper-container {
      height: 500px;
   }
}

.swiper-slide {
   width: 100%;
   background-size:cover;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
}

.swiper-slide:after {
   content:'';
   background-image: linear-gradient(0deg, black, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
   position: absolute;
   width: 100%;
   height: 100%;
   bottom:0;
   z-index: 1;
   opacity: 0.3;
}

.swiper-slide:before {
   content:'';
   background-color: rgb(22 71 141 / 33%);
   /* background-image: linear-gradient(180deg, rgba(255, 234, 213, 0.3), rgba(241, 244, 255, 0.3)); */
   position: absolute;
   width: 100%;
   height: 100%;
   bottom:0;
   z-index: 1;
}


/* swiper arrows */

.swiper-button-prev,
.swiper-button-next {
   width: 50px;
   height: 50px;
   background-image: none;
   display: flex;
   align-items: center;
   justify-content: center;
}

.swiper-button-prev {
   left: 30px;
}

.swiper-button-next {
   right: 30px;
}


.swiper-button-prev span,
.swiper-button-next span {
   width: 10px;
   height: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
   background-color: transparent;
   position: absolute;
   border: solid 2px white;
   border-left:0;
   border-bottom: 0;
   transition: all 0.3s ease;
} 

.swiper-button-prev span {
   transform: rotate(-135deg);
   left: 50%;
}

.swiper-button-next span {
   transform: rotate(45deg);
   right: 50%;
}


.swiper-button-prev span:after,
.swiper-button-next span:after {
   content:'';
  position: absolute;
  background-color: white;
  width: 0px;
  height: 2px;
  transition: all 0.3s ease;
  transform: rotate(-45deg);
}

.swiper-button-prev:hover span{
   left:30%;
}
.swiper-button-next:hover span{
   right:30%;
}

.swiper-button-prev:hover span:after,
.swiper-button-next:hover span:after {
   width: calc(20px - 4px);
}

/* swiper arrows mobile */

@media screen and (max-width: 768px) {
   .swiper-button-prev {
      left: 0px;
   }
   
   .swiper-button-next {
      right: 0px;
   }
   .swiper-button-prev:hover span{
      left:50%;
   }
   .swiper-button-next:hover span{
      right:50%;
   }

   .swiper-button-prev:hover span:after,
   .swiper-button-next:hover span:after {
      display: none;
   }
}


/* swiper pagination */

.swiper-pagination{
   height: 40px;
}

.swiper-pagination-bullet {
  background-color: transparent;
  border: solid 1px white;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.swiper-pagination-bullet:hover {
   background-color: white;
}

.swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  left:0;
  background-color: transparent;
  border: solid 1px white;
}

/* text content */

.slide-text {
   text-align: center;
   color: white;
   opacity: 1;
   z-index: 2;
   /* font-family: 'IBM Plex Sans', sans-serif; */
   width: 80%;
   max-width: 650px;
}


.slide-text h1 {
   /* font-family: 'IBM Plex Sans', sans-serif; */
   font-size: 52px;
   letter-spacing: 0.03em;
   line-height: 54px;
   margin-bottom: 10px;
}


.slide-text p {
   font-size: 16px;
   /* font-family: 'IBM Plex Mono', monospace; */
   margin-bottom: 30px;
}


/* text mobile */

@media screen and (max-width: 768px) {
   .slide-text {
      width: 80%;
      padding-top: 50px;
   }
   
   .slide-text h1 {
      font-size: 32px;
      letter-spacing: 0.02em;
      line-height: 36px;
   }
   
   .slide-text p {
      font-size: 14px;
   }
}

/* button */

.slide-text .btn {
   /* font-family: 'IBM Plex Mono', monospace; */
   background-color: transparent;
   border: solid 1px white;
   padding: 15px 30px;
   min-width: 100px;
   width: fit-content;
   font-size: 14px;
   letter-spacing: 2px;
   color: white;
   position: relative;
   border-radius: 80px;
   transition: all 0.3s ease-in-out;
   cursor: pointer;
   margin-top: 29px;
   text-decoration: none;
}

.slide-text .btn:after {
   content: '';
   /* background-color: rgba(255,255,255, 0.1); */
   width: 100%;
   height: 100%;
   display: block;
   position: absolute;
   z-index:2;
   left: 0px;
   top: 0px;
   border-radius: inherit;
   transition: all 0.3s ease-in-out;
}

.slide-text .btn:hover::after {
   left: 4px;
   top: 5px;
   /* background-color: rgb(189 26 141 / 29%); */
}

.slide-text .btn:hover {
   font-weight: 800;
}

@media screen and (max-width: 768px) {
   .slide-text .btn:hover::after {
      left: 0px;
      top: 0px;
      background-color: rgba(255,255,255, 0.1);
   }
}
.cards img:hover {
    transform: inherit;
    box-shadow: 0 15px 40px rgba(22, 66, 137, 0.4);
    filter: brightness(1.1);
}

button:focus {outline:0;}





.contact-btn {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.82rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-btn .chevron-contact {
    transition: transform 0.3s;
}

.contact-btn.active .chevron-contact {
    transform: rotate(180deg);
}

.contact-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
    overflow: hidden;
}

.contact-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
}

.contact-option:first-child {
    border-radius: 10px 10px 0 0;
}

.contact-option:last-child {
    border-radius: 0 0 10px 10px;
}

.contact-option:hover {
    background: #f0f4f8;
}

.contact-option svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.contact-option[href*="facebook"] svg {
    color: #1877F2;
}

.contact-option[href*="facebook"]:hover {
    background: #E7F3FF;
    border-left-color: #1877F2;
}

.contact-option[href*="linkedin"] svg {
    color: #0A66C2;
}

.contact-option[href*="linkedin"]:hover {
    background: #E8F4FF;
    border-left-color: #0A66C2;
}

.contact-option[href*="instagram"] svg {
    color: #E4405F;
}

.contact-option[href*="instagram"]:hover {
    background: #FCE4EC;
    border-left-color: #E4405F;
}

.contact-option[href*="youtube"] svg {
    color: #FF0000;
}

.contact-option[href*="youtube"]:hover {
    background: #FFE5E5;
    border-left-color: #FF0000;
}

.book-appointment-btn {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.82rem;
}

.book-appointment-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.book-appointment-btn:active {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(0);
}

.contact-modal-content {
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.contact-modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
    scroll-behavior: smooth;
}

.contact-modal-body::-webkit-scrollbar {
    width: 8px;
}

.contact-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.contact-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #164289 0%, #164D92 100%);
    border-radius: 4px;
}

.contact-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0d2d5e 0%, #164289 100%);
}

.contact-coming-soon-badge {
    color: #164289;
    font-weight: 600;
    margin: -5px 0 10px 0;
    background: linear-gradient(135deg, rgba(22, 66, 137, 0.1) 0%, rgba(22, 77, 146, 0.15) 100%);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
    font-size: 0.8rem;
    border: 1px solid rgba(22, 66, 137, 0.3);
}

.contact-branch-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.2rem;
    border: 2px solid #dee2e6;
    transition: all 0.3s;
}

.contact-branch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-color: #164289;
}

.contact-branch-card h3 {
    color: #164289;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 700;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-size: 0.85rem;
}

.contact-item svg {
    flex-shrink: 0;
    color: #164289;
    width: 18px;
    height: 18px;
}

.contact-item a {
    color: #164289;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #164D92;
    text-decoration: underline;
}

.location-btn {
    display: inline-block;
    background: linear-gradient(135deg, #164289 0%, #164D92 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    margin-top: 0.3rem;
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(22, 66, 137, 0.3);
}

.doctor-search-container {
    max-width: 800px;
    margin: 25px auto 0px;
    padding: 0 20px;
    position: relative;
    z-index: 100;
}

.search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 16px 28px;
    box-shadow: 0 0 15px rgba(22, 66, 137, 0.5), 
                        0 0 30px rgba(22, 66, 137, 0.3), 
                        0 0 45px rgba(22, 66, 137, 0.15);
    gap: 14px;
    border: 2px solid rgba(22, 66, 137, 0.6);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #164289;
    box-shadow: 0 0 20px rgba(22, 66, 137, 0.7), 
                        0 0 40px rgba(22, 66, 137, 0.5), 
                        0 0 60px rgba(22, 66, 137, 0.3);
}

.search-box svg {
    color: #164289;
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    background: transparent;
}

.search-box input::placeholder {
    color: #888;
}

.clear-search {
    background: #164289;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search:hover {
    background: #0d2d5e;
}

.search-results {
    background: white;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-height: 60vh;
    overflow-y: auto;
    border: 2px solid #164289;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
    gap: 15px;
}

.search-result-item:hover {
    background: #f0f4fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #164289 0%, #1e5bb5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    overflow: hidden;
}

.search-result-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: #164289;
    font-size: 1rem;
    margin-bottom: 3px;
}

.search-result-specialty {
    color: #666;
    font-size: 0.85rem;
}

.search-result-branch {
    background: #164289;
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.no-results {
    padding: 30px;
    text-align: center;
    color: #666;
}

.no-results svg {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    opacity: 0.5;
}

@media (max-width: 1199px) {
    .header-content {
        padding: 0.8rem 15px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 0.6rem;
        margin-left: 1rem;
    }

    nav a, .language-btn, .contact-btn, .book-appointment-btn {
        padding: 6px 8px;
        font-size: 0.78rem;
    }
}

@media (max-width: 991px) {
    .header-content {
        padding: 0.8rem 12px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 0.5rem;
        margin-left: 0.8rem;
    }

    nav a, .language-btn, .contact-btn, .book-appointment-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .doctors-grid {
        grid-template-columns: repeat(2, 260px);
        gap: 15px;
        margin-left: 190px;
        margin-right: 170px;
        justify-content: center;
    }

    .doctor-image {
        height: 200px;
    }
}

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

    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 10px 15px;
    }

    .logo {
        font-size: 1rem;
        margin-right: 0;
        text-align: left;
        flex: 1;
        line-height: 1.2;
    }

    .logo .kuwait-wrapper {
        top: -5px;
    }

    .logo .kuwait {
        font-size: 0.35rem;
    }

    .logo .kuwait-flag {
        width: 20px;
        height: 10px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    nav {
        display: none;
        width: 100%;
        order: 3;
    }

    nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 8px;
        padding-top: 15px;
        margin-left: 0;
    }

    nav a, .language-btn, .contact-btn, .book-appointment-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
        display: block;
    }

    .language-selector, .contact-selector {
        width: 100%;
    }

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

    .language-dropdown, .contact-dropdown {
        position: relative;
        top: 5px;
        width: 100%;
    }

    .page-hero {
        padding: 100px 15px 40px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .contact-modal-content {
        max-width: 95%;
        max-height: 90vh;
    }

    .contact-modal-body {
        grid-template-columns: 1fr;
        padding: 1rem;
        max-height: calc(90vh - 90px);
    }

    .contact-branch-card {
        min-width: auto;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer h3 {
        font-size: 1.3rem;
    }

    .footer h4 {
        font-size: 1rem;
    }

    .footer p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .footer div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-menu {
        bottom: 85px;
        right: 10px;
        width: 220px;
        max-height: calc(100vh - 150px);
    }

    .branch-title {
        font-size: 1.2rem;
        padding: 12px 20px !important;
        padding-bottom: 12px !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        line-height: 1.3;
        left: 0;
        transform: none;
    }

    .branch-name-main {
        display: block !important;
        font-size: 1.25rem;
        line-height: 1.2;
        margin: 0;
        padding: 0;
    }

    .branch-name-main::after {
        content: "" !important;
        display: none !important;
    }

    .branch-name-location {
        display: block !important;
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0;
        padding: 0;
        line-height: 1.2;
        color: #164289;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 0.85rem;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    .doctor-card {
        padding: 15px;
    }

    .doctor-name {
        font-size: 1rem;
    }

    .doctor-specialty {
        font-size: 0.8rem;
    }
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
}

.language-option:first-child {
    border-radius: 10px 10px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 10px 10px;
}

.language-option:hover {
    background: #f0f4f8;
    border-left-color: #164289;
}

.language-option.active {
    background: #e3f2fd;
    color: #164289;
    font-weight: 600;
    border-left-color: #164289;
}

.language-dropdown::-webkit-scrollbar {
    width: 6px;
}

.language-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.language-dropdown::-webkit-scrollbar-thumb {
    background: rgba(22, 66, 137, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
}

.language-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(22, 66, 137, 0.5);
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

#google_translate_element {
    display: none !important;
}

.goog-te-gadget {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

:root {
    --caseW: 140px;
    --caseR: 28px;
}

.watch-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 900;
    display: none;
    opacity: 0;
    transition: all 0.3s ease, opacity 0.3s ease;
    animation: slideInFromRight 0.5s ease-out;
}

.date-display {
    background: linear-gradient(135deg, #164289 0%, #164D92 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 5px 10px;
    margin-top: 5px;
    margin-bottom: 8px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(22, 66, 137, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.date-display .date-text {
    font-family: "Courier New", "Consolas", monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8),
                0 0 15px rgba(255, 255, 255, 0.6),
                0 0 22px rgba(255, 255, 255, 0.4),
                0 2px 3px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.watch {
    width: var(--caseW);
    aspect-ratio: 1/1.12;
    border-radius: var(--caseR);
    padding: 6px;
    position: relative;
    background: linear-gradient(180deg,
                color-mix(in srgb, #164D92 50%, #fff 30%),
                color-mix(in srgb, #164289 60%, #fff 20%)
            );
    border: 2px solid #164D92;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1),
                inset 0 0 0 1px rgba(255, 255, 255, .10);
}

.crown {
    position: absolute;
    right: -6px;
    top: 42%;
    width: 8px;
    height: 24px;
    border-radius: 5px;
    background: linear-gradient(180deg,
                color-mix(in srgb, #164D92 50%, #fff 30%),
                color-mix(in srgb, #164289 60%, #fff 20%)
            );
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25),
                0 6px 15px rgba(0, 0, 0, 0.1);
}

.glass {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--caseR) - 6px);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .30), transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(255, 255, 255, .20), transparent 60%),
                linear-gradient(180deg, 
                    rgba(255, 255, 255, .25), 
                    rgba(255, 255, 255, .15)
                );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12),
                inset 0 -40px 90px rgba(22, 66, 137, .08);
}

.dial {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: visible;
}

.ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(rgba(255, 255, 255, .20), rgba(255, 255, 255, .08), rgba(255, 255, 255, .20)),
                linear-gradient(180deg,
                    rgba(255, 255, 255, .30),
                    rgba(255, 255, 255, .18)
                );
    box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .15),
                0 10px 20px rgba(22, 66, 137, 0.1);
    filter: saturate(1.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 0;
}

.glass-dial {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .35), transparent 55%),
                radial-gradient(circle at 70% 75%, rgba(255, 255, 255, .25), transparent 55%),
                linear-gradient(180deg,
                    rgba(255, 255, 255, .28),
                    rgba(255, 255, 255, .15)
                );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(22, 66, 137, 0.15),
                inset 0 0 0 1px rgba(255, 255, 255, .20);
    z-index: 1;
}

.dots {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: 3;
}

.dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    margin: -2.5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15),
                0 0 4px rgba(255, 255, 255, .25);
    transform-origin: center center;
}

.dot.hour-12 {
    width: 6px;
    height: 6px;
    margin: -3px;
    background: #fff;
}

.hand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 50% 100%;
    border-radius: 999px;
    z-index: 5;
}

.hour {
    width: 5px;
    height: 31px;
    background: #164289;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
}

.minute {
    width: 3px;
    height: 43px;
    background: #164D92;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
}

.second {
    width: 2px;
    height: 47px;
    background: #ff3b30;
    filter: drop-shadow(0 0 5px rgba(255, 59, 48, .25))
                    drop-shadow(0 0 11px rgba(255, 59, 48, .18));
    box-shadow: none;
}

.pin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #ff3b30;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .22);
}

.day-display {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    padding: 2px 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.day-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.45rem;
    font-weight: 600;
    color: #164289;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
}

.date-number {
    display: none;
}

.clock-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: auto;
    z-index: 4;
    opacity: 1;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.page-hero {
    background: linear-gradient(135deg, #164289 0%, #164D92 100%);
    color: white;
    padding: 140px 20px 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.branch-section {
    margin-bottom: 80px;
    position: relative;
}

.branch-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

.department-sidebar {
    position: fixed;
    top: 100px;
    left: 20px;
    width: 180px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #164D92;
    box-shadow: 0 8px 32px 0 rgba(22, 66, 137, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease, opacity 0.3s ease;
    animation: slideInFromLeft 0.5s ease-out;
    z-index: 900;
    display: none;
    opacity: 0;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.department-sidebar h3 {
    color: #164289;
    font-size: 1rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(22, 66, 137, 0.3);
    font-weight: 600;
}

.department-item {
    padding: 10px 12px;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
    color: #164289;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.department-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.department-item:hover::before {
    left: 100%;
}

.department-item:hover {
    background: rgba(22, 66, 137, 0.15);
    border-color: rgba(22, 66, 137, 0.4);
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(22, 66, 137, 0.25);
}

.department-item.active {
    background: linear-gradient(135deg, #164289 0%, #164D92 100%);
    color: white;
    border-color: #164289;
    box-shadow: 0 6px 25px rgba(22, 66, 137, 0.4);
    transform: translateX(8px);
}

.department-sidebar::-webkit-scrollbar {
    width: 6px;
}

.department-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.department-sidebar::-webkit-scrollbar-thumb {
    background: rgba(22, 66, 137, 0.3);
    border-radius: 10px;
}

.department-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(22, 66, 137, 0.5);
}

.doctors-section {
    flex: 1;
    min-width: 0;
}

.branch-title {
    font-size: 2rem;
    color: #164289;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #164D92;
    box-shadow: 0 8px 32px 0 rgba(22, 66, 137, 0.15);
    padding: 6px 16px;
    border-radius: 10px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    overflow: hidden;
}

@keyframes titleSweep {
    0% {
        left: -120%;
    }

    55% {
        left: 140%;
    }

    100% {
        left: 140%;
    }
}

.branch-name-main {
    display: inline;
}

.branch-name-main::after {
    content: " - ";
}

.branch-name-location {
    display: inline;
    font-weight: 700;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 15px;
    margin-top: 30px;
    margin-left: 200px;
    margin-right: 180px;
    justify-content: center;
}

.doctor-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    cursor: pointer;
    opacity: 1;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.doctor-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #164289;
    overflow: hidden;
}

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

.doctor-info {
    padding: 12px;
}

.doctor-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #164289;
    margin-bottom: 6px;
}

.doctor-qualifications {
    color: #555;
    font-size: 0.7rem;
    margin-bottom: 6px;
}

.doctor-specialty {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.doctor-designation {
    color: #164289;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 3px;
}

.doctor-experience {
    color: #888;
    font-size: 0.9rem;
}

.coming-soon {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 2px dashed #164289;
}

.coming-soon h3 {
    color: #164289;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.coming-soon p {
    color: #666;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px 0;
}

.modal-content {
    background-color: white;
    margin: 40px auto;
    padding: 0;
    border-radius: 15px;
    max-width: 1100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #164289 0%, #164D92 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.modal-header h2 {
    margin-bottom: 2px;
    font-size: 1.5rem;
}

.modal-header p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

.modal-qualifications {
    font-size: 0.8rem;
    opacity: 0.85;
    margin: 0;
}

.modal-designation {
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFD700;
    margin: 2px 0 0 0;
}

.modal-body {
    padding: 20px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.close {
    color: white;
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 1;
}

.close:hover {
    transform: scale(1.2);
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.poster-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.poster-container {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.poster-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-placeholder {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.poster-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.poster-placeholder p {
    font-size: 0.9rem;
    margin: 5px 0;
}

.poster-dimensions {
    font-size: 0.75rem;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

.profile-detail {
    margin-bottom: 10px;
}

.profile-detail h4 {
    color: #164289;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.profile-detail ul {
    list-style: none;
    padding-left: 0;
}

.profile-detail ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.profile-detail ul li:before {
    content: "Ã¢â‚¬Â¢";
    color: #164289;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.profile-detail ul li.no-bullet {
    padding-left: 0;
}

.profile-detail ul li.no-bullet:before {
    content: none;
}

.profile-detail h4:empty, .profile-detail p:empty {
    display: none;
    margin: 0;
    padding: 0;
}

.profile-detail.hidden {
    display: none;
}

@media (max-width: 768px) {
    .branch-content-wrapper {
        flex-direction: column;
    }

    .department-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        max-height: 400px;
        border-radius: 15px;
        display: block !important;
        opacity: 1 !important;
    }

    .doctors-section {
        margin-left: 0;
    }

    .watch-container {
        display: none !important;
    }

    .modal-content {
        margin: 20px;
        max-width: calc(100% - 40px);
    }

    .modal-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .poster-section {
        order: -1;
    }

    .poster-container {
        max-width: 100%;
    }
}

.footer {
    background: #164289;
    color: white;
    padding: 40px 20px;
    text-align: center;
}



.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.whatsapp-menu {
    position: fixed;
    bottom: 115px;
    right: 10px;
    background: white;
    border-radius: 10px;
    border: 2px solid #164D92;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 5px 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    width: 200px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.whatsapp-float:hover + .whatsapp-menu, .whatsapp-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-menu-header {
    padding: 8px 12px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 3px;
}

.whatsapp-menu-header h4 {
    color: #164289;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 600;
}

.whatsapp-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
    border-left: 3px solid transparent;
}

.whatsapp-menu-item:hover {
    background: #f0f9f4;
    border-left-color: #25d366;
}

.whatsapp-menu-item svg {
    width: 16px;
    height: 16px;
    fill: #25d366;
    flex-shrink: 0;
}

.whatsapp-menu-title {
    font-weight: 600;
    color: #164289;
    font-size: 0.78rem;
    line-height: 1.2;
}

.whatsapp-menu-subtitle {
    font-size: 0.68rem;
    color: #888;
    line-height: 1.2;
}

.whatsapp-menu::-webkit-scrollbar {
    width: 6px;
}

.whatsapp-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.whatsapp-menu::-webkit-scrollbar-thumb {
    background: rgba(22, 66, 137, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
}

.whatsapp-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(22, 66, 137, 0.5);
}

.scroll-top-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px;
    right: 40px;
    background: linear-gradient(135deg, #164289 0%, #1a5cb8 100%);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    border: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: scale(1.1) translateY(0);
    box-shadow: 2px 2px 15px rgba(22, 66, 137, 0.5);
    background: linear-gradient(135deg, #1a5cb8 0%, #164289 100%);
}

.scroll-top-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.whatsapp-float:hover ~ .scroll-top-btn, .whatsapp-menu:hover ~ .scroll-top-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .scroll-top-btn {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 20px;
    }

    .scroll-top-btn svg {
        width: 22px;
        height: 22px;
    }

    .whatsapp-menu {
        bottom: 85px;
        right: 10px;
        width: 220px;
        max-height: calc(100vh - 150px);
    }



    

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .doctor-image {
        height: 180px;
    }
}

.poster-container img {
    cursor: default;
}

.poster-container img:hover {
    transform: none;
    box-shadow: none;
    filter: none;
}


@media (min-width: 767px) {
.doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .doctor-card {
        padding: 10px;
    }

    .doctor-image {
        height: 180px;
    }
}


@media (min-width: 1200px) {
  
    .page-hero h1 {
        font-size: 3rem;
    }

    .doctors-grid {
        grid-template-columns: repeat(3, 300px);
        gap: 15px;
        margin-left: 200px;
        margin-right: 180px;
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    

    .doctors-grid {
        grid-template-columns: repeat(2, 280px);
        gap: 15px;
        margin-left: 200px;
        margin-right: 180px;
        justify-content: center;
    }

    .doctor-image {
        height: 220px;
    }

    .doctor-card {
        padding: 12px;
    }

  

    .filter-section {
        padding: 15px 20px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}


@media (max-width: 480px) {
   
    .page-hero h1 {
        font-size: 1.3rem;
    }

    .page-hero p {
        font-size: 0.85rem;
    }

    .doctor-card {
        padding: 8px;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .doctor-image {
        height: 200px;
    }

    .doctor-name {
        font-size: 1rem;
    }

    .doctor-specialty {
        font-size: 0.8rem;
    }

    .doctor-photo {
        height: 200px;
    }

    .filter-section {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

  
    

    .doctor-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 20px auto;
    }

   
}

@media screen and (max-width: 768px) {
    .doctor-image {
        height: auto !important;
        aspect-ratio: 3/4 !important;
        width: 100% !important;
    }

    .doctor-image img {
        object-fit: contain !important;
        object-position: center !important;
        background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%) !important;
        width: 100% !important;
        height: 100% !important;
    }

    .doctor-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .doctors-grid, #farwaniya-doctors, #fahaheel-doctors, #jleeb-doctors {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .doctors-section {
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    .modal {
        padding: 10px !important;
    }

    .modal-content {
        margin: 10px !important;
        max-width: calc(100% - 20px) !important;
        max-height: 95vh !important;
        overflow-y: auto !important;
    }

    .modal-body {
        display: flex !important;
        flex-direction: column !important;
        padding: 15px !important;
        gap: 20px !important;
    }

    .poster-section {
        order: -1 !important;
        width: 100% !important;
    }

    .poster-container {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 4/5 !important;
    }

    .poster-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .profile-section {
        width: 100% !important;
    }

    .modal-header h2 {
        font-size: 1.3rem !important;
    }

    .footer a {
        color: white !important;
    }
}

40% {
    opacity: 1;
}

60% {
    opacity: 1;
}

100% {
    left: 140%;
    opacity: 0;
}

} .container {
    padding-top: 35px;
}

.search-box {
    border: 2px solid rgba(22, 66, 137, 0.6);
    box-shadow: 0 0 15px rgba(22, 66, 137, 0.5), 
                0 0 30px rgba(22, 66, 137, 0.3), 
                0 0 45px rgba(22, 66, 137, 0.15);
    background: #ffffff;
}

.search-box:focus-within {
    border-color: #164289;
    box-shadow: 0 0 20px rgba(22, 66, 137, 0.7), 
                0 0 40px rgba(22, 66, 137, 0.5), 
                0 0 60px rgba(22, 66, 137, 0.3);
}

.search-box input {
    font-weight: 500;
}

.department-sidebar {
    border: 1.5px solid rgba(22,77,146,0.20);
    box-shadow: 0 24px 55px rgba(22,66,137,0.20),
        0 10px 24px rgba(22,66,137,0.14),
        0 3px 10px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.30);
    background: rgba(255,255,255,0.52);
}

.department-sidebar h3 {
    font-size: 1.02rem;
    letter-spacing: 0.2px;
}

.department-item {
    border: 1px solid rgba(22,66,137,0.08);
    box-shadow: 0 4px 10px rgba(22,66,137,0.04);
}

.department-item:hover {
    transform: translateX(6px);
}

.department-item.active {
    background: linear-gradient(135deg, #164289 0%, #1b5bb0 100%);
}

.branch-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
    animation: titleSweep 4.8s ease-in-out infinite;
    pointer-events: none;
}

50% {
    transform: translateX(160%) skewX(-20deg);
}

100% {
    transform: translateX(160%) skewX(-20deg);
}

} .branch-name-main, .branch-name-location {
    position: relative;
    z-index: 1;
}

.doctors-grid {
    gap: 22px;
    margin-top: 34px;
}

.doctor-card {
    border: 1px solid rgba(22,66,137,0.08);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(22,66,137,0.10),
        0 3px 8px rgba(0,0,0,0.04);
    background: linear-gradient(145deg, #ffffff 0%, #fbfdff 100%);
    position: relative;
    overflow: hidden;
}

.doctor-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.72), transparent);
    transform: skewX(-20deg);
    transition: left 0.75s ease;
    pointer-events: none;
    z-index: 1;
}

.doctor-card:hover::before, .doctor-card:active::before {
    left: 155%;
}

.doctor-card:hover, .doctor-card:active {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(22,66,137,0.16),
        0 8px 18px rgba(22,66,137,0.10);
}

.doctor-image {
    background: linear-gradient(135deg, #eef4fb 0%, #f8fbff 100%);
}

.doctor-info {
    padding: 15px 14px 16px;
}

.doctor-name {
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
    color: #153f82;
    margin-bottom: 8px;
}

.doctor-qualifications {
    font-size: 0.72rem;
    color: #6c7b93;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.doctor-specialty {
    display: inline-block;
    font-size: 0.76rem;
    color: #164289;
    background: rgba(22,66,137,0.08);
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    font-weight: 600;
}

.doctor-designation {
    font-size: 0.74rem;
    color: #1c56a4;
    font-weight: 700;
}

.doctor-experience {
    font-size: 0.8rem;
    color: #7c889d;
}

.modal-content {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(0,0,0,0.28);
}

.modal-header {
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 35%),
        linear-gradient(135deg, #133b78 0%, #164289 45%, #1a5aa7 100%);
}

.modal-body {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}



@media (max-width: 767px) {
    .branch-title {
        font-size: 1.2rem;
        padding: 10px 16px !important;
        border-radius: 12px;
    }

    .doctor-card:hover {
        transform: translateY(-4px);
    }

    .doctor-info {
        padding: 12px 12px 14px;
    }

    .doctor-name {
        font-size: 0.95rem;
    }

    .doctor-specialty {
        font-size: 0.72rem;
        padding: 4px 9px;
    }
    .location_link{
        line-height: 34px;
    }
}

.doctor-image, .doctor-info {
    position: relative;
    z-index: 2;
}

.doctors-grid:hover .doctor-card {
    opacity: 0.55;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.doctors-grid .doctor-card:hover {
    opacity: 1;
    transform: scale(1.03);
    z-index: 5;
}





 #google_translate_element {
            display: none !important;
        }

        .goog-te-gadget {
            display: none !important;
        }

        .goog-te-banner-frame {
            display: none !important;
        }

        .page-hero {
            background: linear-gradient(135deg, #164289 0%, #164D92 100%);
            color: white;
            padding: 140px 20px 60px;
            text-align: center;
        }

        .page-hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .page-hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }

        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .event-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }

        .event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }

        .event-image {
            width: 100%;
            aspect-ratio: 4/5;
            background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: #164289;
            overflow: hidden;
            position: relative;
        }

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

        .event-image-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            text-align: center;
        }

        .event-image-placeholder svg {
            width: 80px;
            height: 80px;
            margin-bottom: 15px;
            opacity: 0.3;
        }

        .event-date {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(22, 66, 137, 0.95);
            color: white;
            padding: 8px 15px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            backdrop-filter: blur(10px);
        }

        .event-info {
            padding: 25px;
        }

        .event-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #164289;
            margin-bottom: 10px;
        }

        .event-category {
            display: inline-block;
            background: linear-gradient(135deg, #164289 0%, #164D92 100%);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 12px;
        }

        .event-description {
            color: #666;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .coming-soon {
            background: #f8f9fa;
            padding: 60px 40px;
            border-radius: 10px;
            text-align: center;
            border: 2px dashed #164289;
            margin-top: 30px;
        }

        .coming-soon h3 {
            color: #164289;
            font-size: 1.8rem;
            margin-bottom: 15px;
        }

        .coming-soon p {
            color: #666;
            font-size: 1.1rem;
        }

        /* YouTube Video Section */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .video-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            aspect-ratio: 16/9;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        }

        .video-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        }

        .video-item iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .video-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: #fff;
            position: relative;
        }

        .video-placeholder .play-button {
            width: 70px;
            height: 70px;
            background: rgba(255, 0, 0, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s, background 0.3s;
        }

        .video-item:hover .play-button {
            transform: scale(1.1);
            background: rgba(255, 0, 0, 1);
        }

        .video-placeholder .play-button svg {
            width: 30px;
            height: 30px;
            fill: white;
            margin-left: 5px;
        }

        .video-placeholder .video-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 15px;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            font-size: 0.95rem;
            font-weight: 500;
        }

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

        .gallery-item {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            cursor: pointer;
            aspect-ratio: 4/5;
        }

        .gallery-item:hover {
            transform: scale(1.05);
        }


        .gallery-item.loading {
            background: linear-gradient(135deg, #eef2f7 0%, #f8fafc 100%);
        }

        .gallery-item.loading::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%);
            transform: translateX(-100%);
            animation: galleryShimmer 1.6s infinite;
            pointer-events: none;
        }

        @keyframes galleryShimmer {
            100% { transform: translateX(100%); }
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .gallery-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: #6c757d;
        }

        .gallery-placeholder svg {
            width: 60px;
            height: 60px;
            margin-bottom: 10px;
            opacity: 0.3;
        }

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

        .specialty-item {
            background: linear-gradient(145deg, #ffffff, #f8f9fa);
            padding: 25px;
            border-radius: 12px;
            border-left: 4px solid #164289;
            box-shadow: 0 4px 15px rgba(22, 66, 137, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .specialty-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(22, 66, 137, 0.05), transparent);
            transition: left 0.5s ease;
        }

        .specialty-item:hover::before {
            left: 100%;
        }

        .specialty-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(22, 66, 137, 0.15);
            border-left-color: #1a5dc8;
            background: linear-gradient(145deg, #ffffff, #f0f4ff);
        }

        .specialty-item h4 {
            transition: all 0.3s ease;
        }

        .specialty-item:hover h4 {
            color: #1a5dc8 !important;
            transform: translateX(5px);
        }

        .specialty-item p {
            transition: all 0.3s ease;
            color: #555;
        }

        .specialty-item:hover p {
            color: #333;
        }

        .centers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .center-card {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .center-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.3), 0 0 0 3px rgba(22, 66, 137, 0.15);
        }

        .center-card h3 {
            color: #164289;
            margin-bottom: 1rem;
        }

        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: box-shadow 0.3s;
        }

        .contact-form:hover {
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.2), 0 0 0 3px rgba(22, 66, 137, 0.15);
        }

        .values-box {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 40px;
            border-radius: 10px;
            margin-top: 30px;
            transition: box-shadow 0.3s;
        }

        .values-box:hover {
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.2), 0 0 0 3px rgba(22, 66, 137, 0.15);
        }

        /* Management Section Styles */
        .management-cards {
            display: flex;
            justify-content: center;
            gap: 150px;
            flex-wrap: wrap;
            margin-top: 40px;
        }

        .management-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.15);
            padding: 25px;
            text-align: center;
            width: 320px;
            transition: all 0.4s ease;
        }

        .management-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(22, 66, 137, 0.3), 0 0 0 3px rgba(22, 66, 137, 0.2);
        }

        .management-photo {
            width: 220px;
            height: 270px;
            margin: 0 auto 30px;
            border-radius: 10px;
            overflow: hidden;
            border: 3px solid #164D92;
            box-shadow: 0 4px 15px rgba(22, 66, 137, 0.2);
        }

        .management-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.4s ease;
        }

        .management-photo img:hover {
            transform: scale(1.05);
            box-shadow: none;
        }

        .management-info h3 {
            color: #164289;
            font-size: 0.95rem;
            font-weight: 500;
            margin-top: 10px;
            line-height: 1.4;
        }

        .management-name {
            color: #164289;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

          @media (max-width: 767px) {
            .management-cards {
                gap: 50px;
            }

            .management-card {
                width: 300px;
                padding: 30px;
            }

            .management-photo {
                width: 170px;
                height: 210px;
            }

            .management-info h3 {
                font-size: 0.95rem;
            }

            .management-name {
                font-size: 1.3rem;
            }
             .events-grid {
                grid-template-columns: 1fr;
            }

            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }

         @media (min-width: 1200px) {
          
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .events-grid {
                grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            }
        }

        @media (min-width: 768px) and (max-width: 1199px) {
            
            
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 15px;
            }
            
            .events-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 25px;
            }
            
            .event-card {
                padding: 20px;
            }
            .gallery-item {
                width: 100% !important;
                height: auto !important;
                aspect-ratio: 1/1 !important;
            }
           
        }

        @media (max-width: 480px) {
            
            
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            
            .gallery-item {
                height: 120px;
            }
            
            .event-card h3 {
                font-size: 1.1rem;
            }
            
            .event-card p {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 8px !important;
                padding: 0 5px !important;
            }
        }

        

        /* Package Gallery Grid */
        .packages-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .package-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(22, 66, 137, 0.12);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            background: white;
            cursor: pointer;
        }

        .package-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(22, 66, 137, 0.25);
            border-color: #164D92;
        }

        .package-image-wrapper {
            width: 100%;
            height: 0;
            padding-bottom: 125%; /* 4:5 aspect ratio (portrait) */
            position: relative;
            background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f5 100%);
        }

        .package-image-wrapper img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .package-item:hover .package-image-wrapper img {
            transform: scale(1.05);
        }

        .package-placeholder {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #164289;
            font-size: 1rem;
            font-weight: 500;
            text-align: center;
            padding: 20px;
            background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f5 100%);
        }

        .package-placeholder svg {
            width: 80px;
            height: 80px;
            margin-bottom: 15px;
            opacity: 0.4;
        }

        .package-placeholder .package-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: #164289;
            opacity: 0.3;
            margin-bottom: 10px;
        }

        .package-placeholder .package-label {
            font-size: 0.9rem;
            color: #666;
        }

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

        .lightbox.active {
            display: flex;
        }

        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 85vh;
            object-fit: contain;
            border-radius: 10px;
        }

        .lightbox-close {
            position: fixed;
            top: 15px;
            right: 15px;
            color: white;
            font-size: 2.5rem;
            cursor: pointer;
            padding: 10px;
            line-height: 1;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2001;
        }

        .lightbox-close:hover {
            color: #25d366;
            background: rgba(0, 0, 0, 0.8);
        }

        /* Lightbox Navigation Arrows */
        .lightbox-nav {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 3rem;
            cursor: pointer;
            padding: 20px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            z-index: 2001;
            user-select: none;
            transition: background 0.3s;
        }

        .lightbox-nav:hover {
            background: rgba(0, 0, 0, 0.6);
        }

        .lightbox-prev {
            left: 10px;
        }

        .lightbox-next {
            right: 10px;
        }

        /* Image Counter */
        .lightbox-counter {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 1rem;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 16px;
            border-radius: 20px;
            z-index: 2001;
        }


        


 @media (max-width: 767px) {
    .logo img {
    width: 160px;
}
         .intro-text {
                font-size: 0.9rem;
                margin-bottom: 25px;
                line-height: 1.6;
            }
            
            /* Mobile Gallery - 2 columns */
            .packages-gallery {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            
            .package-item {
                border-radius: 10px;
            }
            
            .package-item:hover {
                transform: none; /* Disable hover lift on mobile */
            }
            
            .package-item:active {
                transform: scale(0.98);
            }
            
            .package-image-wrapper {
                padding-bottom: 130%; /* Slightly taller on mobile */
            }
            
            .package-placeholder .package-number {
                font-size: 1.8rem;
            }
            
            .package-placeholder svg {
                width: 50px;
                height: 50px;
            }
            
            .package-placeholder .package-label {
                font-size: 0.75rem;
            }
            
            /* Mobile Lightbox */
            .lightbox {
                padding: 0;
            }
            
            .lightbox-content {
                max-width: 100%;
                max-height: 100%;
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .lightbox-content img {
                max-height: 80vh;
                max-width: 95%;
                border-radius: 5px;
            }
            
            .lightbox-close {
                top: 10px;
                right: 10px;
                font-size: 2rem;
                width: 44px;
                height: 44px;
                background: rgba(0, 0, 0, 0.7);
            }
            
            .lightbox-nav {
                font-size: 2rem;
                padding: 15px 10px;
                background: rgba(0, 0, 0, 0.4);
            }
            
            .lightbox-prev {
                left: 5px;
            }
            
            .lightbox-next {
                right: 5px;
            }
            
            .lightbox-counter {
                bottom: 15px;
                font-size: 0.85rem;
                padding: 6px 12px;
            }
            .page-hero h1 {
    font-size: 44px;
    margin-bottom: 1rem;
    line-height: 42px;
}
.page-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 24px;
}

        }

          @media (max-width: 480px) {
          
            
            
            .intro-text {
                font-size: 0.85rem;
                margin-bottom: 20px;
            }

            .packages-gallery {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            
            .package-item {
                border-radius: 8px;
            }
            
            .package-placeholder .package-number {
                font-size: 1.5rem;
            }
            
            .package-placeholder svg {
                width: 40px;
                height: 40px;
            }
            
            .package-placeholder .package-label {
                font-size: 0.7rem;
            }
            
            /* Lightbox for small screens */
            .lightbox-nav {
                font-size: 1.5rem;
                padding: 12px 8px;
            }
            
            .lightbox-close {
                width: 40px;
                height: 40px;
                font-size: 1.8rem;
            }
            
            .lightbox-counter {
                font-size: 0.75rem;
                padding: 5px 10px;
            }
            
        }
 
/*
.doctor_sticky{
    position: absolute;
    width: 100%;
}
.doctors_btnmain {
    position: sticky;
    top: 90px;
    z-index: 1500;
}*/
    .gallery-item { cursor: pointer; }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; }

    .lightbox-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.88);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 100000;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .lightbox-overlay.active {
        display: flex;
        opacity: 1;
    }

    .lightbox-content {
        max-width: 90vw;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .lightbox-content img {
        max-width: 90vw;
        max-height: 78vh;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 12px 60px rgba(0, 0, 0, 0.5);
        animation: lightboxZoomIn 0.3s ease;
    }

    @keyframes lightboxZoomIn {
        from { transform: scale(0.85); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }

    .lightbox-caption {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.95rem;
        margin-top: 14px;
        text-align: center;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    .lightbox-close {
        position: absolute;
        top: 20px; right: 24px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        font-size: 2rem;
        width: 48px; height: 48px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s ease;
        z-index: 100001;
        line-height: 1;
    }
    .lightbox-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        width: 50px; height: 50px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s ease;
        z-index: 100001;
    }
    .lightbox-nav:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-50%) scale(1.1);
    }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }

    .lightbox-counter {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.85rem;
        font-weight: 500;
        letter-spacing: 1px;
    }

    @media (max-width: 600px) {
        .lightbox-nav { width: 40px; height: 40px; }
        .lightbox-prev { left: 10px; }
        .lightbox-next { right: 10px; }
        .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.5rem; }
    }
