body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 22px; /* Larger font size as requested by supervisor */
}

.logo img {
    height: 40px;
    width: auto;
}
/* Header styles */
header {
    background-color: #003399;
    color: white;
    padding: 0.5em 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    display: flex;
    gap: 1.5em;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
    color: #FFD700; /* Gold highlight on hover */
}

/* Dropdown container */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    padding: 0;
    list-style-type: none;
    margin: 0;
    z-index: 1000;
    top: 100%;
    left: 0;
    min-width: 200px;
}

/* Dropdown menu items */
.dropdown-menu li {
    border-bottom: 1px solid #ddd;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effects */
.dropdown-menu a:hover {
    background-color: #f1f1f1;
    color: #007BFF; /* Blue hover color for dropdown items */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Add hover effect for dropdown arrow */
.dropdown span {
    transition: transform 0.3s ease;
}

.dropdown:hover span {
    transform: rotate(180deg); /* Rotate arrow when hovered */
}

/* Header logo hover effect */
.logo img {
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

/* Header styling for logo */
.logo img {
transition: transform 0.3s ease;
}

.logo img:hover {
transform: scale(1.1);
}
   

.hero {
    background: url('assets/hero-background.jpg') center/cover no-repeat;
    color: white;
    padding: 6em 2em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 153, 0.6);
    z-index: 1; /* Ensure overlay is behind content */
}

.cta-button {
    position: relative; /* Keep button positioning relative */
    z-index: 3; /* Ensure button is above the overlay */
    background-color: #FFD700;
    color: #003399;
    padding: 1em 2em;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ffcc00;
}
section {
    padding: 3em 2em;
}
.about, .services, .mission, .network, .partners {
    background-color: #f4f4f4;
    margin-bottom: 2em;
    padding: 2em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(30vw), 1fr)); /* Minimum width is 30% of viewport width */
    gap: 2em;
    text-align: center;
}

.service-item {
    background-color: #fff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}


@media (max-aspect-ratio: 1/1) {
    .service-list {
        grid-template-columns: repeat(1, 1fr); /* Single-column layout for square or portrait screens */
    }
}

@media (min-aspect-ratio: 2/3) and (max-aspect-ratio: 3/2) {
    .service-list {
        grid-template-columns: repeat(2, 1fr); /* Two columns for medium aspect ratios */
    }
}

@media (min-aspect-ratio: 3/2) and (max-aspect-ratio: 21/9) {
    .service-list {
        grid-template-columns: repeat(3, 1fr); /* Three columns for wider screens */
    }
}

@media (min-aspect-ratio: 21/9) {
    .service-list {
        grid-template-columns: repeat(6, 1fr); /* Six columns for ultra-wide screens */
    }
}

.service-item h3 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}
.service-item p {
    font-size: 0.9em;
    line-height: 1.5;
    color: #555;
}
.stats-widget {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    justify-content: center;
}
.stat-item {
    background-color: #003399;
    color: white;
    padding: 2em;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 200px;
}
.mission-widget, .values-widget {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: space-around;
    margin-top: 2em;
}
.value-item {
    background-color: #fff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    min-width: 200px;
}
.testimonial-widget {
    background-color: #003399;
    color: white;
    padding: 2em;
    border-radius: 10px;
    margin-top: 2em;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}
footer {
    background-color: #003399;
    color: white;
    padding: 2em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
    gap: 2em;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    margin: 0 0 1em;
    font-size: 1.2em;
}

.footer-section p {
    font-size: 0.9em;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9em;
    line-height: 1.8;
}

.footer-section ul li a {
    color: #FFD700;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 1em;
    border-top: 1px solid #FFD700;
    padding-top: 1em;
    font-size: 0.8em;
}

/* Flip card container */
.flip-card {
    perspective: 1000px;
}

/* Flip card inner */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%; /* Ensure equal size for both sides */
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* On hover, flip the card */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Front and Back */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

/* Back side rotation */
.flip-card-back {
    transform: rotateY(180deg);
}

/* Card height consistency */
.flip-card {
    height: 350px; /* Set height for the entire card container */
}
