
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #000;
  color: #fff;
}


/* NAV */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  flex-wrap: nowrap;
}
.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #e5e5e5;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav nav {
  display: flex;
  gap: 16px;               /* space between links */
  flex-shrink: 1;           /* allows links to shrink */
}

.nav nav a {
  white-space: nowrap;      /* prevent wrapping */
  flex-shrink: 1;           /* allow link text to shrink */
  font-size: 14px;
}


.logo {
  font-weight: 500;
  letter-spacing: 2px;
}

.logo img {
  height: 63px; /* adjust to taste */
  width: auto;
  display: block;
}




/* =========================
   GEO PAGE STYLES
   ========================= */

/* BACKGROUND */
.geo-bg {
  position: relative;
  padding-top: 110px;
}

.geo-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../assets/AFTS/geo\ jpg\ page2.jpg") center / cover no-repeat;
  z-index: -2;
}

.geo-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: -1;
}


/* =========================
   HERO (MATCH YOUR SYSTEM)
   ========================= */
.geo-hero {
  min-height: 45vh;
  padding: 90px 8vw 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* center horizontally */
  text-align: center;  /* center the text */
}

.geo-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  margin-bottom: 24px;
  color: #e5e5e5;
}

.geo-hero h2 {
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 400;
  margin: 0 auto 40px;   /* 👈 THIS centers the block */
  text-align: center; 
  
}
/* ADD THIS */
.geo-hero h2 {
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  letter-spacing: 1px;
  margin-bottom: 40px;
}


/* =========================
   BIG ELEVATED SECTIONS
   (ORIGINAL STYLE — GLASS)
   ========================= */
.geo-card-section {
  padding: 80px 8vw;
}

.geo-card-box {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  padding: 60px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-bottom: 100px;
}



/* GRID */
.geo-card-grid {
  display: flex;
  gap: 60px;
  align-items: center;
}

.geo-card-grid.reverse {
  flex-direction: row-reverse;
}

/* IMAGE */
.geo-image1  {
  flex: 1;
  height: 420px;
  background: url("../assets/AFTS/What\ is\ GEO\ picture.png") center / cover no-repeat;
  border-radius: 8px;
}

.geo-image2  {
  flex: 1;
  aspect-ratio: 1 / 1;
  background: url("../assets/AFTS/GEO\ screenshot.png") center / cover no-repeat;
  border-radius: 8px;
}

/* TEXT */
.geo-text {
  flex: 1;
}

.geo-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  font-weight: 400;
}

.geo-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 16px;
}


/* =========================
   HOW IT WORKS (SMALL BOXES)
   ========================= */
.geo-section {
  padding: 0 8vw 120px;
  text-align: center;
}

.center-title {
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 400;
  margin-bottom: 60px;
}

.geo-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* KEEP YOUR CARD STYLE */
.geo-mini-card {
  border: 3px solid rgba(255,255,255,0.15);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.35s ease, background 0.35s ease;
}

.geo-mini-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.04);
}

.geo-mini-card span {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.geo-mini-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}


/* =========================
   LIST SECTION
   ========================= */
.geo-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.geo-list p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 16px;
}

/* =========================
   FAQ SECTION (GEO STYLE MATCH)
   ========================= */

.geo-faq {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border: 3px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: all 0.3s ease;
}


.geo-faq .geo-card-box {
  padding: 40px;   /* was 60px */
}

.geo-faq {
  margin-top: 0px; /* was 40px */
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

/* QUESTION BUTTON */
.faq-question {
  width: 100%;
  padding: 20px 22px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* ICON */
.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.4s ease;
  padding: 0 22px;
}

.faq-answer p {
  padding-bottom: 20px;
  line-height: 1.7;
  opacity: 0.9;
}

/* OPEN STATE */
.faq-item.active .faq-answer {
  max-height: 450px;
  padding-top: 10px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* reuse your center title style */
.center-title {
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 400;
  text-align: center;
}


/* =========================
   CTA (MATCH YOUR SYSTEM)
   ========================= */
.geo-cta {
  padding: 90px 8vw;
  text-align: center;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  margin: 40px 8%;
}

.geo-cta h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 24px;
}

.geo-cta p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.85;
  line-height: 1.6;
}


/* =========================
   BUTTONS (MATCH GLOBAL)
   ========================= */
.geo-hero .cta-button,
.geo-cta .cta-button {
   display: inline-block;
  padding: 16px 40px;
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: #fff;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.geo-hero .cta-button:hover,
.geo-cta .cta-button:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

.geo-work-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #fff;
   text-underline-offset: 6px; /* 👈 controls distance */
}

.geo-work-link:hover {
  opacity: 0.7;
}
/* =========================
   MOBILE
   ========================= */
@media (max-width: 900px) {

  .geo-card-grid {
    flex-direction: column;
  }

  .geo-3-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  .geo-hero h1 {
    font-size: 2.2rem;
  }

  .geo-hero h2 {
    font-size: 0.95rem;
  }

  .geo-card-box {
    padding: 30px;
  }

}

/* =========================
   GEO CTA MOBILE FIX
   ========================= */
@media (max-width: 768px) {
.geo-cta {
  padding: 60px 20px; /* tighten spacing + fix side overflow */
  margin: 30px 20px;  /* reduce outer margins */
}

.geo-cta h2 {
  font-size: 1.8rem;   /* 👈 main fix */
  line-height: 1.3;
  margin-bottom: 18px;
}

.geo-cta p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 100%;
}

  .geo-section h2 {
    font-size: 1.6rem;
  }

}





/* FOOTER */
.footer {
  padding: 60px 0 40px;
  width: 100%;
  position: relative;
  background: rgba(255,255,255, 0.08) /* 👈 blends with page */
}

.footer-content {
  max-width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  color: #ffffff; 
}

/* LEFT */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-location {
  font-weight: 500;
}

.footer-email {
  opacity: 0.8;
}

/* SOCIAL ICONS BELOW EMAIL */
.footer-socials {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}

.footer-socials a {
  color: #144961;
  font-size: 20px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-socials a:hover {
  opacity: 1;
}



/* RIGHT */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #ffffff;
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.6;
}

/* BIG SCREENS */
@media (min-width: 1600px) {

  .geo-hero {
    padding: 200px 14vw 160px;
  }

  .geo-card-section {
    padding: 200px 14vw;
  }

  .geo-section {
    padding: 0 14vw 220px;
  }

  .geo-card-box {
    padding: 100px;
    margin-bottom: 180px;
  }

  .geo-card-grid {
    gap: 120px;
  }

  .geo-3-grid {
    gap: 80px;
  }

  .geo-text p {
    font-size: 1.25rem;
    line-height: 2;
  }

  .geo-cta {
    padding: 160px 14vw;
    margin: 120px 14%;
  }
}
/* =========================
   PHONE / TABLET FIX
   ========================= */
@media (max-width: 900px) {

  /* STACK BIG CARDS */
  .geo-card-grid {
    flex-direction: column !important;
    align-items: stretch;
  }

  .geo-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
  }

  .geo-text {
    width: 100%;
    text-align: left; /* prevents right-hugging feeling */
  }

  /* STACK 3-CARD GRID ONLY ON MOBILE */
  .geo-3-grid {
    grid-template-columns: 1fr;
  }

  /* TIGHTER BOXES */
  .geo-card-box {
    padding: 30px;
  }

  /* HERO FIX */
  .geo-hero {
    padding: 140px 8vw 80px;
  }
}

@media (max-width: 768px) {

  .nav {
    padding: 16px 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .logo img {
    height: 42px;
  }

  .nav nav {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    max-width: 65%;
  }

  .nav nav a {
    margin-left: 0;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  /* FOOTER (IDENTICAL BEHAVIOR) */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer {
    padding: 40px 0 28px;
  }
}


/*Transitions */
.geo-mini-card {
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.geo-mini-card:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.cta-button {
  transition: 
    background 0.3s ease,
    color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(12px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    filter 0.8s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Optional: stagger helper */
.fade-delay-1 { transition-delay: 0.2s; }
.fade-delay-2 { transition-delay: 0.3s; }
.fade-delay-3 { transition-delay: 0.45s; }

.cta-button.fade-up {
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    filter 0.8s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
    transition-delay: 0.45s;
}

/* BLUR ONLY */
.blur-reveal {
  opacity: 0;
  filter: blur(20px);
  transition: opacity 1.1s ease, filter 0.8s ease;
}

.blur-reveal.in-view {
  opacity: 1;
  filter: blur(0);
}

@media (max-width: 768px) {
  .nav {
    padding-left: 8px;   /* was ~16–20px */
  }
}