/*--------------------------------------------------------------
# ITIB SARL - Design System & Stylesheet (Refonte Inspirée de Mats-Afrique)
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #3f177f;         /* Purple royal profond */
  --primary-light: #5e27b3;   /* Violet dynamique */
  --accent: #8f55ff;          /* Violet lumineux d'action */
  --bg: #0f0720;              /* Noir-violet profond */
  --light: #f7f2ff;           /* Gris-violet ultra-léger */
  --text: #21202a;            /* Anthracite sombre */
  --muted: #605d72;           /* Gris-violet sourd */
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow: 0 10px 30px rgba(15, 7, 32, 0.08);
  --shadow-hover: 0 18px 40px rgba(94, 39, 179, 0.18);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--light);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--bg);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(94, 39, 179, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(94, 39, 179, 0.45);
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--bg);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#topbar .topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

#topbar .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

#topbar .contact-info a,
#topbar .contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

#topbar .contact-info a:hover {
  color: var(--accent);
}

#topbar .contact-info svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}



/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
#topbar .social-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

#topbar .social-links a:hover {
  color: var(--white);
}

#topbar .social-links a.active {
  background: var(--accent);
  color: var(--white) !important;
}
#header {
  background: var(--bg);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

#header.scrolled {
  padding: 8px 0;
  background: rgba(15, 7, 32, 0.96);
  backdrop-filter: blur(8px);
}

#header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: var(--transition);
}

#header.scrolled .brand img {
  height: 40px;
}

.brand .slogan {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
  border-left: 2px solid var(--accent);
  padding-left: 0.8rem;
  max-width: 280px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-family: "Montserrat", sans-serif;
  transition: var(--transition);
}

.brand:hover .slogan {
  color: var(--accent);
}

/* Main Navigation */
.nav-menu-container {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Montserrat", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 0;
  display: block;
}

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

/* Dropdown Menu */
.nav-menu .menu-has-children > a::after {
  content: " ▾";
  font-size: 0.75rem;
  vertical-align: middle;
}

.nav-menu ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border-top: 3px solid var(--primary-light);
  list-style: none;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-radius: 0 0 6px 6px;
}

.nav-menu .menu-has-children:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu ul a {
  padding: 10px 18px;
  font-size: 0.82rem;
  text-transform: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu ul a:hover {
  background: rgba(94, 39, 179, 0.15);
  padding-left: 22px;
}

.nav-menu .nav-cta a {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  box-shadow: 0 4px 10px rgba(94, 39, 179, 0.25);
}

.nav-menu .nav-cta a:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/*--------------------------------------------------------------
# Hero Intro Carousel (Slider)
--------------------------------------------------------------*/
#intro {
  position: relative;
  height: 82vh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}

.slider-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide .kicker {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.slide h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slide p {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Slider Navigation Controls */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 7, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.slide-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.slide-nav.prev {
  left: 20px;
}

.slide-nav.next {
  right: 20px;
}

.slide-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slide-dots .dot {
  width: 25px;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.slide-dots .dot.active {
  background: var(--accent);
  width: 40px;
}

/*--------------------------------------------------------------
# Page Hero (Subpages Banner)
--------------------------------------------------------------*/
.page-hero {
  position: relative;
  padding: 6.5rem 0 4.5rem;
  background: linear-gradient(135deg, rgba(15, 7, 32, 0.96) 30%, rgba(94, 39, 179, 0.7) 100%),
              url("assets/real-02.png") center/cover no-repeat;
  text-align: center;
  color: var(--white);
}

.page-hero .section-tag {
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/*--------------------------------------------------------------
# Split Layout (About / Presentation)
--------------------------------------------------------------*/
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.split-text h2 {
  margin-bottom: 1.2rem;
}

.split-text p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 1.4rem;
}

.about-card {
  background: var(--white);
  border: 1px solid rgba(143, 85, 255, 0.15);
  border-radius: var(--border-radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.about-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-family: "Montserrat", sans-serif;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.about-card ul {
  list-style: none;
  margin-top: 0.5rem;
}

.about-card li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.about-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/*--------------------------------------------------------------
# Service Cards (Grille & Cartes)
--------------------------------------------------------------*/
.service-grid,
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(143, 85, 255, 0.12);
  border-top: 4px solid var(--primary);
  border-radius: var(--border-radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--accent);
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--bg);
  margin-bottom: 0.8rem;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--primary-light);
}

.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.service-icon {
  background: var(--light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-light);
  stroke-width: 2;
  fill: none;
}

.service-card:hover .service-icon {
  background: var(--primary-light);
  color: var(--white);
}

.service-card:hover .service-icon svg {
  stroke: var(--white);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary-light);
}

.inline-link:hover {
  color: var(--accent);
}

.inline-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.inline-link:hover::after {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
# Stats Section (Compteurs)
--------------------------------------------------------------*/
.stats {
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: rgba(143, 85, 255, 0.12);
  border-radius: 50%;
  filter: blur(100px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.stats article {
  text-align: center;
}

.stats .num {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  color: var(--accent);
  margin-bottom: 0.3rem;
  line-height: 1;
}

.stats p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Realisations (Galerie Interactive)
--------------------------------------------------------------*/
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.real-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid rgba(143, 85, 255, 0.1);
  transition: var(--transition);
}

.real-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.real-card figcaption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 7, 32, 0.98) 0%, rgba(15, 7, 32, 0.7) 50%, rgba(15, 7, 32, 0) 100%);
  color: var(--white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.85;
  transition: var(--transition);
  transform: translateY(0);
}

.real-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.real-card:hover img {
  transform: scale(1.1);
}

.real-card:hover figcaption {
  opacity: 1;
  background: linear-gradient(to top, var(--bg) 0%, rgba(15, 7, 32, 0.85) 60%, rgba(15, 7, 32, 0.1) 100%);
}

.real-card figcaption h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.real-card figcaption p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  line-height: 1.3;
}

/*--------------------------------------------------------------
# Partenaires (Clients & Marques)
--------------------------------------------------------------*/
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.partners span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(143, 85, 255, 0.15);
  color: var(--bg);
  border-radius: var(--border-radius);
  padding: 1.2rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  aspect-ratio: 16 / 7;
}

.partners span:hover {
  border-color: var(--accent);
  background: var(--light);
  color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

/*--------------------------------------------------------------
# FAQ Accordéon
--------------------------------------------------------------*/
.faq-container {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid rgba(143, 85, 255, 0.15);
  border-radius: var(--border-radius);
  background: var(--white);
  padding: 1.2rem 1.6rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--bg);
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  position: relative;
  padding-right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary-light);
  font-weight: 600;
  transition: var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Contact Page & Coordinator
--------------------------------------------------------------*/
.coord-card {
  display: flex;
  flex-direction: column;
}

.coord-logo-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin-top: 1.5rem;
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 1rem;
}

.coord-logo {
  max-width: 80%;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(15, 7, 32, 0.1));
}

.contact-form {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.2rem;
}

.contact-form .form-group {
  display: grid;
  gap: 0.4rem;
}

.contact-form label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bg);
  font-family: "Montserrat", sans-serif;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(143, 85, 255, 0.25);
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(94, 39, 179, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  justify-self: start;
}

.form-status {
  display: none;
  margin-bottom: 1rem;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: #e8f8ee;
  border: 1px solid #9cdab0;
  color: #175f2d;
}

.form-status.error {
  display: block;
  background: #ffeef0;
  border: 1px solid #f4b3bc;
  color: #8c1a2b;
}

.hp-field {
  display: none !important;
}

/* Call To Action Band */
.contact-band {
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(143, 85, 255, 0.15);
  border-radius: 50%;
  filter: blur(80px);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.contact-band h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.contact-band .contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  padding: 2.2rem;
  backdrop-filter: blur(6px);
}

.contact-band .contact-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.8rem;
}

.contact-band .contact-card a {
  color: var(--white);
  font-weight: 700;
}

.contact-band .contact-card a:hover {
  color: var(--accent);
}

/*--------------------------------------------------------------
# Footer Section
--------------------------------------------------------------*/
.footer {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 3.5rem;
}

.footer h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.copyright {
  margin-top: 4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  background: var(--primary);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  bottom: 20px;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  stroke-width: 2.5;
  fill: none;
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (max-width: 991px) {
  #topbar .social-links {
    display: none;
  }
  
  .nav-menu-container {
    display: none; /* We will use mobile overlay menu triggered by script */
  }
  
  .menu-toggle {
    display: block;
  }
  
  /* Mobile Nav active state via script */
  .nav-menu-container.mobile-nav-active {
    display: flex;
    position: fixed;
    inset: 74px 0 0 0;
    background: var(--bg);
    z-index: 999;
    flex-direction: column;
    padding: 2rem;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .nav-menu-container.mobile-nav-active .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
  }
  
  .nav-menu-container.mobile-nav-active .nav-menu li {
    width: 100%;
  }
  
  .nav-menu-container.mobile-nav-active .nav-menu a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-menu-container.mobile-nav-active .nav-menu ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
    margin-top: 5px;
    border-radius: 6px;
    border-top: none;
    border-left: 2px solid var(--primary-light);
  }
  
  .split,
  .stats-grid,
  .contact-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .brand .slogan {
    display: none; /* Hide slogan on smaller tablets/mobiles to save space */
  }
  
  .slide-nav {
    display: none; /* Hide slider arrows on mobile devices */
  }
  
  .page-hero {
    padding: 5rem 0 3.5rem;
  }
}

@media (max-width: 600px) {
  #topbar {
    display: none; /* Hide topbar on mobile to maximize viewport height */
  }
  
  .section {
    padding: 3.8rem 0;
  }
  
  .slide h2 {
    font-size: 2.2rem;
  }
  
  .slide p {
    font-size: 0.95rem;
  }
  
  .intro-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .intro-actions .btn {
    width: 100%;
  }
  
  .service-grid, .quick-grid {
    grid-template-columns: 1fr;
  }
}
