/* ===== MAIN CSS START ===== */

/* ================= ROOT VARIABLES ================= */
:root {
    --primary-color: #1A4AAC;
    --accent-color: #FC7B44;
    --text-color: #222;
    --light-text: #666;
    --white: #ffffff;
    --bg-light: #f9f9f9;

    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Outfit', sans-serif;

    --transition: all 0.3s ease;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ================= HTML ================= */
html {
    scroll-behavior: smooth;
}

/* ================= BODY ================= */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== HEADER CSS START ===== */

#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 120px;
}

header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    z-index: 1000;
    height: 120px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* LOGO */
.logo {
    will-change: transform, opacity;
}

.logo img {
    height: 100px;
    display: block;
}

/* MENUS */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* DROPDOWN */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    min-width: 180px;
    padding: 10px 0;
    border-radius: 4px;
    z-index: 10;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    text-transform: none;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu-overlay {
    display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 992px) {
    #header {
        min-height: 90px;
    }
    header {
        height: 90px;
    }

    .nav-left,
    .nav-right {
        display: none !important;
    }

    .menu-toggle {
        display: inline-block;
        border: 1px solid rgba(0,0,0,0.15);
        padding: 8px 18px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
        color: var(--primary-color);
        background: var(--bg-light);
        cursor: pointer;
    }

    .logo {
        margin: 0;
    }
    
    .logo img {
        height: 85px;
    }

    /* MOBILE MENU CARD STYLES */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 90px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 90px);
        background: rgba(0,0,0,0.5);
        z-index: 20000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-card {
        position: absolute;
        top: 10px;
        left: -100%;
        width: 320px;
        max-width: 90vw;
        background: var(--white);
        border-radius: 12px;
        padding: 25px 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .mobile-menu-overlay.active .mobile-menu-card {
        left: 20px;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .mobile-menu-title {
        font-weight: 600;
        letter-spacing: 2px;
        font-size: 13px;
        color: var(--primary-color);
    }

    .close-menu {
        font-size: 20px;
        cursor: pointer;
        color: var(--text-color);
    }

    /* Mobile Dropdown Accorion */
    .mobile-dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-dropdown.active .mobile-dropdown-menu {
        max-height: 250px;
        padding-top: 10px;
    }

    .mobile-dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-dropdown-toggle i {
        transition: transform 0.3s ease;
        font-size: 14px;
        color: var(--light-text);
    }

    .mobile-dropdown.active .mobile-dropdown-toggle i {
        transform: rotate(180deg);
    }

    .mobile-dropdown-menu a {
        font-size: 15px !important;
        color: var(--light-text) !important;
        padding: 2px 0;
    }

    .mobile-nav-list {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-nav-list a {
        font-size: 17px;
        color: var(--text-color);
        font-weight: 500;
        display: block;
        padding: 5px 0;
    }

    .mobile-nav-list a:hover {
        color: var(--primary-color);
    }
}

/* ===== HEADER CSS END ===== */

/* ===== FOOTER CSS START ===== */

.awfooter {
    position: relative;
    margin-top: 0px;
    background: url("../images/footer.jpeg") no-repeat center center/cover;
    padding: 30px 0 30px 0; /* Padding for top and bottom fload effect */
}

.awfooter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darken for readability */
    z-index: 1;
}

/* CARD */
.footer-card {
    position: relative;
    z-index: 2;
    background: #f7f7f7;
    border-radius: 30px; /* Rounded all corners for fully floating look */
    padding: 30px 50px 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* LOGO */
.footer-logo {
    height: 85px;
    margin-bottom: 15px;
}

/* TEXT */
.footer-text {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 20px;
}

/* LINKS */
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary-color); /* Brand Blue */
    font-family: var(--font-secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #444;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Subtle slide effect */
}

/* SOCIAL */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    color: var(--primary-color); /* Brand Blue */
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.footer-social a:hover {
    background: var(--accent-color); /* Brand Orange */
    color: var(--white);
    transform: translateY(-3px);
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid #ddd;
    margin-top: 15px;
    padding-top: 15px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom img {
    height: 20px;
    margin-left: 5px;
    vertical-align: middle;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .awfooter {
        padding: 30px 15px; /* Add side padding to show background edges */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-card {
        padding: 25px 20px;
        border-radius: 20px;
    }
    
    .footer-col h4 {
        margin-bottom: 12px;
    }
}

/* ===== FOOTER CSS END ===== */

/* ===== BANNER CSS START ===== */

.awbanner {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* BACKGROUND IMAGE */
.banner-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    filter: brightness(0.4);
}

/* CONTENT */
.banner-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    z-index: 2;
}

/* LEFT */
.banner-left h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* RIGHT */
.banner-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.banner-right a {
    color: #fff;
}

.banner-right a:hover {
    color: var(--accent-color);
}

.banner-right .active {
    color: var(--accent-color);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .awbanner {
        height: 200px;
    }

    .banner-left h1 {
        font-size: 2rem;
    }

    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .awbanner {
        height: 180px;
    }

    .banner-left h1 {
        font-size: 1.6rem;
    }

    .banner-right {
        font-size: 0.8rem;
    }
}

/* ===== BANNER CSS END ===== */

/* ===== MAIN CSS END ===== */