/* ============== GENERAL STYLES ============== */
:root {
    --primary: #1a472a;
    --secondary: #2d6a4f;
    --accent: #52b788;
    --light-bg: #d8f3dc;
    --text-dark: #2b2d42;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Trebuchet MS', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ============== NAVBAR ============== */
.navbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-width: 80px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    margin-left: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent) !important;
}

/* ============== WELCOME SECTION ============== */
.welcome-section {
    background: linear-gradient(135deg, #e2e0ea 0%, #d8f3dc 100%);
    padding: 60px 20px;
}

.welcome-section .main-image {
    max-height: 400px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.welcome-section .main-image:hover {
    transform: scale(1.02);
}

.welcome-section h1 {
    font-size: 3.5rem;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.welcome-section h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-top: 1rem;
}

.welcome-section h3 {
    font-size: 1.3rem;
    font-style: italic;
    color: #555;
}

/* Vision & Mission Cards */
.vision-mission-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.vision-mission-card .sub-image {
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.vision-mission-card h4 {
    color: var(--primary);
    margin-top: 1rem;
}

/* Challenges Section */
.challenges-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.challenges-list li {
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
}

/* ============== ABOUT SECTION ============== */
.about-section {
    background: white;
    padding: 80px 20px;
}

.about-section h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-section .main-image {
    max-height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin: 1.5rem 0;
}

.about-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    border-radius: 10px;
    padding: 2rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateX(5px);
}

.about-card .sub-image {
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.about-card h4 {
    color: var(--secondary);
}

/* ============== SERVICES SECTION ============== */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    padding: 80px 20px;
}

.services-section h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.service-card .sub-image {
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    color: var(--primary);
    margin: 1rem 0;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ============== TESTIMONIALS SECTION ============== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 20px;
}

.testimonials-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card .testimonial-author {
    font-weight: 600;
    color: var(--accent);
}

/* ============== FAQ SECTION ============== */
.faq-section {
    background: white;
    padding: 80px 20px;
}

.faq-section h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.accordion-button {
    background-color: var(--light-bg);
    color: var(--primary);
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--accent);
    color: white;
}

.accordion-button:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(82, 183, 136, 0.25);
}

.accordion-body {
    background-color: #f9f9f9;
    color: #666;
}

/* ============== CONTACT SECTION ============== */
.contact-section {
    background: white;
    padding: 80px 20px;
}

.contact-section h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    border-radius: 10px;
    padding: 2rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent);
}

.contact-info h5 {
    color: var(--primary);
    margin: 1rem 0;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Map Container */
.map-container {
    height: 350px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(82, 183, 136, 0.25);
}

.form-control::placeholder {
    color: #999;
}

.btn-submit {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(45, 106, 79, 0.3);
    color: white;
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============== FOOTER ============== */
footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: #ddd;
    font-size: 0.9rem;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .welcome-section h2 {
        font-size: 1.3rem;
    }
    
    .about-section h2,
    .services-section h2,
    .testimonials-section h2,
    .faq-section h2,
    .contact-section h2 {
        font-size: 1.8rem;
    }
    
    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .welcome-section {
        padding: 30px 10px;
    }
    
    body {
        font-size: 0.95rem;
    }
    
    .navbar-brand img {
        max-width: 60px;
    }
}

.video-section {
    background-color: #f8f9fa;
}

.video-section video {
    transition: transform 0.3s ease;
}

.video-section video:hover {
    transform: scale(1.02);
}