 :root {
    --navy: #0A1628;
    --navy-mid: #12233D;
    --gold: #C4922A;
    --gold-light: #E8B84B;
    --silver: #8B97A8;
    --off-white: #F4F1EC;
    --white: #FFFFFF;
    --line: rgba(196,146,42,0.25);
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    height: 72px;
    background: rgba(10,22,40,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration:none;
}

.site-logo {
    height: 42px; /* Adjust as needed */
    width: auto;
}

.logo-country {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--silver);
    text-transform: uppercase;
}

  .nav-links {
    display: flex; gap: 2.5rem; list-style: none;
  }
  .nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--silver);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold-light); }

  .nav-cta {
    padding: 9px 24px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
  }
  .nav-cta:hover { background: var(--gold); color: var(--navy); }

 .hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}

.hamburger span{
    width:25px;
    height:2px;
    background:#fff;
    transition:.3s;
}

@media (max-width:768px){

    .hamburger{
        display:flex;
    }

    .nav-links{
        position:absolute;
        top:70px;
        left:0;
        right:0;
        background:var(--navy);
        flex-direction:column;
        align-items:center;
        gap:20px;
        padding:25px 0;
        display:none;
        border-top:1px solid var(--line);
    }

    .nav-links.active{
        display:flex;
    }

    .nav-cta{
        display:none;
    }
}

  /* ── HERO ── */
  #home {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
  }

  .hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(196,146,42,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(196,146,42,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFade 2s ease forwards;
    opacity: 0;
  }
  @keyframes gridFade { to { opacity: 1; } }

  .hero-glow {
    position: absolute; top: -20%; right: -10%;
    width: 650px; height: 650px;
    background: radial-gradient(circle, rgba(196,146,42,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 0.8s 0.3s forwards;
  }

  .hero-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6.5vw, 6rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.01em;
    max-width: 820px;
    opacity: 0;
    animation: slideUp 0.9s 0.5s forwards;
    margin-top: 50px;
  }
  .hero-headline em {
    font-style: italic;
    color: var(--gold-light);
  }

  .hero-sub {
    margin-top: 2rem;
    max-width: 540px;
    font-size: 1rem;
    font-weight: 300;
    color: var(--silver);
    line-height: 1.7;
    opacity: 0;
    animation: slideUp 0.9s 0.7s forwards;
  }

  .hero-actions {
    margin-top: 3rem;
    display: flex; gap: 1.25rem; align-items: center;
    opacity: 0;
    animation: slideUp 0.9s 0.9s forwards;
  }

  .btn-primary {
    padding: 14px 36px;
    background: var(--gold);
    color: var(--navy);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none; cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

  .btn-ghost {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--silver);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .btn-ghost:hover { color: var(--white); border-color: var(--gold); }

  .hero-stats {
    margin-top: 5rem;
    display: flex; gap: 4rem;
    opacity: 0;
    animation: slideUp 0.9s 1.1s forwards;
  }
  .stat-item { border-left: 1px solid var(--line); padding-left: 1.5rem; }
  .stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--gold-light);
    line-height: 1;
  }
  .stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--silver);
    margin-top: 0.3rem;
  }

  @keyframes slideUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── SERVICES ── */
  #services {
    background: var(--navy-mid);
    padding: 80px 5%;
    position: relative;
  }

  .section-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 300;
    line-height: 1.15;
    max-width: 600px;
    margin-bottom: 1.5rem;
  }

  .section-lead {
    font-size: 0.95rem;
    color: var(--silver);
    line-height: 1.8;
    max-width: 520px;
    font-weight: 300;
    margin-bottom: 4rem;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .service-card {
    background: var(--navy-mid);
    padding: 2.5rem 2rem;
    transition: background 0.3s;
    position: relative;
  }
  .service-card:hover { background: rgba(196,146,42,0.05); }
  .service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
  }
  .service-card:hover::before { transform: scaleX(1); }

  .service-icon {
    width: 40px; height: 40px;
    margin-bottom: 1.5rem;
    color: var(--gold);
  }

  .service-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--line);
    position: absolute;
    top: 1.5rem; right: 1.5rem;
  }

  .service-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
  }

  .service-desc {
    font-size: 0.82rem;
    color: var(--silver);
    line-height: 1.75;
    font-weight: 300;
  }

  .service-tags {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    margin-top: 1.5rem;
  }
  .tag {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--line);
    padding: 3px 10px;
  }

  /* ── APPROACH ── */
  #approach {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
  }

  .approach-visual {
    position: relative;
    height: 480px;
  }

  .approach-box {
    position: absolute;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 2rem;
    background: var(--navy-mid);
    transition: border-color 0.3s;
  }
  .approach-box:hover { border-color: var(--gold); }

  .ab1 { width: 200px; height: 200px; top: 0; left: 0; }
  .ab2 { width: 160px; height: 160px; top: 20px; left: 180px; }
  .ab3 { width: 220px; height: 160px; bottom: 80px; left: 30px; }
  .ab4 { width: 170px; height: 200px; bottom: 0; right: 0; }

  .ab-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
  }
  .ab-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--silver);
  }

  .steps {
    display: flex; flex-direction: column; gap: 2.5rem;
    margin-top: 3rem;
  }
  .step {
    display: flex; gap: 1.5rem; align-items: flex-start;
  }
  .step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    min-width: 40px;
  }
  .step-body {}
  .step-title {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
  }
  .step-desc {
    font-size: 0.82rem;
    color: var(--silver);
    line-height: 1.75;
    font-weight: 300;
  }

  /* ── SPECIALISATIONS ── */
  #specialisations {
    background: var(--navy-mid);
    padding: 80px 5%;
  }

  .spec-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: end;
  }

  .spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .spec-card {
    background: var(--navy-mid);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }
  .spec-card:hover { background: rgba(10,22,40,0.8); }

  .spec-card-accent {
    position: absolute; top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--gold);
  }

  .spec-icon-wrap {
    width: 48px; height: 48px;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
  }

  .spec-icon-wrap svg { width: 22px; height: 22px; color: var(--gold); }

  .spec-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
  }

  .spec-desc {
    font-size: 0.78rem;
    color: var(--silver);
    line-height: 1.7;
    font-weight: 300;
  }

  /* ── WHY AGILEX ── */
  #why {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }

  .why-list {
    margin-top: 3rem;
    display: flex; flex-direction: column; gap: 0;
  }

  .why-item {
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--line);
    display: flex; gap: 1.5rem;
    align-items: flex-start;
    cursor: default;
    transition: padding-left 0.3s;
  }
  .why-item:hover { padding-left: 0.5rem; }

  .why-check {
    width: 20px; height: 20px; min-width: 20px;
    border: 1px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
  }
  .why-check::after {
    content: '';
    width: 8px; height: 5px;
    border-left: 1.5px solid var(--gold);
    border-bottom: 1.5px solid var(--gold);
    transform: rotate(-45deg) translateY(-1px);
    display: block;
  }

  .why-text-title {
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
  }
  .why-text-desc {
    font-size: 0.8rem;
    color: var(--silver);
    line-height: 1.7;
    font-weight: 300;
  }

  .why-quote-block {
    background: var(--navy-mid);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    padding: 3rem 2.5rem;
    margin-top: 3rem;
    position: relative;
  }
  .why-quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 0.6;
    margin-bottom: 1rem;
    display: block;
  }
  .why-quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--off-white);
    margin-bottom: 1.5rem;
  }
  .why-quote-attr {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
  }

  /* ── CONTACT ── */
  #contact {
    background: var(--navy-mid);
    padding: 80px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }

  .contact-form {
    display: flex; flex-direction: column; gap: 1.25rem;
  }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .form-group { display: flex; flex-direction: column; gap: 0.5rem; }

  .form-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--silver);
  }

  .form-input, .form-select, .form-textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(196,146,42,0.2);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold);
  }
  .form-select { -webkit-appearance: none; cursor: pointer; }
  .form-textarea { resize: vertical; min-height: 120px; }

  .contact-info { }
  .contact-detail {
    /* margin-bottom: 2rem; */
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
  }
  .contact-detail:last-of-type { border-bottom: none; }
  .contact-detail-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
  }
  .contact-detail-value {
    font-size: 0.9rem;
    color: var(--off-white);
    font-weight: 300;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--navy);
    border-top: 1px solid var(--line);
    padding: 2rem 5%;
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-copy {
    font-size: 0.72rem;
    color: var(--silver);
    letter-spacing: 0.05em;
  }
  .footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--gold);
  }

footer .logo-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

footer .logo-mark span {
    color: var(--white);
}

.footer-logo {
    height: 40px;
    width: auto;
}

.logo-country {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.footer-tagline {
    text-align: left;
    line-height: 1.8;
    font-style: normal;
}

.footer-tagline div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.footer-tagline a {
    color: var(--gold);
    text-decoration: none;
}

.footer-tagline a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-tagline,
    .footer-tagline div {
        text-align: center;
        justify-content: center;
    }
}

  /* ── DIVIDER ── */
  .gold-line {
    width: 60px; height: 1px;
    background: var(--gold);
    margin-bottom: 2rem;
  }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--navy); }
  ::-webkit-scrollbar-thumb { background: var(--gold); }

  #scrollTopBtn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:45px;
    height:45px;
    border:none;
    background:var(--gold);
    color:var(--navy);
    cursor:pointer;
    border-radius:50%;
    display:none;
    z-index:999;
    transition:.3s;
}

#scrollTopBtn:hover{
    transform:translateY(-3px);
}

#scrollTopBtn.show{
    display:block;
}

  /* =========================================
   TABLET
========================================= */
@media (max-width: 1024px){

    .services-grid{
        grid-template-columns: repeat(2,1fr);
    }

    .spec-grid{
        grid-template-columns: repeat(2,1fr);
    }

    #approach,
    #why,
    #contact{
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .spec-header{
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-stats{
        gap: 2rem;
        flex-wrap: wrap;
    }

    .approach-visual{
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
        height:auto;
    }

    .approach-box{
        position:relative;
        top:auto;
        left:auto;
        right:auto;
        bottom:auto;
    }
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px){

    nav{
        height:70px;
        padding:0 20px;
    }

    .hero-headline{
        font-size:2.8rem;
        margin-top:70px;
    }

    .hero-sub{
        font-size:0.95rem;
    }

    .hero-actions{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-stats{
        flex-direction:column;
        gap:1.5rem;
    }

    .services-grid,
    .spec-grid{
        grid-template-columns:1fr;
    }

    .form-row{
        grid-template-columns:1fr;
    }

    .section-title{
        font-size:2rem;
    }

    .service-card,
    .spec-card{
        padding:1.5rem;
    }

    .contact-form,
    .contact-info{
        width:100%;
    }

    footer{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .footer-tagline{
        text-align:left;
    }

    .site-logo{
        height:36px;
    }

    .logo-country{
        font-size:0.8rem;
    }
}
