/* ================= HEADER ================= */

#main-header {
    font-family: inherit;
}

/* TOP BAR */
#main-header .header-top {
    background: #07294d;
    color: #fff;
    padding: 8px 0;
}

#main-header .top-contact {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

#main-header .top-social a {
    color: #fff;
    margin-left: 10px;
}

/* NAVBAR */
#main-header .nav-bar {
    background: #fff;
    padding: 15px 0;
    position: relative;   /* ✅ IMPORTANT FIX */
    z-index: 1000;
}

#main-header .nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
}

#main-header .nav-menu li {
    list-style: none;
}

#main-header .nav-menu li a {
    color: #07294d;
    font-weight: 600;
    text-decoration: none;
}

#main-header .nav-menu li a:hover {
    color: #ffc600;
}

/* CTA BUTTON */
#main-header .cta-btn a {
    background: #ffc600;
    padding: 10px 20px;
    border-radius: 8px;
    color: #000 !important;
}


/* ================= HERO ================= */

/* ================= HERO FINAL FIX ================= */

#hero {
    background: url('../images/hero.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
}

/* overlay */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7,41,77,0.75);
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* TEXT */
#hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}

.hero-sub {
    color: #ddd;
    margin: 15px 0;
}

.hero-points span {
    display: block;
    color: #fff;
    margin-bottom: 6px;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 20px;
}

.btn-main {
    background: #ffc600;
    color: #000;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin-right: 10px;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    display: inline-block;
}

/* FORM */
.hero-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
}

.hero-form input {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.hero-form button {
    width: 100%;
    background: #0b2c4a;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    border: none;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    #hero {
        text-align: center;
        padding: 70px 15px;
        min-height: auto;
    }

    #hero h1 {
        font-size: 28px;
    }

    .hero-buttons a {
        display: block;
        margin: 10px 0;
    }

    .hero-form {
        margin-top: 25px;
    }
}

/* 🔴 MOBILE TOP BAR CLEAN */
@media (max-width: 768px) {

    /* row को flex में override करना (bootstrap break fix) */
    #main-header .header-top .row {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    /* contact list center */
    #main-header .top-contact {
        justify-content: center;
        gap: 10px;
        padding: 0;
        margin: 0;
    }

    /* ❌ email hide */
    #main-header .top-contact li:nth-child(2) {
        display: none !important;
    }

    /* ❌ location hide */
    #main-header .top-contact li:nth-child(3) {
        display: none !important;
    }

    /* ✅ phone styling */
    #main-header .top-contact li:nth-child(1) {
        font-size: 13px;
        font-weight: 600;
    }

    /* social icons right fix */
    #main-header .top-social {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* column width remove (important) */
    #main-header .col-lg-8,
    #main-header .col-lg-4 {
        width: 100%;
        text-align: center !important;
    }
}