/* ============================================
   DR. Ahmed Roshdy EYE CLINICS - Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-section-alt: #0d0d0d;
  --gold: #CBA36A;
  --gold-light: #E1B980;
  --gold-dark: #A88642;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-muted: #777777;
  --border-color: #333333;
  --border-gold: #CBA36A;
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ar);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  direction: rtl;
  line-height: 1.8;
  overflow-x: hidden;
  font-size: 16px;
}

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

a:hover {
  color: var(--gold);
}

ul,
ol {
  list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-ar);
  font-weight: 700;
  line-height: 1.4;
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  height: var(--header-height);
}

.header.scrolled {
  height: 65px;
  box-shadow: 0 2px 20px rgba(203, 163, 106, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  position: relative;
}

.logo-icon::before {
  content: '👁';
  font-size: 22px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .dr-name {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
}

.logo-text .clinic-name {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
}

.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-menu .dropdown-toggle::after {
  content: '▾';
  font-size: 10px;
  transition: var(--transition);
}

.nav-menu .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  min-width: 220px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-menu .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.5);
}

.nav-menu .dropdown-menu a:last-child {
  border-bottom: none;
}

/* Social Icons in Header */
.header-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-social a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gold);
  transition: var(--transition);
}

.header-social a:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 28px;
  cursor: pointer;
}

/* ============================================
   FLOATING SIDEBAR
   ============================================ */
.floating-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-sidebar a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-sidebar .phone-btn {
  background: var(--gold);
  color: var(--bg-primary);
}

.floating-sidebar .whatsapp-btn {
  background: var(--gold);
  color: var(--bg-primary);
}

.floating-sidebar .location-btn {
  background: var(--gold);
  color: var(--bg-primary);
}

.floating-sidebar a:hover {
  transform: scale(1.1);
  background: var(--gold-light);
}

/* ============================================
   BANNER INTRO SECTION
   ============================================ */
.banner-intro {
  position: relative;
  margin-top: var(--header-height);
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('../images/banner.jpg') no-repeat right center;
  background-size: cover;
  background-attachment: fixed;
}

.banner-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(20, 10, 5, 0.95) 0%, rgba(20, 10, 5, 0.7) 50%, rgba(20, 10, 5, 0.3) 100%);
  z-index: 1;
}

.banner-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 2;
}

.banner-container {
  position: relative;
  z-index: 3;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner-card {
  background: rgba(30, 20, 15, 0.85);
  backdrop-filter: blur(10px);
  padding: 50px 45px;
  border-radius: 8px;
  border: 2px solid rgba(203, 163, 106, 0.4);
  flex: 0 1 480px;
  max-width: 480px;
  animation: slideInRight 0.8s ease-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.banner-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 30px;
}

.banner-doctor-name {
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 25px;
  line-height: 1.3;
  direction: rtl;
}

.banner-doctor-name span {
  display: block;
  font-size: 42px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 2px;
  margin-top: 10px;
}

.banner-credentials {
  direction: rtl;
  text-align: right;
}

.banner-credentials p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* padding-top: var(--header-height); */
  background: var(--bg-primary);
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-text {
  flex: 1;
  text-align: right;
}

.hero-text .subtitle {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 5px;
  font-weight: 400;
}

.hero-text h1 {
  font-size: 72px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.1;
  position: relative;
  padding-right: 25px;
  border-right: 4px solid var(--gold);
}

.hero-text .degree {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 25px;
  font-weight: 500;
}

.hero-credentials {
  list-style: disc;
  padding-right: 20px;
}

.hero-credentials li {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.6;
  list-style-type: disc;
}

.hero-signature {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--text-secondary);
  margin-top: 30px;
}

.hero-image {
  flex: 0 0 450px;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
}

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: var(--header-height);
  overflow: hidden;
}

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

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--gold), var(--gold-dark), var(--gold));
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  color: var(--text-primary);
}

.page-hero .breadcrumb a {
  color: var(--text-primary);
}

.page-hero .breadcrumb a:hover {
  color: var(--gold);
}

.page-hero .breadcrumb .separator {
  color: var(--gold);
  font-size: 18px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.section-title::before {
  content: '';
  position: absolute;
  right: -20px;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gold);
}

/* ============================================
   MULTIFOCAL LENS SECTION
   ============================================ */
.multifocal-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.multifocal-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.multifocal-text {
  flex: 1;
  text-align: right;
}

.multifocal-text h2 {
  font-size: 42px;
  color: var(--gold);
  margin-bottom: 25px;
  position: relative;
  padding-right: 20px;
  border-right: 4px solid var(--gold);
}

.multifocal-text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.multifocal-image {
  flex: 0 0 500px;
  position: relative;
}

.multifocal-image img {
  width: 100%;
  border-radius: 10px;
}

.multifocal-image .watermark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1500 0%, #0d0a00 50%, #000000 100%);
}

.news-card {
  display: flex;
  gap: 40px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card-image {
  flex: 0 0 300px;
  overflow: hidden;
  border-radius: 5px;
}

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

.news-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  padding: 30px;
  border: 1px solid var(--border-gold);
  background: rgba(203, 163, 106, 0.05);
}

.news-card-content h3 {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-family: var(--font-en);
}

.news-card-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.news-date {
  text-align: center;
  padding: 15px;
  border: 1px solid var(--border-gold);
  min-width: 80px;
}

.news-date .month {
  font-size: 14px;
  color: var(--text-secondary);
}

.news-date .day {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================
   TV INTERVIEWS SECTION
   ============================================ */
.tv-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.tv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.tv-card {
  border: 1px solid var(--border-gold);
  border-radius: 5px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--bg-card);
}

.tv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(203, 163, 106, 0.15);
}

.tv-card-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.tv-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.tv-card-play::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 3px;
}

.tv-card-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.tv-card-title {
  padding: 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
}

/* ============================================
   SERVICES ACCORDION
   ============================================ */
.services-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.services-accordion {
  display: flex;
  height: 450px;
  gap: 5px;
  overflow: hidden;
}

.accordion-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.5s ease;
  min-width: 60px;
}

.accordion-item:hover,
.accordion-item.active {
  flex: 4;
}

.accordion-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.accordion-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.accordion-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.accordion-watermark {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.4;
  width: 150px;
}

/* ============================================
   ARTICLES SECTION
   ============================================ */
.articles-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.article-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.article-card-image {
  height: 220px;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.article-card-content {
  padding: 25px;
  text-align: right;
}

.article-card-content h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.article-card-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.reviews-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}

.review-card {
  min-width: 300px;
  padding: 30px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  text-align: right;
  scroll-snap-align: start;
}

.review-stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 15px;
}

.review-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.review-author {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
}

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gold);
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */
.locations-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.location-card {
  border: 1px solid var(--border-color);
  padding: 30px;
  background: var(--bg-card);
  text-align: right;
}

.location-card h3 {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 15px;
}

.location-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.location-card .map-embed {
  margin-top: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  border-radius: 5px;
}

.location-card .map-embed iframe {
  width: 100%;
  height: 250px;
  border: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border: 2px solid var(--gold);
  color: var(--text-primary);
  font-family: var(--font-ar);
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.btn-gold {
  background: var(--gold);
  color: var(--bg-primary);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--bg-primary);
}

.btn .arrow {
  transition: var(--transition);
}

.btn:hover .arrow {
  transform: translateX(-5px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand {
  text-align: right;
}

.footer-brand .footer-logo {
  width: 200px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.footer-branches {
  text-align: right;
}

.footer-branches h4,
.footer-services h4 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-branches ul li,
.footer-services ul li {
  margin-bottom: 10px;
}

.footer-branches ul li a,
.footer-services ul li a {
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-branches ul li a::before {
  content: '📍';
  font-size: 14px;
  flex-shrink: 0;
}

.footer-services {
  text-align: right;
}

.footer-services ul li a::before {
  content: '◈';
  color: var(--gold);
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--gold);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  text-align: right;
  margin-bottom: 40px;
}

.contact-info-card h2 {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 10px;
}

.contact-info-card .subtitle {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-item .icon {
  width: 45px;
  height: 45px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item .label {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 3px;
}

.contact-info-item .value {
  font-size: 16px;
  color: var(--text-primary);
  font-family: var(--font-en);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
}

.contact-form h2 {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 30px;
  text-align: right;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: right;
}

.form-group label .required {
  color: var(--gold);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-ar);
  font-size: 15px;
  direction: rtl;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================
   BOOKING PAGE
   ============================================ */
.booking-section {
  padding: 60px 0;
}

.booking-header {
  text-align: right;
  margin-bottom: 40px;
}

.booking-header h2 {
  font-size: 42px;
  color: var(--gold);
  font-style: italic;
}

.booking-header .price {
  font-size: 24px;
  color: var(--text-primary);
  margin-top: 10px;
}

.booking-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.invoice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
}

.invoice-card h3 {
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-align: right;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-table th,
.invoice-table td {
  padding: 12px 15px;
  text-align: right;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
}

.invoice-table th {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-bio {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding: 80px 0;
}

.about-bio-image {
  flex: 0 0 400px;
}

.about-bio-image img {
  width: 100%;
  border-radius: 10px;
}

.about-bio-text {
  flex: 1;
  text-align: right;
}

.about-bio-text h2 {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 10px;
  border-right: 4px solid var(--gold);
  padding-right: 20px;
}

.about-bio-text .degree {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 25px;
}

.about-credentials {
  list-style: disc;
  padding-right: 20px;
}

.about-credentials li {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
  list-style-type: disc;
}

/* Vision/Strategy/Mission */
.vision-strategy {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.vs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.vs-card {
  border: 1px solid var(--border-color);
  padding: 40px;
  text-align: right;
  background: var(--bg-card);
}

.vs-card h3 {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 20px;
}

.vs-card p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}

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

.mission-section h3 {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 25px;
  text-align: right;
}

.mission-list {
  list-style: disc;
  padding-right: 25px;
}

.mission-list li {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.8;
  list-style-type: disc;
}

/* Video embed */
.video-embed {
  text-align: center;
  padding: 60px 0;
  background: var(--bg-secondary);
}

.video-embed iframe {
  max-width: 800px;
  width: 100%;
  height: 450px;
  border: none;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 0;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
}

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

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

.service-card-content {
  padding: 25px;
  text-align: right;
}

.service-card-content h3 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 10px;
}

.service-card-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Service Detail Styles */
.service-detail {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.service-detail-header {
  text-align: right;
  margin-bottom: 40px;
  padding-right: 10px;
}

.service-detail-header h1 {
  font-size: 48px;
  color: var(--text-primary);
  margin-bottom: 10px;
  max-width: 900px;
}

.service-detail .service-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 760px;
  margin-top: 15px;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: 120px;
}

.service-sidebar h3 {
  display: none;
}

.service-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.service-menu a {
  display: block;
  padding: 18px 20px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  font-size: 16px;
  text-align: center;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-menu a:hover {
  background: rgba(203, 163, 106, 0.14);
  color: var(--gold);
  border-color: rgba(203, 163, 106, 0.25);
}

.service-menu a.active {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(203, 163, 106, 0.2);
  font-weight: 700;
}

.service-main-content {
  /* display: grid; */
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.service-detail-image {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.30);
}

.service-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-text {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px;
}

.service-detail-text h2 {
  font-size: 26px;
  color: var(--gold);
  margin: 30px 0 15px 0;
}

.service-detail-text h2:first-child {
  margin-top: 0;
}

.service-detail-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.95;
  margin-bottom: 20px;
}

.service-detail-text ul {
  margin-bottom: 25px;
  padding-right: 24px;
}

.service-detail-text li {
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.service-detail-text li::marker {
  color: var(--gold);
}

.service-detail-text strong {
  color: var(--text-primary);
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
  justify-content: flex-start;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

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

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

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

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

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 56px;
  }

  .hero-image {
    flex: 0 0 350px;
  }

  .multifocal-image {
    flex: 0 0 400px;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    padding: 80px 20px 20px;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-menu.open a {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
  }

  .nav-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    padding-right: 15px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }

  .hero-text {
    text-align: right;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .hero-image {
    flex: 0 0 auto;
    max-width: 350px;
  }

  .multifocal-inner {
    flex-direction: column;
  }

  .multifocal-image {
    flex: 0 0 auto;
    max-width: 100%;
  }

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .about-bio {
    flex-direction: column;
  }

  .about-bio-image {
    flex: 0 0 auto;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .booking-content {
    grid-template-columns: 1fr;
  }

  .news-card {
    flex-direction: column;
  }

  .news-card-image {
    flex: 0 0 auto;
  }

  .service-detail-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-sidebar {
    position: static;
    margin-bottom: 30px;
  }

  .service-main-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .banner-container {
    justify-content: flex-start;
    padding: 30px 20px;
  }

  .banner-card {
    flex: 1;
    max-width: 100%;
    padding: 40px 30px;
    text-align: right;
  }

  .banner-doctor-name {
    font-size: 28px;
  }

  .banner-doctor-name span {
    font-size: 36px;
  }

  .banner-credentials p {
    font-size: 14px;
  }

  .banner-intro {
    height: auto;
    min-height: 400px;
    background-size: cover;
    background-position: center right;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text .subtitle {
    font-size: 20px;
  }

  .hero-text .degree {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

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

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

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

  .services-accordion {
    flex-direction: column;
    height: auto;
  }

  .accordion-item {
    height: 200px;
  }

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

  .floating-sidebar {
    left: 10px;
  }

  .floating-sidebar a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ============================================
   PAYMENT METHODS
   ============================================ */
.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 0;
}

.payment-methods img {
  height: 40px;
  filter: brightness(0.8);
  transition: var(--transition);
}

.payment-methods img:hover {
  filter: brightness(1);
}

/* Branch detail cards for contact page */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  text-align: right;
}

.branch-card h3 {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
}

.branch-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

/* Special commitment banner */
.commitment-banner {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, rgba(203, 163, 106, 0.1), transparent);
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.commitment-banner h2 {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 10px;
}

.commitment-banner .doctor-name {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ============================================
   REVIEWS GALLERY (Client Photos)
   ============================================ */
.reviews-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  /* aspect-ratio: 3/4; */
}

.review-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(203, 163, 106, 0.15);
}

.review-image-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 500;
}

.review-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-wrapper {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

#lightbox-content-clone .review-card {
  width: 100%;
  /* max-width: 500px; */
  height: 80vh;
  cursor: default;
  transform: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: var(--transition);
}

.close-lightbox:hover {
  color: var(--gold);
}

@media (max-width: 991px) {
  .reviews-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  #lightbox-content-clone .review-card {
    height: 70vh;
  }
}