body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    padding-top: 100px;
}

/* Top Header (Contact Info and Social Media) */
.top-header {
    background-color: #FFD700;
    color: white;
    padding: 0.5em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    flex-wrap: wrap; /* Allow elements to wrap in smaller screens */
    position: fixed;
    top: 0; /* Fixed at the top */
    width: 100%;
    z-index: 1000;
}

.top-header .contact-info {
    display: flex;
    align-items: center;
    font-size: 1em;
}

.top-header .contact-info span {
    margin-right: 15px;
}

.top-header .contact-info span.email,
.top-header .contact-info span.phone {
    font-weight: bold; /* Bold the email and phone */
}

.top-header .social-media {
    display: flex;
    align-items: center;
}

.top-header .social-media a {
    color: white;
    font-size: 1.2em;
    margin-left: 18px;
    text-decoration: none;
}

.top-header .social-media a:hover {
    color: #a0c4ff;
}

/* Main Header */
header.main-header {
    position: fixed;
    top: 35px; /* Adjusted to make space for the top header */
    width: 100%;
    background: #004080;
    color: white;
    padding: 0.5em 2em; /* No padding */
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo img {
    height: 35px;
    width: auto;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding-right: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    padding-right: 20px;
}

/* Mobile responsive adjustment for top header */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column; /* Stack contact info and social media on smaller screens */
        align-items: flex-start;
        padding: 1em 2em;
    }

    .top-header .social-media {
        margin-top: 10px;
    }

    .top-header .contact-info {
        margin-bottom: 5px;
    }

    .top-header .social-media a {
        margin-left: 10px;
    }

    .top-header .contact-info span {
        margin-right: 25px;
        display: inline-block;
    }
    
    
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.swiper-container {
    width: 100%;
    height: 100vh; /* Full screen height */
}

.swiper-wrapper,
.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the slide area */
    display: block;
}

/* Section Styling */
section {
    scroll-margin-top: 100px; /* Prevents content from hiding behind fixed headers */
    padding: 2em;
    background: #f9f9f9;
    margin-bottom: 1em;
}

#home, .hero {
    padding-top: 100px; /* Top spacing to account for fixed header */
}


footer {
    text-align: center;
    padding: 1em;
    background: #001f3f;
    color: white;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 400px;
}

/* Mobile responsive adjustment for hero */
@media (max-width: 768px) {
    .swiper-container {
        height: 60vh;
    }
}

.home-highlight {
    background: linear-gradient(to right, #f0f4ff, #e0e7ff);
    padding: 3em 2em;
}

.home-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    flex-wrap: wrap;
}

.home-text {
    flex: 1;
    min-width: 280px;
}

.home-text h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
    color: #003366;
}

.home-text p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    text-align: justify; /* Justifies paragraph text */
}


.home-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.home-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.home-image img:hover {
    transform: scale(1.03);
}

/* Feature Box Hover */
/* Feature Section Styling */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns layout for larger screens */
    gap: 1.5em;
    padding: 2em 3em;
}

.feature-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.feature-box:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.feature-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures the image covers the box area */
    border-radius: 8px;
    margin-bottom: 0.75em;
}

.feature-box h3 {
    font-size: 1.15em;
    margin-bottom: 0.5em;
    color: #004080;
}

.feature-box p {
    font-size: 1em;
    color: #333;
    line-height: 1.4;
    padding: 0 10px;
    text-align: center;
}

/* Popup Modal Styling */
.popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: white;
    padding: 2em;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.popup-content h2 {
    margin-bottom: 1em;
}

.close-btn {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

.close-btn:hover {
    color: #004080;
}

/* Responsive Design for smaller screens */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns layout for tablets */
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Single column layout for mobile */
        padding: 1em;
    }
}

/*CSS Styling for the About Section */

    .about-section {
        background-color: #f9f9f9; /* Light background for a clean look */
        padding: 60px 20px; /* Ample padding for space */
        color: #333;
    }

    .about-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .about-text {
        flex: 1;
        max-width: 50%;
        padding-right: 20px;
        text-align: left;
    }

    .about-text h2 {
        font-size: 2em;
        color: #003366;
        margin-bottom: 20px; /* Spacing between title and content */
    }

    .about-text p {
        font-size: 1.2em;
        line-height: 1.6;
        color: #666;
        text-align: justify;
        margin-bottom: 20px;
    }

    .about-image {
        flex: 1;
        max-width: 45%;
        text-align: center;
    }

    .about-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    /* Mobile responsive design */
    @media (max-width: 768px) {
        .about-content {
            flex-direction: column;
            text-align: center;
        }

        .about-text {
            max-width: 100%;
            padding-right: 0;
        }

        .about-image {
            max-width: 100%;
            margin-top: 20px;
        }

        .about-text h2 {
            font-size: 1.8em;
        }

        .about-text p {
            font-size: 1em;
        }
    }


