/* Root Variables */
:root {
    --main-bg-color: #2d6187;
    --accent-color: #ffab00;
    --text-color: #ffffff;
    --background-light: #f9f9f9;
    --text-dark: #333333;
}

/* Header Section */
.header {
    background: linear-gradient(to bottom right, var(--main-bg-color), #7cc6fe);
    padding: 10px 20px; /* Reduced padding for smaller height */
    text-align: center;
    color: var(--text-color);
    border-bottom: 2px solid var(--accent-color);
}

.header h1 {
    font-size: 2rem; /* Slightly reduced heading size */
    margin-bottom: 5px; /* Reduce spacing */
}

.header p {
    font-size: 1rem; /* Adjusted subheading size */
    margin: 0;
    line-height: 1.4; /* Compact line spacing */
}

.logo {
    max-width: 100px; /* Reduced logo size */
    margin-bottom: 10px;
}

/* Navigation Bar */
.navbar {
    background-color: var(--main-bg-color);
    padding: 10px 0;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar .nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.navbar .nav-list li {
    margin: 0 15px;
}

.navbar .nav-list a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar .nav-list a:hover {
    color: var(--accent-color);
}


/* Symbol pic */
.intro-banner {
    max-width: 100px; /* Adjust the size to fit your design */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px; /* Keep some spacing below the icon */
}


/* Features Section */
.features-section {
    margin: 40px auto; /* Center the section */
    text-align: center;
}

.features-section h2 {
    font-size: 2rem;
    color: var(--main-bg-color);
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    justify-content: center; /* Center the grid items */
    align-items: center;
}

.feature {
    background-color: var(--background-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature img {
    max-width: 80px;
    margin-bottom: 15px;
}

.feature h3 {
    color: var(--main-bg-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.feature .btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.feature .btn:hover {
    background-color: #e09500;
}

.feature:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.2);
}

/* Center Content Containers */
.container {
    margin: 20px auto; /* Ensure it's centered horizontally */
    text-align: center;
    max-width: 1000px; /* Prevent it from being too wide */
}

/* Footer */
.footer {
    background-color: var(--main-bg-color);
    color: var(--text-color);
    text-align: center;
    padding: 10px 20px;
    border-top: 2px solid var(--accent-color);
    position: relative;
    flex-shrink: 0;
}

.footer img {
    max-width: 50px;
    margin-bottom: 5px;
}

.footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    .navbar .nav-list a {
        font-size: 0.9rem;
    }

    .features-section h2 {
        font-size: 1.5rem;
    }

    .feature h3 {
        font-size: 1.2rem;
    }

    .feature p {
        font-size: 0.9rem;
    }

    .feature .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
