* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'myFont';
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

@font-face {
    font-family: 'myFont';
    src: url(./assets/fonts/Acumin-Variable-Concept.ttf);
}

@font-face {
    font-family: 'myFont2';
    src: url(./assets/fonts/adineue-PRO-Bold.ttf);
}

h1 {
    font-family: 'myFont2';
}

h2 {
    font-family: 'myFont2';
}

h3 {
    font-family: 'myFont2';
}

body {
    background: #f7f7f7;
    color: #111;
}

/* NAVBAR */
nav {
    height: 16vh;
    padding: 20px 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: #f29fd6; */
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav a {
    text-decoration: none;
}

nav a,
.logo {
    width: 140px;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    font-size: 18px;
    color: #111;
    transition: .3s;
}

nav ul li a:hover {
    color: #F5677F;
}

nav ul li a.active {
    color: #F5677F;
}

nav ul li a.active1 {
    background-color: #F5677F;
}

.menu-btn {
    display: none;
    font-size: 18px;
    cursor: pointer;
}

.primary-btn {
    background: #003049;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
}

.primary-btn:hover {
    background-color: #F5677F;
    color: white;
}

.secondary-btn {
    background: #111;
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
}

/* ------------------------------------------------------------------------------------------- */
.hero-section {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

/* Background Images Layered for Fade */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 15s infinite;
}

/* Different delays for each image */
.hero-bg:nth-child(1) {
    background-image: url('./assets/images/sf1.jpeg');
    animation-delay: 0s;
}

.hero-bg:nth-child(2) {
    background-image: url('./assets/images/sf2.jpeg');
    animation-delay: 5s;
}

.hero-bg:nth-child(3) {
    background-image: url('./assets/images/sf3.jpeg');
    animation-delay: 10s;
}

/* Fade In → Hold → Fade Out */
@keyframes fadeSlide {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    /* Fade in */
    30% {
        opacity: 1;
    }

    /* Hold */
    40% {
        opacity: 0;
    }

    /* Fade out */
    100% {
        opacity: 0;
    }
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    color: #fff;
    z-index: 2;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    font-family: 'myFont2';
}

.hero-content p {
    margin: 20px 0;
    font-size: 18px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Button */
.hero-btn {
    display: inline-block;
    padding: 12px 26px;
    background: #003049;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-btn:hover {
    background-color: #F5677F;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

/* HERO */
.hero {
    padding: 80px 7%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.hero-text {
    width: 50%;
}

.hero-text h1 {
    font-size: 40px;
    font-family: 'myFont2';
    line-height: 1.2;
    color: #003049;
}

.hero-text p {
    margin: 20px 0;
    color: #444;
}

.hero-img {
    width: 50%;
    position: relative;
}

.hero-img img {
    width: 100%;
    border-radius: 20px;
}

/* ---------------------------------------------------------------------------------------------------- */

/* WHY SECTION */
.why {
    padding: 70px 7%;
}

.why h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 40px;
    color: #003049;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.why-card h3 {
    margin-bottom: 12px;
    color: #003049;
}

/* ------------------------------------------------------------------------------------------- */
/* STATS */
.stats {
    padding: 60px 7%;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stats div h1 {
    font-size: 40px;
    color: #e43b5f;
}

/* BLOG */
.blog {
    padding: 70px 7%;
}

.blog h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.blog-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.blog-card h3 {
    padding: 15px;
    font-size: 20px;
}

/* ------------------------------------------------------------------------------------------------- */

/* TESTIMONIALS */
.testimonials {
    padding: 70px 7%;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.test-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

/* -------------------------------------------------------------------------------------------------- */
/* FOOTER */
footer {
    background: #003049;
    color: white;
    padding: 50px 7% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    width: 250px;
    /* background-color: white; */
    /* border-radius: 10px; */
    /* margin-bottom: 10px; */
}

footer div h4 {
    margin-bottom: 10px;
    text-decoration: underline;
    text-decoration-color: #F5677F;
    color: white;
    font-family: 'myFont';
    font-size: 18px;
    margin-bottom: 40px;
}

footer a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 18px;
    font-size: 16px;
    transition: all 0.5s;

}

footer a:hover {
    color: #F5677F;
    ;
}

hr {
    color: white;
}

.copy {
    text-align: center;
    color: white;
    margin-top: 20px;
}

.u1 {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width:992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text,
    .hero-img {
        width: 100%;
    }
}

@media (max-width:768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 100px;
        right: 0;
        width: 250px;
        padding: 20px;
        border-bottom-left-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .stats {
        display: block;
    }
}

/* ----------------------------------------------------------------------------------------------------------- */
/* ----------------------------------- */
/* =========================
MODERN ABOUT SECTION
========================= */

.about-modern {
    padding: 80px 5%;
    background: #fff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* IMAGE */
.about-img {
    width: 50%;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* TEXT */
.about-content {
    width: 50%;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #003049;
}

.about-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

/* HIGHLIGHTS */
.about-highlights {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.highlight-box {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    transition: 0.3s;
}

.highlight-box h3 {
    color: #003049;
    /* lipstick color */
    font-size: 20px;
}

.highlight-box span {
    font-size: 14px;
    color: #444;
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* =========================
RESPONSIVE
========================= */

@media(max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .about-img,
    .about-content {
        width: 100%;
    }

    .about-content {
        text-align: center;
    }

    .about-highlights {
        flex-direction: column;
    }
}

/* ------------------------------------------------------------------------------------------------------------ */
/* =========================
CLEAN COMMUNITY SECTION
========================= */

.community-clean {
    padding: 100px 5%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.community-box {
    max-width: 700px;
}

/* HEADING */
.community-box h2 {
    font-size: 40px;
    font-family: 'myFont2';
    margin-bottom: 20px;
    position: relative;
    color: #003049;
}

/* UNDERLINE EFFECT */
.community-box h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #003049;
    /* lipstick color */
    display: block;
    margin: 10px auto 0;
}

/* TEXT */
.main-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.7;
}

.sub-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:768px) {

    .community-clean {
        padding: 70px 5%;
    }

    .community-box h2 {
        font-size: 28px;
    }

    .main-text {
        font-size: 16px;
    }

    .sub-text {
        font-size: 14px;
    }

}

/* -------------------------------------------------------------------------------------------------------------- */
/* =========================
MEMBERS SECTION
========================= */

.members-section {
    padding: 100px 5%;
    background: #f7f7f7;
    text-align: center;
}

.members-container {
    max-width: 1100px;
    margin: auto;
}

/* TITLE */
.members-container h2 {
    font-size: 30px;
    margin-bottom: 50px;
    position: relative;
    color: #003049;
}

.members-container h2::after {
    content: "";
    width: 70px;
    height: 3px;
    background: #003049;
    display: block;
    margin: 10px auto 0;
}

/* GRID */
.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.member-card {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

/* IMAGE */
.member-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

/* TEXT */
.member-card h3 {
    margin-bottom: 5px;
    font-size: 20px;
    color: #003049;
}

.member-card p {
    font-size: 18px;
    color: #666;
}

/* HOVER EFFECT */
.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* =========================
RESPONSIVE
========================= */

@media(max-width: 992px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .members-grid {
        grid-template-columns: 1fr;
    }

    .members-container h2 {
        font-size: 28px;
    }
}

/* ------------------------------------------------------------------------------------------------------ */
/* evetns */


/* EVENTS SECTION */

.events-section {
    padding: 80px 8vw 40px;
    text-align: center;
    color: #003049;
}

.events-section h1 {
    font-size: 40px;
    font-family: 'myFont2';
    margin-bottom: 10px;
}

.events-section p {
    color: #666;
    margin-bottom: 40px;
}

/* GRID */

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* CARD */

.event-card {
    background: #F7F7F7;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* IMAGE */

.event-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* CONTENT */

.event-content {
    padding: 18px;
    text-align: justify;
}

.event-content small {
    color: #555;
    line-height: 1.6;
}

/* MOBILE */

@media(max-width:768px) {

    .events-section h1 {
        font-size: 30px;
    }

    .event-card img {
        height: 200px;
    }

}

/* ----------------------------------------------------------------------------  New and Events --------------- */

/* Event Gallery */

.event-gallery {
    padding: 8vw;
    text-align: center;
}

.event-gallery h1 {
    font-size: 38px;
    margin-bottom: 10px;
    color: #003049;
}

.event-gallery p {
    margin-bottom: 40px;
    color: #555;
}

/* Grid Layout */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Image Style */

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-grid img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s;
}

/* Hover Effect */

.gallery-grid a:hover img {
    transform: scale(1.08);
}

/* Mobile */

@media(max-width:768px) {

    .event-gallery h1 {
        font-size: 28px;
    }

    .gallery-grid img {
        height: 200px;
    }

}

/* ------------------------------------------------------------------------------- */
/* Upcoming Event Section */

.upcoming-events {
    padding: 8vw;
    text-align: center;
}

.upcoming-events h1 {
    font-size: 38px;
    color: #003049;
    margin-bottom: 30px;
}

/* Image */

.event-image {
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.event-image img {
    width: 100%;
    display: block;
    transition: 0.4s;
}

.event-image:hover img {
    transform: scale(1.05);
}

/* Text */

.event-text {
    margin-top: 30px;
    font-size: 16px;
    color: #444;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Mobile */

@media(max-width:768px) {

    .upcoming-events h1 {
        font-size: 28px;
    }

    .event-text {
        font-size: 14px;
    }

}

/* ----------------------------------------------------------------------------------------------------------------- */


/* =========================
JOIN INFO SECTION (TEXT)
========================= */
.join-info-section {
    padding: 80px 5%;
    text-align: center;
    background: #fff;
}

.join-info-box {
    max-width: 700px;
    margin: auto;
}

.join-info-box h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.info-tagline {
    font-size: 40px;
    color: #F5677F;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* ----------------------------------------------------------------------------------------------------------- */
/* =========================
JOIN FORM SECTION
========================= */

.join-form-section {
    padding: 90px 8%;
    /* left-right space increased */
    background: linear-gradient(135deg, #f7f7f7, #f2f2f2);
    display: flex;
    justify-content: center;
}

.join-form-box {
    background: #fff;
    padding: 45px;
    width: 100%;
    max-width: 700px;
    /* slightly wider */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.join-form-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 30px;
    color: #003049;
}

/* FORM FIELDS */
.join-form input,
.join-form select,
.join-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

/* TEXTAREA SPECIFIC */
.join-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* FOCUS EFFECT */
.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
    border-color: #F5677F;
    box-shadow: 0 0 0 2px rgba(245, 103, 127, 0.15);
}

/* BUTTON */
.join-form button {
    width: 100%;
    padding: 15px;
    background: #003049;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.join-form button:hover {
    background: #F5677F;
}

/* RESPONSIVE DESIGN */
@media(max-width:768px) {

    .join-form-section {
        padding: 60px 25px;
        /* mobile padding */
    }

    .join-form-box {
        padding: 30px;
    }

    .join-form-box h2 {
        font-size: 26px;
    }

}

/* --------------------------------------------------------------------------------------------------------------------- */


/* -------------------------------------- */
/*        PARTNERS SECTION (FINAL)        */
/* -------------------------------------- */

.partners-section {
    padding: 60px 0;
    text-align: center;
    background: #ffffff;
}

.partners-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #003049;
    margin-bottom: 35px;
}

/* Slider Container */
.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

/* Moving Track */
.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Distance between logos */
    animation: slideLeft 25s linear infinite;
    width: max-content;
}

/* Logo Styling */
.partners-track img {
    height: 80px;
    /* All logos same height */
    width: auto;
    /* No stretching */
    object-fit: contain;
    /* Crop nahi hoga */
    filter: grayscale(60%);
    transition: 5s ease;
    padding: 5px 20px;
    /* Balanced spacing */
}

.partners-track img:hover {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* Animation */
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* ----------------------------- */
/*          RESPONSIVE           */
/* ----------------------------- */

@media (max-width: 768px) {
    .partners-track img {
        height: 65px;
        padding: 5px 15px;
    }

    .partners-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .partners-track img {
        height: 55px;
        padding: 5px 10px;
    }

    .partners-section h2 {
        font-size: 24px;
    }
}

/* -------------------------------------- */
/* WHATSAPP FIXED BUTTON */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.whatsapp-btn:hover {
    transform: scale(1.12);
    background: #1ebe5d;
}

/* Responsive */
@media(max-width: 480px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 15px;
        right: 15px;
    }
}