/* FONT + RESET */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* COLORS from the logo */
:root {
    --green: #2C7A33;
    --pink: #C6007E;
    --orange: #F39A1E;
    --blue: #003F63;
    --grey: #999999;
}

/* CONTAINER */
.container {
    width: 90%;
    margin: auto;
    max-width: 1300px;
}

/* HEADER */
.header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    width: 200px;
}
.nav a {
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
    color: var(--blue);
}
.nav a:hover {
    color: var(--pink);
}

/* HERO */
/* .hero {
    background: linear-gradient(135deg, var(--blue), var(--pink));
    color: #fff;
    padding: 120px 0;
    text-align: center;
} */
.hero-title {
    font-size: 45px;
    font-weight: 700;
}
.hero-sub {
    font-size: 22px;
    margin-top: 10px;
    font-weight: 400;
}
.btn-register {
    background: var(--orange);
    padding: 14px 32px;
    display: inline-block;
    color: #fff;
    border-radius: 50px;
    margin-top: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}
.btn-register:hover {
    background: var(--green);
}

/* ABOUT */
.about {
    padding: 80px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.about-img {
    width: 100%;
}

/* TRACKS */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 25px;
}
.center {
    text-align: center;
}

.tracks {
    background: #f7f7f7;
    padding: 80px 0;
}
.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.track-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-top: 5px solid var(--pink);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}
.track-card:hover {
    transform: translateY(-7px);
    border-color: var(--orange);
}

/* SPEAKERS */
.speakers {
    padding: 80px 0;
}
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 30px;
}
.speaker-card {
    text-align: center;
}
.speaker-card .photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--grey);
    margin: auto;
    margin-bottom: 15px;
}

/* FOOTER */
.footer {
    background: var(--blue);
    color: #fff;
    padding: 25px;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* 📱 Countdown */
.countdown-section {
    background: #BFF4C9;
    padding: 70px 0;
}

.countdown-wrapper {
    width: 100%;
    max-width: 650px;
    margin: auto;
    position: relative;
}

.countdown-title {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 6px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #d7e4d8;
    color: #000;
}

.countdown-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: #e6f9e9;
    padding: 30px 20px;
    border-radius: 12px;
    border: 2px solid #b6dcbc;
}

.time {
    text-align: center;
    min-width: 80px;
}

.time h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #003F63;
}

.time p {
    margin-top: 5px;
    font-size: 15px;
    color: #C6007E;
}

/* 📱 MOBILE RESPONSIVE */
@media(max-width: 768px){

    .countdown-box {
        flex-wrap: wrap;
        gap: 25px;
        padding: 28px 15px;
    }

    .time h2 {
        font-size: 34px;
    }

    .time p {
        font-size: 14px;
    }

    .countdown-title {
        font-size: 14px;
        padding: 5px 14px;
        top: -14px;
    }
}

@media(max-width: 480px){

    .countdown-box {
        flex-direction: column;
        gap: 20px;
        padding: 25px 10px;
    }

    .time {
        min-width: auto;
    }

    .time h2 {
        font-size: 30px;
    }

    .countdown-title {
        font-size: 13px;
    }
}


/* IMAGE */
.pro-frame {
    width: 150px;
    max-width: 180px;
    height: auto;
    padding: 2.5px;
    border-radius: 8px;
    

    /* AOTS THEME MATCHING GRADIENT */
    background: linear-gradient(
        135deg,
        #E4017D,   /* Magenta */
        #F7941D,   /* Orange */
        #4C8C2B,   /* Green */
        #11C8E6,   /* Cyan */
        #0F4C81,   /* Blue */
        #F7C400    /* Yellow */
    );

    background-size: 400% 400%;
    animation: gradientMove 7s ease infinite;
    box-shadow: 0 6px 25px rgba(0,0,0,0.18);
}

.pro-frame img {
    width: 145px;
    max-width: 175px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
}

/* Smooth animated gradient motion */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* IMAGE END */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* thoda slow feel */
}

/* TITLE */
.main-heading {
    text-align: center;
    margin-bottom: 10px;
}

.main-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: #000; /* Logo blue */
    margin: 0;
    padding-top: 30PX;
}

/* TITLE END */






    /* ===================== */
    /* COMMITTEE SECTION */
    /* ===================== */

    .container1 {
        max-width: 1300px;
        margin: auto;
        padding: -17px 20px;
    }

    .committee-section {
        padding: 70px 0;
        background: #f4f6fb;
    }

    /* ===================== */
    /* TITLE */
    /* ===================== */

    .section-title1 {
        text-align: center;
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 0;
        color: #0d3b5a;
    }

    /* ===================== */
    /* GRID FIX (MAIN PART) */
    /* ===================== */

  .committee-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 🔥 THIS FIXES LAST ROW */
    gap: 20px;
    margin-bottom: 20px;
}

.committee-row4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin-bottom: 23px;
}
    /* ===================== */
    /* CARD */
    /* ===================== */

    .committee-card {
        background: #fff;
        border-radius: 14px;
        padding: 25px 15px;

        /* CENTER EVERYTHING */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        text-align: center;
width: 280px;
        /* SIZE CONTROL (important for centering last row) */
        max-width: 320px;
        margin: auto;

        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    /* HOVER EFFECT */
    .committee-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    }

    /* ===================== */
    /* IMAGE */
    /* ===================== */

    .committee-card img {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        object-fit: cover;

        display: block;
        margin: 0 auto 15px auto;
    }

    /* FLAG IMAGE (optional) */
    .committee-card img.flag {
        width: 40px !important;
        height: auto !important;
        border-radius: 0 !important;
    }

    /* ===================== */
    /* NAME */
    /* ===================== */

    .committee-card h4 {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
    }

    /* ===================== */
    /* TABLET */
    /* ===================== */

    @media (max-width: 1024px) {

        .committee-row,
        .committee-row4 {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    /* ===================== */
    /* MOBILE */
    /* ===================== */

    @media (max-width: 600px) {

        .committee-row,
        .committee-row4 {
            grid-template-columns: 1fr;
        }

        .committee-card {
            padding: 20px 10px;
        }

        .committee-card img {
            width: 85px;
            height: 85px;
        }

        .committee-card h4 {
            font-size: 14px;
        }
    }


        /* LAST ROW FIXED CENTER */
.committee-row-last {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 30px; /* equal spacing */
    margin-top: 10px;
}

/* REMOVE OLD AUTO MARGIN ISSUE */
.committee-row-last .committee-card {
    margin: 0;
}

@media (max-width: 600px) {
    .committee-row-last {
        flex-direction: column;
        gap: 20px;
    }
}

    /* committee end */


