:root {
    /* Brand palette based on logo */
    --brand-navy-deep: #050816;
    --brand-navy: #1c2942;
    --brand-navy-soft: #10182a;
    --brand-gold: #e0ba63;
    --brand-gold-soft: #f3d88b;

    --bg-main: var(--brand-navy-deep);
    --bg-alt: #050b16;
    --card-bg: #0b1424;

    --text-primary: #f9fafb;
    --text-muted: #cbd5f6;
    --text-soft: #9ca3b5;

    --border-subtle: rgba(148, 163, 184, 0.32);

    --accent-gradient: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-soft));

    --radius-md: 16px;
    --radius-lg: 22px;

    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.7);
    --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.6);

    --transition-fast: 0.18s ease-out;
    --container-width: 1120px;

    --header-height: 80px;
}

/* ------------ BASE + GLOBAL ------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Controls gap when clicking anchor links */
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, #1e293b 0, transparent 55%),
        radial-gradient(circle at bottom right, #020617 0, #020617 55%),
        var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 1.5rem;
    margin: 0 auto;
}

.section {
    padding: 5rem 0 4.5rem;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-header p {
    margin-top: 0.75rem;
}

/* Typography */

h1, h2, h3, h4 {
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.6rem, 4vw, 3.3rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.4rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--brand-gold);
    font-weight: 600;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    background-image: var(--accent-gradient);
    color: #151821;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background 0.15s ease-out;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(224, 186, 99, 0.8);
    color: var(--brand-gold);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: rgba(10, 16, 30, 0.95);
}

.btn-ghost {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: none;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text-primary);
}

.btn-full-width {
    width: 100%;
}

/* ------------ HEADER ------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: linear-gradient(
        to bottom,
        rgba(5, 8, 22, 0.98),
        rgba(5, 8, 22, 0.93),
        rgba(5, 8, 22, 0.88),
        transparent
    );
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(224, 186, 99, 0.35);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 52px;
    width: auto;
}

/* Nav */

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--text-soft);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.06rem;
    width: 0;
    height: 2px;
    background-image: var(--accent-gradient);
    border-radius: 999px;
    transition: width var(--transition-fast);
}

.main-nav a:hover {
    color: var(--text-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    font-size: 0.84rem;
    padding-inline: 1.3rem;
}

/* Mobile nav toggle (hamburger) */

.nav-toggle {
    display: none; /* only show on mobile */
    width: 40px;
    height: 32px;
    padding: 0;
    margin-left: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-gold);
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

/* animate hamburger to X when open */
body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

/* ------------ HERO ------------ */

.hero {
    padding: 6.5rem 0 5rem;
    background:
        radial-gradient(circle at top, rgba(224, 186, 99, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.7), transparent 60%),
        var(--bg-main);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.hero-content {
    animation: fadeUp 0.8s ease-out both;
}

.hero-subtitle {
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.6rem 0 1.5rem;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.3rem;
}

.metric {
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: rgba(11, 20, 36, 0.96);
    border: 1px solid rgba(224, 186, 99, 0.55);
    display: flex;
    flex-direction: column;
    min-width: 135px;
}

.metric-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-soft);
}

/* hero card */

.hero-card {
    background:
        radial-gradient(circle at top left, rgba(224, 186, 99, 0.24), transparent 45%),
        linear-gradient(145deg, var(--card-bg), var(--brand-navy-soft));
    border-radius: var(--radius-lg);
    padding: 1.9rem 1.6rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(224, 186, 99, 0.55);
    animation: floatCard 8s ease-in-out infinite alternate, fadeUp 0.8s ease-out 0.1s both;
}

.hero-card p {
    margin-bottom: 1.2rem;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.4rem;
}

.hero-list li {
    font-size: 0.9rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.1rem;
}

.hero-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--brand-gold);
}

/* ------------ SHARED GRID ------------ */

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
    gap: 2.8rem;
    align-items: flex-start;
}

/* ------------ ABOUT ------------ */

.about {
    background: radial-gradient(circle at top left, rgba(27, 38, 69, 0.8), transparent 65%), var(--bg-main);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
}

.about-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.2rem 1.35rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    animation: fadeUp 0.85s ease-out both;
}

.about-card:nth-child(2) { animation-delay: 0.05s; }
.about-card:nth-child(3) { animation-delay: 0.1s; }

.about-card p {
    font-size: 0.9rem;
}


.company-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #d6c389; /* Soft premium gold */
    margin-top: -0.3rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: none;
}



/* ------------ SERVICES ------------ */

.services {
    background:
        radial-gradient(circle at top, rgba(16, 24, 40, 0.8), transparent 60%),
        var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.4rem 1.6rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    animation: fadeUp 0.9s ease-out both;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8);
    border-color: rgba(224, 186, 99, 0.75);
}

.service-card p {
    font-size: 0.9rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
    display: grid;
    gap: 0.3rem;
}

.service-card li {
    font-size: 0.86rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 0.9rem;
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-gold);
}

/* ------------ INDUSTRIES ------------ */

.industries {
    background:
        radial-gradient(circle at center, rgba(26, 35, 69, 0.8), transparent 70%),
        var(--bg-main);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.industry-card {
    background: var(--card-bg);
    padding: 1.3rem 1.3rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    animation: fadeUp 0.85s ease-out both;
}

.industry-card p {
    font-size: 0.88rem;
}

/* ------------ WHY US ------------ */

.why-us {
    background:
        radial-gradient(circle at bottom right, rgba(224, 186, 99, 0.18), transparent 60%),
        var(--bg-alt);
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: grid;
    gap: 0.45rem;
}

.checklist li {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.25rem;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -0.05rem;
    font-size: 0.9rem;
    color: var(--brand-gold);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.pillar {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.2rem 1.3rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    animation: fadeUp 0.9s ease-out both;
}

.pillar p {
    font-size: 0.9rem;
}

/* ------------ PROMOTERS ------------ */

.promoters {
    background:
        radial-gradient(circle at top left, rgba(224, 186, 99, 0.18), transparent 65%),
        var(--bg-main);
}

.promoters-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.promoter-card {
    background: var(--card-bg);
    padding: 1.5rem 1.4rem 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    animation: fadeUp 0.9s ease-out both;
}

.promoter-role {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 0.5rem;
}

/* ------------ CONTACT ------------ */

.contact {
    background:
        radial-gradient(circle at top, rgba(16, 24, 40, 0.85), transparent 60%),
        var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2.4rem;
    align-items: flex-start;
}

.contact-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.3rem;
    margin-top: 1.5rem;
}

.contact-block {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.3rem 1.3rem;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    animation: fadeUp 0.9s ease-out both;
}

.contact-block p {
    font-size: 0.9rem;
}

.contact-block a {
    color: var(--brand-gold);
    text-decoration: none;
}

.contact-block a:hover {
    text-decoration: underline;
}

/* Contact form */

.contact-form-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.6rem 2rem;
    border: 1px solid rgba(224, 186, 99, 0.6);
    box-shadow: var(--shadow-soft);
    animation: fadeUp 0.9s ease-out both;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

label {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
    color: var(--text-soft);
}

input,
select,
textarea {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 0.68rem 0.7rem;
    background: #050a15;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background 0.15s ease-out;
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 1px rgba(224, 186, 99, 0.7);
}

/* ------------ FOOTER ------------ */

.site-footer {
    border-top: 1px solid rgba(224, 186, 99, 0.35);
    background: #020617;
    padding-top: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 2.1rem;
    padding-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.footer-logo img {
    height: 34px;
    width: auto;
}

.footer-logo span {
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--brand-gold);
}

.footer-col h3 {
    font-size: 0.96rem;
    margin-bottom: 0.6rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--brand-gold);
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0.8rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-soft);
}

.dev-credit {
    opacity: 0.9;
}

/* ------------ ANIMATIONS ------------ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCard {
    from {
        transform: translateY(0);
        box-shadow: var(--shadow-soft);
    }
    to {
        transform: translateY(-4px);
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
    }
}

/* ------------ RESPONSIVE ------------ */

@media (max-width: 1024px) {
    .header-cta {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    }

    .section-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================
   MOBILE NAV DROPDOWN FIX
   ============================================ */

@media (max-width: 768px) {

    /* dropdown container */
    body.nav-open .main-nav {
        display: block;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(5, 8, 22, 0.98);
        backdrop-filter: blur(14px);
        padding: 1rem 0 1.2rem;
        border-bottom: 1px solid rgba(224, 186, 99, 0.35);
        animation: dropdownFade 0.25s ease-out;
    }

    /* dropdown items */
    body.nav-open .main-nav ul {
        flex-direction: column;
        gap: 0.9rem;
        padding: 0;
        margin: 0;
    }

    body.nav-open .main-nav a {
        font-size: 1rem;
        color: var(--text-primary) !important;
        padding: 0.6rem 0;
    }

    body.nav-open .main-nav a::after {
        display: none;
    }
}

/* smooth fade */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }

    html {
        /* little more padding on mobile so sections sit nicely under header */
        scroll-padding-top: 120px;
    }

    .site-header {
        height: var(--header-height);
    }

    .header-container {
        gap: 0.5rem;
        justify-content: space-between;
        align-items: center;
    }

    .logo img {
        height: 48px;
    }

    /* show hamburger, hide CTA */
    .nav-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    /* hide nav by default on mobile */
    .main-nav {
        display: none;
        width: 100%;
    }

    /* when body has nav-open, show nav below header */
    body.nav-open .main-nav {
        display: block;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 0.4rem;
        margin-top: 0.35rem;
        border-top: 1px solid rgba(148, 163, 184, 0.3);
        gap: 0.8rem;
    }

    .hero {
        padding-top: 5.2rem;
    }

    /* hero layout: heading first, card below */
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 2.4rem;
        align-items: stretch;
    }

    .hero-content {
        order: 1;
    }

    .hero-card {
        order: 2;
    }

    .section-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-grid,
    .industries-grid,
    .pillars-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3.5rem 0 3.4rem;
    }

    .hero {
        padding-top: 5.4rem;
    }

    .logo img {
        height: 56px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
}
