/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFFFFF;
    color: #1F2937;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #1E3A8A;
    color: #FFFFFF;
    padding: 2rem 0;
    position: relative; /* Ensure header has a position for z-index stacking */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FBBF24;
}

.nav-links .login-btn {
    background-color: #FFFFFF;
    color: #1E3A8A;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.nav-links .login-btn:hover {
    background-color: #F3F4F6;
    color: #1E3A8A;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    background-color: #FFFFFF;
    height: 3px;
    width: 100%;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    padding: 6rem 0; /* Increased padding for more vertical space */
    text-align: center;
    position: relative;
    z-index: 1;
    min-height: 500px; /* Ensure enough vertical space on smaller screens */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem; /* Increased margin for more spacing */
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem; /* Increased margin for more spacing */
}

.hero .cta-btn {
    background-color: #FBBF24;
    color: #1E3A8A;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.hero .cta-btn:hover {
    background-color: #F59E0B;
}

/* Responsive Adjustments for Hero */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0; /* Adjusted for mobile */
        min-height: 400px; /* Reduced min-height for mobile */
    }

    .hero h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero .cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
        min-height: 350px;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 1rem;
    color: #1F2937;
}

/* Pricing Section */
.pricing {
    background-color: #F3F4F6;
    padding: 4rem 0;
}

.pricing h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-card ul {
    text-align: left;
    margin-bottom: 1.5rem;
    list-style: none;
}

.pricing-card ul li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pricing-card .cta-btn {
    background-color: #1E3A8A;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.pricing-card .cta-btn:hover {
    background-color: #1E40AF;
}

/* Footer */
footer {
    background-color: #1E3A8A;
    color: #FFFFFF;
    padding: 1.5rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 0;
    }

    .logo-container {
        gap: 8px;
    }

    .logo-icon {
        height: 32px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        right: 0;
        background-color: #1E3A8A;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        z-index: 1000; /* Ensure it appears above the hero section */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        display: block;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 3rem 0;
        background-image: linear-gradient(rgba(30, 58, 138, 0.7), rgba(30, 58, 138, 0.7)), url('/assets/img/hero-bg.jpg');
        background-size: cover;
        background-position: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
}