:root {
  --navy: #0d1b2a;
  --navy-dark: #07111c;
  --gold: #b8942a;
  --gold-light: #e8c45c;
  --cream: #f8f4ec;
  --white: #ffffff;
  --gray: #6b7280;
  --border: rgba(184,148,42,0.25);
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.15);
  --nav-red: #d9534f;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--navy); overflow-x: hidden; line-height: 1.6; }

h1, h2, h3, h4, h5, h6 { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.2; color: var(--navy); }
/*p, span, li, a { color: var(--navy); }*/
a { text-decoration: none; transition: color 0.25s; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; width: 100%; }

/* ───────────── TOP BAR ───────────── */
.top-bar { background: var(--navy-dark); color: var(--white); padding: 0.4rem 0; font-size: 0.8rem; position: fixed; top: 0; left: 0; right: 0; z-index: 1001; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 60px; flex-wrap: wrap; gap: 1rem; }
.top-bar-info { display: flex; gap: 1.5rem; align-items: center; }
.top-bar-info span { display: flex; align-items: center; gap: 0.4rem; color: var(--white); }
.top-bar-info i { color: var(--gold); }

/* ───────────── HEADER ───────────── */
.header { background: var(--white); position: fixed; top: 32px; left: 0; right: 0; z-index: 1000; transition: all 0.4s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-bottom: 1px solid #eee; }
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.header-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 60px; height: 90px; }
.logo img { height: 65px; width: auto; }

/* ───────────── DESKTOP NAV ───────────── */
.nav-menu { display: flex; list-style: none; gap: 1.5rem; align-items: center; height: 100%; flex: 1; justify-content: center; }
.nav-menu a { text-decoration: none; color: var(--gray); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; transition: color 0.25s; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; padding: 0; }
.nav-num { font-size: 0.75rem; font-weight: 400; color: #9ca3af; margin-bottom: 2px; }
.nav-menu a:hover { color: var(--navy); } 
.nav-menu a:hover .nav-num { color: var(--navy); }
.nav-menu a.active { color: var(--navy) !important; font-weight: 600; } 
.nav-menu a.active .nav-num { color: var(--navy) !important; }
.nav-menu a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--nav-red); }
.btn-cta { background: var(--gold); color: var(--white) !important; padding: 0.6rem 1.4rem !important; border-radius: 2px; font-weight: 600; transition: all 0.25s; display: flex !important; flex-direction: row !important; align-items: center !important; margin-left: 1rem; }
.btn-cta:hover { background: var(--gold-light); color: var(--navy) !important; transform: translateY(-2px); }

/* ───────────── HEADER ACTIONS & LANGUAGE ───────────── */
.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.language-dropdown { position: relative; }
.lang-btn { background: transparent; border: none; color: var(--navy); padding: 0.3rem 0.6rem; border-radius: 4px; cursor: pointer; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 0.6rem; transition: all 0.2s; min-height: 44px; }
.lang-btn:hover { background: rgba(0,0,0,0.05); }
.flag-icon { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.lang-btn i { font-size: 0.7rem; margin-left: 0.3rem; transition: transform 0.2s; }
.lang-dropdown-content { display: none; position: absolute; top: 100%; right: 0; background: var(--white); min-width: 280px; max-height: 400px; overflow-y: auto; border-radius: 4px; box-shadow: var(--shadow-lg); z-index: 1002; border: 1px solid #e5e7eb; margin-top: 0.5rem; }
.lang-dropdown-content.show { display: block; }
.lang-option { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1.2rem; cursor: pointer; color: var(--navy); font-size: 0.9rem; transition: background 0.2s; border-bottom: 1px solid #f3f4f6; }
.lang-option:last-child { border-bottom: none; } 
.lang-option:hover { background: #f9fafb; }

/* ───────────── MOBILE MENU ───────────── */
.mobile-menu-toggle { display: none; background: none; border: 1px solid rgba(0,0,0,0.1); font-size: 1.7rem; cursor: pointer; color: var(--navy); padding: 0.4rem 0.6rem; border-radius: 2px; min-height: 44px; min-width: 44px; }
#mobileMenu { display: none; position: fixed; top: 122px; left: 0; right: 0; background: var(--white); padding: 1rem; z-index: 999; box-shadow: var(--shadow); border-bottom: 1px solid #eee; max-height: calc(100vh - 122px); overflow-y: auto; }
#mobileMenu.active { display: block; }
#mobileMenu a { display: flex; padding: 1rem 0; color: var(--navy); text-decoration: none; border-bottom: 1px solid #f8f9fa; align-items: center; min-height: 44px; }
#mobileMenu a .nav-num { display: inline; margin-right: 10px; margin-bottom: 0; }

/* ───────────── PAGE BANNER ───────────── */
.page-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: var(--white); padding: 2rem 0 1rem; text-align: center; margin-top: 122px; }
.page-banner h1 { font-size: 2.2rem; margin-bottom: 0.8rem; color: var(--white); }
.breadcrumb { display: flex; justify-content: center; gap: 0.4rem; list-style: none; font-size: 0.9rem; }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }

/* ───────────── SECTIONS ───────────── */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label { display: inline-block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.8rem; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 400; color: var(--navy); margin-bottom: 1rem; }
.section-title em { font-style: italic; color: var(--gold); }
.section-line { width: 50px; height: 2px; background: var(--gold); margin: 0 auto 1.5rem; }
.section-subtitle { font-size: 1.05rem; color: var(--gray); max-width: 650px; margin: 0 auto; line-height: 1.7; }

.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 3rem; }
.two-column.reverse { direction: rtl; }
.two-column.reverse > * { direction: ltr; }
.two-column img { width: 100%; max-width: 500px; height: auto; border-radius: 4px; box-shadow: var(--shadow-lg); object-fit: cover; }

.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.feature-card { background: var(--white); padding: 2rem; border-radius: 4px; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; text-align: center; border-top: 3px solid var(--gold); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 1.2rem; }
.feature-card h3 { color: var(--navy); margin-bottom: 0.8rem; font-size: 1.3rem; }
.feature-card p { color: var(--gray); font-size: 0.93rem; }
.pro-tip { background: #fef3c7; border-left: 4px solid var(--gold); padding: 1.2rem 1.5rem; margin: 1.5rem 0; border-radius: 0 4px 4px 0; font-size: 0.9rem; }
.pro-tip strong { color: var(--gold); }

/* ───────────── TIMELINE (FIXED) ───────────── */
.timeline-section { background: var(--cream); padding: 5rem 0; }
.modern-timeline { position: relative; max-width: 1000px; margin: 0 auto; padding: 2rem 0 4rem; }
.modern-timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  border-radius: 2px; transform: translateX(-50%); z-index: 1;
}
.timeline-step { display: flex; align-items: flex-start; margin-bottom: 3.5rem; position: relative; z-index: 2; }
.timeline-step:nth-child(odd) { flex-direction: row-reverse; }
.timeline-step:last-child { margin-bottom: 0; }

.timeline-node { flex: 0 0 60px; display: flex; justify-content: center; align-items: center; }
.step-number {
  width: 48px; height: 48px; background: var(--navy); color: var(--gold-light);
  border: 3px solid var(--gold); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
  font-weight: 700; box-shadow: 0 0 0 6px var(--cream), 0 0 15px rgba(184,148,42,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-step:hover .step-number { transform: scale(1.15); box-shadow: 0 0 0 8px var(--cream), 0 0 25px rgba(184,148,42,0.5); }

.timeline-card {
  flex: 1; background: var(--white); border-radius: 12px; padding: 1.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid rgba(184,148,42,0.15);
  position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; width: 100%; max-width: 420px;
}
.timeline-step:nth-child(odd) .timeline-card { margin-left: 2rem; }
.timeline-step:nth-child(even) .timeline-card { margin-right: 2rem; }
.timeline-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }

.timeline-card::before {
  content: ''; position: absolute; top: 50%; width: 2rem; height: 2px; background: var(--gold); opacity: 0.6; transform: translateY(-50%);
}
.timeline-step:nth-child(odd) .timeline-card::before { right: 100%; left: auto; }
.timeline-step:nth-child(even) .timeline-card::before { left: 100%; }

.card-header { margin-bottom: 0.8rem; }
.step-tag { display: inline-block; background: rgba(184,148,42,0.1); color: var(--gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 4px; margin-bottom: 0.5rem; }
.timeline-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 500; color: var(--navy); margin: 0; }
.card-body p { color: var(--gray); font-size: 0.95rem; line-height: 1.65; margin: 0; }
.card-image { margin-top: 1.2rem; border-radius: 8px; overflow: hidden; border: 1px solid rgba(184,148,42,0.15); background: var(--cream); display: flex; justify-content: center; align-items: center; } 
.card-image img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.timeline-card:hover .card-image img { transform: scale(1.03); }

/* ───────────── CTA & FOOTER ───────────── */
.pipeline-cta { background: var(--cream); padding: 4rem 0; text-align: center; }
.pipeline-cta h2 { font-family: 'Cormorant Garamond', serif; color: var(--navy); font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 400; margin-bottom: 0.8rem; }
.pipeline-cta h2 em { color: var(--gold); font-style: italic; }
.pipeline-cta p { color: var(--gray); max-width: 560px; margin: 0 auto 1.5rem; font-size: 1rem; line-height: 1.7; }
.btn-pipeline-cta { background: var(--gold); color: var(--white); border: none; padding: 0.9rem 2.2rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; text-decoration: none; display: inline-block; transition: background 0.25s, transform 0.2s; min-height: 44px; }
.btn-pipeline-cta:hover { background: var(--navy); transform: translateY(-2px); }

.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-section h3 { color: var(--gold); margin-bottom: 1.2rem; font-size: 1.2rem; }
.footer-section p, .footer-section a { line-height: 1.7; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-section a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: var(--white); }
.footer-bottom a { color: var(--white); text-decoration: none; margin: 0 0.8rem; transition: color 0.25s; }
.footer-bottom p { color: var(--white); text-decoration: none; margin: 0 0.8rem; transition: color 0.25s; }

/* ───────────── UTILITIES & RESPONSIVE ───────────── */
.text-center { text-align: center; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; } .mt-3 { margin-top: 3rem; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 992px) {
  .container, .top-bar-content, .header-content { padding: 0 40px; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info { order: 2; }
  .contact-form-container { order: 1; }
}

/* ───────────── TWO-COLUMN RESPONSIVE ───────────── */
@media (max-width: 992px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .two-column.reverse {
    direction: ltr; /* Resets desktop flip so mobile stacks in natural order */
  }
  .two-column img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .top-bar { display: none !important; }
  .header { top: 0 !important; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
  .header-content { height: 70px; padding: 0 20px; }
  .logo img { height: 50px; }
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
  #mobileMenu { top: 70px !important; max-height: calc(100vh - 70px) !important; }
  .page-banner { margin-top: 0 !important; padding-top: 70px !important; }
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .contact-form-container { padding: 1.5rem; }
  .header-actions .lang-btn span { display: none; }
  .header-actions .lang-btn { padding: 0.4rem; }
  .lang-dropdown-content { right: -30px; min-width: 240px; }
  .info-card { padding: 1.2rem; }
  .map-section iframe { height: 300px; }
}
@media (max-width: 480px) {
  .lang-dropdown-content { right: -50px; }
}
[dir="rtl"] .info-card { border-left: none; border-right: 4px solid var(--gold); }
[dir="rtl"] .lang-dropdown-content { right: auto; left: 0; }

/* ───────────── FOOTER SOCIAL ICONS ───────────── */
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.2rem; }
.footer-social a { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 38px; 
  height: 38px; 
  border-radius: 50%; 
  background: rgba(255,255,255,0.1); 
  color: rgba(255,255,255,0.8); 
  transition: all 0.25s ease; 
}
.footer-social a:hover { 
  background: var(--gold); 
  color: var(--navy-dark) !important; 
  transform: translateY(-2px); 
}
.footer-social i { font-size: 1rem; }

/* ───────────── FOOTER MOBILE STACK ───────────── */
@media (max-width: 768px) {
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding-top: 1rem;
  }
  .footer-bottom p {
    margin: 0;
    width: 100%;
  }
  .footer-bottom a {
    display: block;
    margin: 0.2rem 0;
  }
}

/* ───────────── TOP BAR CENTER ALIGN FIX ───────────── */
.top-bar-content {
    justify-content: center !important;
    text-align: center !important;
}