/* General Layout */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(120deg, #f4f7fc, #eef1f6);
    color: #333;
}


.navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 40px; /* Adjust height as needed */
    max-height: 50px; /* Ensure it doesn’t exceed a maximum size */
    width: auto; /* Maintain aspect ratio */
}


/* Hero Section */
/* Hero Section */
.hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('/images/hero-background.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 0.1rem 0.1rem; /* Reduced padding for a smaller height */
    position: relative;
}

.hero h1 {
    font-size: 2.2rem; /* Slightly smaller font size */
    margin-bottom: 0.25rem; /* Reduce margin below the heading */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for clarity */
}

.hero p {
    font-size: 1rem; /* Smaller font for supporting text */
    margin-bottom: 1.5rem; /* Reduce spacing below the paragraph */
    color: #f0f0f0; /* Softer white for supporting text */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Text shadow for contrast */
}

.hero .cta-button {
    background-color: #ff9900;
    color: white;
    padding: 0.5rem 1rem; /* Reduced button size */
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px; /* Slightly smaller radius */
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #e68a00;
}


/* Tools Section */
.tools-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.tools-container h2 {
    font-size: 2rem;
    text-align: center;
    color: #0056b3;
    margin-bottom: 2rem;
}

/* Cards Container */
.tool-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid layout */
    gap: 1.5rem;
    justify-items: center;
    margin-top: 0.5rem;
}

/* Individual Card */
.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Icon Styling */
.tool-card .icon {
    font-size: 2.0rem; /* Size of the icon */
    color: #0056b3; /* Icon color */
}

/* Card Text Styling */
.tool-card h3 {
    font-size: 1.3rem;
    color: #0056b3;
    margin-bottom: 0.rem;
}

.tool-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.2rem;
}


/* Google Ads Section */
.ads {
    margin: 2rem auto;
    padding: 1.5rem;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    max-width: 1200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #0056b3;
    color: white;
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #0056b3;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d1e4ff;
}
.dropdown {
    position: relative;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #0056b3; /* Match navigation bar color */
    color: white; /* Match text color for better visibility */
    min-width: 200px;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    overflow: hidden;
    text-align: left;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block; /* Keep the dropdown visible while hovering */
}

.dropdown-content a {
    color: white;
    padding: 0.5rem 1rem;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #d1e4ff; /* Light hover effect */
    color: #0056b3; /* Optional contrast color on hover */
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background: white;
    height: 3px;
    width: 25px;
    margin: 4px;
    transition: all 0.3s;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        background-color: #0056b3;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 1rem;
        width: 100%;
        display: block;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown-content a {
        background-color: #0056b3;
        color: white;
    }

    .hamburger {
        display: flex;
    }
}

/* News Section */
.news-section {
    padding: 2rem 1rem;
    background: #f9f9f9;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #0056b3;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 1rem;
    max-width: 600px;
    text-align: left;
}

.news-list li {
    margin-bottom: 0.5rem;
}

.news-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-list a:hover {
    color: #0056b3;
}

.news-container .button {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.news-container .button:hover {
    background-color: #00409b;
}

/* Standards Highlights Section */
.standards-container {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.standards-container h2 {
    color: #0056b3;
    margin-bottom: 1rem;
}

.standards-highlights {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.standard {
    max-width: 300px;
    text-align: left;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.standard h3 {
    color: #0056b3;
    margin-bottom: 0.5rem;
}

.standard p {
    color: #555;
    margin-bottom: 1rem;
}

.standard .link {
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
}

.standard .link:hover {
    text-decoration: underline;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    justify-items: center;
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card .icon {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.2rem;
    color: #0056b3;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.card .read-more {
    font-size: 0.9rem;
    color: #0056b3;
    text-decoration: underline;
}
