:root {
    --background-color: #fff;
    --text-color: #000000;
    --header-title-color: #002395;
    --tagline-color: #002395;
    --nav-background-color: #002395;
    --nav-link-color: #fff;
    --card-background-color: #fff;
    --button-background-color: #002395;
    --button-hover-color: #003d80;
    --footer-background-color: #fff;
    --footer-text-color: #002395;
    --primary-color: #002395; 
}

/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--background-color);  /* White background */
    color: var(--text-color);                    /* Black text color */
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: var(--nav-background-color);  /* Blue background */
    padding: 10px;
    color: var(--primary-color);  /* White text color */
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav ul {
    display: flex;
    gap: 20px;
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    color: var(--nav-link-color);  /* White links in the navbar */
    text-decoration: none;
    font-size: 18px;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--header-title-color);  /* Blue color for header title */
}

/* Main Section Styles */
.section {
    padding: 20px;
    margin-top: 20px;
}

.section-title {
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
    color: #333;
}

/* Introduction Text */
.intro-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    text-align: center;
    margin-top: 10px;
}

/* Focus Areas Section - Cards */
.card-container-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.card-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 1em;
}

.card-container::-webkit-scrollbar {
    display: none;  /* Hide scrollbar */
}

.card {
    background-color: #fff;  /* White background for cards */
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    width: 250px;  /* Card width */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: left;
    min-height: 300px;
    flex-shrink: 0;
    cursor: pointer;
}

.card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.card h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

.card .preview {
    font-size: 14px;
    color: #555;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card .full-content {
    font-size: 12px;
    display: none;  /* Hide full content initially */
}

/* Hover Effect for Cards */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* Arrows for Horizontal Scroll */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.arrow-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.arrow-btn.left {
    left: 0;
}

.arrow-btn.right {
    right: 0;
}

/* Footer Styles */
footer {
    background-color: var(--footer-background-color);  /* White footer background */
    color: var(--footer-text-color);                    /* Blue text for footer */
    text-align: center;
    padding: 10px;
    margin-top: 40px;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .card-container {
        gap: 15px;
    }

    .card {
        width: 200px;  /* Reduce card width on smaller screens */
    }

    header nav ul {
        display: block;
        text-align: center;
    }

    header nav ul li {
        margin-bottom: 10px;
    }

    header nav ul li a {
        font-size: 16px;
    }

    .section-title {
        font-size: 1.5em;
    }

    .intro-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .card-container {
        gap: 10px;
    }

    .card {
        width: 180px;  /* Further reduce card width for small screens */
    }

    .arrow-btn {
        font-size: 1.2em;
        padding: 10px;
    }

    .section-title {
        font-size: 1.3em;
    }

    .intro-text {
        font-size: 13px;
    }
}
