/* ============================================================
   EXTEZ — Global Stylesheet
   ============================================================
   HOW TO CUSTOMISE:
   • Colors       → Edit :root variables in the BRAND TOKENS section
   • Logo         → Replace assets/images/logo.png (or update .nav-logo text)
   • Fonts        → Change --font-head / --font-body variables + update
                    the Google Fonts <link> in each HTML <head>
   • Spacing      → Edit --section-pad, --nav-pad values
   • Favicon      → Replace assets/icons/favicon.ico
   ============================================================ */


/* ── 1. BRAND TOKENS ────────────────────────────────────────── */
:root {
  /* Primary palette */
  --teal:        #0D9E82;
  --teal-lt:     #0bbf9d;
  --teal-dark:   #0a7d67;

  /* Background shades */
  --dark:        #0A1628;
  --dark2:       #0f1e36;
  --dark3:       #060e1a;   /* footer bg */

  /* Text */
  --white:       #ffffff;
  --offwhite:    #f5f7f9;
  --gray:        #8a9bb0;
  --gray-lt:     #b0bec5;

  /* Borders & overlays */
  --border:      rgba(13,158,130,0.18);
  --overlay-nav: rgba(10,22,40,0.92);

  /* Typography */
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', sans-serif;

  /* Layout */
  --section-pad: 90px 6vw;
  --nav-pad:     16px 6vw;
  --radius-card: 10px;
  --radius-btn:  4px;
  --radius-tag:  100px;
}


/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background:    var(--dark);
  color:         var(--white);
  font-family:   var(--font-body);
  font-size:     16px;
  line-height:   1.7;
  overflow-x:    hidden;
}

/* Subtle noise texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

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


/* ── 3. NAVIGATION ──────────────────────────────────────────── */
nav {
  position:       fixed;
  top: 0; left: 0; right: 0;
  z-index:        100;
  padding:        var(--nav-pad);
  display:        flex;
  align-items:    center;
  justify-content: space-between;
  background:     var(--overlay-nav);
  backdrop-filter: blur(14px);
  border-bottom:  1px solid var(--border);
  transition:     background .3s;
}

/* Logo — text version
   To use an image logo instead:
   Replace the <a class="nav-logo"> inner HTML with:
   <img src="assets/images/logo.png" alt="EXTEZ" height="36"> */
.nav-logo {
  font-family:     var(--font-head);
  font-size:       22px;
  font-weight:     800;
  letter-spacing:  .04em;
  color:           var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--teal); }

.nav-links {
  display:    flex;
  gap:        28px;
  list-style: none;
}
.nav-links a {
  font-size:       13px;
  font-weight:     500;
  letter-spacing:  .04em;
  color:           var(--gray);
  text-decoration: none;
  text-transform:  uppercase;
  transition:      color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }

/* Hamburger (mobile) */
.nav-hamburger {
  display:    none;
  flex-direction: column;
  gap:        5px;
  cursor:     pointer;
  background: none;
  border:     none;
  padding:    4px;
}
.nav-hamburger span {
  display:    block;
  width:      22px;
  height:     2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* CTA button in nav */
.nav-cta {
  background:      var(--teal);
  color:           var(--white);
  padding:         9px 20px;
  border-radius:   var(--radius-btn);
  font-size:       13px;
  font-weight:     600;
  text-decoration: none;
  letter-spacing:  .04em;
  transition:      background .2s, transform .15s;
}
.nav-cta:hover { background: var(--teal-lt); transform: translateY(-1px); }


/* ── 4. HERO ────────────────────────────────────────────────── */
.hero {
  min-height:     88vh;
  display:        flex;
  flex-direction: column;
  justify-content: center;
  padding:        130px 6vw 80px;
  position:       relative;
  overflow:       hidden;
}

/* Animated teal glow blob */
.hero-glow {
  position:    absolute;
  right:       8vw; top: 50%;
  transform:   translateY(-50%);
  width:       380px; height: 380px;
  background:  radial-gradient(circle, rgba(13,158,130,0.13) 0%, transparent 70%);
  pointer-events: none;
  animation:   pulse 5s ease-in-out infinite;
}

/* Decorative ring */
.hero-ring {
  position:     absolute;
  right:       -80px; top: 50%;
  transform:   translateY(-50%);
  width:       480px; height: 480px;
  border:      1px solid var(--border);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes pulse { 0%,100%{ opacity:.7 } 50%{ opacity:1 } }

/* Breadcrumb */
.breadcrumb {
  font-size:      12px;
  color:          var(--gray);
  margin-bottom:  18px;
  letter-spacing: .04em;
}
.breadcrumb a { color: var(--teal); text-decoration: none; }

/* Pill tag above headline */
.hero-tag {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  background:     rgba(13,158,130,0.1);
  border:         1px solid var(--border);
  padding:        6px 14px;
  border-radius:  var(--radius-tag);
  font-size:      12px;
  font-weight:    500;
  letter-spacing: .06em;
  color:          var(--teal);
  text-transform: uppercase;
  margin-bottom:  24px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{ opacity:1 } 50%{ opacity:.3 } }

h1 {
  font-family:    var(--font-head);
  font-size:      clamp(38px, 5.5vw, 72px);
  font-weight:    800;
  line-height:    1.1;
  letter-spacing: -.01em;
  max-width:      680px;
}
h1 .accent { color: var(--teal); font-style: italic; }

.hero-sub {
  font-size:    17px;
  color:        var(--gray);
  max-width:    520px;
  margin-top:   18px;
  font-weight:  300;
  line-height:  1.8;
}

.hero-btns {
  display:   flex;
  gap:       12px;
  margin-top: 32px;
  flex-wrap: wrap;
}


/* ── 5. BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  background:      var(--teal);
  color:           var(--white);
  padding:         13px 30px;
  border-radius:   var(--radius-btn);
  font-size:       14px;
  font-weight:     600;
  text-decoration: none;
  letter-spacing:  .04em;
  transition:      background .2s, transform .15s;
  display:         inline-block;
}
.btn-primary:hover { background: var(--teal-lt); transform: translateY(-2px); }

.btn-ghost {
  border:          1px solid rgba(255,255,255,0.2);
  color:           var(--white);
  padding:         13px 30px;
  border-radius:   var(--radius-btn);
  font-size:       14px;
  font-weight:     500;
  text-decoration: none;
  letter-spacing:  .04em;
  transition:      border-color .2s;
  display:         inline-block;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }


/* ── 6. SECTIONS ────────────────────────────────────────────── */
section {
  padding:  var(--section-pad);
  position: relative;
}
.alt-bg { background: var(--dark2); }

.section-label {
  font-size:      11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color:          var(--teal);
  font-weight:    600;
  margin-bottom:  12px;
}

h2 {
  font-family:    var(--font-head);
  font-size:      clamp(26px, 3.8vw, 44px);
  font-weight:    800;
  line-height:    1.12;
  letter-spacing: -.01em;
}
h2 .accent { color: var(--teal); font-style: italic; }

h3 {
  font-family:    var(--font-head);
  font-size:      clamp(18px, 2.2vw, 24px);
  font-weight:    700;
  line-height:    1.25;
  letter-spacing: -.01em;
}

.section-sub {
  font-size:   16px;
  color:       var(--gray);
  max-width:   540px;
  margin-top:  12px;
  font-weight: 300;
  line-height: 1.8;
}


/* ── 7. CARDS ───────────────────────────────────────────────── */
.grid-3 {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   20px;
  margin-top:            50px;
}
.grid-2 {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  gap:                   20px;
  margin-top:            50px;
}

.card {
  background:  rgba(255,255,255,0.03);
  border:      1px solid var(--border);
  border-radius: var(--radius-card);
  padding:     30px 26px;
  transition:  border-color .2s, transform .2s;
}
.card:hover { border-color: var(--teal); transform: translateY(-4px); }

.card-icon  { font-size: 28px; margin-bottom: 14px; }
.card h3    { font-size: 17px; margin-bottom: 10px; }
.card p     { font-size: 14px; color: var(--gray); line-height: 1.7; }


/* ── 8. TAG CHIPS ───────────────────────────────────────────── */
.tags {
  display:   flex;
  flex-wrap: wrap;
  gap:       8px;
  margin-top: 16px;
}
.tag {
  font-size:      11px;
  padding:        4px 12px;
  background:     rgba(13,158,130,0.1);
  border:         1px solid var(--border);
  border-radius:  var(--radius-tag);
  color:          var(--teal);
  letter-spacing: .04em;
}


/* ── 9. FEATURE ROW ─────────────────────────────────────────── */
.feature-row {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   70px;
  align-items:           center;
  margin-top:            60px;
}
.feature-row.reverse            { direction: rtl; }
.feature-row.reverse > *        { direction: ltr; }
.feature-text p                 { font-size: 15px; color: var(--gray-lt); line-height: 1.85; margin-bottom: 16px; }
.feature-text p strong          { color: var(--white); font-weight: 500; }
.feature-visual {
  background:    rgba(13,158,130,0.06);
  border:        1px solid var(--border);
  border-radius: 12px;
  padding:       40px 32px;
}


/* ── 10. STATS STRIP ────────────────────────────────────────── */
.stats-strip {
  display:       flex;
  gap:           0;
  border:        1px solid var(--border);
  border-radius: 8px;
  overflow:      hidden;
  margin-top:    50px;
  flex-wrap:     wrap;
}
.stat {
  flex:        1;
  min-width:   130px;
  padding:     28px 24px;
  border-right: 1px solid var(--border);
  text-align:  center;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size:   34px;
  font-weight: 800;
  color:       var(--teal);
  line-height: 1;
}
.stat-label {
  font-size:      12px;
  color:          var(--gray);
  margin-top:     5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}


/* ── 11. PROCESS STEPS ──────────────────────────────────────── */
.steps {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   0;
  border:                1px solid var(--border);
  border-radius:         var(--radius-card);
  overflow:              hidden;
  margin-top:            50px;
}
.step {
  padding:    32px 24px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.step:last-child { border-right: none; }
.step:hover      { background: rgba(13,158,130,0.05); }
.step-num {
  font-family: var(--font-head);
  font-size:   40px;
  font-weight: 800;
  color:       rgba(13,158,130,0.15);
  line-height: 1;
  margin-bottom: 14px;
}
.step h4 {
  font-family:   var(--font-head);
  font-size:     16px;
  font-weight:   700;
  margin-bottom: 8px;
}
.step p { font-size: 13px; color: var(--gray); line-height: 1.7; }


/* ── 12. CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background:    linear-gradient(135deg, rgba(13,158,130,0.12) 0%, transparent 70%);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align:    center;
  padding:       80px 6vw;
}
.cta-band h2  { max-width: 560px; margin: 0 auto 14px; }
.cta-band p   { color: var(--gray); max-width: 440px; margin: 0 auto 32px; font-size: 16px; }
.cta-band .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }


/* ── 13. SERVICE LINKS GRID ─────────────────────────────────── */
.service-links {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   14px;
  margin-top:            40px;
}
.svc-link {
  background:    rgba(255,255,255,0.03);
  border:        1px solid var(--border);
  border-radius: 8px;
  padding:       20px;
  text-decoration: none;
  transition:    border-color .2s, background .2s;
}
.svc-link:hover {
  border-color: var(--teal);
  background:   rgba(13,158,130,0.06);
}
.svc-link-num {
  font-size:      11px;
  color:          var(--teal);
  font-weight:    600;
  letter-spacing: .08em;
  margin-bottom:  8px;
}
.svc-link-name {
  font-family: var(--font-head);
  font-size:   14px;
  font-weight: 700;
  color:       var(--white);
  line-height: 1.3;
}


/* ── 14. FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  padding:    56px 6vw 28px;
}
.footer-grid {
  display:               grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap:                   44px;
  margin-bottom:         44px;
}
.footer-logo {
  font-family:     var(--font-head);
  font-size:       20px;
  font-weight:     800;
  letter-spacing:  .04em;
  color:           var(--white);
  text-decoration: none;
  display:         block;
  margin-bottom:   12px;
}
/* To use image logo in footer:
   Replace the <a class="footer-logo"> inner HTML with:
   <img src="assets/images/logo-white.png" alt="EXTEZ" height="32"> */
.footer-logo span  { color: var(--teal); }
.footer-brand p    { font-size: 13px; color: var(--gray); line-height: 1.8; max-width: 260px; }

.footer-col h5 {
  font-size:      11px;
  font-weight:    700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color:          var(--gray);
  margin-bottom:  14px;
}
.footer-col ul           { list-style: none; }
.footer-col ul li        { margin-bottom: 9px; }
.footer-col ul a {
  font-size:       14px;
  color:           #7a8fa5;
  text-decoration: none;
  transition:      color .2s;
}
.footer-col ul a:hover   { color: var(--teal); }

.nasscom-badge {
  display:        inline-block;
  font-size:      11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:          var(--teal);
  border:         1px solid var(--border);
  padding:        5px 12px;
  border-radius:  var(--radius-tag);
}

.footer-bottom {
  border-top:      1px solid var(--border);
  padding-top:     24px;
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  font-size:       13px;
  color:           var(--gray);
  flex-wrap:       wrap;
  gap:             10px;
}
.footer-bottom a        { color: var(--gray); text-decoration: none; }
.footer-bottom a:hover  { color: var(--teal); }
.footer-bottom-links    { display: flex; gap: 20px; }


/* ── 15. INDEX PAGE — SPECIFIC COMPONENTS ───────────────────── */

/* Hero stats bar */
.stats-bar {
  display:   flex;
  gap:       40px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.stats-bar .stat     { text-align: left; padding: 0; border: none; flex: unset; min-width: unset; }
.stats-bar .stat-num { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: var(--teal); line-height: 1; }
.stats-bar .stat-label { font-size: 12px; color: var(--gray); margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }

/* About section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; margin-top: 48px; }
.about-text p { font-size: 15px; color: var(--gray-lt); line-height: 1.85; margin-bottom: 16px; }
.about-text p strong { color: var(--white); font-weight: 500; }
.about-text p em     { color: var(--teal); font-style: italic; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar {
  background: rgba(13,158,130,0.06); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 24px 20px; transition: border-color .2s;
}
.pillar:hover  { border-color: var(--teal); }
.pillar-icon   { font-size: 24px; margin-bottom: 10px; }
.pillar h4     { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.pillar p      { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.service-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 30px 26px;
  transition: border-color .2s, transform .2s; text-decoration: none; display: block;
}
.service-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.service-num  { font-size: 11px; letter-spacing: .1em; color: var(--teal); font-weight: 600; margin-bottom: 12px; text-transform: uppercase; }
.service-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--white); line-height: 1.3; }
.service-card p  { font-size: 14px; color: var(--gray); line-height: 1.7; }
.service-tags    { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 50px; }
.why-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px 24px; transition: border-color .2s;
}
.why-card:hover { border-color: var(--teal); }
.why-icon       { font-size: 28px; flex-shrink: 0; }
.why-card h4    { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-card p     { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* Regions */
.regions-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.region-chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(13,158,130,0.08); border: 1px solid var(--border);
  border-radius: var(--radius-tag); padding: 10px 20px;
  font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s;
}
.region-chip:hover { border-color: var(--teal); background: rgba(13,158,130,0.14); }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, rgba(13,158,130,0.1) 0%, transparent 70%);
  border-top: 1px solid var(--border); text-align: center; padding: 90px 6vw;
}
.cta-section h2  { max-width: 560px; margin: 0 auto 14px; }
.cta-section > p { color: var(--gray); max-width: 480px; margin: 0 auto 32px; font-size: 16px; }
.cta-btns        { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .about-pillars { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-bar     { gap: 24px; }
}

/* ── 16. ANIMATIONS ─────────────────────────────────────────── */
.fade-up {
  opacity:    0;
  transform:  translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible {
  opacity:   1;
  transform: translateY(0);
}


/* ── 16. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-3        { grid-template-columns: repeat(2, 1fr); }
  .service-links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .steps         { grid-template-columns: 1fr 1fr; }
  .feature-row   { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .service-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  :root { --section-pad: 60px 5vw; }

  .nav-links       { display: none; }
  .nav-hamburger   { display: flex; }

  /* Mobile nav open state */
  .nav-links.open {
    display:        flex;
    flex-direction: column;
    position:       fixed;
    top:            60px; left: 0; right: 0;
    background:     var(--dark3);
    padding:        24px 6vw;
    border-bottom:  1px solid var(--border);
    gap:            20px;
    z-index:        99;
  }

  h1                  { font-size: clamp(32px, 9vw, 48px); }
  .hero               { padding: 100px 5vw 60px; }
  .hero-glow,
  .hero-ring          { display: none; }

  .grid-3,
  .grid-2,
  .service-links      { grid-template-columns: 1fr; }

  .steps              { grid-template-columns: 1fr; }
  .step               { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child    { border-bottom: none; }

  .stats-strip        { flex-direction: column; }
  .stat               { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child    { border-bottom: none; }

  .feature-row.reverse { direction: ltr; }

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

  .cta-band .cta-btns { flex-direction: column; align-items: center; }
}
