/* ============================================
   LAYOUT COMPONENTS — Navbar, Hero, Footer, Floating
   ============================================ */

/* ============= NAVBAR ============= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px -10px rgba(15, 44, 46, 0.15);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 5rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-deepest) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-premium);
}
.logo-icon svg { width: 24px; height: 24px; color: var(--champagne); }
.logo-text-main {
  font-family: "Fraunces", serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--on-dark);
  transition: color 0.5s;
}
.navbar.scrolled .logo-text-main { color: var(--teal-deepest); }
.logo-text-sub {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--champagne);
  margin-top: 2px;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250, 247, 242, 0.8);
  transition: all 0.3s;
}
.nav-link:hover { color: var(--on-dark); background: rgba(250, 247, 242, 0.1); }
.navbar.scrolled .nav-link { color: rgba(15, 44, 46, 0.75); }
.navbar.scrolled .nav-link:hover { color: var(--teal-deepest); background: var(--cream); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-icon-btn {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-dark);
  transition: all 0.3s;
}
.nav-icon-btn:hover { background: rgba(250, 247, 242, 0.1); }
.navbar.scrolled .nav-icon-btn { color: var(--teal-deepest); }
.navbar.scrolled .nav-icon-btn:hover { background: var(--cream); }
.nav-phone { display: none; }
.desktops{
  display: block
}
@media(max-width: 1024px){
  .desktops{
    display: none
  }
}
@media (min-width: 768px) { 
  .nav-phone { display: inline-flex; }

}
.nav-cta { display: none; padding: 0.6rem 1.25rem; font-size: 0.85rem; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
.menu-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.1);
  color: var(--on-dark);
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .menu-btn { display: none; } }
.navbar.scrolled .menu-btn { background: var(--cream); color: var(--teal-deepest); }

.mobile-menu {
  display: none;
  background: var(--ivory);
  border-top: 1px solid var(--sand);
  box-shadow: var(--shadow-premium);
}
.mobile-menu.open { display: block; }
.mobile-menu-inner {
  padding: 1.5rem 0;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.mobile-link {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: var(--teal-deepest);
  font-weight: 500;
}
.mobile-link:hover { background: var(--cream); }

/* ============= HERO ============= */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  padding: 8rem 0 8rem;
}
@media (min-width: 1024px) { .hero { padding: 10rem 0 12rem; } }
.hero-orb-1 {
  position: absolute; top: 25%; left: -8rem;
  width: 24rem; height: 24rem; border-radius: 50%;
  background: rgba(123, 163, 158, 0.25);
  filter: blur(120px);
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute; bottom: 0; right: 0;
  width: 24rem; height: 24rem; border-radius: 50%;
  background: rgba(200, 168, 118, 0.15);
  filter: blur(120px);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}
.hero h1 {
  font-size: 3rem;
  margin: 1.5rem 0 2rem;
}
@media (min-width: 640px)  { .hero h1 { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
@media (min-width: 1280px) { .hero h1 { font-size: 5.25rem; } }
.hero h1 span { display: block; }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--on-dark-soft);
  margin-bottom: 2.5rem;
  max-width: 32rem;
  line-height: 1.7;
}
@media (min-width: 1024px) { .hero-subtitle { font-size: 1.2rem; } }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 28rem;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--on-dark-soft);
}
.trust-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(200, 168, 118, 0.18);
  border: 1px solid rgba(200, 168, 118, 0.4);
  display: flex; align-items: center; justify-content: center;
}
.trust-check i { font-size: 10px; color: var(--champagne); }

/* Tanker visual */
.tanker-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 32rem;
  margin: 0 auto;
}
.tanker-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ring { position: absolute; border-radius: 50%; }
.ring-1 { width: 100%; height: 100%; border: 1px solid rgba(250, 247, 242, 0.1); }
.ring-2 { width: 85%; height: 85%; border: 1px solid rgba(250, 247, 242, 0.15); }
.ring-3 { width: 70%; height: 70%; border: 1px solid rgba(200, 168, 118, 0.35); animation: pulse 3s infinite; }
.tanker-svg-wrap {
  position: absolute; inset: 0;
  padding: 3rem;
  display: flex; align-items: center; justify-content: center;
}
.tanker-svg {
  width: 100%; height: auto;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.25));
}
.water-drop-1 { position: absolute; top: 1.5rem; left: 33%; width: 8px; height: 8px; border-radius: 50%; background: var(--seafoam-light); }
.water-drop-2 { position: absolute; top: 3rem; right: 33%; width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); animation-delay: 1s; }
.water-drop-3 { position: absolute; top: 1rem; right: 25%; width: 8px; height: 8px; border-radius: 50%; background: rgba(250, 247, 242, 0.6); animation-delay: 2s; }

.stat-card {
  position: absolute;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  min-width: 130px;
  box-shadow: var(--shadow-premium);
}
.stat-card-1 { top: 1rem; left: 1rem; animation: float-1 5s ease-in-out infinite; }
.stat-card-2 { bottom: 1rem; right: 0; animation: float-2 6s ease-in-out infinite; }
.stat-card-3 { top: 50%; right: 7rem; animation: float-3 4.5s ease-in-out infinite; }
@media (min-width: 640px) {
  .stat-card-1 { left: 1rem; }
  .stat-card-2 { right: -1rem; }
}
.stat-value {
  font-family: "Fraunces", serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--champagne);
  display: flex; align-items: center; gap: 0.25rem;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--on-dark-soft);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero waves */
.hero-waves {
  position: absolute; bottom: 0; left: 0; right: 0;
  pointer-events: none;
}
.hero-waves svg { width: 100%; height: auto; display: block; }

/* ============= SECTION HEADERS ============= */
.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 4rem;
}
@media (min-width: 1024px) { .section-header { margin-bottom: 5rem; } }
.section-header h2 {
  font-size: 2.25rem;
  color: var(--teal-deepest);
  margin: 1rem 0 1.25rem;
}
@media (min-width: 1024px) { .section-header h2 { font-size: 2.75rem; } }
@media (min-width: 1280px) { .section-header h2 { font-size: 3.5rem; } }
.section-header.dark h2 { color: var(--on-dark); }
.section-header p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.section-header.dark p { color: var(--on-dark-soft); }

/* ============= FOOTER ============= */
.footer {
  background: var(--teal-deepest);
  color: var(--on-dark);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer-line-top {
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 168, 118, 0.4), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand .nav-logo { margin-bottom: 1.25rem; }
.footer-brand .logo-icon { background: var(--champagne); }
.footer-brand .logo-icon svg { color: var(--teal-deepest); }
.footer-brand .logo-text-main { color: var(--on-dark); }
.footer-tagline {
  color: var(--on-dark-soft);
  line-height: 1.7;
  max-width: 20rem;
  margin-bottom: 1.5rem;
}
.social-row { display: flex; gap: 0.75rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.05);
  border: 1px solid rgba(250, 247, 242, 0.1);
  color: var(--on-dark);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.social-btn:hover {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--teal-deepest);
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--champagne);
  margin-bottom: 1.25rem;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-list a {
  font-size: 0.875rem;
  color: var(--on-dark-soft);
  transition: color 0.3s;
}
.footer-list a:hover { color: var(--champagne); }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--on-dark-soft);
}
.footer-contact-item i { flex-shrink: 0; margin-top: 4px; color: var(--champagne); }
.footer-contact-item:hover { color: var(--champagne); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: 0.85rem;
  color: var(--on-dark-faint);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* ============= FLOATING BUTTONS ============= */
.floating-btns {
  display: none;
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 40;
  flex-direction: column;
  gap: 0.75rem;
}
html[dir="rtl"] .floating-btns { right: auto; left: 1.5rem; }
@media (min-width: 640px) { .floating-btns { display: flex; } }
.float-btn {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn-whatsapp { background: #25D366; color: #fff; }
.float-btn-whatsapp:hover { background: #1FAE54; }
.float-btn-whatsapp::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: pulse-ring 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
.float-btn-whatsapp i { position: relative; font-size: 1.5rem; }
.float-btn-call { background: var(--champagne); color: var(--teal-deepest); }
.float-btn-call:hover { background: var(--champagne-light); }
.float-btn-call i { font-size: 1.4rem; }

.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--ivory);
  border-top: 1px solid var(--sand);
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 20px -5px rgba(15, 44, 46, 0.15);
}
@media (min-width: 640px) { .mobile-bar { display: none; } }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  font-weight: 600;
}
.mobile-bar a:first-child { color: var(--teal-deepest); }
.mobile-bar a:first-child i { color: var(--champagne-dark); }
.mobile-bar a:last-child { color: #fff; background: #25D366; }

/* RTL */
html[dir="rtl"] .service-arrow,
html[dir="rtl"] .hero-buttons i.fa-arrow-right,
html[dir="rtl"] .testimonial-arrow i,
html[dir="rtl"] .form-submit-btn i {
  transform: scaleX(-1);
}
html[dir="rtl"] .stat-card-1 { left: 1rem; right:0; }
html[dir="rtl"] .stat-card-2 { right: auto; left: 0; }
html[dir="rtl"] .stat-card-3 { right: auto; left: -1rem; }
@media (min-width: 640px) {
  html[dir="rtl"] .stat-card-1 { right: 2rem; }
  html[dir="rtl"] .stat-card-2 { left: -1rem; }
}
/* Keep phone numbers always LTR */
/* [data-phone-display],
.nav-phone,
.footer-contact-item span,
.mobile-bar a,
a[data-phone] {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 8px;
} */

/* Prevent Arabic mode from reversing number */
html[dir="rtl"] [data-phone-display],
html[dir="rtl"] [data-whatsapp] span {
  direction: ltr !important;
  unicode-bidi: embed !important;
}

/* MAP SECTION */
.map-section {
  padding: 60px 0 100px 0;
  background: #FAF7F2;
}

.map-card {
  overflow: hidden;
  border-radius: 28px;
  box-shadow:
    0 20px 60px rgba(15,44,46,.08),
    0 8px 24px rgba(15,44,46,.06);
  border: 1px solid rgba(15,44,46,.08);
}

.map-card iframe {
  display: block;
  width: 100%;
}

@media (max-width:768px){
  .map-card iframe{
    height: 350px;
  }
}

/* REVIEWS */
.reviews-section{
  padding:100px 0;
  background:#fff;
}

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

.review-card{
  background:#fff;
  padding:32px;
  border-radius:24px;
  border:1px solid rgba(15,44,46,.08);

  box-shadow:
  0 20px 50px rgba(15,44,46,.06);

  transition:.3s;
}

.review-card:hover{
  transform:translateY(-8px);
}

.review-stars{
  color:#F4B400;
  font-size:24px;
  margin-bottom:18px;
}

.review-card p{
  line-height:1.8;
  color:#5B616E;
}

.review-user{
  margin-top:20px;
  color:#0F2C2E;
}

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