/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Hero Section with Slideshow */
#hero {
    position: relative;
    height: 100vh; /* Full screen height */
    overflow: hidden;
    background-color: #000; /* Black background */
}

.slideshow-container {
    max-width: 100%;
    height: 100%;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
    height: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Slightly transparent black overlay */
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFD700; /* Yellow from the logo */
}

.dynamic-heading {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dynamic-subheading {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #28a745; /* Green from the logo */
    color: #fff;
    padding: 14px 35px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background-color: #dc3545; /* Red from the logo */
    transform: scale(1.05);
}

/* About Section */
.redesigned-about {
    background-color: #fff;
    padding: 60px 20px;
    margin-top: -40px; /* Reduce gap between Hero and About */
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.card-image img {
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-text {
    padding: 20px;
}

.enhanced-text h3 {
    color: #28a745; /* Green from the logo */
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.enhanced-text p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
}

.card-btn {
    background-color: #FFD700; /* Yellow from the logo */
    color: #003366;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.card-btn:hover {
    background-color: #dc3545; /* Red from the logo */
    color: #fff;
}

/* Mission and Objectives Section */
.mission-objectives {
    background: linear-gradient(135deg, #28a745 0%, #dc3545 100%); /* Gradient with green and red from the logo */
    padding: 80px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mission-objectives .section-title {
    font-size: 3rem;
    color: #FFD700; /* Yellow from the logo */
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mission-content {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.objective-card {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white background */
    color: #003366;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
    position: relative;
    z-index: 2;
}

.objective-card:hover {
    transform: translateY(-10px);
    background-color: #FFD700; /* Yellow from the logo */
}

.objective-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #28a745; /* Green from the logo */
}

.objective-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Decorative Background Elements */
.mission-objectives::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: #FFD700;
    opacity: 0.5;
    border-radius: 50%;
    z-index: 1;
}

.mission-objectives::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: #003366;
    opacity: 0.5;
    border-radius: 50%;
    z-index: 1;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .dynamic-heading {
        font-size: 2.5rem;
    }

    .dynamic-subheading {
        font-size: 1.2rem;
    }

    .about-card {
        width: 100%;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }
}
