:root {
    --primary: #2E7D32; /* Dark green */
    --secondary: #1B5E20; /* Darker green */
    --accent: #C8E6C9; /* Light green accent */
    --light: #f8f9fa;
    --dark: #212529;
    --text-muted: #6c757d; /* Muted text color */
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;

}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 500;
    color:#02365E;
    margin-left: 10px;
    font-family: 'Notable', sans-serif;
    letter-spacing: auto;
}

.logo span {
    color: #3B9141;
    font-family: 'montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li .btn {
    background: none;
    border: none;
    padding: 10px 15px;
    color: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 100%;
    transition: var(--transition);
}

nav ul li .btn:hover {
    color: var(--primary);
}

nav ul li .btn:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

nav ul li .btn:hover:after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
        
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1609867271967-a82f85c48531?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MzV8fGNvbnN0cnVjdGlvbiUyMHNpdGV8ZW58MHx8MHx8fDA%3D') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 100px;
    flex-direction: column;
    justify-content: center;
      
    
}

.hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
   

}



.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn:hover {
    background: transparent;
    color: white;
}

.btn-outline {
    background: transparent;
    margin-left: 15px;
}

/* Services Section */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    width: 100%;
    
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

/* Styling for the paragraph in the section header */
.section-header p {
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 10px auto;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* About Section */
.about {
    background: #E8F5E9; /* Light green background */
    padding: 50px 0;
    display: flex;
}

.about-container {
    display: flex;
    gap: 30px;
    align-items: center;   
}

.about-card {
    flex: 1;
    background-color: #ffffff;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    min-height: 50vh; /* Responsive height */
    box-shadow: #ddd 0px 10px 10px;

}

.about-card:hover {
    transform: translateY(-5px);
}

.about-img {
    width: 100%;
    height: 210px;
    display: flex;
    justify-content: center;
    /* border: #212529 1px solid; */
    border-radius: 10px;
    margin-bottom: 20px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit:contain
 }


.about-text h2 {
    font-size: 1.2rem;
    color: var(--primary);
    min-width: 200px;
}

.about-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-title {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 500;
}

/* workshops Section */

.workshops {
    background: #ffffff; /* Light green background */
    padding: 50px 0;
}

.workshop-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.workshops-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}


.workshop-card {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: rgb(245, 248, 245);
    transform: translateX(-10px);
    opacity: 1;
    transition: all 0.5s ease;
}

/* .workshop-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
} */

.workshop-image {
    flex: 0 0 300px; /* Fixed width for the image */
    display: flex;
    justify-content: center;
    max-width: 300px;
    /* background-color: #212529; */
       
}

.workshop-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.workshop-content {
    flex: 1;
}

.workshop-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.workshop-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}



/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Contact Section */



.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h3 {

    font-size: 1.2rem;
    margin-bottom: 5px;
    margin-right: 20px;
    color: var(--secondary);
}

.contact-text p {
    color: #6c757d;
    margin-right: 20px;
}

.contact-form {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #1B5E20;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--primary);
    left: 0;
    bottom: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-icon {
    color: var(--primary);
    margin-right: 10px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    margin-right: 10px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.7);
}


/* resistration form    */

.register-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content, .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 20px 0;
        text-align: center; /* Center text horizontally */
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%; /* Make list items take full width */
    }
    
    nav ul li a {
        display: inline-block; /* Allows centering while maintaining link behavior */
    }
    
    nav ul.active {
        left: 0;
        
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .mobile-toggle .fas.fa-bars {
        color: var(--primary);
        font-size: 1.5rem;
        transition: var(--transition);
    }
    
    .mobile-toggle .fas.fa-bars:hover {
        color: var(--secondary);
        transform: scale(1.1);
    }
    
    /* When mobile menu is active */
    .mobile-toggle.active .fas.fa-bars {
        transform: rotate(90deg);
    }

    .workshop-card {
        display: grid;
        width: 100%;
        align-items: center;
        justify-items: center; 
        gap: 20px;
        padding: 20px;
        border-radius: 10px;
        background: rgb(245, 248, 245);
        transform: translateX(-10px);
        opacity: 1;
        transition: all 0.5s ease;
    }

    
    .about-container {
        display: grid;
        gap: 30px;
        align-items: center;   
}
}

