/* =========================================================
   TOKENS / THEME
   ========================================================= */
:root {
  --c1: #a0d2eb;
  --c2: #e5eaf5;
  --c3: #d0b0f4;
  --c4: #8458b3;
  --c5: #494d5f;

  --bg-body: #ffffff;
  --bg-section-alt: #f6f7fb;

  --header-h: 72px; /* JS can update this value later */

  --font-body: 400 16px/1.6 "Inter", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* =========================================================
   BASE / RESET
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth; /* <--- Adds the premium glide effect */
}
html,
body {
  margin: 0;
  padding: 0;
}

body {
  font: var(--font-body);
  color: var(--c5);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Shared inner container for content */
.section-inner,
.p-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections anchor offset (for fixed header) */
.section,
.p-section {
  scroll-margin-top: calc(var(--header-h)-16px);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;

  display: flex;
  justify-content: center;
  padding: 10px 16px;

  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled {
  background: rgba(9, 11, 18, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding-top: 4px;
  padding-bottom: 4px;
}

.header-inner {
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Nav */
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.btn-ghost {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

/* Default: Hide Hamburger on Desktop */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100; /* Above everything */
}

/* The Hamburger Bars */
.bar {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* MOBILE STYLES (Max Width: 768px) */
@media (max-width: 768px) {
  /* Show the button */
  .mobile-toggle {
    display: block;
  }

  /* Transform the Nav into a Full-Screen Overlay */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(9, 11, 18, 0.699); /* Deep dark brand color */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;

    /* Animation: Slide in from right */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
    backdrop-filter: blur(10px);
  }

  /* The "Open" State (Added by JS) */
  .nav.open {
    transform: translateX(0);
  }

  /* Bigger Links for Touch Targets */
  .nav a {
    font-size: 1.5rem;
    font-weight: 500;
  }

  /* Animate the Hamburger into an "X" */
  .mobile-toggle.open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
  }
  .mobile-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
  }
}

/* =========================================================
   MAIN LAYOUT SECTIONS
   ========================================================= */

/* Generic non-parallax content sections */
.section {
  padding: 80px 0;
}

.section.normal-section:nth-of-type(odd) {
  background: #ffffff;
}

.section.normal-section:nth-of-type(even) {
  background: var(--bg-section-alt);
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0 0 10px;
}

.section-sub {
  margin: 0;
  max-width: 640px;
  color: rgba(0, 0, 0, 0.7);
}

/* =========================================================
   PARALLAX SECTIONS (HERO / WHY / ABOUT)
   ========================================================= */
/* Root wrapper for panels with parallax background */
.p-section {
  position: relative;
  min-height: 100vh; /* gives scroll room for parallax effect */
  overflow: hidden;
}

/* Background layer that will move slower than scroll */
.p-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  will-change: transform;
  pointer-events: none; /* background should not block clicks */
}

.p-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.15);
  will-change: transform;
}

/* Foreground content layer (scrolls at normal speed) */
.p-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 48px;
}

/* GENERAL STYLE FOR PARALLAX TEXT SECTIONS */
.p-content h1,
.p-content h2 {
  font-family: var(--font-heading);
  margin: 0 0 12px;
}

.p-content p {
  margin: 0 0 16px;
}

/* Light text on dark-ish overlay */
.hero-content,
.why-content,
.about-content {
  color: #ffffff;
}

/* Add dark overlay for all parallax sections */
.p-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  z-index: 2;
  pointer-events: none;
}

#why.p-section {
  min-height: 100vh;
}
#about.p-section {
  min-height: 100vh;
}

/* Subtle variation: Why section slightly lighter overlay if needed */
#why.p-section::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
}

/* =========================================================
   HERO CONTENT (PARALLAX SECTION #1)
   ========================================================= */
.hero-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-content {
  max-width: 900px;
  text-align: center;
  align-items: center; /* Centers the items horizontally because it's a flex-column */
  margin-left: auto; /* Ensures the whole block is centered */
  margin-right: auto;
}

.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.18;
  letter-spacing: 0.02em;
  /* Adds subtle separation from the background */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1rem;
  opacity: 0.96;
}

/* CTAs */
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  border: 0;
}

.btn-primary {
  background: var(--c4);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff7c;
  color: var(--c4);
  border: 1px solid var(--c4);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  opacity: 0.9;
  animation: arrow-bounce 1.7s infinite ease-in-out;
}

@keyframes arrow-bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}
#hero.p-section {
  min-height: 120vh;
}
/* Optional: Add this to make the button feel more responsive */
.btn-secondary:hover {
  background: var(--c4);
  color: #ffffff;
  border-color: #ffffff;
}
/* =========================================================
   WHY CHOOSE US (PARALLAX SECTION #2)
   ========================================================= */
/* =========================================================
   WHY US - TRUST STATS
   ========================================================= */

.why-header {
  text-align: center;
  margin-bottom: 40px;
}

/* The Grid Container */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  width: 100%;
}

/* The Individual Card */
.stat-card {
  background: #ffffff;
  padding: 32px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Strong shadow to pop off bg */
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

/* The Ticking Number */
.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem; /* Big and Bold */
  font-weight: 700;
  color: var(--c4); /* Uses your brand purple */
  line-height: 1;
  margin-bottom: 8px;
}

/* The Label text */
.stat-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c5); /* Dark grey text */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* Mobile Fix: Make numbers slightly smaller on phones */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr; /* 2x2 grid on mobile */
  }
  .stat-number {
    font-size: 2.5rem;
  }
}

/* =========================================================
   ABOUT / MISSION SECTION
   ========================================================= */

/* Center the content vertically and horizontally */
.about-content {
  align-items: center;
  text-align: center;
  justify-content: center;
}

/* The "Glass" Box Effect */
.about-box {
  max-width: 700px;
  padding: 40px;
  border: 1px solid rgba(132, 208, 255, 0.15);
  background: rgba(0, 0, 0, 0.1); /* Dark glass */
  backdrop-filter: blur(3px); /* Blurs the background image slightly */
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-box h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  color: #fff;
}

.lead-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

/* Trust Badges */
.about-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.a-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .about-box {
    padding: 24px;
    background: rgba(0, 0, 0, 0.3); /* Darker on mobile for readability */
  }
  .about-box h2 {
    font-size: 1.8rem;
  }
}

/* Contact Info inside About Box */
.about-contact-info {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* Subtle separator line */

  display: flex;
  justify-content: center;
  gap: 32px; /* Space between phone and email */
  flex-wrap: wrap;
}

.ac-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ac-link:hover {
  opacity: 1;
  transform: translateY(-2px); /* Subtle lift effect */
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ac-icon {
  font-size: 1.2rem;
}

/* Mobile: Stack them vertically if screen is small */
@media (max-width: 500px) {
  .about-contact-info {
    flex-direction: column;
    gap: 16px;
  }
}

/* =========================================================
   SERVICES SHOWCASE
   ========================================================= */

/* 1. The Stage (Top Image) */
.service-stage {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #000; /* Fallback color */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  opacity: 1;
}

/* Animation class for smooth switching */
.stage-image.fade-out {
  opacity: 0.8;
  transform: scale(1.02);
}

.stage-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

#stage-title {
  margin: 0;
  font-size: 1.8rem;
  font-family: var(--font-heading);
}

/* 2. The Marquee Wrapper */
.marquee-wrapper {
  width: 100%;
  overflow: hidden; /* Hides the scrollbar */
  position: relative;
  padding: 20px 0;
  /* Fades on the edges to look professional */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* 3. The Track (The moving part) */
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content; /* Ensure it fits all items */
  animation: scroll 40s linear infinite; /* 40s = speed */
}

/* Pause on hover so user can click easier */
.marquee-track:hover {
  animation-play-state: paused;
}

/* 4. The Individual Cards */
.s-card {
  flex: 0 0 auto; /* Don't shrink */
  padding: 14px 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 99px; /* Pill shape */
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

.s-card:hover {
  border-color: var(--c4);
  transform: translateY(-2px);
}

.s-card.active {
  background: var(--c4);
  color: #fff;
  border-color: var(--c4);
  box-shadow: 0 4px 12px rgba(132, 88, 179, 0.4);
}

/* 5. The Animation Keyframes */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Move exactly 50% because we duplicated the items */
    transform: translateX(-50%);
  }
}

/* Mobile Adjustments */
@media (max-width: 700px) {
  .service-stage {
    height: 250px;
  }
  #stage-title {
    font-size: 1.4rem;
  }
}

/* =========================================================
   PROJECTS SLIDER
   ========================================================= */

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

/* Slider Controls */
.slider-nav {
  display: flex;
  gap: 12px;
}

.nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: var(--c4); /* Purple */
  color: #fff;
  border-color: var(--c4);
}

/* The Track Wrapper */
.projects-track-wrapper {
  /* Negative margin allows cards to touch screen edge on mobile */
  margin: 0 -20px;
  padding: 0 20px;
}

/* The Scrollable Track */
.projects-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;

  /* KEY: This enables the snap effect */
  scroll-snap-type: x mandatory;

  /* Hide scrollbar for clean look */
  scrollbar-width: none; /* Firefox */
  padding-bottom: 20px; /* Space for shadow */
}

.projects-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* The Card */
.project-card {
  position: relative;
  /* Fixed width ensures they look uniform */
  flex: 0 0 350px;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* KEY: Snap alignment */
  scroll-snap-align: start;
}

.p-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .p-img {
  transform: scale(1.05); /* Zoom effect on hover */
}

/* Video Play Icon Overlay */
.video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  pointer-events: auto; /* Allow clicks (was previously set to 'none') */
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 10; /* Ensure it sits on top */
}

/* Add a nice hover effect */
.video-icon:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.4);
}

/* Text Overlay (Glassmorphism) */
.p-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 50%; /* Gradient covers bottom half */
}

.p-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 6px;
}

.project-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 0 0 12px;
}

.p-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.9;
}

.p-link:hover {
  opacity: 1;
  color: var(--c1); /* Light blue accent */
}

/* Mobile Responsiveness */
@media (max-width: 700px) {
  .project-card {
    flex: 0 0 280px; /* Slightly narrower on mobile */
    height: 380px;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Hide arrows on mobile (swiping is better) */
  .slider-nav {
    display: none;
  }
}

/* =========================================================
   VIDEO MODAL & UPDATES
   ========================================================= */

/* 1. Modal Container */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999; /* Top level */
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.show {
  display: flex;
  opacity: 1;
}

/* 2. Modal Content (The Video Wrapper) */
.modal-content {
  position: relative;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90vh; /* Prevents video from being taller than screen */
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content video {
  max-width: 100%;
  max-height: 80vh; /* Leaves room for close button */
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  outline: none;
}

/* 3. Close Button */
.close-modal {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.close-modal:hover {
  transform: scale(1.1);
  color: var(--c1); /* Blue accent */
}

/* 4. Small Text Update for Cards */
.p-loc {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
  font-weight: 500;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
  background: var(--c1);
}

.contact-section .section-inner {
  text-align: center;
}
/* =========================================================
   CONTACT FORM (Professional Upgrade)
   ========================================================= */

.contact-form {
  margin: 32px auto 0;
  max-width: 600px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06); /* Soft lift */
}

/* Group labels and inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c5);
  margin-left: 4px;
}

/* Split Name/Phone into 2 columns */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Input Styling */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #f9f9fc; /* Very light grey bg */
  transition: all 0.2s ease;
  outline: none;
}

/* Dropdown specific */
.contact-form select {
  cursor: pointer;
  appearance: none; /* Removes default ugly arrow (optional) */
  /* Re-add custom arrow if you want, or keep browser default for simplicity */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}

/* Focus State - Brand Purple */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--c4);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(132, 88, 179, 0.15); /* Purple Glow */
}

/* Button Full Width */
.btn-block {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 8px;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .contact-form {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr; /* Stack inputs on mobile */
    gap: 0;
  }
}

/* Button Container */
.form-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* WhatsApp Button Style */
.btn-whatsapp {
  background: #25d366; /* WhatsApp Green */
  color: #ffffff;
  border: 1px solid #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background: #1ebc57;
  border-color: #1ebc57;
  color: #ffffff;
}

.btn-icon {
  font-size: 1.2rem;
}

/* On Desktop, make them sit side-by-side if you want */
@media (min-width: 600px) {
  .form-buttons {
    flex-direction: row;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 18px 16px;
  text-align: center;
  font-size: 0.9rem;
  color: #ffffff;
  background: #222633;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .nav {
    gap: 12px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .p-section {
    min-height: 180vh; /* a bit less on smaller screens */
  }
}

@media (max-width: 700px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .p-content {
    padding-top: calc(var(--header-h) + 24px);
  }

  .services-grid,
  .projects-slider {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }
}

/* =========================================================
   FOOTER UPDATES
   ========================================================= */
.footer {
  background: #222633;
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.site-credit {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

.behest-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}

.behest-link:hover {
  color: var(--c1); /* Your Blue Accent */
  border-bottom-color: var(--c1);
}

/* =========================================================
   LOGO UPDATE
   ========================================================= */
.logo {
  display: flex;
  align-items: center;
  gap: 12px; /* Space between Icon and Text */
  text-decoration: none;
}

.logo img {
  height: 40px; /* Constrains the logo to fit the header */
  width: auto;
  display: block;
}

/* Ensure the text still looks good */
.logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  padding-top: 2px; /* Optical alignment */
}
