/* Top Header Bar */
.header {
    background-color: #8C1007;
    color: white;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.header .icons {
    display: flex;
    gap: 10px;
}

.header .icons a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #8C1007 !important;
    border-radius: 4px;
    font-size: 16px;
    transition: 0.3s ease;
    text-decoration: none;
}

.header .icons a:hover {
    background-color: #e31f1a;
    color: white !important;
}

/* Navbar */
.classy-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 14px 0;
}

.nav-logo {
        height: 68px;
        width: 150%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .nav-logo:hover {
        transform: scale(1.02);
    }

.classy-link {
    color: #5b0b06 !important;
    font-weight: 800;
    font-size: 15px;
    padding: 10px 10px !important;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.classy-link:hover {
    background: rgba(140, 16, 7, 0.08);
    color: #8C1007 !important;
}

.classy-dropdown {
    border: 0;
    border-radius: 8px;
    padding: 10px;
    margin-top: 12px;
    min-width: 260px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.classy-dropdown .dropdown-item {
    border-radius: 4px;
    padding: 10px 12px;
    font-weight: 500;
    color: #7a120b;
}

.classy-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, #8C1007, #c41a1a);
    color: #fff;
    transform: translateX(4px);
}

.classy-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 4px;
    background: linear-gradient(135deg, #8C1007, #c41a1a);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.classy-toggler {
    border-radius: 4px;
    padding: 6px 10px;
    border: 1px solid rgba(140, 16, 7, 0.35);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238C1007' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 14px;
        padding: 14px;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .classy-apply-btn {
        width: 100%;
    }
}

/* Sticky Navbar */
/* ===============================
   HEADER RESPONSIVE
================================ */

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        text-align: center;
        font-size: 0.82rem;
    }

    .header .contact {
        padding: 0 !important;
        line-height: 1.6;
    }

    .header .icons {
        gap: 8px;
    }

    .header .icons a {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header {
        font-size: 0.78rem;
        padding: 6px 10px;
        gap: 6px;
    }

    .header .contact {
        /* stack the two phone numbers on separate lines */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px 6px;
    }

    .header .icons a {
        width: 26px;
        height: 26px;
        font-size: 12px;
        border-radius: 3px;
    }
}

@media (max-width: 360px) {
    .header {
        font-size: 0.74rem;
    }

    .header .icons a {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}



/* Mobile Logo Fix */
@media (max-width: 576px) {

    .navbar-brand img,
    .logo img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

/* Extra Small Devices */
@media (max-width: 380px) {

    .navbar-brand img,
    .logo img {
        width: 100% !important;
    }
}