/* ============================================================
   IRIDAXIS GLOBAL — Dark Forest Green + Gold Theme
   Matching iridaxisglobal.com visual identity
   ============================================================ */

/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --green-deep:   #071510;
  --green-dark:   #0a1a0d;
  --green-mid:    #0f2318;
  --green-card:   #122118;
  --green-hover:  #163020;
  --gold:         #F5A623;
  --gold-light:   #FFB940;
  --gold-dim:     rgba(245,166,35,0.15);
  --gold-border:  rgba(245,166,35,0.35);
  --white:        #FFFFFF;
  --text-muted:   rgba(255,255,255,0.55);
  --text-dim:     rgba(255,255,255,0.35);
  --border:       rgba(255,255,255,0.08);
  --border-gold:  rgba(245,166,35,0.25);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --transition:   all 0.25s ease;
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold:  0 0 32px rgba(245,166,35,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

/* ===========================================================
   TYPOGRAPHY – IRIDAXISGLOBAL DESIGN SYSTEM
   =========================================================== */

/* Main Hero Title (Home) */
h1{
    font-size:clamp(3rem,5vw,4rem);     /* 48px → 64px */
    font-weight:800;
    line-height:1.08;
    letter-spacing:-0.03em;
    color:var(--white);
}
.hero-title{
    max-width:1000px;
    white-space:nowrap;
}

/* Main Page Titles (About, Vision, Technology...) */
.page-title{
    font-size:clamp(3rem,5vw,4rem);
    font-weight:800;
    line-height:1.08;
    letter-spacing:-0.03em;
    color:var(--white);
    margin-bottom:20px;

    max-width:1200px;
    white-space:nowrap;
}

/* Section Titles */
h2{
    font-size:clamp(2.2rem,3vw,2.75rem);   /* 35px → 44px */
    font-weight:700;
    line-height:1.15;
    letter-spacing:-0.02em;
    color:var(--white);
}

/* Card Titles */
h3{
    font-size:1.60rem;                    /* 26px */
    font-weight:700;
    line-height:1.25;
    color:var(--white);
}

h4{
    font-size:1.45rem;                    /* 23px */
    font-weight:700;
    line-height:1.35;
    color:var(--white);
}

/* Paragraphs */
p{
    font-size:1.05rem;                    /* 17px */
    color:var(--text-muted);
    line-height:1.85;
}

/* Navigation */
.nav-links a{
    font-size:0.95rem;
    font-weight:500;
}

/* Buttons */
.btn{
    font-size:1rem;
    font-weight:600;
}

.gold { color: var(--gold); }

/* Standard page heading */
.page-title{
    max-width:900px;
}

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; }
.section-sm  { padding: 56px 0; }
.section-alt { background: var(--green-mid); }
.section-deep { background: var(--green-deep); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7,21,16,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(7,21,16,0.98); box-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.nav-inner{
  width:100%;
  max-width:none;
  margin:0;
  padding:0 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:100px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-name { font-size: 1.15rem; font-weight: 800; color: var(--gold); letter-spacing: -0.01em; }
.nav-logo-img { height: 90px; width: auto; display: block; object-fit: contain; }
.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; margin-left: auto;}
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-cta {
  background: var(--gold) !important; color: #0a1a0d !important;
  font-weight: 700 !important; border-radius: var(--radius-sm) !important; padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero {
  padding-top: 68px; min-height: 100vh;
  background: var(--green-deep);
  display: flex; align-items: center; position: relative; overflow: hidden;
}
/* Video background */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
  /* Hidden until video loads — fallback is the green-deep background */
}
/* Dark overlay on top of video — matches existing site's dark tint */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(7,21,16,0.82) 0%,
    rgba(7,21,16,0.65) 50%,
    rgba(7,21,16,0.75) 100%
  );
}

/* ── LOIS Section — plain dark green background ── */
.lois-section-bg {
  position: relative;
  background-color: var(--green-mid);
}
.lois-section-bg .container {
  position: relative;
  z-index: 1;
}
/* Fallback radial glow when no video */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,166,35,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(18,100,50,0.15) 0%, transparent 50%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 720px; padding: 80px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 8px 16px; border-radius: 100px; margin-bottom: 28px;
}
.hero-badge::before { content: '◆'; font-size: 0.6rem; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; max-width: 600px; margin-bottom: 40px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; margin-top: 64px;
}
.hero-stat {
  background: var(--green-card); padding: 24px 20px; text-align: center;
}
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--green-deep);
  border-bottom: 1px solid var(--border);
}
.page-hero-breadcrumb { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 16px; }
.page-hero-breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero-content { max-width: 760px; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero p { font-size: 1.05rem; }

/* ── SECTION LABELS ── */
.section-tag {
  display: inline-block;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-top: 12px; }
.section-header p { max-width: 640px; margin: 16px auto 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm); font-size: 0.93rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; transition: var(--transition);
}
.btn-gold {
  background: var(--gold); color: #0a1a0d;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.3); }
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1.5px solid var(--gold-border);
}
.btn-outline:hover { background: var(--gold-dim); border-color: var(--gold); }
.btn-ghost {
  background: rgba(255,255,255,0.06); color: var(--white); border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ── CARDS ── */
.card {
  background: var(--green-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: var(--transition);
}
.card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.card-num { font-size: 0.72rem; font-weight: 700; color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase; }
.card h3, .card h4 { color: var(--white); margin-bottom: 10px; }
.card p { font-size: 0.9rem; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── CONTENT SPLIT ── */
.content-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }

/* ── VISUAL BOX ── */
.content-visual {
  background: var(--green-deep); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 32px;
  text-align: center; position: relative; overflow: hidden;
}
.content-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.08) 0%, transparent 60%);
}
.content-visual h3 { color: var(--white); margin-bottom: 8px; position: relative; }
.content-visual p { position: relative; }

/* ── CHECKLIST ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  color: var(--text-muted); font-size: 0.93rem;
}
.check-list li::before { content: '✦'; color: var(--gold); flex-shrink: 0; margin-top: 2px; font-size: 0.75rem; }

/* ── PILL ── */
.pill {
  display: inline-block;
  padding: 4px 14px; border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  border: 1px solid; letter-spacing: 0.5px;
}
.pill-gold { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }
.pill-green { background: rgba(18,184,100,0.1); border-color: rgba(18,184,100,0.3); color: #22c55e; }
.mb-16 { margin-bottom: 16px; }

/* ── MARQUEE ── */
.marquee-wrap { overflow: hidden; padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.marquee-track { display: flex; gap: 56px; animation: marquee 22s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); white-space: nowrap; text-transform: uppercase; letter-spacing: 1.5px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── INDUSTRY CARDS ── */
.industry-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer; transition: var(--transition);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry-card-thumb { height: 180px; }
.industry-card-body { padding: 24px; background: var(--green-card); }
.industry-card-body h4 { color: var(--white); margin-bottom: 8px; }
.industry-card-body p { font-size: 0.85rem; margin-bottom: 16px; }
.industry-card-link { color: var(--gold); font-size: 0.85rem; font-weight: 600; text-decoration: none; }

/* ── LOIS LAYERS ── */
.lois-layer {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 24px; background: var(--green-card);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 12px; transition: var(--transition);
}
.lois-layer:hover { border-color: var(--border-gold); }
.lois-layer-num { font-size: 0.72rem; font-weight: 800; color: var(--gold); letter-spacing: 1px; width: 28px; flex-shrink: 0; padding-top: 2px; }
.lois-layer-title { font-weight: 700; color: var(--white); font-size: 0.95rem; margin-bottom: 4px; }
.lois-layer-desc { font-size: 0.85rem; color: var(--text-muted); }

/* ── PARTNER CARDS ── */
.partner-card {
  background: var(--green-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 32px; transition: var(--transition);
}
.partner-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-gold); }
.partner-icon { font-size: 2.2rem; margin-bottom: 16px; }
.partner-name { font-weight: 700; color: var(--white); font-size: 1.05rem; margin-bottom: 6px; }
.partner-role { font-size: 0.8rem; color: var(--gold); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 14px; text-transform: uppercase; }

/* ── TIMELINE ── */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.timeline-item { position: relative; padding: 0 0 40px 52px; }
.timeline-dot {
  position: absolute; left: 0; top: 4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-dim); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; color: var(--gold);
}
.timeline-year { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.timeline-title { font-weight: 700; color: var(--white); margin-bottom: 8px; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--green-deep); border-top: 1px solid var(--border);
  padding: 100px 0; text-align: center;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: 1.05rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── VALUE CARD ── */
.value-card {
  background: var(--green-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px; transition: var(--transition);
}
.value-card:hover { border-color: var(--border-gold); }
.value-card-title { font-weight: 700; color: var(--white); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.value-card-title::before { content: '◆'; color: var(--gold); font-size: 0.7rem; }

/* ── FUTURE PRODUCT ── */
.product-card {
  background: var(--green-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: var(--transition); position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.product-card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.product-badge { margin-bottom: 20px; }
.product-name { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.product-tagline { font-size: 0.82rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }

/* ── FOOTER ── */
footer {
  background: var(--green-deep); border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand-name { font-size: 1.2rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.footer-brand-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.footer-col-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.82rem; color: var(--text-dim); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-social a:hover { color: var(--gold); }

/* ── CONTACT FORM ── */
.contact-form-card { background: var(--green-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.93rem; font-family: 'Inter', sans-serif;
  color: var(--white); background: var(--green-dark); transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--gold-border); box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}
.form-select option { background: var(--green-dark); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; cursor: pointer; }

/* ── DIRECT CONTACT BOX ── */
.contact-info-box {
  background: var(--green-deep); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px; margin-top: 32px;
}
.contact-info-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

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

/* ── RESPONSIVE ── */

@media (max-width:1024px){
    .hero-title{
        white-space:normal;
        max-width:100%;
    }
    .page-title{
        white-space:normal;
        max-width:100%;
    }
    .grid-4{
        grid-template-columns:repeat(2,1fr);
    }
    .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(7,21,16,0.98); padding: 20px; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .content-split { grid-template-columns: 1fr; gap: 40px; }
  .content-split.reverse { direction: ltr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}


/* ============================================================
   PATCH: Hero one-line title + tighter Industries spacing
   Added to keep desktop hero heading from clipping and reduce
   the blank space above the Industries cards.
   ============================================================ */

@media (min-width: 1100px) {
  .hero .container {
    max-width: 1440px;
    padding-left: 48px;
    padding-right: 48px;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 32px;
  }

  .hero-title-one-line {
    white-space: nowrap;
    font-size: clamp(3rem, 3.6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 100%;
  }

  .hero p {
    max-width: 650px;
  }

  .hero-stats {
    margin-top: 50px;
  }
}

@media (max-width: 1099px) {
  .hero-title-one-line {
    white-space: normal;
  }
}

.industry-section .section-header {
  margin-bottom: 36px;
}

.industry-section {
  padding-top: 64px;
}

/* Patch: remove empty coloured boxes above Industry/Sector cards and tighten spacing */
.industry-section {
  padding-top: 48px !important;
}

.industry-section .section-header {
  margin-bottom: 28px !important;
}

.industry-section .grid-3 {
  margin-top: 0 !important;
}

.industry-section .industry-card-thumb {
  display: none !important;
}

.industry-section .industry-card-body {
  padding: 28px 24px !important;
}
