/* =======================================================================
   ISSAJATT - MAIN CSS (ORGANIZED + RESPONSIVE) - FIXED (Chrome + Firefox)
   ======================================================================= */

/* ================= VARIABLES ================= */
:root {
  --primary-green: #207c4b;
  --primary-blue: #233d87;
  --accent-yellow: #ffff53;
  --light-yellow: #ffff30;
  --gray: #a8a7a7;
  --dark-gray: #333;
  --black: #000;
  --white: #fff;

  --font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --container-max: 1200px;
  --container-pad: 2rem;

  --radius-lg: 30px;
  --radius-md: 20px;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ================= RESET + CROSS-BROWSER FIXES ================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;

  /* Cross-browser text scaling consistency */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;

  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

/* Make form controls consistent across browsers */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* Keep content below fixed navbar */
.page-wrapper {
  padding-top: 80px;
}

/* ================= CONTAINER ================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ================= COMMON TITLES ================= */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title.large {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

/* ================= BUTTONS ================= */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid #111;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-green);
}

/* =======================================================================
   NAVBAR
   ======================================================================= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
  width: auto;
}

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  border-left: 1px solid var(--black);
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.nav-link:first-child {
  border-left: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger animation */
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =======================================================================
   HERO (match screenshot layout) - FIXED
   ======================================================================= */
.hero-section {
  width: 100%;
  background: #fff;
}

.hero-wrapper {
  width: 100%;
  max-width: 90rem; /* 1440px */
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

/* Top image area */
.hero-visual {
  position: relative;
  width: 100%;
  background: #e9e9e9;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Tagline centered near top (use rem for consistency) */
.hero-tagline {
  position: absolute;
  top: 6.75rem; /* was 107.68px */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--primary-green);
  margin: 0;
  pointer-events: none;

  /* rendering consistency */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Bottom yellow bar */
.hero-cta-bar {
  width: 100%;
  background: #207c4b;
  padding: 1.75rem 1rem;
  margin: 1rem 0 2rem;
}

.hero-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.hero-cta-text {
  color: #fff;
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: 0.35em;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Black pill button with arrow */
.hero-cta-btn {
  width: 6rem;
  height: 3.1rem;
  border-radius: 999px;
  background: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-arrow {
  width: 1.6rem;
  height: 1.6rem;
  color: #fff;
}

/* =======================================================================
   FEATURE BAR
   ======================================================================= */
.bar-section {
  width: 100%;
  background: #fff;
}

.hero-feature-bar {
  width: 100%;
  background: #ffff33;
  padding: 1.5rem 0 1.5rem;
}

.feature-flex {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 600;
}

.tick {
  width: 1.1rem;
  height: auto;
}

/* =======================================================================
   WHY CHOOSE SECTION
   ======================================================================= */
.why-section {
  padding: 6rem 0;
  background: #fff;
}

.why-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

/* Yellow content card */
.why-content-card {
  background: #ffff33;
  padding: 3.5rem 4rem 3.5rem 3rem;
  border-radius: var(--radius-md);
  flex: 1;
  margin-right: -40px;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-title {
  color: var(--primary-green);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.why-text {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 2rem;
  max-width: 550px;
}

.btn-black {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 0.8rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-black:hover {
  background: #333;
}

/* Illustration card */
.why-image-card {
  flex: 0 0 45%;
  z-index: 2;
}

.why-image-card img {
  width: 100%;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* =======================================================================
   SERVICES STACK SECTION
   ======================================================================= */
.services-stack-section {
  padding: 4rem 0;
  background: #fff;
}

.service-row-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 5rem;
  box-shadow: var(--shadow-soft);
  min-height: 350px;
  overflow: hidden;
}

/* Text side */
.service-text-box {
  flex: 1;
  padding: 3rem 4rem;
}

.service-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.service-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #000;
}

.service-description {
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 500;
}

/* Image side */
.service-image-box {
  flex: 1;
}

.service-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* =======================================================================
   KEY POINTS SECTION
   ======================================================================= */
.keypoints-section {
  padding: 1rem 0;
}

.keypoints-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.keypoint-card {
  border-radius: var(--radius-md);
  border: 1px solid #2f2f2f;
  padding: 1.5rem 1.75rem;
  background: #fff;
}

.keypoint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.keypoint-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.keypoint-header img {
  width: 1.6rem;
  height: 1.6rem;
}

.keypoint-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =======================================================================
   STATS SECTION
   ======================================================================= */
.stats-banner {
  padding: 4rem 0;
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.stat-line {
  width: 60%;
  border-top: 4px solid #000;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 1.25rem;
  font-weight: 800;
  color: #c7c706;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
}

/* =======================================================================
   TECH SECTION
   ======================================================================= */
.tech-header {
  margin-bottom: 3rem;
  text-align: left;
}

.tech-header .section-title {
  margin-top: 60px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-green);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.tech-innovation-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-main-img {
  width: 100%;
  height: auto;
  border-radius: 40px;
}

.tech-bubble-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-bottom: 2rem;
}




/* ===== TECH: fix layering/stacking issues caused by transforms ===== */
.tech-innovation-grid {
  position: relative;
}

.tech-visual-box {
  position: relative;
  z-index: 1; /* image layer */
}

.tech-content-column {
  position: relative;
  z-index: 2; /* bubbles above image */
}

/* Make bubble create its own stacking context so ::before stays behind it */
.tech-bubble-card {
  position: relative;
  z-index: 0;
  isolation: isolate; /* IMPORTANT */
}

/* Keep the pointer/triangle behind the bubble, always */
.tech-bubble-card::before {
  z-index: -1;
  pointer-events: none;
}



/* =======================================================================
   CONTACT SECTION
   ======================================================================= */
.contact-section {
  padding: 5rem 0;
  background: #fff;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-form-wrapper {
  flex: 1;
  max-width: 500px;
}

.contact-title {
  color: var(--primary-green);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-weight: 700;
  font-size: 1.1rem;
}

.input-group input {
  padding: 1rem 1.5rem;
  border: 1.5px solid #000;
  border-radius: 20px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  border-color: var(--primary-green);
}

.submit-btn {
  background: #000;
  color: #fff;
  padding: 1rem 3rem;
  border: none;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 1rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.submit-btn:hover {
  transform: scale(1.02);
  background: #333;
}

.contact-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.contact-img {
  max-width: 100%;
}

/* =======================================================================
   FOOTER
   ======================================================================= */
.footer {
  background: #1d2125;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.footer-logo img {
  height: 60px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

.footer-contact p {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #fff;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: #fff;
}

/* =======================================================================
   RESPONSIVE BREAKPOINTS
   ======================================================================= */

/* ================= TABLET (<= 1024px) ================= */
@media (max-width: 1024px) {
  .page-wrapper {
    padding-top: 76px;
  }

  .why-wrapper {
    flex-direction: column-reverse;
    gap: 0rem;
  }
  .why-content-card {
    margin-right: 0;
    width: 100%;
    padding: 2.25rem;
  }
  .why-image-card {
    width: 100%;
    flex: none;
  }
.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo img {
  height: 60px;
}

  .service-row-card {
    flex-direction: column;
    margin-bottom: 3rem;
  }
  .service-text-box {
    padding: 2.25rem 2rem;
  }
  .service-image-box img {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    min-height: 260px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tech-innovation-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tech-bubble-card::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ================= MOBILE (<= 768px) ================= */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
  }

  .navbar-container {
    padding: 0.75rem 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid #ddd;
    padding: 0.8rem 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .page-wrapper {
    padding-top: 70px;
  }

  /* HERO responsive */
  .hero-tagline {
    top: 1.8rem;
    font-size: 1.35rem;
  }

  .hero-cta-text {
    font-size: 1.4rem;
    letter-spacing: 0.25em;
  }

  .hero-cta-btn {
    width: 5.2rem;
    height: 2.8rem;
  }
  
  .why-section {
    padding: 2rem 0;
  }
  
  .why-image-card img {
    border-radius: 25px 25px 0 0;
  }
  .why-title {
    font-size: 24px;
  }
  
  .why-content-card {
    
        padding: 18px;
    }
    
    .btn-black {
    display: flex;
    background: #111;
    color: #fff;
    padding: 0.8rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s 
ease;
    margin: 0 auto;
    justify-content: center;
  }
  
      .service-text-box {
        padding: 2.25rem 18px;
        text-align: center;
    }
    
    .service-description {
    text-align: left;
    
 }
.section-title.large {
    text-align: center;
}
  
  .why-content-card {
    border-radius: 0 0 25px 25px;
  }
  
  .services-stack-section {
    padding: 2rem 0 0 0;
  }
  
  .keypoints-section {
    padding: 2rem 0;
  }
  
  .stats-banner {
    padding: 2rem 0;
  }

  .stats-banner {
    padding: 2rem 0;
  }
  
  .service-row-card {
        flex-direction: column-reverse;

    }
    
    .service-image-box img {
        border-radius: 25px 25px 0 0;
    }
  
  .feature-flex {
    justify-content: center;
    gap: 1rem 1.5rem;
  }

  .keypoints-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
            justify-items: center;

  }
  .stat-line {
              justify-items: center;

    width: 100%;
  }
  
  .stat-value {

    text-align: center;
}

.tech-header {
    text-align: center;
}

.tech-bubble-card {
    font-size: 16px;
    padding: 18px;
}

.contact-section {
    padding: 0;
    
}

.contact-title {
    text-align: center;
}


  .contact-container {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-visual {
    order: -1;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .contact-form-wrapper {
    max-width: none;
  }
  
  .submit-btn {
   
    align-self: center;
    
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo img {
  height: 60px;
}

.hero-tagline{
    display: none;
}

  
}

/* ================= SMALL MOBILE (<= 420px) ================= */
@media (max-width: 420px) {
  .service-text-box {
    padding: 2rem 1.25rem;
  }

  .tech-bubble-card {
    padding: 1.75rem;
    border-radius: 26px;
  }
}






















/* Split text pieces must be inline-block for transform animations */
.split-hero .char,
.split-hero .word,
.split-hero .line {
  display: inline-block;
  will-change: transform, opacity;
}

/* If using SplitType, it wraps lines in block containers */
.split-hero .line {
  display: block;
}










/* CTA button hover intent */
/* CTA pill base */
.hero-cta-btn {
  width: 6rem;
  height: 3.1rem;
  border-radius: 999px;
  background: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;

  /* smooth baseline */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* subtle glow ring (hidden by default) */
.hero-cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
}

/* arrow already handled */
.hero-cta-arrow {
  transition: transform 0.25s ease;
  will-change: transform;
}

/* fallback hover (no JS) */
.hero-cta-btn:hover {
  transform: scale(1.04);
}








/* ===== Feature bar animation setup ===== */
/* ================= FEATURE BAR POP-UP ANIMATION ================= */

.hero-feature-bar {
  overflow: hidden; /* prevents animation overflow */
}

.feature-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;

  /* animation readiness */
  opacity: 0;
  transform: translateY(24px) scale(0.85);
  will-change: transform, opacity;
}





/* ================= WHY SECTION - ANIMATION PREP ================= */
.why-content-card,
.why-image-card,
.why-title,
.why-text,
.why-content-card .btn-black {
  will-change: transform, opacity;
}












/* ================= SERVICES - ANIMATION PREP ================= */
.service-row-card,
.service-text-box,
.service-image-box,
.service-title,
.service-description {
  will-change: transform, opacity;
}











/* ================= KEY POINTS - ANIMATION PREP ================= */
.keypoints-section,
.keypoint-card,
.keypoints-grid,
.keypoint-header,
.keypoint-card p {
  will-change: transform, opacity;
}










/* ================= STATS - ANIMATION PREP ================= */
.stats-banner .stat-value,
.stats-banner .stat-label,
.stats-banner .stat-line,
.stats-banner .section-title {
  will-change: transform, opacity;
}






/* ================= TECH SECTION - ANIMATION PREP ================= */
.tech-innovation-section,
.tech-header,
.tech-visual-box,
.tech-main-img,
.tech-content-column,
.tech-bubble-card {
  will-change: transform, opacity;
}




/* ================= CONTACT - ANIMATION PREP ================= */
.contact-section,
.contact-form-wrapper,
.contact-title,
.contact-form .input-group,
.contact-form .submit-btn,
.contact-visual {
  will-change: transform, opacity;
}
