@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,700;0,800;1,500&display=swap');

:root {
    --bg-main: #FAFAFA;
    /* Soft Off-White Background */
    --bg-surface: #FFFFFF;
    /* Pure White for cards/forms */
    --primary: #16A34A;
    /* Leaf Green */
    --primary-hover: #15803D;
    /* Deeper Green */
    --text-main: #1F2937;
    /* Slate Gray for readability */
    --text-muted: #4B5563;
    /* Softer Gray for descriptions */
    --accent: #F59E0B;
    /* Amber for subtle secondary highlights */
    --border-light: #E5E7EB;
    /* Faint border for structure */
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    color: var(--text-main);
}

body {
    background-color: var(--bg-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
.title h1,
.fwm-title h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Banner */
.banner {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-surface);
}

.banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.65) sepia(0.2) hue-rotate(90deg);
    /* Slight warm green tint to images */
}

.content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(250, 250, 250, 0.1), var(--bg-main));
}

/* Navigation - Now Bright & Clean */
nav {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    animation: fadeInDown 0.8s ease forwards;
}

nav .logo {
    width: 50px;
    height: auto;
}

.navbar {
    display: flex;
    gap: 35px;
    list-style: none;
}

.navbar li {
    display: flex;
    gap: 30px;
}

.navbar a {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

/* Hero Title */
.title {
    max-width: 800px;
    margin: 32vh auto 0;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease backwards;
    animation-delay: 0.2s;
}

.title h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-main);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    /* Helps it pop against the background image */
}

.title p {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

.button {
    display: inline-block;
    padding: 16px 45px;
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    background: var(--primary);
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(22, 163, 74, 0.39);
}

.button:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

/* Sections & Containers */
section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.fwm-title {
    margin-bottom: 60px;
    text-align: center;
}

.fwm-title h2,
.text h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

.fwm-title h2::after,
.text h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.container-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 60px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.container-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.container-box h4 {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 25px;
}

.container-box h4 span {
    color: var(--primary);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.container-box h2 {
    margin: 30px 0 15px;
    font-size: 2rem;
}

.container-box img {
    border-radius: 12px;
    max-width: 48%;
    height: auto;
    object-fit: cover;
    margin: 10px 1%;
    box-shadow: var(--shadow-soft);
    display: inline-block;
}

/* Specific Section Adjustments */
.text {
    text-align: center;
    margin-bottom: 40px;
}

.rowitems {
    margin-top: 20px;
}

/* Forms (Contact, Register) */
.contactbody,
.register-body {
    background: var(--bg-main);
    background-image: radial-gradient(var(--border-light) 1px, transparent 1px);
    background-size: 30px 30px;
}

.contact,
.registration {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 160px 5% 100px;
}

.contact-form,
.register-form {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 70px 60px;
    width: 100%;
    max-width: 750px;
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 0.8s ease backwards;
}

.contact-form h1,
.register-form h1,
.abt-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.contact-form h1 span,
.register-form h1 span,
.abt-text h1 span {
    color: var(--primary);
    font-style: italic;
}

.contact-form p,
.register-form p,
.abt-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 45px;
    line-height: 1.7;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="datetime-local"],
textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-surface);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.register-form h4 {
    margin: 15px 0 10px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.1rem;
}

input[type="radio"],
input[type="checkbox"] {
    width: auto;
    margin: 0 8px 0 0;
    accent-color: var(--primary);
    cursor: pointer;
    transform: scale(1.1);
}

.submit-btn,
.submitbtn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover,
.submitbtn:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 14px 0 rgba(22, 163, 74, 0.39);
    transform: translateY(-2px);
}

/* About Us */
.aboutbody {
    background: var(--bg-main);
}

.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
}

.abt-text {
    background: var(--bg-surface);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.abt-text h1 {
    font-size: 4rem;
    margin-bottom: 25px;
}

.connectbtn {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 40px;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 20px;
}

.connectbtn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(22, 163, 74, 0.39);
}

.social-icons,
.social {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a,
.social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover,
.social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.2);
}

/* Newsletter */
.newsletter {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 80px 5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.newstext h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.newstext p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.newsletter form {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 500px;
}

.newsletter input[type="email"] {
    margin: 0;
    flex: 1;
    border-radius: 40px;
    padding: 16px 25px;
}

.newsletter input[type="submit"] {
    width: auto;
    margin: 0;
    background: var(--text-main);
    color: white;
    font-weight: 600;
    padding: 0 35px;
    border-radius: 40px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.newsletter input[type="submit"]:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px 0 rgba(22, 163, 74, 0.39);
}

/* Footer */
.footer {
    padding: 80px 5% 30px;
    background: var(--bg-surface);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footlinks h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}

.footlinks ul {
    list-style: none;
}

.footlinks ul li {
    margin-bottom: 15px;
}

.footlinks ul li a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.footlinks ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.end {
    text-align: center;
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }

    /* Could be replaced with a hamburger menu */
    .title h1 {
        font-size: 3.5rem;
    }

    .title p {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 5%;
    }

    .fwm-title h2 {
        font-size: 2.5rem;
    }

    .container-box {
        padding: 30px;
    }

    .container-box img {
        max-width: 100%;
        margin: 10px 0;
    }

    .newsletter,
    .contact,
    .registration {
        padding: 120px 5% 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social {
        justify-content: center;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input[type="submit"] {
        padding: 16px;
        width: 100%;
        border-radius: 40px;
    }

    .abt-text h1 {
        font-size: 3rem;
    }
}

iframe {
    border-radius: 12px;
    max-width: 100%;
    box-shadow: var(--shadow-soft);
}

/* --- NEW STRUCTURAL CLASSES --- */

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 40px;
    font-weight: 600;
}
.nav-btn:hover {
    background: var(--primary-hover);
}
.nav-btn::after { display: none; }

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.button-outline {
    display: inline-block;
    padding: 14px 45px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    background: transparent;
    border: 2px solid var(--text-main);
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.button-outline:hover {
    background: var(--text-main);
    color: white;
}

.metrics-banner {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 60px 5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.metric h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 5px;
}
.metric p {
    font-family: ''Inter'', sans-serif;
    font-weight: 500;
    color: var(--text-muted);
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.stat-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-large {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: ''Playfair Display'', serif;
}
.stat-card p { color: var(--text-muted); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.mb-4 { margin-bottom: 30px; }

.link-forward {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}
.link-forward:hover { opacity: 0.8; }

.steps { align-items: stretch; }

.step-card {
    position: relative;
    background: var(--bg-surface);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-top: 10px;
    margin-bottom: 15px;
}
.step-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    flex-grow: 1;
}

.video-section .container-box { max-width: 900px; margin: 0 auto; }
.iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-grid, .register-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}
.info-item i {
    font-size: 2rem;
    color: var(--primary);
    background: var(--bg-surface);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}
.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.info-item p { color: var(--text-muted); }

.trust-box {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: 16px;
    border: 1px dashed var(--primary);
    margin-top: 20px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .hero-buttons { flex-direction: column; }
    .metric h3 { font-size: 2.5rem; }
    .step-card { margin-top: 30px; }
    .grid-2-col { grid-template-columns: 1fr; }
}


/* --- UX POLISH & MICRO-INTERACTIONS --- */

/* Back to Top Button */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 24px;
    border: none;
    outline: none;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 14px 0 rgba(22, 163, 74, 0.39);
    transition: background-color 0.3s, transform 0.3s;
}

#backToTopBtn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Toast Notification (Custom Alert) */
#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--bg-surface);
    color: var(--text-main);
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: var(--shadow-hover);
    border-left: 5px solid var(--primary);
    font-weight: 500;
    font-family: ''Inter'', sans-serif;
}

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/* Mobile Menu Hamburger */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--text-main);
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .navbar {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-soft);
        padding: 20px 0;
        clip-path: circle(0% at 100% 0);
        transition: all 0.4s ease-out;
    }

    .navbar.active {
        clip-path: circle(150% at 100% 0);
    }
    
    .navbar li {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
