﻿/* =========================
   BASE
========================== */

body {
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #212529;
    margin: 0;
}

a {
    text-decoration: none;
}

/* =========================
   BRAND
========================== */

.brand-white {
    color: #fff;
    font-weight: 600;
}

.brand-dark {
    color: #111;
    font-weight: 600;
}

.brand-accent {
    color: #28a745;
    font-weight: 600;
}

/* =========================
   HEADER (DESKTOP)
========================== */

.home-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 20;
    background: transparent;
}

.primary-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-menu .nav-link {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 14px;
}

    .primary-menu .nav-link:hover {
        color: #28a745;
    }

/* ---------- DROPDOWN ---------- */

.primary-menu .dropdown {
    position: relative;
}

.primary-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    border-radius: 10px;
    padding: 10px 0;
    border: none;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    display: none;
}

.primary-menu .dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    padding: 10px 18px;
    font-weight: 500;
    color: #212529;
}

    .dropdown-item i {
        color: #28a745;
    }

    .dropdown-item:hover {
        background: rgba(40,167,69,.08);
    }

/* =========================
   HERO
========================== */

.hero-wrap {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
}

/* =========================
   BUTTONS
========================== */

.btn-primary {
    background-color: #28a745;
    border-color: #28a745;
    padding: 12px 28px;
    font-weight: 500;
}

    .btn-primary:hover {
        background-color: #218838;
    }

/* =========================
   SECTIONS (UNCHANGED)
========================== */

.section {
    padding: 90px 0;
}

.section-light {
    background: #eef0f3;
}

/* =========================
   MOBILE MENU
========================== */

.menu-toggle {
    width: 32px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
}

    .menu-toggle span {
        height: 3px;
        width: 100%;
        background: #111;
        border-radius: 2px;
    }

/* ---------- MOBILE PANEL ---------- */

.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
}

    .mobile-menu.open {
        display: block;
    }

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 16px;
}

    .mobile-nav > li {
        margin-bottom: 14px;
    }

    .mobile-nav a,
    .services-toggle {
        color: #111;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
    }

/* ---------- SERVICES (MOBILE) ---------- */

.services-toggle {
    background: none;
    border: none;
    width: 100%;
}

.services-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
    display: none;
}

.mobile-services.open .services-list {
    display: block;
}

.services-list li {
    margin-bottom: 10px;
}

.services-list i {
    color: #28a745;
}

/* Align Services with other mobile menu items */
.services-toggle {
    padding: 0;
    margin: 0;
    text-align: left;
}

.mobile-nav > li > a,
.services-toggle {
    padding-left: 0;
}


h2 {
    font-size: 2.2rem;
    line-height: 1.25;
}

.capability-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 0;
}

.capability-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(40,167,69,.12);
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 6px;
}

.capability-item h5 {
    font-weight: 600;
    margin-bottom: 4px;
}

.capability-item p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
}

.core-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.why-box {
    background: #f9fafb;
    border-radius: 14px;
    padding: 36px 26px;
    height: 100%;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(40,167,69,.12);
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 18px;
}

.why-box h5 {
    font-weight: 600;
    margin-top: 6px;
}

.why-box p {
    font-size: 0.95rem;
    color: #555;
    margin-top: 8px;
    line-height: 1.6;
}

.stats-strip {
    background: #28a745;
    padding: 48px 0;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 26px;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 6px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

#footer {
    padding-top: 70px;
}

    #footer h4 {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    #footer .nav-link {
        color: #9aa4ad;
        padding: 6px 0;
        font-size: 0.95rem;
    }

        #footer .nav-link:hover {
            color: #28a745;
            text-decoration: none;
        }

    #footer p {
        color: #6c757d;
        line-height: 1.7;
    }

.footer-copyright p {
    color: #6c757d;
}


/* =========================
   MOBILE BREAKPOINT
========================== */

@media (max-width: 992px) {

    .home-header {
        position: relative;
        background: #fff;
    }

    .primary-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .home-header img {
        content: url("/cozmus/images/logo/cozmus-logo-dark.svg");
    }
}
