/*
 * =========================================
 * FONT IMPORT
 * =========================================
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/*
 * =========================================
 * GLOBAL & BASE STYLES
 * =========================================
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7f7f7;
    color: #2E7D32;
    line-height: 1.6;
    overflow: auto;
    scrollbar-width: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/*
 * =========================================
 * UTILITY CLASSES
 * =========================================
 */
.glow-text {
    color: black;
    text-shadow: 0 0 1.5px #ffffff, 0 0 10px #ffffff, 0 0 15px #000000, 0 0 20px #ffffff;
}

.icon-green {
    color: #2E7D32;
    margin-right: 10px;
}

/*
 * =========================================
 * HEADER & NAVIGATION
 * =========================================
 */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 30px;
    border-bottom: 3px solid #4CAF50;
}

.left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 80px;
    height: auto;
}

.team-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: black;
}

.right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.right a {
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.right a:hover {
    color: #4CAF50;
}

.divider {
    font-size: 1.2rem;
    color: #4CAF50;
}

.language-icon {
    width: 30px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.language-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 12px 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links.active {
    display: flex;
}

.nav-links li a {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #4CAF50;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
}

/*
 * =========================================
 * HERO SECTION
 * =========================================
 */
.hero {
    position: relative;
    background: url('https://i.imgur.com/d2gv8Gd.jpeg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    filter: brightness(1.5);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.imgur.com/d2gv8Gd.jpeg') no-repeat center center/cover;
    filter: blur(2.5px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem !important;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 2.5rem !important;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: #2E7D32;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin-top: 20px;
    animation: pulse 1.5s infinite;
}

.cta-button:hover {
    background: #388e3c;
    transform: scale(1.05);
}

/*
 * =========================================
 * FOOTER
 * =========================================
 */
footer {
    background: url("https://i.imgur.com/yjuCGaV.png") no-repeat center center;
    background-size: 1000%;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    margin-top: auto;
    position: relative;
}

footer::before {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background-color: #28a745;
    position: absolute;
    top: 0;
    left: 0;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.footer-content h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.footer-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    width: 70%;
}

.newsletter-form button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto; /* Keeps its natural size */
}

.newsletter-form button:hover {
    background-color: #218838;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #444;
    font-size: 14px;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #28a745;
}

/*
 * =========================================
 * MODAL
 * =========================================
 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #2E7D32;
    padding: 30px;
    width: 500px;
    border-radius: 12px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    color: white;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Modal form elements get full width */
.modal-content select,
.modal-content textarea,
.modal-content button {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.modal-content button {
    background: #FFF;
    color: #2E7D32;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

.modal-content button:hover {
    background: #E0E0E0;
}

/*
 * =========================================
 * POPUP NOTIFICATION
 * =========================================
 */
.popup-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    animation: fadeInOut 3s ease-in-out;
}

/*
 * =========================================
 * KEYFRAME ANIMATIONS
 * =========================================
 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    90% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}
/*
 * =========================================
 * NEW: SMOOTH SCROLL & MAIN CONTENT STYLES
 * =========================================
 */

main {
    width: 100%;
}

.content-section {
    padding: 60px 20px;
    text-align: center;
}

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

.section-title {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Dark background variant for sections */
.content-section.bg-dark {
    background: url("https://images.unsplash.com/photo-1671159593357-ee577a598f71?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8YmxhY2slMjBncmFkaWVudHxlbnwwfHwwfHx8MA%3D%3D");
}

.bg-dark .section-title {
    color: #fff;
}

.bg-dark .section-subtitle, .bg-dark p {
    color: #ccc;
}

/*
 * =========================================
 * NEW: TYPEWRITER CURSOR ANIMATION
 * =========================================
 */
.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: #fff;
    margin-left: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/*
 * =========================================
 * NEW: "WHAT WE DO" SECTION STYLES
 * =========================================
 */

.features-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: #2E7D32;
    margin-bottom: -10px;
}

.feature-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 1rem;
}

/*
 * =========================================
 * NEW: "FEATURED EVENT" & IMAGE ANIMATION
 * =========================================
 */
.featured-event-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.image-hover-container {
    perspective: 1000px; /* This creates the 3D space */
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* The hover effect on the container triggers the image transform */
.image-hover-container:hover .featured-image {
    transform: scale(1.05) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.featured-event-details h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
}

.cta-button-small {
    display: inline-block;
    padding: 10px 20px;
    background: #2E7D32;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.cta-button-small:hover {
    background: #388e3c;
    transform: scale(1.05);
}


/*
 * =========================================
 * NEW: "WHY CHOOSE US" SECTION STYLES
 * =========================================
 */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
    margin-top: 40px;
}

.choice-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.choice-item i {
    font-size: 1.8rem;
    margin-top: 5px;
}

.choice-item h4 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 5px;
}

.choice-item p {
    color: #666;
    line-height: 1.5;
}


/* ─── SECTION DIVIDER ─────────────────────────────────────────────── */
/* Looks identical to the thin green glow just above your footer */
.section-divider{
    width:100%;
    height:4px;                       /* thickness of the bar  */
    background:
            linear-gradient(90deg,
            transparent 0%,
            #31B057 10%,                /* match your brand green */
            #31B057 90%,
            transparent 100%);
    border-radius:2px;
    margin:0rem 0;

    /* slide-in animation */
    opacity:0;
    transform:scaleX(0);
    animation:slideInDivider 0.8s ease-out forwards;
}

@keyframes slideInDivider{
    to{ opacity:1; transform:scaleX(1); }
}

/* ─── HORIZONTAL MARQUEE  (What We Do & Testimonials) ─────────────── */
.marquee-wrapper {
    width: 1200px;        /* Set visible marquee width */
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;        /* Content decides width */
    animation: marquee 22s linear infinite;
    flex-wrap: nowrap;         /* No wrapping */
}

.feature-item {
    width: 400px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-20%));
    }
}
/* Pause on hover / focus for accessibility */
.marquee-track:hover,
.marquee-track:focus-within{ animation-play-state:paused; }


/* ─── FADE-IN-UP utility (one anim per section) ───────────────────── */
.fade-in-up{
    opacity:0;
    transform:translateY(40px);
    transition:0.7s ease;
}

.fade-in-up.is-visible{
    opacity:1;
    transform:translateY(0);
}
/* testimonial track behaves like a single horizontal strip */
.testimonials-track{
    display:flex;            /* no more grid */
    gap:30px;
    width:max-content;       /* let content decide width (needed for marquee) */
    flex-wrap:nowrap;        /* <— stops a second row */
}

/* each card gets a fixed minimum width so they line up nicely */
.testimonial-card{
    flex:0 0 340px;          /* 340px wide, never shrinks or wraps */
}



/*
 * =========================================
 * NEW: "TESTIMONIALS" SECTION STYLES
 * =========================================
 */

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #ddd;
    font-size: 1.1rem;
}

.testimonial-card cite {
    font-weight: 600;
    color: #28a745;
}

/*
 * =========================================
 * NEW: RESPONSIVE ADJUSTMENTS
 * =========================================
 */
@media (max-width: 992px) {
    .featured-event-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .featured-event-details {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/*
 * =========================================
 * MEDIA QUERIES
 * =========================================
 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Adjust based on your nav height */
        left: 0;
        background-color: black;
        padding: 10px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
    }
}