.modern-navbar {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all .3s;
}

/* brand */

.brand-text {
    font-weight: 700;
    font-size: 20px;
    color: #0a2540;
}

/* nav links */

.nav-link {
    font-weight: 500;
    color: #444;
    margin-left: 20px;
    transition: .3s;
}

.nav-link:hover {
    color: #0d6efd;
}

.btn-main {
    background: #f7b500;
    border: none;
    font-weight: 600;
}

.btn-main:hover {
    background: #ffca2c;
}

.hero {
    position: relative;
    background-image: url("./../images/banner1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
    aspect-ratio: 16 / 5;

    display: flex;
    align-items: center;
    color: white;
    text-align: left;
    padding: 0 15px;
}

/* overlay for readability */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.267);
    z-index: 1;
}

/* content container on top */
.hero-content {
    position: relative;
    z-index: 2;
}

/* text */
.hero-title {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
}

/* buttons */
.hero-buttons .btn {
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-main {
    background: #f7b500;
    color: black;
    border: none;
}

.btn-main:hover {
    background: #ffca2c;
    color: black;
}

.btn-outline-light {
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
}

.section-title {

    font-weight: 700;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--secondary);

}

.feature-card {

    background: white;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all .3s ease;

}

.feature-card:hover {

    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);

}

.feature-icon {

    font-size: 42px;
    color: var(--primary);
    margin-bottom: 20px;

}

.module-box {

    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: .3s;

}

.module-box:hover {

    transform: scale(1.05);
    border: 1px solid var(--primary);

}

.highlight {

    background: white;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

}

.contact-section {
    background: linear-gradient(120deg, #0a2540, #0d6efd);
    padding: 80px 0;
    color: white;
}

/* cards */

.contact-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all .35s;
}

/* hover animation */

.contact-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* icon */

.contact-icon {
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.contact-icon i {
    font-size: 22px;
    color: #0d6efd;
}

.contact-card h6 {
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 14px;
    opacity: .9;
    margin: 0;
}

.modern-footer {
    background: #081a33;
    padding: 20px 0;
    color: #aaa;
    font-size: 14px;
}

/* social icons */

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #102a54;
    color: white;
    margin-left: 8px;
    transition: .3s;
}

.footer-social:hover {
    background: #0d6efd;
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        padding: 30px 0;
        margin-top: 15%;
    }

    .hero::before {
        background: rgba(0, 0, 0, 0.589);
    }

    .hero-title {
        display: none;
        /* hide title on mobile */
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-text {
        font-size: 0.85rem;
    }
}