/* =========================
   GLOBAL RESET / BASE
========================= */
html {
  scroll-behavior: smooth;
}

:root {
  --primary-orange: #800000;
  --primary: #800000; /* alias (you reference --primary in a few places) */
  --background: #fafafa;
  --text-dark: #333;
  --text-light: #777;
  --bg-gradient: linear-gradient(135deg, #ffeeee 0%, #ffffff 100%);
  --card-bg-color: #ffffff;
  --card-border-color: #e0e0e0;
  --hover: #e48989;
  --dark: #363535;
--nav-h: 90px;
  --light: #f9fafb; /* used later */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --heading-color: #111827;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.hero {
  min-height: min(80vh, 720px); /* prevents huge empty hero */
  padding: 80px 0 20px 0; 
  margin: 80px 0 0 0;
}

/* =========================
   HERO – wider layout on desktop
========================= */
@media (min-width: 1200px) {
  .hero {
   height: 800px;
  }
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
    margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

/* If any page wrapper is centering everything, neutralize it for navbar */
header, nav {
  margin: 0 !important;
  padding: 0 !important;
}

body {
  background: var(--bg-gradient);
  color: var(--text-dark);
}

/* Helpful media defaults */
/* img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
} */

a {
  color: var(--primary-orange);
  text-decoration: none;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #444;
}

/* Utility highlights */
.highlight {
  color: var(--primary-orange);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 15px 0 25px;
}

.highlight-sm-l {
  color: var(--primary-orange);
  font-size: clamp(1.8rem, 5vw, 3rem);
  padding-left: 8px;
}

.highlight-h2 {
  color: var(--primary-orange);
}

/* =========================
   NAVBAR
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffeeee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  position: fixed;
  top: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  z-index: 999;
  transition: all 0.3s ease;
    /* keep your inner spacing */
  padding-left: 16px;
  padding-right: 18px !important;
  padding-bottom:  20px !important;
  padding-top: 20px !important;
  box-sizing: border-box;
  height: auto;
}

.navbar.scrolled {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  gap: 20px;
  align-items: center;
}

.logo span {
  color: var(--text-light);
  font-weight: normal;
}

.company-name {
  margin: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-orange);
  font-weight: 600;
}

.btn-signup {
  background: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: var(--shadow);
  margin-left: 1.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 10px;
    
    flex-wrap: wrap;
    row-gap: 0.5rem;
    background-color: white;
  }
  
  .auth-buttons, .nav-links{
      padding: 20px !important;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-links,
  .auth-buttons {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 1rem;
  }

  .nav-links.nav-active,
  .auth-buttons.nav-active {
    display: flex;
  }

  .btn-signup {
    width: 200px;
    background-color: var(--primary-orange);
    margin: 18px 0 10px;
    color: white;
  }
}

/* =========================
   HERO
========================= */
.hero{
  display: flex;
  align-items: center;
  gap: 2rem;

  /* correct offset for fixed navbar */
  padding: calc(var(--nav-h) + 18px) 5% 24px;
  margin: 0;

  min-height: auto;
}





@media (min-width: 992px) {
  .hero {
    min-height: 620px;
    
   
   
  }
}

.hero { outline: 6px white  !important; }


.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--primary-orange);
}

.hero-content p {
  color: var(--text-light);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.search-bar {
  display: flex;
  background: white;
  padding: 0.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 520px; /* prevents too wide on desktop */
  margin-bottom: 3rem;
  gap: 0.5rem;
}

.search-bar input {
  border: none;
  padding: 0.7rem 1rem;
  outline: none;
  width: 100%;
  min-width: 0; /* prevents overflow in flex */
}

.search-bar button,
button {
  background: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.9rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
}

.cta-btn {
  margin-bottom: 30px;
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  height: 50px;
  background: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.9rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
}

.cta-btn:hover {
  background-color: var(--hover);
}

.cta-btn a {
  color: white;
}

/* Client Logos Grid (make it fluid) */
.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 360px;
}

.logo-card {
  background: white;
  padding: 1rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  color: #999;
  font-weight: bold;
  width: 100%; /* FIX: remove fixed 200px */
}

/* Hero image */
.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-img-container {
  border-radius: 40px;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    align-items: center;
    padding: 0 1.5rem;
    min-height: auto;
    gap: 1.5rem;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .hero-content p {
    max-width: 100%;
  }

  .cta-btn {
    width: 90%;
    margin: 0 auto 1rem;
  }

  .search-bar {
    max-width: 100%;
    margin: 0 auto 1.5rem;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-img-container {
    width: 90%;
    border-radius: 25px;
    margin: 0 auto;
  }
}

/* =========================
   CONTENT CONTAINER / CARDS
========================= */
.content-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  background-color: var(--background);
  box-shadow: var(--shadow);
  border-radius: 20px;
  overflow: visible;
}



/* Card grid */
.card-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.card {
  flex: 1 1 250px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  border: 2px solid transparent;
  text-align: center;
  max-width: 600px;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: var(--primary-orange);
  margin-top: 10px;
}

.card p {
  color: var(--text-light);
}

/* Hidden sections */
.content-section {
  display: none;
  padding: 40px 20px;
  margin-top: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 1200px;
  animation: fadeIn 0.5s ease;
}

.content-section.active {
  display: block;
  scroll-margin-top: 80px;
}

.content-section h2 {
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-orange);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .card {
    flex: 1 1 45%;
    max-width: 400px;
  }
  .content-section {
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .card-grid {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .card {
    flex: 1 1 90%;
    max-width: 320px;
  }

  .content-section {
    padding: 25px 10px;
  }

  .content-section h2 {
    font-size: 1.6rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.95rem;
  }

  .content-container {
    max-width: 100%;
  }
}

/* =========================
   IMPACT / METRICS (FIX OVERFLOW)
========================= */
.impact-section .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 15px;
  text-align: center;
}

.highlight-bullet {
  color: var(--primary-orange);
  font-weight: 600;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
}

.section-subtitle {
  font-size: 1em;
  color: #555;
  margin-bottom: 40px;
  font-weight: 500;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  gap: clamp(20px, 5vw, 80px);
  margin-bottom: 40px;
}

.metric-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--card-border-color);
  border-radius: 10px;
  padding: 30px 20px;
  width: 100%; /* FIX */
  max-width: 260px; /* FIX */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.metric-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.metric-item i {
  font-size: 3em;
  color: var(--primary-orange);
  margin-bottom: 15px;
}

.metric-value {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-orange);
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.95em;
  color: #555;
  text-align: center;
}

@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .metrics-grid {
    grid-template-columns: 1fr; /* FIX: 1 per row on phones */
    gap: 20px;
  }

  .metric-item {
    max-width: 340px;
  }

  .metric-value {
    font-size: 1.8em;
  }
}

/* =========================
   OUR STORY
========================= */
#our-story-modern {
  padding: 30px 20px;
}

.story-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.story-text {
  max-width: 600px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--primary-orange);
  font-weight: 600;
}

.story-text h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 15px 0 25px;
  color: var(--dark);
}

.story-highlight {
  padding-left: 20px;
  border-left: 4px solid var(--primary-orange);
  font-weight: 600;
  margin: 30px 0;
  color: var(--dark);
}

.story-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
  color: var(--primary-orange);
}

.story-visual {
  position: relative;
}

.image-wrapper {
  border-radius: 24px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-card {
  margin-top: 20px;
  position: absolute;
  bottom: -110px;
  left: 20px;
  background: white;
  padding: 18px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  max-width: calc(100% - 40px);
}

.founder-card h4 {
  margin: 0;
  font-weight: 700;
  color: var(--dark);
}

.founder-card span {
  font-size: 0.9rem;
  color: var(--primary-orange);
}

@media (max-width: 900px) {
  .story-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .founder-card {
    position: static;
    margin-top: 20px;
  }
}

/* =========================
   TESTIMONIALS
========================= */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
}

.section-header p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  font-weight: 500;
}

.testimonials-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  overflow-x: hidden;
}

.testimonial-card {
  flex: 1 1 300px;
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease-in-out;
  min-width: 260px;
  border: 1px solid #e0e0e0;
}

@media (max-width: 900px) {
  .testimonial-card {
    flex: 1 1 45%;
  }
}
@media (max-width: 600px) {
  .testimonial-card {
    flex: 1 1 100%;
  }
}

/* =========================
   SUBSCRIBE
========================= */
.subscribe-section {
  width: 100%;
  background: url("../images/smile.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 50px 15px;
  margin-top: 20px;
  border-radius: 10px;
}

.container-sub {
  background-color: white;
  width: 100%;
  max-width: 600px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.container-sub h1 {
  text-align: center;
  color: #800000;
  margin-bottom: 15px;
}

.container-sub p {
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* form */
form.sendfox-form p {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

form.sendfox-form label {
  font-size: 16px;
  margin-bottom: 5px;
}

form.sendfox-form input[type="email"] {
  padding: 10px;
  font-size: 16px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form.sendfox-form input[type="checkbox"] {
  margin-right: 8px;
}

form.sendfox-form button {
  background-color: #800000;
  color: white;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

form.sendfox-form button:hover {
  opacity: 0.9;
}

/* IMPORTANT FIX:
   Remove body padding on mobile (it can create “left gap” with fixed-width items) */
@media (max-width: 480px) {
  body {
    padding: 0; /* FIX (you had padding:10px) */
  }
  
  .hero{
      margin-top: 20px;
  }

  .subscribe-section {
    padding: 35px 12px;
  }

  form.sendfox-form input[type="email"] {
    font-size: 14px;
  }

  form.sendfox-form button {
    font-size: 14px;
    padding: 10px;
  }
}

/* =========================
   ABOUT PAGE
========================= */
#about-gad {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  padding: 60px 20px;
  color: #333;
  border-radius: 10px;
  margin-bottom: 60px;
  overflow-wrap: anywhere;
}

#about-gad h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 15px 0 25px;
  color: var(--dark);
}

#about-gad p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #444;
}

#about-gad h2 {
  color: var(--dark);
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 12px;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 50px;
}

.about-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0;
  color: #444;
}

header h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: 1px;
}

@media (max-width: 480px) {
  #about-gad {
    padding: 40px 14px;
    border-radius: 8px;
  }
}

@media (min-width: 600px) {
  .about-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .about-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

/* =========================
   CLASSIC SECTION (FIX IMAGE OVERFLOW)
========================= */
.classic-text h2,
.classic-text h1 {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.vision {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.image-banner {
  width: 100%;
  margin: 2rem 0;
}

.classic-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.classic-text {
  flex: 1 1 260px;
}

.classic-image {
  flex: 1 1 320px;
  width: 100%;
}

.classic-image img {
  width: 100%; /* FIX: was 600px */
  max-width: 600px; /* keep same desktop look */
  height: auto; /* FIX: don’t lock height */
  border-radius: 20px;
  margin: 0 auto;
}

/* behaviors */
.behaviors {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.behavior-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #444;
}

.behavior-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.behavior-card h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .classic-section {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================
   TEAM
========================= */
.team-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

.team-header p {
  font-size: 18px;
  color: black;
  margin-top: 10px;
}

.team-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-member {
  text-align: center;
  padding: 20px;
  position: relative;
}

.photo-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
}

.photo-wrapper::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(128, 0, 0, 0.08);
  border-radius: 50%;
  top: -10px;
  left: -10px;
  z-index: -1;
}

.photo-wrapper img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-wrapper:hover img {
  transform: scale(1.08);
}

.team-member h3 {
  font-size: 22px;
  margin: 10px 0 5px;
  font-weight: 700;
  color: #111827;
}

.role {
  font-size: 14px;
  color: var(--heading-color);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.bio {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.5;
  padding: 0 10px;
}

.linkedin-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-orange);
  border-radius: 50%;
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.linkedin-icon:hover {
  transform: scale(1.13);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--bg-gradient);
  color: #ccc;
  padding: 50px 40px 20px;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand h3 {
  color: #222;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.8;
  color: #222;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--hover);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.6;
  color: #222;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================
   CONTAINER HELPERS (FIX THE 1200px BUG)
========================= */
.container {
  max-width: 1300px;
  margin: auto;
  padding: 0 15px;
  display: block;
}

.container-eyebrow {
  width: 100%; /* FIX: was 1200px */
  max-width: 1300px;
  display: flex;
  justify-content: flex-start;
  padding-left: 15px; /* FIX: was 50px */
}

/* =========================
   THANK YOU PAGE (SAFE)
========================= */
.thank-you-container {
  text-align: center;
  padding: 50px 30px;
  border-radius: 15px;
  width: 100%;
  max-width: 600px;
  margin: 50px auto;
}

.thank-you-container h1 {
  color: var(--primary-orange);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you-container p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333;
}

.thank-you-container a {
  text-decoration: none;
  padding: 12px 25px;
  background: var(--primary-orange);
  color: white;
  border-radius: 50px;
  font-weight: bold;
  transition: background 0.3s;
}

.thank-you-container a:hover {
  background: #a01a22;
}

@media (max-width: 768px) {
  .thank-you-container {
    padding: 30px 20px;
  }

  .thank-you-container h1 {
    font-size: 2rem;
  }
}

/* gallery page */
/* gallary */
#gallery {
  padding: 80px 20px;
  background: #f9fafb;
}

#gallery .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--primary-orange);
  display: inline-block;
  margin-bottom: 10px;
}

#gallery .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 40px;
  color: var(--dark);
  text-align: center;
}

/* Filters */
.gallery-filters {
  text-align: center;
  margin-bottom: 40px;
}
.gallery-filters button {
  border: none;
  background: #f5acac;
  padding: 10px 20px;
  margin: 8px 0 0 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-filters button.active,
.gallery-filters button:hover {
  background: var(--primary-orange);
  color: #fff;
}

/* Masonry grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Gallery item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Image */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Overlay */
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
}
.overlay p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Lightbox container */
/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

/* Show lightbox */
.lightbox.active {
  display: flex;
}

/* Image */
.lightbox img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Overlay fix */
.gallery-item .overlay {
  pointer-events: none; /* ✅ allows clicks to pass through */
}

/* contact page */

/* contact page */
.contact-modern {
  padding: 100px 20px;
  color: var(--dark);
}

.contact-wrapper {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  opacity: 0.7;
}

.contact-info h2 {
  font-size: 2.6rem;
  margin: 15px 0;
}

.contact-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: black;
}

.contact-details {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.contact-details strong {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
}

.contact-details span {
  font-size: 1rem;
}

/* FORM */
.contact-form-modern {
  background: white;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 30px 20px rgba(0, 0, 0, 0.07);
}

.field {
  position: relative;
  margin-bottom: 30px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 12px;
  border: none;
  border-bottom: 2px solid #ccc;
  font-size: 1rem;
  background: transparent;
  outline: none;
}

.field label {
  position: absolute;
  left: 12px;
  top: 14px;
  color: #777;
  font-size: 0.9rem;
  pointer-events: none;
  transition: 0.3s ease;
}

/* floating labels */
.field input:focus + label,
.field input:valid + label,
.field textarea:focus + label,
.field textarea:valid + label {
  top: -8px;
  font-size: 0.75rem;
  color: var(--primary-orange);
}

.contact-form-modern button {
  border: none;
  background: var(--primary-orange);
  color: white;
  font-size: 1.05rem;
  border-radius: px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  transition: 0.3s;
}

.contact-form-modern button:hover {
  background: var(--hover);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info h2 {
    font-size: 2.2rem;
  }
}

/* spinner */
.spinner {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #800000; /* Brand color */
  border-radius: 50%;
  width: 35px;
  height: 35px;
  animation: spin 1s linear infinite;
  margin: 15px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .auth-buttons {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0 15px;
  }

  .auth-buttons.nav-active {
    display: flex;
  }
}
@media (max-width: 768px) {
  .auth-buttons {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0 15px;
  }

  .auth-buttons.nav-active {
    display: flex;
  }
}

/*aspirations*/
.aspiration-section {
  padding: 90px 16px;
 
}

.aspiration-section .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.aspiration-section .section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 14px;
  color: var(--dark);
}

.aspiration-section .section-tagline {
  max-width: 720px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
}

.aspiration-section .metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.metric-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 26px;
  text-align: center;

  box-shadow: 0 12px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.metric-value {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-orange);
  margin-bottom: 12px;
}

.metric-label {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.metric-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 auto 16px;
  background: var(--primary-orange);
  border-radius: 4px;
}

@media (max-width: 600px) {
  .aspiration-section {
    padding: 70px 14px;
  }

  .metric-card {
    padding: 30px 22px;
  }

  .metric-label {
    font-size: 0.95rem;
  }
}



/*services*/
#focus-areas {
  padding: 80px 16px;
  background: #fafafa;
}

.focus-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  margin-bottom: 50px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}


.focus-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  border-radius: 20px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;

  color: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);

  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.25)
  );
  z-index: 0;
}

.focus-card * {
  position: relative;
  z-index: 1;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.focus-card.agri {
  background-image: url("../images/agri.jpg");
}

.focus-card.infrastructure {
  background-image: url("../images/infra.jpg");
}

.focus-card.retail {
  background-image: url("../images/retail_business.png");
}


.focus-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.focus-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.focus-link {
  align-self: flex-start;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.6);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.focus-link:hover {
  border-color: #fff;
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .focus-card {
    min-height: 260px;
    padding: 22px;
  }

  .focus-card h3 {
    font-size: 1.3rem;
  }

  .focus-card p {
    font-size: 0.95rem;
  }
}

/*why gad*/

#why-partner {
  padding: 90px 16px;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f9f9f9 100%
  );
}

.why-partner-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

#why-partner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 16px 0 20px;
  color: var(--dark);
}

#why-partner .intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 40px;
}

.partner-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 700px;
  text-align: left;
}

.partner-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

.partner-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 1.2rem;
}

#why-partner .closing {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  font-weight: 500;
}

@media (max-width: 600px) {
  #why-partner {
    padding: 70px 14px;
  }

  .partner-list li {
    font-size: 1rem;
    padding-left: 32px;
  }

  #why-partner .intro,
  #why-partner .closing {
    font-size: 1rem;
  }
}

/*contact-ifo/map*/
.location-section {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 16px;

  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.location-section .text {
  background: #ffffff;
  padding: 40px 36px;
  border-radius: 20px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  color: #333;
}

.location-section .text h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 18px;
  color: var(--dark);
}

.location-section .text h3 {
  margin-top: 26px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-orange);
}

.location-section .text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.location-section .map {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.location-section .map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .location-section {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 60px auto;
  }

  .location-section .text {
    padding: 32px 26px;
  }

  .location-section .map iframe {
    min-height: 320px;
  }
}

/*hero responsive*/

/* ===========================
   FIX: “Desktop mode” on phone (short height screens)
   Reduces hero vertical padding + min-height so it doesn’t look spaced out.
=========================== */
@media (max-height: 700px) {
  .hero {
    min-height: auto !important;     /* stop 80vh pushing content down */
    margin-top: 64px !important;     /* slightly smaller offset */
    padding: 1.25rem 4% !important;  /* reduce top/bottom padding */
  }

  .hero-content h1 {
    margin-bottom: 0.75rem !important;
  }

  .search-bar {
    margin-bottom: 1.25rem !important;
  }

  .hero-img-container {
    max-width: 420px !important;     /* keep image from dominating */
  }
}

@media (min-width: 900px) and (max-height: 800px) {
  .hero {
    padding: 1.5rem 4% !important;
    min-height: auto !important;
  }

  .hero-content p {
    margin-bottom: 1.25rem !important;
  }

  .cta-btn {
    margin-bottom: 1rem !important;
  }
}


/* =========================================
   HERO FIX for tablets + “desktop site” on phone
   (touch devices even when viewport is wide)
========================================= */
@media (hover: none) and (pointer: coarse) {
  .hero {
    min-height: auto !important;      /* removes tall empty space */
     padding: calc(var(--nav-h) + 12px) 16px 18px !important;
    margin: 0 !important;
    gap: 16px !important;    /* smaller offset under fixed navbar */

  }

  /* keep desktop row layout but make it compact */
  .hero-content p {
    margin-bottom: 16px !important;
  }

  .search-bar {
    margin-bottom: 16px !important;
    width: 100% !important;
    max-width: 520px !important;
  }

  .hero-img-container {
    max-width: 520px !important;
  }
}

/* Extra-tight when it’s wide (desktop mode) but still a touch device */
@media (hover: none) and (pointer: coarse) and (min-width: 900px) {
  
  .hero-content h1 {
    margin-bottom: 10px !important;
  }

  .hero-img-container {
    max-width: 460px !important;
  }
}

@media (hover: none) and (pointer: coarse) and (min-width: 900px) {
  .hero{
    padding: calc(var(--nav-h) + 10px) 14px 16px !important;
  }
}


