/* Harmoni Dent Premium Styling Rules */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Cairo:wght@300;400;500;600;700&family=Amiri:wght@400;700&display=swap");

:root {
  --color-primary: #dbe8f4;
  --color-primary-rgb: 219, 232, 244;
  --color-secondary: #533d32;
  --color-secondary-rgb: 83, 61, 50;
  --color-bg-light: #f8f3f0;
  --color-bg-dark: #2b2115;
  --color-body: #6c5a51;
  --color-white: #ffffff;
  
  --font-primary: 'Poppins', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-body);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

a:hover {
  filter: brightness(1.2);
}

/* RTL Layout Variables & Settings */
html.lang-ar {
  font-family: 'Cairo', 'Amiri', sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-secondary);
}

html.lang-ar h1, 
html.lang-ar h2, 
html.lang-ar h3, 
html.lang-ar h4 {
  font-family: 'Cairo', sans-serif;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0.75rem;
}

.col-lg-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
  padding: 0 0.75rem;
}

.col-lg-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
  padding: 0 0.75rem;
}

@media (max-width: 991.98px) {
  .col-lg-6, .col-lg-5, .col-lg-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Loading Overlay Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-circle {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(219, 232, 244, 0.12);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.icon-container {
  z-index: 2;
}

.icon-container img {
  width: 60px;
  height: 60px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Header & Navbar navigation */
.navbar {
  padding: 2.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: var(--transition-smooth);
  background-color: transparent;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(43, 33, 21, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.navbar-brand img {
  height: 42px;
  width: auto;
  transition: var(--transition-smooth);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-primary);
}

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

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-primary);
}

.lang-dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  list-style: none;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 1000;
}

.language-selector:hover .lang-dropdown-menu,
.language-selector.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  color: var(--color-secondary);
  border-radius: 10px;
  font-weight: 500;
}

.lang-item a:hover,
.lang-item.active a {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle .bar {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

@media (max-width: 991.98px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-dark);
    flex-direction: column;
    padding: 8rem 2rem 2rem;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Floating WhatsApp badge */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp img {
  width: 32px;
  height: 32px;
}

/* 1. Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-bg-dark);
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
  border-radius: 2rem 2rem 0 0; /* Sourced from Harmoni */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  color: var(--color-white);
  position: relative;
  z-index: 10;
  padding-right: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-content h1 .highlight {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero-harmoni-smile {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.hero-description {
  font-size: 1.1rem;
  color: #c7c7c7;
  margin-bottom: 2.5rem;
  max-width: 480px;
  font-weight: 300;
}

/* Hero Divider */
.hero-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-divider hr {
  flex: 1;
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.divider-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1) opacity(0.5);
}

/* Contact Badges */
.hero-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-bg {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon-bg {
  border-color: var(--color-primary);
  background: rgba(219, 232, 244, 0.1);
}

.contact-icon-bg img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.contact-item a {
  color: #e0e0e0;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--color-primary);
}

/* Virtual Tour Button */
.virtual-tour-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.25rem;
  background: linear-gradient(135deg, rgba(219, 232, 244, 0.15), rgba(219, 232, 244, 0.05));
  border: 1.5px solid var(--color-primary);
  border-radius: 50px;
  color: var(--color-primary) !important;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(219, 232, 244, 0.1);
  transition: var(--transition-smooth);
}

.virtual-tour-btn:hover {
  background: linear-gradient(135deg, var(--color-primary), #b7cde2);
  color: var(--color-bg-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(219, 232, 244, 0.28);
}

.virtual-tour-btn svg {
  width: 22px;
  height: 22px;
  transition: var(--transition-smooth);
}

.virtual-tour-btn:hover svg {
  transform: scale(1.1);
}

/* Right Media (Clinic Image & Teeth) */
.hero-media-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
}

.clinic-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, white 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, white 30%, transparent 75%);
}

.floating-tooth {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  z-index: 12;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.15));
}

.tooth-1 {
  width: 120px;
  top: 15%;
  left: 20%;
  animation: float 8s ease-in-out infinite;
}

.tooth-2 {
  width: 180px;
  bottom: 20%;
  left: 10%;
  animation: float 11s ease-in-out infinite;
}

.tooth-3 {
  width: 140px;
  top: 40%;
  right: 15%;
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 7rem;
    min-height: auto;
    padding-bottom: 5rem;
  }
  
  .hero-media-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 3rem;
  }
  
  .hero-content {
    text-align: center;
    padding-right: 0;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-description {
    margin: 0 auto 2rem;
  }
  
  .hero-divider, .hero-contact {
    justify-content: center;
    align-items: center;
  }
  
  .tooth-1 { width: 80px; left: 10%; }
  .tooth-2 { width: 110px; left: 60%; }
  .tooth-3 { display: none; }
}

/* 2. About Us / Misyonumuz */
.about-section {
  position: relative;
  padding: 8rem 0;
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  overflow: hidden;
  text-align: center;
}

.about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.about-content-wrap {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
}

.about-header {
  margin-bottom: 3.5rem;
}

.about-header img {
  width: 70px;
  height: auto;
  margin-bottom: 1.5rem;
}

.about-header h2 {
  font-size: 3.8rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.about-header .subtitle {
  font-size: 1.8rem;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 2px;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #d1d1d1;
  font-weight: 300;
  margin-bottom: 2rem;
}

.about-text strong {
  color: var(--color-white);
}

.floating-tooth-about {
  position: absolute;
  width: 150px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.15;
  z-index: 2;
}

.tooth-about-1 {
  top: 10%;
  left: 5%;
  animation: float 7s ease-in-out infinite;
}

.tooth-about-2 {
  top: 20%;
  right: 5%;
  animation: float 9s ease-in-out infinite;
}

.tooth-about-3 {
  bottom: 10%;
  left: 10%;
  animation: float 11s ease-in-out infinite;
}

.tooth-about-4 {
  bottom: 5%;
  right: 12%;
  animation: float 8s ease-in-out infinite;
}

@media (max-width: 767.98px) {
  .about-section {
    padding: 5rem 0;
  }
  .about-header h2 {
    font-size: 2.8rem;
  }
  .about-header .subtitle {
    font-size: 1.4rem;
  }
  .about-text {
    font-size: 1.05rem;
  }
  .floating-tooth-about {
    width: 80px;
    opacity: 0.08;
  }
}

/* 3. Services / Hizmetlerimiz */
.services-section {
  padding: 8rem 0;
  background-color: var(--color-white);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-header h2 {
  font-size: 3rem;
  color: var(--color-secondary);
}

.services-header h2 span {
  color: var(--color-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: #694f41;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ffffff; /* White border from Harmoni */
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: row;
  height: 210px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: inset 0 0 30px #ffffff, 0 15px 35px rgba(255, 255, 255, 0.25);
}

.service-image-container {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  mask-image: linear-gradient(to right, white 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, white 70%, transparent 100%);
}

html.lang-ar .service-image-container img {
  mask-image: linear-gradient(to left, white 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, white 70%, transparent 100%);
}

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

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.15);
  pointer-events: none;
  opacity: 0.7;
  z-index: 2;
}

.service-info {
  flex: 1;
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  z-index: 5;
}

.service-info h3 {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-info p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e0d0c8;
  font-weight: 300;
  text-align: justify;
}

@media (max-width: 991.98px) {
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .services-section {
    padding: 5rem 0;
  }
  .services-header {
    margin-bottom: 3rem;
  }
  .service-card {
    height: auto;
    flex-direction: row;
  }
  .service-image-container {
    flex: 0 0 35%;
  }
  .service-image-container img {
    mask-image: linear-gradient(to right, white 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, white 70%, transparent 100%);
  }
}

@media (max-width: 480px) {
  .service-card {
    flex-direction: column;
  }
  .service-image-container {
    width: 100%;
    height: 200px;
  }
  .service-image-container img {
    mask-image: linear-gradient(to bottom, white 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, white 70%, transparent 100%);
  }
  .service-info {
    padding: 1.5rem 1.5rem 1.5rem;
  }
}

/* 4. Gallery Carousel Section */
.gallery-section {
  padding: 8rem 0;
  background-color: var(--color-bg-dark);
  text-align: center;
}

.gallery-header {
  margin-bottom: 4rem;
}

.gallery-header h2 {
  font-size: 3rem;
  color: var(--color-white);
}

.gallery-header h2 span {
  color: var(--color-primary);
}

/* Splide Swiper styling */
.gallery-swiper {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.gallery-swiper .swiper-wrapper {
  display: flex;
  gap: 0 !important;
  padding: 0 !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
}

.gallery-slide {
  width: 350px !important;
  height: 500px;
  position: relative;
  border-radius: 50px; /* Sourced from Harmoni */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.65;
  transition: transform 0.8s ease, opacity 0.8s ease, box-shadow 0.8s ease !important;
}

.gallery-slide.swiper-slide-active {
  opacity: 1;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.image-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  mask-image: linear-gradient(to bottom, transparent 50%, white 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 50%, white 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2;
  pointer-events: none;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(transparent, rgba(43, 33, 21, 0.9));
  color: var(--color-white);
  text-align: left;
  z-index: 3; /* Sit above blur */
}

.slide-caption h4 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.slide-caption p {
  font-size: 0.9rem;
  color: #cccccc;
  font-weight: 300;
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 5rem 0;
  }
  .gallery-swiper .swiper-wrapper {
    padding: 0 !important;
  }
  .gallery-slide {
    width: 260px !important;
    height: 250px; /* Harmoni mobile height */
    border-radius: 35px; /* Proportionate on mobile */
  }
  .slide-caption {
    padding: 2rem 1.5rem 1.5rem;
  }
  .slide-caption h4 {
    font-size: 1.1rem;
  }
  .slide-caption p {
    font-size: 0.8rem;
  }
}

/* 5. Contact Section & Map */
.contact-section {
  padding: 8rem 0;
  background-color: var(--color-bg-light);
}

.contact-layout {
  display: flex;
  gap: 4rem;
}

.contact-info-panel {
  flex: 0 0 45%;
}

.contact-info-panel h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.contact-info-panel h2 span {
  color: var(--color-primary);
}

.contact-desc {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

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

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.detail-icon-wrap {
  width: 50px;
  height: 50px;
  background-color: var(--color-secondary);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.detail-icon-wrap img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.detail-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.detail-content p, .detail-content a {
  font-size: 1.05rem;
  color: var(--color-body);
}

.detail-content a:hover {
  color: var(--color-primary);
}

.map-panel {
  flex: 1;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(83, 61, 50, 0.1);
  height: 480px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991.98px) {
  .contact-layout {
    flex-direction: column;
    gap: 3rem;
  }
  .contact-info-panel {
    width: 100%;
  }
  .map-panel {
    height: 350px;
  }
}

/* Footer styling */
.site-footer {
  background-color: var(--color-bg-dark);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #888888;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo img {
  height: 36px;
  filter: brightness(0.9);
}

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

@media (max-width: 575.98px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-copy {
    text-align: center;
  }
}

/* RTL layout mirrors */
html.lang-ar .nav-links {
  left: -100%;
  right: auto;
}

html.lang-ar .nav-links.open {
  left: 0;
  right: auto;
}

html.lang-ar .language-btn {
  flex-direction: row-reverse;
}

html.lang-ar .lang-dropdown-menu {
  left: 0;
  right: auto;
}

html.lang-ar .hero-content {
  padding-left: 2rem;
  padding-right: 0;
  text-align: right;
}

html.lang-ar .hero-divider {
  flex-direction: row-reverse;
}

html.lang-ar .contact-item {
  flex-direction: row-reverse;
}

html.lang-ar .detail-row {
  flex-direction: row-reverse;
  text-align: right;
}

html.lang-ar .footer-copy {
  text-align: left;
}

html.lang-ar .slide-caption {
  text-align: right;
}
