:root {
    --bg-dark: #050816;
    --bg-dark-soft: #0b1018;
    --accent: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.1);
    --text-light: #f9fafb;
    --text-light-soft: #cbd5f5;
    --card-border: #e5e7eb;
    --section-padding: 80px;
}

* {
    box-sizing: border-box;
}
.navbar-brand img {
    background: transparent !important;
    mix-blend-mode: normal !important;
    display: block;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
}


/* NAVBAR */

.nav-blur {
    background: rgba(5, 8, 22, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* HERO */

.hero-section {
    position: relative;
    min-height: 75vh;
    padding-top: 90px;
    padding-bottom: 70px;
    background-image: url("https://images.pexels.com/photos/439391/pexels-photo-439391.jpeg?auto=compress&cs=tinysrgb&w=1600");
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.55), transparent),
                radial-gradient(circle at bottom right, rgba(12, 20, 40, 0.96), rgba(12, 20, 40, 0.98));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    color: var(--text-light-soft);
}

.hero-title {
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.hero-subtitle {
    color: var(--text-light-soft);
    max-width: 560px;
}

/* CTA BUTTONS */

.btn-cta {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.78rem;
    border-radius: 999px;
    padding: 0.75rem 1.9rem;
}

.btn-cta.btn-primary {
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

/* HERO CARD */

.hero-card {
    background: rgba(6, 10, 25, 0.96);
    border-radius: 24px;
    padding: 1.6rem 1.7rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--text-light);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.5);
}

.hero-card-title {
    color: #e5e7eb; /* not muted */
}

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.hero-pill {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.78rem;
    color: var(--text-light-soft);
    white-space: nowrap;
}

.hero-metric-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

.hero-metric-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e7eb;
}

.hero-footnote {
    color: #9ca3af;
}

/* SECTIONS */

.section-padding {
    padding: var(--section-padding) 0;
}

.section-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.section-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

/* MARKET */

.market-highlight {
    border-radius: 14px;
    padding: 1rem 1.2rem;
    background: #ffffff;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mh-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
}

.mh-value {
    font-weight: 600;
    font-size: 1.5rem;
}

.market-card {
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.04);
}

.market-card .card-body {
    padding: 1.3rem 1.3rem 1.4rem;
}

.market-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--accent-soft);
    color: #1d4ed8;
    font-size: 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

/* PROJECTS */

.project-group-title {
    font-size: 1.05rem;        /* larger and more visible */
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #4b5563;
    margin: 1.5rem 0 0.75rem;
}

.project-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.3), transparent 40%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
    border-color: rgba(37, 99, 235, 0.45);
}

.project-card:hover::after {
    opacity: 1;
}

.project-img {
    height: 210px;
    background-size: cover;
    background-position: center;
}

.project-body {
    padding: 1.3rem 1.3rem 1.4rem;
    position: relative;
    z-index: 1;
}

.project-tag {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4b5563;
    margin-bottom: 0.25rem;
}

/* ABOUT */

.about-panel {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    border: 1px solid var(--card-border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

/* CONTACT */

.contact-section {
    background: radial-gradient(circle at top left, #0f172a, #020617);
    color: var(--text-light);
}

.contact-card {
    background: #f9fafb;
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.contact-link {
    color: #e5e7eb;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.whatsapp-icon {
    color: #25d366;
    font-size: 1.3rem;
}

/* FOOTER */

.footer-bar {
    background: #020617;
    color: #9ca3af;
    font-size: 0.8rem;
}

/* ANIMATIONS */

.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.25s; }
.fade-up.delay-3 { transition-delay: 0.4s; }
.fade-up.delay-4 { transition-delay: 0.55s; }

/* RESPONSIVE */

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }
}
@media (max-width: 768px) {

    h1, h2, h3, h4 {
        font-size: clamp(20px, 6vw, 32px);
    }

    nav.navbar {
        padding: 8px 12px;
    }

    .hero-section {
        padding: 60px 20px;
        text-align: center;
    }

    .hero-section .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .project-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .market-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .footer {
        text-align: center;
    }
}
/* MOBILE FIXES */
@media (max-width: 768px) {

    .hero-section {
        padding-top: 50px !important;
        padding-bottom: 40px !important;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }

    .hero-section p.lead {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-section .btn {
        width: 100% !important;
        margin: 6px 0 !important;
    }

    .section-title {
        font-size: 24px !important;
        margin-bottom: 12px !important;
    }

    .section-subtitle {
        font-size: 15px !important;
        margin-bottom: 15px !important;
    }

    .project-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}
