  /* ========== Variables & Reset ========== */
  :root {
    --dark-blue: #1a3c61;
    --primary: #0077b6;
    --primary-dark: #005a8c;
    --secondary: #00b4d8;
    --accent: #90e0ef;
    --bg-light: #f8fbff;
    --bg-dark: #0a1929;
    --text-dark: #1a1a2e;
    --text-light: #5c5c7a;
    --white: #ffffff;
    --primary-gold: #c5a059;
    --gradient-1: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    --gradient-2: linear-gradient(135deg, #00b4d8 0%, #90e0ef 100%);
    --shadow-sm: 0 2px 8px rgba(0, 119, 182, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 119, 182, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 119, 182, 0.16);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: "Cairo", sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
  }

  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-padding {
    padding: 100px 0;
  }

  /* ========== Animations ========== */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
  }

  .animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes float {

    0%,
    100% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-20px);
    }
  }

  @keyframes pulse {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.08);
    }
  }

  @keyframes gradient-shift {
    0% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }

    100% {
      background-position: 0% 50%;
    }
  }

  /* ========== WhatsApp Float ========== */
  .whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    transition: var(--transition);
  }

  .whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  }

  /* ========== Navbar ========== */
  .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
  }

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

  .logo {
    font-size: 26px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
  }

  .nav-links {
    list-style: none;

    display: flex;
    gap: 30px;
    align-items: center;
  }

  .nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .btn-nav {
    background: var(--gradient-1);
    color: white !important;
    padding: 10px 28px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
  }

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

  /* ========== Hero Section ========== */
  .hero {
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
        rgba(0, 180, 216, 0.1) 0%,
        transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
  }

  .hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
        rgba(144, 224, 239, 0.15) 0%,
        transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 1.6rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 25px;
  }

  .hero-p {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 40px;
  }

  .hero-p strong {
    color: var(--primary);
    font-weight: 700;
  }

  .btn-primary {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
  }

  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 56px rgba(0, 119, 182, 0.25);
  }

  /* ========== Doctor Image Frame ========== */
  .doctor-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 700px;
    margin: 0 auto;
  }

  .doctor-frame img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: var(--transition);
  }

  .doctor-frame:hover img {
    transform: scale(1.02);
  }

  .frame-decoration {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: 30px;
    z-index: 0;
    transition: var(--transition);
  }

  .doctor-frame:hover .frame-decoration {
    top: -30px;
    right: -30px;
  }

  .doctor-frame::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(var(--accent) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0.4;
  }

  /* ========== About Section ========== */
  .about {
    background: var(--white);
  }

  .badge {
    background: rgba(0, 119, 182, 0.08);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 119, 182, 0.15);
  }

  .about h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 800;
  }

  .about p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 30px;
  }

  .features-list {
    list-style: none;
  }

  .features-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
    border-right: 4px solid transparent;
  }

  .features-list li:hover {
    border-right-color: var(--primary);
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
  }

  .features-list i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 5px;
  }

  .features-list strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  /* ========== Section Headers ========== */
  .section-header {
    text-align: center;
    margin-bottom: 70px;
  }

  .section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
  }

  .section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
  }

  /* ========== Videos Section ========== */
  .videos {
    background: var(--bg-light);
  }

  .video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .video-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
  }

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

  /* Responsive iframe wrapper - classic padding-bottom trick */
  .video-iframe-wrapper {
    position: relative;
    width: 100%;
    /* 9:16 portrait ratio for Shorts */
    padding-bottom: 177.78%;
    height: 0;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #000;
  }

  .video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* Video title below the iframe */
  .video-card .video-title {
    background: #fff;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: "Cairo", sans-serif;
    text-align: center;
    padding: 12px 16px;
    margin: 0;
    line-height: 1.5;
  }

  /* ========== Reviews Section ========== */
  .reviews {
    background: var(--white);
  }

  /* Reviews Carousel Container */
  .reviews-carousel {
    position: relative;
    padding: 0 60px;
    /* Space for arrows */
  }

  /* Carousel Navigation Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(0, 119, 182, 0.15);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .carousel-btn:hover {
    background: var(--gradient-1);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
  }

  .carousel-btn-right {
    right: 0;
  }

  .carousel-btn-left {
    left: 0;
  }

  /* Reviews Grid - Horizontal Scroll */
  .reviews-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* Cards don't stretch to match tallest */
    overflow-x: auto;
    gap: 25px;
    padding: 20px 10px 25px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide scrollbar but keep functionality */
  .reviews-grid::-webkit-scrollbar {
    height: 6px;
  }

  .reviews-grid::-webkit-scrollbar-track {
    background: rgba(0, 119, 182, 0.05);
    border-radius: 10px;
    margin: 0 10px;
  }

  .reviews-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
  }

  /* Review Card */
  .review-card {
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 119, 182, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 119, 182, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }

  /* Decorative Quote Icon */
  .review-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(0, 180, 216, 0.1);
    line-height: 1;
    pointer-events: none;
  }

  /* Top accent line */
  .review-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
  }

  .review-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 119, 182, 0.15);
    border-color: rgba(0, 180, 216, 0.2);
  }

  /* Rating Stars */
  .rating {
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
  }

  /* Review Text */
  .review-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
  }

  /* Patient Name - Always at bottom */
  .patient-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 119, 182, 0.1);
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    font-style: normal;
  }

  .patient-name::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gradient-1);
    border-radius: 50%;
  }

  /* Responsive - Mobile Reviews */
  @media (max-width: 768px) {
    .reviews {
      max-width: 100%;
      padding-left: 0;
      padding-right: 0;
    }

    .reviews .container {
      padding-left: 0;
      padding-right: 0;
    }

    .reviews .section-header {
      padding: 0 20px;
    }

    .reviews-carousel {
      padding: 0 10px;
      /* Minimal padding since arrows are now inside */
    }

    /* Mobile arrows - smaller and themed, positioned inside at top */
    .carousel-btn {
      display: flex;
      width: 36px;
      height: 36px;
      font-size: 0.9rem;
      background: var(--gradient-1);
      color: var(--white);
      border: none;
      box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
      top: 100px;
      /* Position at top */
      transform: none;
      /* Remove vertical centering */
      z-index: 20;
      /* Ensure arrows appear above cards */
    }

    .carousel-btn:hover {
      transform: scale(1.05);
    }

    .carousel-btn-right {
      right: 15px;
      /* Position inside right edge */
    }

    .carousel-btn-left {
      left: 15px;
      /* Position inside left edge */
    }

    .reviews-grid {
      padding: 15px 10px 25px;
      gap: 20px;
      scroll-padding-right: 20px;
    }

    .review-card {
      min-width: 92vw;
      /* Cards take 92% of screen width for better content display */
      max-width: 92vw;
      padding: 25px;
    }

    .review-card:last-child {
      margin-left: 20px;
      /* Space after last card */
    }

    /* Logo smaller on mobile */
    .logo {
      font-size: 18px;
    }
  }

  @media (max-width: 400px) {
    .logo {
      font-size: 16px;
    }

    .review-card {
      min-width: 80vw;
      max-width: 80vw;
      padding: 20px;
    }

    .reviews-grid {
      padding: 15px 15px 25px 50px;
    }
  }

  /* ========== FAQ Section ========== */
  .faq {
    background: var(--bg-light);
  }

  .accordion {
    max-width: 900px;
    margin: 0 auto;
  }

  .accordion-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }

  .accordion-item:hover {
    box-shadow: var(--shadow-md);
  }

  .accordion-header {
    width: 100%;
    padding: 25px 30px;
    text-align: right;
    background: none;
    border: none;
    font-family: "Cairo";
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    transition: var(--transition);
  }

  .accordion-item.active .accordion-header {
    color: var(--primary);
  }

  .accordion-header i {
    transition: var(--transition);
    color: var(--primary);
  }

  .accordion-item.active .accordion-header i {
    transform: rotate(180deg);
  }

  .accordion-body {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .accordion-body p {
    padding-bottom: 25px;
    color: var(--text-light);
    line-height: 1.9;
  }

  .accordion-item.active .accordion-body {
    max-height: 300px;
  }

  /* ========== Branches Section ========== */
  .branches {
    background: var(--white);
  }

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

  .branch-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(0, 119, 182, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }

  .branch-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
  }

  .branch-card:hover::before {
    transform: scaleX(1);
  }

  .branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
  }

  .branch-card .icon {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
  }

  .branch-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
  }

  .branch-card .loc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .branch-card .days {
    margin-top: 15px;
  }

  .branch-card .days span {
    display: block;
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 10px;
    margin: 8px 0;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
  }

  /* ========== Booking Section ========== */
  .booking {
    background: var(--bg-light);
  }

  .booking-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
  }

  .booking-form .input-group {
    margin-bottom: 25px;
  }

  .booking-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.05rem;
  }

  .booking-form input,
  .booking-form select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(0, 119, 182, 0.15);
    border-radius: 15px;
    font-family: "Cairo";
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
  }

  .booking-form input:focus,
  .booking-form select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
  }

  .btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    font-family: "Cairo";
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .btn-submit:hover {
    background-color: #25d366;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  }

  /* ========== Map Section ========== */
  .map-section {
    padding: 0;
  }

  .container-full {
    width: 100%;
  }

  .map-section iframe {
    filter: grayscale(0.3);
    transition: var(--transition);
  }

  .map-section iframe:hover {
    filter: grayscale(0);
  }

  /* ========== Footer ========== */
  .footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0d2137 100%);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
  }

  .footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .social-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
  }

  .social-links a:hover {
    background: var(--gradient-1);
    transform: translateY(-5px);
  }

  .copy {
    margin-top: 30px;
    opacity: 0.7;
    font-size: 0.95rem;
  }

  .dev {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.5;
  }

  /* ========== Hamburger Menu Styles ========== */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 110;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .hamburger:hover {
    background: rgba(0, 119, 182, 0.1);
  }

  .hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  /* Hamburger Active State - X Animation */
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

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

  /* Mobile Menu Overlay */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* ========== Responsive ========== */
  @media (max-width: 968px) {
    .hamburger {
      display: flex;
    }

    .mobile-menu-overlay {
      display: block;
    }

    .nav-links {
      position: fixed;
      top: 0;
      right: -320px;
      width: 300px;
      max-width: 85vw;
      height: 100vh;
      background: var(--white);
      flex-direction: column;
      padding: 100px 30px 40px;
      gap: 0;
      z-index: 100;
      box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
      transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-y: auto;
    }

    .nav-links.active {
      right: 0;
    }

    .nav-links li {
      width: 100%;
      border-bottom: 1px solid rgba(0, 119, 182, 0.1);
    }

    .nav-links li:last-child {
      border-bottom: none;
      margin-top: 20px;
    }

    .nav-links a {
      display: block;
      padding: 18px 10px;
      font-size: 1.1rem;
      color: var(--text-dark);
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .nav-links a:hover {
      color: var(--primary);
      background: rgba(0, 119, 182, 0.05);
      padding-right: 20px;
    }

    .nav-links a::after {
      display: none;
    }

    .nav-links .btn-nav {
      display: block;
      text-align: center;
      padding: 16px 30px;
      background: var(--gradient-1);
      color: var(--white) !important;
      border-radius: 50px;
      margin-top: 10px;
    }

    .nav-links .btn-nav:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 119, 182, 0.3);
      padding-right: 30px;
      background: var(--gradient-1);
    }

    .hero-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .hero-content h1 {
      font-size: 2.5rem;
    }

    .doctor-frame {
      max-width: 350px;
      margin-top: 50px;
    }

    .section-padding {
      padding: 60px 0;
    }

    .booking-wrapper {
      padding: 30px;
    }

    /* 2-column video grid on tablets */
    .video-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }

  @media (max-width: 640px) {
    .hero-content h1 {
      font-size: 2rem;
    }

    .subtitle {
      font-size: 1.2rem;
    }

    .section-header h2 {
      font-size: 2rem;
    }

    .whatsapp-float {
      position: fixed;
      width: 55px;
      height: 55px;
      font-size: 26px;

      bottom: 100px;

      z-index: 999;
    }

    /* Single column video grid on mobile */
    .video-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  }

  .footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
  }

  .developer-credit {
    margin-top: 15px;
    opacity: 0.8;
    font-size: 0.95rem;
  }

  .developer-credit a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .developer-credit a:hover {
    opacity: 0.8;
    text-decoration: underline;
  }

  /*add review setion*/



  .reviews-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #f0f2f5);
    direction: rtl;
  }

  /* Modern Form Styling */
  .add-review-container {
    max-width: 600px;
    margin: 0 auto 50px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .modern-form h3 {
    color: var(--dark-blue);
    margin-bottom: 20px;
  }

  .rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .rating-input input {
    display: none;
  }

  .rating-input label {
    color: #ddd;
    cursor: pointer;
    transition: 0.3s;
  }

  .rating-input input:checked~label,
  .rating-input label:hover,
  .rating-input label:hover~label {
    color: var(--primary-gold);
  }

  .modern-form input,
  .modern-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    outline: none;
  }

  .btn-submit {
    background: var(--dark-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
  }

  .btn-submit:hover {
    background: var(--primary-gold);
    transform: translateY(-2px);
  }

  .branch-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .branch-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
  }

  .map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
  }

  .map-link i {
    color: #e74c3c;
    /* لون أيقونة الخريطة أحمر */
    font-size: 1.2rem;
  }

  .map-link:hover {
    color: #3498db;
    /* يتغير اللون عند تمرير الماوس */
  }


  .about-doctor {
    direction: rtl;
    padding: 80px 0;
    background-color: var(--bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Use Cairo or Tajawal font if available */
  }

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

  .doctor-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .doctor-image {
    flex: 1;
    max-width: 400px;
  }

  .doctor-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 10px 10px 0px var(--primary-color);
    object-fit: cover;
  }

  .doctor-info {
    flex: 1.5;
  }

  .badge {
    display: inline-block;
    background: rgba(42, 93, 154, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
  }

  .doctor-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
  }

  .doctor-info h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
  }

  .doctor-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
  }

  .credentials-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
  }

  .credentials-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
  }

  /* Custom bullet point */
  .credentials-list li::before {
    content: '✓';
    margin-left: 15px;
    color: var(--primary-color);
    font-weight: bold;
    background: rgba(42, 93, 154, 0.1);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
  }

  .btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .btn-primary:hover {
    background-color: #1e4471;
    transform: translateY(-3px);
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .doctor-card {
      flex-direction: column;
      text-align: center;
      padding: 20px;
    }

    .doctor-info h3::after {
      right: 50%;
      transform: translateX(50%);
    }

    .credentials-list li {
      justify-content: center;
    }
  }