:root {
    --blue: #1E196A;
    --navy-dark: #0a092d;
    --navy-mid: #15134d;
    --yellow: #FFF200;
    --yellow-hover: #e6da00;
    --text: #ffffff;
    --text-muted: #cbd5e1;
    --bg: #0a092d;
    --card-bg: #15134d;
    --muted: #6b7280;
    --fs-base: clamp(15px, 1.3vw, 18px);
    --fs-h1: clamp(28px, 5vw, 46px);
    --fs-h2: clamp(22px, 3.2vw, 32px);
    --radius: 12px;
    --containerW: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: var(--fs-base);
}

.container {
    max-width: var(--containerW);
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--blue);
    color: white;
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-cta {
    background: var(--yellow);
    color: var(--blue);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    margin-left: 20px;
}

.nav-cta:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 242, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('../uploads/hero.jpg');
    background-size: cover;
    background-position: center 20%;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: var(--fs-h1);
    margin-bottom: 1rem;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--yellow);
    color: var(--blue);
    border: 2px solid var(--yellow);
}

.btn-primary:hover {
    background: var(--yellow-hover);
    border-color: var(--yellow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: white;
    color: var(--blue);
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--navy-mid);
}

.title-center {
    text-align: center;
    margin-bottom: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card h3,
.card h4 {
    color: var(--yellow);
}

.card p {
    color: var(--text-muted);
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.ba-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ba-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.ba-images img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.ba-content {
    padding: 20px;
}

.ba-content h4 {
    margin: 0 0 10px;
    color: var(--blue);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding-left: 50px;
}

.steps li::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--yellow);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 15px 0 0;
    color: var(--muted);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 5px solid var(--yellow);
    font-style: italic;
}

.testimonial cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: var(--yellow);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    opacity: 0.7;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 4px;
}

.footer {
    background: var(--navy-dark);
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

input[type="text"],
input[type="email"],
textarea {
    background: var(--navy-mid);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    font-family: inherit;
    width: 100%;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Mobile Bottom Nav */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--navy-mid);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-nav-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobile-nav-list a.active {
    color: var(--yellow);
}

.mobile-nav-list i {
    font-size: 1.25rem;
}

@media (max-width: 1024px) {

    .grid-3,
    .ba-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
        /* Space for bottom nav */
    }

    .mobile-nav {
        display: block;
    }

    header {
        position: relative;
        /* Don't stick header on mobile when bottom nav exists */
    }

    .nav-container nav ul {
        display: none;
        /* Hide header nav on mobile */
    }

    .nav-container nav {
        justify-content: center;
    }

    .hero {
        padding: 80px 20px;
    }

    .grid-3,
    .ba-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        --fs-h1: 2rem;
        --fs-h2: 1.5rem;
    }

    .hero {
        padding: 60px 15px;
    }

}

/* Modern Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 9, 45, 0.9), transparent);
    padding: 30px;
    color: white;
}

.project-overlay h3 {
    margin: 0 0 5px;
    color: var(--yellow);
    font-size: 1.5rem;
}

.project-overlay p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Project Page Sections */
.project-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-header {
    margin-bottom: 40px;
}

.project-header h2 {
    color: var(--blue);
    font-size: 2rem;
    margin-bottom: 10px;
}

.project-header p {
    color: var(--muted);
    max-width: 600px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.project-gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.project-gallery img:hover {
    opacity: 0.9;
}