/* Global Styles */
:root {
    --primary-color: #1E7145; /* Dark Green from Logo */
    --secondary-color: #4CAF50; /* Muted Light Green */
    --accent-color: #F8F8F8; /* Very Light Gray for subtle backgrounds */
    --text-color: #333333; /* Dark Gray for main text */
    --light-text: #ffffff; /* White */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--accent-color);
    overflow-x: hidden;
}

p,
.mission-card ul li {
    font-family: 'EB Garamond', 'Garamond', 'Baskerville', 'Times New Roman', serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-header .line {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light-text); /* White Header */
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 70px;
    width: auto;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.logo-text {
    color: var(--primary-color); /* Dark Green Logo Text */
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--primary-color); /* Dark Green Menu Links */
    font-weight: 400;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--secondary-color); /* Light Green Hover */
}

.nav-links .btn-primary {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('assets/images/hero-bg.png'); /* Removed Dark Green Overlay */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--light-text); /* Set heading color to white */
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-text); /* Set paragraph color to white */
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    .about-image {
        order: -1; /* Move image above text on mobile */
        margin-bottom: 30px;
    }
}

.about-text {
    flex: 1;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Vision & Mission */
.vision-mission-section {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}

.vision-card,
.mission-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-card h3,
.mission-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.vision-card .icon,
.mission-card .icon {
    font-size: 2.6rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.mission-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.mission-card ul li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Objectives */
.objectives-section {
    background-color: var(--accent-color);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

@media (max-width: 992px) {
    .objectives-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
    }
}

@media (max-width: 576px) {
    .objectives-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

.objective-item {
    background: #fff;
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.objective-item p {
    font-size: 1.0rem;
}

.objective-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.objective-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Services */
.services-section {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    border-radius: 10px;
    background: var(--accent-color);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--secondary-color);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Why Choose Us */
.why-us-section {
    background: linear-gradient(rgba(30, 113, 69, 0.9), rgba(30, 113, 69, 0.9)), url('assets/images/hero-bg.png');
    background-size: cover;
    background-attachment: fixed;
    color: var(--light-text);
}

.why-us-section h2 {
    color: var(--secondary-color);
}

.why-us-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-us-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.why-us-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.why-us-card i {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.why-us-card .list-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.why-us-card .list-content p {
    font-size: 1.00rem;
    color: #ccc;
    line-height: 1.5;
}

/* Quality Commitment */
.quality-section {
    background: linear-gradient(rgba(76, 175, 80, 0.9), rgba(76, 175, 80, 0.9)), url('assets/images/hero-bg.png');
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    color: var(--primary-color);
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 30px;
    color: #fff;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.info-list li,
.contact-details li {
    margin-bottom: 15px;
}

.contact-details li {
    display: flex;
    align-items: center;
}

.contact-details li i {
    width: 30px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-form-wrapper {
    background: var(--accent-color);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

.form-status {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 5px;
    font-size: 0.95rem;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Footer */
.footer {
    background-color: #050d1a;
    color: #888;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Tablets */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100px; /* Adjusted to be below the navbar */
        right: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        transition: all 0.3s ease-in-out; /* Add transition for smooth open/close */
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .service-card,
    .vision-card,
    .mission-card,
    .why-us-card {
        padding: 20px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .hamburger {
        display: block;
    }
}

/* Responsive - Small Phones */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 40px 0;
    }

    .objective-item i {
        font-size: 2rem;
    }

    .service-card .icon-box {
        width: 60px;
        height: 60px;
    }
}