/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

/* ===================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   =================================== */

:root {
  /* Brand Colors */
  --primary-purple: #9f589f;
  --primary-blue: #5fb4d6;
  --gradient: linear-gradient(#5fb4d6 0%, #9f589f 100%);

  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #6c757d;
  --dark: #212529;

  /* Typography */
  --font-arabic: "Tajawal", "Cairo", sans-serif;
  --font-english: "Roboto", "Arial", sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===================================
   TYPOGRAPHY SYSTEM
   =================================== */

/* Language-Specific Font Families */
[lang="ar"] {
  font-family: var(--font-arabic);
  direction: rtl;
}

[lang="en"] {
  font-family: var(--font-english);
  direction: ltr;
}

/* Heading Scales */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-xs);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.125rem;
  }

  p {
    font-size: 0.9375rem;
  }
}

/* ===================================
   RTL/LTR DIRECTION STYLES
   =================================== */

/* RTL (Arabic) Specific Styles */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .text-left {
  text-align: right;
}

[dir="rtl"] .text-right {
  text-align: left;
}

/* LTR (English) Specific Styles */
[dir="ltr"] {
  text-align: left;
}

[dir="ltr"] .text-left {
  text-align: left;
}

[dir="ltr"] .text-right {
  text-align: right;
}

/* Center alignment works the same in both directions */
.text-center {
  text-align: center;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

/* Navigation Brand */
.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-purple);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: var(--primary-purple);
  font-weight: 600;
}

.nav-link.active::after {
  width: 80%;
}

/* Language Toggle Button */
.lang-toggle {
  background: var(--gradient);
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 50px;
  transition: var(--transition);
}

.lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(159, 88, 159, 0.3);
}

/* Hamburger Menu Toggle (Hidden on Desktop) */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-purple);
  padding: var(--spacing-xs);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .navbar {
    padding: 0 var(--spacing-xs);
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    transition: left 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  [dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  [dir="rtl"] .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: var(--spacing-sm);
    text-align: center;
    font-size: 1.125rem;
  }

  .lang-toggle {
    padding: 4px 0;
    order: 2;
    margin-left: auto;
  }

  [dir="rtl"] .lang-toggle {
    margin-left: 0;
    margin-right: auto;
  }

  .nav-logo {
    width: 80px;
    height: 60px;
  }
}

/* ===================================
   HERO SECTION WITH SLIDER
   =================================== */

.hero {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 80vh;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(159, 88, 159, 0.7) 0%,
    rgba(95, 180, 214, 0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-md);
  text-align: center;
  color: var(--white);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-headline {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  line-height: 1.5;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
  display: inline-block;
  padding: 0.4rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.hero-cta-primary {
  background: var(--white);
  color: var(--primary-purple);
}

.hero-cta:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

/* Hero Navigation Buttons */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.hero-prev {
  left: 30px;
}

.hero-next {
  right: 30px;
}

.hero-nav i {
  font-size: 1.2rem;
}

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background: var(--white);
  width: 30px;
  border-radius: 6px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .hero,
  .hero-slider,
  .hero-slide {
    min-height: 60vh;
  }

  .hero-content {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.5px;
  }

  .hero-headline {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
  }

  .hero-description {
    padding: 0 5px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .hero-cta {
    max-width: 150px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    flex: 1;
    min-width: 0;
  }

  .hero-nav {
    display: none;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
  }

  .hero-prev {
    left: 8px;
  }

  .hero-next {
    right: 8px;
  }

  .hero-nav i {
    font-size: 0.85rem;
  }

  .hero-indicators {
    bottom: 20px;
  }

  .hero-indicator {
    width: 10px;
    height: 10px;
  }

  .hero-indicator.active {
    width: 25px;
  }
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--white);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: var(--primary-purple);
  background: linear-gradient(
    135deg,
    rgba(159, 88, 159, 0.1) 0%,
    rgba(95, 180, 214, 0.1) 100%
  );
  border-radius: 20px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 20px rgba(159, 88, 159, 0.15);
  transition: var(--transition);
}

.about-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(159, 88, 159, 0.25);
}

.about-icon i {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content {
  text-align: start;
}

.about-heading {
  color: var(--primary-purple);
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.about-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

[dir="rtl"] .about-heading::after {
  left: auto;
  right: 0;
}

.about-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: var(--spacing-md);
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary-purple);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.about-link:hover {
  color: var(--primary-blue);
  gap: calc(var(--spacing-xs) + 4px);
}

.about-link i {
  font-size: 0.875rem;
  transition: var(--transition);
}

[dir="rtl"] .about-link i {
  transform: rotate(180deg);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .about {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    text-align: center;
  }

  .about-icon {
    font-size: 5rem;
    padding: var(--spacing-md);
    margin: 0 auto;
    max-width: 200px;
  }

  .about-content {
    text-align: center;
  }

  .about-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  [dir="rtl"] .about-heading::after {
    right: 50%;
    transform: translateX(50%);
  }

  .about-intro {
    font-size: 1rem;
  }

  .about-link {
    font-size: 0.9rem;
  }
}

/* ===================================
   WHY CHOOSE US SECTION
   =================================== */

.why-us {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--light-gray);
}

.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-us-heading {
  text-align: center;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-lg);
  font-size: 2.5rem;
}

.why-us-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-md);
  align-items: center;
}

.why-us-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(159, 88, 159, 0.15);
  transition: var(--transition);
}

.why-us-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 30px rgba(159, 88, 159, 0.25);
}

.why-us-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-us-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  font-size: 1.0625rem;
  color: var(--dark);
  font-weight: 500;
}

.why-us-item i {
  font-size: 1.25rem;
  color: var(--primary-purple);
  flex-shrink: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .why-us {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .why-us-heading {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }

  .why-us-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .why-us-image img {
    max-width: 100%;
  }

  .why-us-item {
    font-size: 1rem;
    gap: var(--spacing-xs);
  }

  .why-us-item i {
    font-size: 1.25rem;
  }
}
/* ===================================
   SERVICES SECTION
   =================================== */

.services {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--white);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-heading {
  text-align: center;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-lg);
  font-size: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: var(--spacing-md);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid rgba(159, 88, 159, 0.1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(159, 88, 159, 0.2);
  border-color: var(--primary-purple);
}

.service-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto var(--spacing-sm);
  display: block;
  transition: var(--transition);
  /* Dark purple color matching website theme */
  filter: brightness(0) saturate(100%) invert(20%) sepia(45%) saturate(3500%) hue-rotate(260deg) brightness(90%) contrast(95%);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  /* Slightly lighter purple on hover */
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(246deg) brightness(104%) contrast(97%);
}

.service-title {
  color: var(--dark);
  margin-bottom: var(--spacing-xs);
  font-size: 1.25rem;
  font-weight: 600;
}

.service-description {
  color: var(--gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Tablet Responsive Styles */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .services {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .services-heading {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .service-card {
    padding: var(--spacing-sm);
    max-width: 300px;
    margin: 0 auto;
  }

  .service-icon {
    width: 50px;
    height: 50px;
  }

  .service-title {
    font-size: 1.125rem;
  }

  .service-description {
    font-size: 0.875rem;
  }
}
/* ===================================
   PAGE HEADER COMPONENT
   =================================== */

.page-header {
  background: var(--primary-blue);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  color: var(--white);
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-breadcrumb {
  font-size: 1rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.page-breadcrumb a {
  color: var(--white);
  transition: var(--transition);
}

.page-breadcrumb a:hover {
  opacity: 0.8;
}

.breadcrumb-separator {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .page-header {
    padding: var(--spacing-lg) var(--spacing-sm);
    min-height: 30vh;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-breadcrumb {
    font-size: 0.875rem;
  }
}

/* ===================================
   ABOUT DETAILS SECTION
   =================================== */

.about-details {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--white);
}

.about-details-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-details-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary-purple);
  background: linear-gradient(
    135deg,
    rgba(159, 88, 159, 0.1) 0%,
    rgba(95, 180, 214, 0.1) 100%
  );
  border-radius: 20px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 20px rgba(159, 88, 159, 0.15);
  transition: var(--transition);
}

.about-details-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(159, 88, 159, 0.25);
}

.about-details-icon i {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-details-content {
  text-align: start;
}

.about-details-heading {
  color: var(--primary-purple);
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.about-details-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

[dir="rtl"] .about-details-heading::after {
  left: auto;
  right: 0;
}

.about-details-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: var(--spacing-md);
}

.about-stats {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-details {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .about-details-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    text-align: center;
  }

  .about-details-icon {
    font-size: 6rem;
    padding: var(--spacing-md);
    margin: 0 auto;
    max-width: 250px;
  }

  .about-details-content {
    text-align: center;
  }

  .about-details-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  [dir="rtl"] .about-details-heading::after {
    right: 50%;
    transform: translateX(50%);
  }

  .about-details-text {
    font-size: 1rem;
  }

  .about-stats {
    justify-content: center;
    gap: var(--spacing-md);
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }
}

/* ===================================
   VISION, MISSION, VALUES SECTION
   =================================== */

.vision-mission-values {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--light-gray);
}

.vmv-container {
  max-width: 1400px;
  margin: 0 auto;
}

.vmv-main-heading {
  text-align: center;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-lg);
  font-size: 2.5rem;
}

.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.vmv-card {
  background: var(--white);
  border-radius: 12px;
  padding: var(--spacing-md);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 1px solid rgba(159, 88, 159, 0.1);
}

.vmv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(159, 88, 159, 0.2);
  border-color: var(--primary-purple);
}

.vmv-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

.vmv-card:hover .vmv-icon {
  transform: scale(1.1);
}

.vmv-heading {
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
  font-weight: 600;
}

.vmv-text {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .vision-mission-values {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .vmv-main-heading {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }

  .vmv-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .vmv-card {
    padding: var(--spacing-md);
  }

  .vmv-icon {
    font-size: 3rem;
  }

  .vmv-heading {
    font-size: 1.25rem;
  }

  .vmv-text {
    font-size: 0.9375rem;
  }
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--light-gray);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
}

/* Contact Info */
.contact-info {
  background: var(--white);
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info-heading {
  color: var(--primary-purple);
  margin-bottom: var(--spacing-sm);
  font-size: 1.75rem;
}

.contact-info-text {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.contact-info-item {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(159, 88, 159, 0.1) 0%,
    rgba(95, 180, 214, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 1.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  color: var(--dark);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-value {
  color: var(--gray);
  font-size: 0.9375rem;
  margin: 0;
}

.contact-social {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(159, 88, 159, 0.1);
}

.contact-social-heading {
  color: var(--dark);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.contact-social-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.contact-social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(159, 88, 159, 0.1) 0%,
    rgba(95, 180, 214, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-purple);
  font-size: 1.125rem;
  transition: var(--transition);
}

.contact-social-icon:hover {
  background: var(--gradient);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(159, 88, 159, 0.3);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-heading {
  color: var(--primary-purple);
  margin-bottom: var(--spacing-md);
  font-size: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  color: var(--dark);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 8px;
}

[dir="rtl"] .contact-info-value {
  direction: ltr;
}

[dir="rtl"] .form-input {
  direction: rtl;
}

.form-input,
.form-textarea {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(159, 88, 159, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--dark);
  transition: var(--transition);
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(159, 88, 159, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: var(--gradient);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: var(--spacing-sm);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(159, 88, 159, 0.3);
}

@media (max-width: 768px) {
  .contact-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .contact-info,
  .contact-form-wrapper {
    padding: var(--spacing-md);
  }

  .contact-info-heading,
  .contact-form-heading {
    font-size: 1.5rem;
  }

  .contact-info-icon {
    width: 45px;
    height: 45px;
  }

  .contact-info-icon i {
    font-size: 1.125rem;
  }

  .contact-social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .form-submit {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* ===================================
   LEGAL PAGE
   =================================== */

.legal-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--light-gray);
}

.legal-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.legal-card {
  background: var(--white);
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(159, 88, 159, 0.12);
}

.legal-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(159, 88, 159, 0.1) 0%,
    rgba(95, 180, 214, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.legal-card-icon i {
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-heading {
  color: var(--primary-purple);
  margin-bottom: 0.35rem;
  font-size: 1.5rem;
}

.legal-updated {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: var(--spacing-sm);
}

.legal-text {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}

.legal-list {
  list-style: disc;
  padding-inline-start: 1.35rem;
  margin: 0;
}

.legal-list li {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
  .legal-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .legal-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .legal-card {
    padding: var(--spacing-md);
  }

  .legal-heading {
    font-size: 1.3rem;
  }
}

/* ===================================
   TEAM PAGE
   =================================== */

.team-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--white);
}

.team-container {
  max-width: 1400px;
  margin: 0 auto;
}

.team-intro {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.team-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-sm);
}

.team-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin: 0 auto;
  max-width: 1200px;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(159, 88, 159, 0.1);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.team-card:hover {
  box-shadow: 0 12px 35px rgba(159, 88, 159, 0.2);
  border-color: var(--primary-purple);
}

.team-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: var(--transition);
}

.team-card:hover .team-image img {
  transform: scale(1.08);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
  background: var(--white);
  position: relative;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-expand-btn {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  border: 4px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(159, 88, 159, 0.3);
  z-index: 10;
}

.team-expand-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(159, 88, 159, 0.4);
}

.team-expand-btn i {
  font-size: 1.2rem;
  transition: var(--transition);
}

/* Bio Modal Overlay */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-modal.active {
  display: flex;
  opacity: 1;
}

.team-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.team-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(159, 88, 159, 0.3);
  animation: modalSlideUp 0.4s ease;
  z-index: 1;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.team-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team-modal-close:hover {
  background: var(--gradient);
  color: var(--white);
  transform: rotate(90deg) scale(1.1);
}

.team-modal-close i {
  font-size: 1.2rem;
}

.team-modal-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  overflow-y: auto;
  max-height: 85vh;
}

.team-modal-image {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
}

.team-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-modal-info {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.team-modal-name {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.team-modal-bio {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: justify;
}

/* Bio Modal Overlay - Legacy styles kept for backwards compatibility */
.team-bio-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.team-bio-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.team-bio-modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(159, 88, 159, 0.3);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-bio-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.team-bio-close:hover {
  background: var(--gradient);
  color: var(--white);
  transform: rotate(90deg);
}

.team-bio-header {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 2px solid transparent;
  border-image: var(--gradient) 1;
}

.team-bio-name {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  padding-right: 3rem;
}

.team-bio-content {
  padding: 2rem 2.5rem 2.5rem;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: justify;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .team-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-image {
    height: 350px;
  }
  
  .team-name {
    font-size: 1.1rem;
  }

  /* New Team Modal Responsive Styles */
  .team-modal-content {
    width: 95%;
    max-height: 90vh;
    border-radius: 16px;
  }

  .team-modal-body {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .team-modal-image {
    height: 350px;
    min-height: 350px;
  }

  .team-modal-info {
    padding: 2rem 1.5rem;
  }

  .team-modal-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .team-modal-bio {
    font-size: 1rem;
    line-height: 1.8;
  }

  .team-modal-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
  
  .team-bio-overlay {
    padding: 1rem;
  }
  
  .team-bio-modal {
    max-height: 90vh;
    border-radius: 16px;
  }
  
  .team-bio-header {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .team-bio-name {
    font-size: 1.4rem;
    padding-right: 2.5rem;
  }
  
  .team-bio-content {
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
  }
  
  .team-bio-close {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }
}

/* ===================================
   RESULTS GALLERY SECTION
   =================================== */

.results-gallery {
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.gallery-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-xs);
}

.gallery-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Gallery Mobile Swiper */
.gallery-mobile {
  display: none;
}

.gallery-desktop {
  display: grid;
}

.gallery-swiper {
  width: 100%;
  padding-bottom: 50px;
}

.gallery-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.gallery-swiper .gallery-item {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.gallery-swiper .swiper-pagination {
  bottom: 10px;
}

.gallery-swiper .swiper-pagination-bullet {
  background: var(--primary-blue);
  opacity: 0.5;
}

.gallery-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  color: var(--primary-blue);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
  font-size: 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .results-gallery {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .gallery-desktop {
    display: none;
  }

  .gallery-mobile {
    display: block;
  }

  .gallery-item {
    border-radius: 8px;
  }

  .gallery-swiper .gallery-item img {
    height: 350px;
  }
}

/* ===================================
   FLOATING ACTION BUTTONS
   =================================== */

.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

/* Move to left side in LTR (English) mode */
[dir="ltr"] .floating-buttons {
  right: auto;
  left: 10px;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 50px;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-weight: 500;
  text-decoration: none;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Button */
.whatsapp-float {
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 0;
}

.whatsapp-float:hover {
  background-color: #128c7e;
}

.whatsapp-float i {
  font-size: 2rem;
  animation: pulse 2s infinite;
}

/* Smile Simulation Button */
.smile-simulation-float {
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--primary-blue)
  );
  min-width: 60px;
  height: 60px;
}

.smile-simulation-float:hover {
  background: linear-gradient(135deg, #8a4a8a, #4a9fc0);
}

.smile-simulation-float i {
  font-size: 1.5rem;
}

.float-btn-text {
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Show text on hover for desktop */
@media (min-width: 769px) {
  .smile-simulation-float:hover .float-btn-text {
    display: inline;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  [dir="ltr"] .floating-buttons {
    right: auto;
    left: 20px;
  }

  .float-btn {
    padding: 12px 15px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
  }

  .whatsapp-float i {
    font-size: 1.5rem;
  }

  .smile-simulation-float {
    min-width: 50px;
    height: 50px;
  }

  .smile-simulation-float i {
    font-size: 1.2rem;
  }
}

/* ===================================
   FOOTER COMPONENT
   =================================== */

.footer {
  background-color: #377e9a;
  color: var(--white);
  padding-top: var(--spacing-xl);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

/* Footer About Column */
.footer-about {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-logo {
  width: 120px;
  filter: brightness(0) invert(1);
  height: 80px;
  object-fit: contain;
  margin-bottom: var(--spacing-xs);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-xs);
}

.footer-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-sm);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.125rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gradient);
  box-shadow: 0 4px 12px rgba(159, 88, 159, 0.4);
}

.footer-badge {
  margin-top: var(--spacing-md);
  text-align: center;
}

.footer-badge img {
  max-width: 150px;
  filter: brightness(0) invert(1);
  height: auto;
  display: inline-block;
}

/* Footer Links Column */
.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: white;
}

[dir="rtl"] .footer-heading::after {
  left: auto;
  right: 0;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-menu li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-menu li a:hover {
  color: var(--primary-blue);
  transform: translateX(5px);
}

[dir="rtl"] .footer-menu li a:hover {
  transform: translateX(-5px);
}

/* Footer Contact Column */
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  gap: var(--spacing-sm);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-contact-list li i {
  font-size: 1.125rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Footer Copyright Bar */
.footer-copyright {
  background-color: rgba(0, 0, 0, 0.3);
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: center;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .footer {
    padding-top: var(--spacing-lg);
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
    margin-bottom: var(--spacing-md);
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-logo {
    width: 80px;
    margin: 0 auto var(--spacing-xs);
  }

  .footer-social {
    justify-content: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  [dir="rtl"] .footer-heading::after {
    right: 50%;
    transform: translateX(50%);
  }

  .footer-menu {
    align-items: center;
  }

  .footer-contact-list li {
    justify-content: center;
  }

  .footer-copyright {
    padding: var(--spacing-sm);
  }

  .footer-copyright p {
    font-size: 0.8125rem;
  }
}
