* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #ffffff;
    color: #333;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background: white;
}


.top-trust-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-badge{
    background: #08005f;
    color: white;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;

    display: flex;
    align-items: center;
    gap: 10px;

    white-space: nowrap;
}

.trust-badge .dot{
    color: #ff6600;
}

.trust-registration-details{
    margin-top: 6px;
    text-align: center;
}

.trust-registration-details p{
    margin: 2px 0;
    padding: 0;

    font-size: 12px;
    line-height: 1.3;
    color: #0a2e73;

    white-space: nowrap;
}

.trust-registration-details strong{
    color: #ff6600;
}




/* BRAND BLOCK - UNTOUCHED FEEL */
.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.logo-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-left img {
    width: 200px;
    height: 100px;
    object-fit: contain;
}

.tamil-tagline {
    font-size: 15px;
    color: orangered;
}

.logo-text h1 {
    color: rgb(20, 87, 6);
    font-size: 22px;
    margin: 2px 0;
}



/* NAV */
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
    margin-top: 80px;
}


.nav-links a {
    text-decoration: none;
    color: #0a2e73;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    background: rgba(11, 94, 0, 0.767);
    color: orangered;
}

.enquire-btn {
    text-decoration: none;
    background: linear-gradient(135deg, #ff6a00, #138808);
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s ease;
    margin-top: 68px;
}

.enquire-btn:hover {
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
}

.nav-links a.active{
    color: #ff6600;
    font-weight: 700;
    position: relative;
}

.nav-links a.active::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #138808;
    border-radius: 5px;
}

.trust-registration-details{
    margin-top: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;

    width: 100%;
}

.trust-registration-details p{
    margin: 0;
    padding: 0;

    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;

    color: #0a2e73;
}

.trust-registration-details strong{
    color: #ff6600;
}



/* HERO */
.hero {
    min-height: 90vh;
    background:
    linear-gradient(rgba(255,82,2,0.75), rgba(63,165,5,0.75)),
    url('Trainning\ Hall.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 65vh;
    padding: 100px 20px;
}

.hero-content {
    max-width: 850px;
    color: white;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
}

.primary-btn {
    background: orangered;
    color: white;
}

.secondary-btn {
    background: green;
    color: white;
}

/* COMMON */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #0a2e73;
}

.blue-title {
    color: #0a2e73;
}

.center-btn {
    text-align: center;
    margin-top: 35px;
}

/* ABOUT */
.about-preview {
    padding: 80px 20px;
    background: white;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-image img {
    width: 500px;
    max-width: 100%;
    border-radius: 15px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: rgb(24, 102, 4);
}

.about-text p {
    font-size: 18px;
    margin-bottom: 25px;
    text-align: justify;
    color: #444;
}

/* MISSION */
.mission {
    padding: 80px 20px;
    background: orangered;
}

.mission-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 35px;
    width: 320px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 42px;
    color: orangered;
    margin-bottom: 20px;
}

.card h3 {
    color: green;
    margin-bottom: 15px;
}

/* FOCUS */
.focus-area {
    padding: 80px 20px;
    background: white;
}

.focus-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.focus-card {
    width: 320px;
    background: #0a2e73;
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.focus-card:hover {
    transform: scale(1.04);
}

/* PROGRAMS */
.programs {
    padding: 80px 20px;
    background: green;
}

.program-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.program-card {
    background: white;
    width: 320px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card h3 {
    color: orangered;
}

/* TESTIMONIALS */
.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 80px 20px;
    background: white;
}

.testimonial {
    width: 400px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    font-style: italic;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-top: 5px solid #0a2e73;
    color: #444;
}

/* WHAT WE OFFER */
.what-we-offer {
    padding: 80px 20px;
    background: white;
}

.offer-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.offer-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #ff7a00;
    transition: 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
}

.offer-card i {
    font-size: 45px;
    color: #138808;
    margin-bottom: 20px;
}

.offer-card h3 {
    color: #0a2e73;
    font-size: 24px;
    margin-bottom: 15px;
}

.offer-card p {
    color: #555;
}

/* WHY ZESS */
.why-zess {
    padding: 80px 20px;
    background: orangered;
}

.why-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.why-card {
    background: white;
    padding: 35px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.why-card i {
    font-size: 42px;
    color: #138808;
    margin-bottom: 18px;
}

.why-card h3 {
    color: #0a2e73;
}

.why-zess h2 {
    color: white !important;
}

.programs {
    text-align: center;
    padding: 80px 20px;
}

.learning-title {
    color: white !important;
    font-size: 38px;
    font-weight: 700;
    text-align: center !important;
    display: block;
    width: 100%;
    margin: 0 auto 50px auto;
}

.program-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.program-card {
    width: 320px;
}

.learning-hub .btn,
.learning-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff4d0c, #ff6309);
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: 0.3s ease;
}

.learning-hub .btn:hover,
.learning-btn:hover {
    transform: translateY(-3px);
}
.learning-title {
    color: white !important;
}

/* EVENTS */
.events-preview {
    padding: 80px 20px;
    background: #f9f9f9;
}

.events-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.event-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.event-card h3 {
    padding: 20px;
    color: #0a2e73;
}

/* CLUBS */
.clubs-preview {
    padding: 80px 20px;
    background: white;
}

.clubs-preview-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mini-club-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-left: 5px solid #138808;
    transition: 0.3s ease;
}

.mini-club-card:hover {
    transform: translateY(-10px);
}

.mini-club-card i {
    font-size: 45px;
    color: #ff7a00;
    margin-bottom: 20px;
}

.mini-club-card h3 {
    color: #0a2e73;
    margin-bottom: 15px;
}

.mini-club-card p {
    color: #555;
}



/* HOW TO START */
.how-start {
    padding: 80px 20px;
    background: white;
}

.steps-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.step-card {
    background: #f8f9ff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: auto auto 20px;
    background: linear-gradient(135deg, #ff7a00, #138808);
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    line-height: 60px;
}

.step-card h3 {
    color: #0a2e73;
    margin-bottom: 15px;
}

/* CTA */
.volunteer-cta,
.final-cta {
    padding: 90px 20px;
    text-align: center;
    color: white;
}

.volunteer-cta {
    background: linear-gradient(135deg, #138808, #0a2e73);
}

.final-cta {
    background: linear-gradient(135deg, #ff7a00, #138808);
}

.cta-content {
    max-width: 900px;
    margin: auto;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* FAQ SECTION FIX */
.faq-section {
    padding: 80px 20px;
    background: #f8f9ff;
}

.faq-section h2 {
    text-align: center;
    font-size: 38px;
    color: #0a2e73;
    margin-bottom: 40px;
}

.faq-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.faq-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #138808;
    transition: 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-8px);
}

.faq-card h3 {
    color: #0a2e73;
    font-size: 22px;
    margin-bottom: 15px;
}

.faq-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #ff7300, #138808);
    color: white;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.social-icons a {
    color: white;
    font-size: 20px;
    margin-right: 15px;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    color: #ddd;
}

.final-cta {
    background: linear-gradient(90deg, #ff4400, #008f05);
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
}

.final-cta h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.final-cta p {
    color: white;
    font-size: 18px;
    margin-bottom: 30px;
}

.final-cta .btn {
    display: inline-block;
    background: #ff450c;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 0;
    position: static;
    width: 100%;
}


/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #00bd00;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    line-height: 60px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 9999;
}

/* LOADER */
#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #eee;
    border-top: 6px solid #ff5e62;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px){

    .navbar{
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .logo-section{
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo-left img{
        width: 140px;
        height: auto;
    }

    .logo-text h1{
        font-size: 18px;
    }

    .nav-right{
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-left: 0;
    }

    .nav-links{
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 0 !important;
    }

    .nav-links li{
        margin: 0;
    }

    .nav-links a{
        font-size: 14px;
        padding: 6px 8px;
    }

    .enquire-btn{
        margin-top: 0 !important;
    }
}

@media(max-width:768px){

.hero-buttons{
display:flex;
flex-direction:column;
gap:15px;
}

.hero-buttons a{
width:100%;
text-align:center;
}

}

@media(max-width:768px){

.logo-text{
display:none;
}

.logo-left img{
width:120px;
}

}

/* ACTIVE NAVIGATION */

.nav-links a.active{

    color:#ff6600 !important;

    font-weight:700;

    position:relative;

}

.nav-links a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:3px;

    background:#138808;

    border-radius:20px;

}


@media(max-width:768px){

.top-trust-info{
    position:static;
    flex-direction:column;
    margin-top:10px;
}

.niti-logo{
    height:110px;
    width:auto;
}


.trust-badge{
    font-size:11px;
    padding:6px 12px;
    text-align:center;
}
}


/* ===== DESKTOP HEADER FIX ===== */

@media (min-width: 769px){

    .navbar{
        display: grid;
        grid-template-columns: 400px 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        padding: 5px 30px;
    }

    /* ZESS logo + Education/Sports/Social Welfare */
    .logo-section{
        grid-column: 1;
        grid-row: 1 / 3;
    }

    /* Registered Trust + IDs */
    .top-trust-info{
        grid-column: 2;
        grid-row: 1;

        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        margin: 0 0 10px 0;
    }

    .trust-registration-details{
        text-align: center;
        margin-top: 5px;
    }

    .trust-registration-details p{
        margin: 2px 0;
    }

    /* Navigation */
    .nav-right{
        grid-column: 2;
        grid-row: 2;

        position: static;

        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .nav-links{
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;

        gap: 30px;
        flex-wrap: nowrap;
    }

    .nav-links a{
        white-space: nowrap;
    }

    .enquire-btn{
        flex-shrink: 0;
    }
}

@media (min-width: 769px){

    .navbar{
        display: grid;
        grid-template-columns: 400px 1fr;

        /* IMPORTANT */
        grid-template-rows: 90px 50px;

        align-items: center;
        padding: 5px 20px;
        row-gap: 0;
    }

    .logo-section{
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .top-trust-info{
        grid-column: 2;
        grid-row: 1;

        margin: 0;
        padding: 0;

        align-self: end;
    }

    .nav-right{
        grid-column: 2;
        grid-row: 2;

        position: static;
        margin: 0;
        padding: 0;

        align-self: end;
    }

}

@media (min-width: 769px){

    .top-trust-info{
        position: relative;
        left: -85px;
    }

}

@media (min-width: 769px){

    .trust-registration-details{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        width: 100%;
        margin-top: 5px;
    }

    .trust-registration-details p{
        margin: 0;
        white-space: nowrap;
        font-size: 12px;
    }

}
