/* --- BODY BASE --- */
html {
    scroll-behavior: smooth; 
}
:target {
    padding-top: 100px; 
    margin-top: -100px;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
    background: #e8eef5;
    color: white;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    text-decoration: none;
    color: inherit;
}

/* --- TOP STRIP ANNOUNCEMENTS --- */
.top-strip {
    background:#317664;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    position: relative;
}
/* Alternating Announcements Animation */
.scroll-text {
    display: inline-block;
    padding-left: 100%;
    font-size: 15px;
    animation: scroll-left 12s linear infinite;
}
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* --- NAVBAR (Desktop/Default) --- */
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 40px; 
    position: relative;
    z-index: 999;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo {
    height: 80px;
    width: auto;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block;
    object-fit: fill;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
}
.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #013838;
    letter-spacing: 1px;
}
/* NAV LINKS */
nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    /* Ensure the mobile menu is not active by default */
    flex-direction: row; 
    position: static;
    background: transparent;
    width: auto;
    padding: 0;
}
nav ul li a {
    text-decoration: none;
    color: #013838;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}
nav ul li a:hover {
    color: #FFD60A;
}

/* hide hamburger on big screens */
.hamburger {
    display: none;
    font-size: 28px; 
    color: #013838;
    cursor: pointer;
}

/* --- HERO SECTION --- */
/* --- HERO SECTION --- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 100dvh; /* allows section to grow slightly if content is taller */
    text-align: center;
    padding: 100px 20px;
    color: #fff;
    box-sizing: border-box;
}

/*.hero {
    position: relative;
    overflow: hidden;
    height: 100vh; 
    text-align: center;
    padding: 100px 20px;
    color: #fff;
}*/
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
    filter: brightness(60%);
}

/* TIMER */
#countdown-container {
    text-align: center;
    padding: 18px;
    margin-bottom: 22px; 
}
#countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
}
#countdown-timer > div {
    background-color: rgba(255 , 255 , 255, 0.3); 
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    min-width: 80px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#countdown-timer span {
    display: block;
    font-size: 3em; 
    font-weight: bold;
    line-height: 1;
}
.label {
    font-size: 0.9em;
    text-transform: uppercase;
    margin-top: 5px;
}
#timer-message {
    font-size: 1.5em;
    color: #e74c3c;
    margin-top: 20px;
    font-weight: bold;
}
#timer-title {
    font-size: 2em;
    color: #333; 
    margin-bottom: 8px;
}

/* HERO TEXT & BUTTONS */
.colab {
    font-size: 22px;
    line-height: 1.0;
    margin-bottom: 12px;
    color: #ebeb04;
} 
.bce {
    font-size: 29px;
    line-height: 1.3;
    margin-bottom: 13px;
    color: #f6b352;
}
.subtitle {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 25px;
    color:white;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}
.date {
    font-size: 23px;
    font-weight: 400;
    color:white;
    margin-bottom: 35px;
}
.btn, .btn1 {
    display: inline-block;
    padding: 10px 25px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    margin-left: 25px; 
}
.btn {
    background: #e9c40d;
    color: white;
}
.btn:hover {
    background: palevioletred;
    color: white;
}
.btn1 {
    background: #7d75b0;
    color: white;
}
.btn1:hover {
    background: palevioletred;
    color: white;
}


/* --- Base Footer Styles --- */
footer {
    background-color:#192148;
    color: #f0f0f0;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 0.9em;
    line-height: 1.6;
}

.footer-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 20px auto 0;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-section > div {
    flex: 1 1 300px;
    text-align: left;
    padding: 15px;
}

.footer-section h4.sub-title {
    color: #f6b352;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-section p {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.footer-section i {
    color: #f6b352;
    margin-right: 10px;
    font-size: 1.1em;
}

.socal-icons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.socal-icons a {
    color: #f6b352;;
    color: #f0f0f0;
    font-size: 1.5em;
      transition:transform 0.5s;
    
}

.socal-icons a:hover {
    transform: translateY(-5px);
}

footer > p {
    margin: 5px 0;
    color: #cccccc;
}




/* --- Responsiveness for  footer Mobile Devices --- */
@media (max-width: 768px) {
    footer {
        padding: 30px 15px;
    }

    .footer-section {
        flex-direction: column;
        align-items: center;
    }

    .footer-section > div {
        flex-basis: 100%;
        text-align: center;
        padding: 15px 0;
    }
    
    .footer-section p {
        justify-content: center;
    }

    .socal-icons {
        justify-content: center;
    }
}





/* ==================================== */
/* RESPONSIVE DESIGN for whole page          */
/* ==================================== */

/* Tablet and Smaller Desktop (up to 992px) */
@media (max-width: 992px) {
    /* Reduce desktop header padding slightly before mobile change */
    header {
        padding: 15px 25px;
    }
    nav ul {
        gap: 20px;
    }
    nav ul li a {
        font-size: 16px;
    }
}

/* Tablet and Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* --- NAVBAR/TOGGLE --- */
    header {
        /* Set to row layout for proper mobile toggle setup */
        display: flex;
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }
    .logo {
        height: 60px;
    }
    .logo-text {
        font-size: 20px;
    }
    
    /* Show Hamburger Menu */
    .hamburger {
        display: block;
    }

    /* Navigation List - Hidden by default, takes up full width when shown */
    nav ul {
        position: absolute;
        top: 85px; /* Drops below header */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
        display: none; /* Hide by default */
        z-index: 99;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* Class added by JavaScript to show the menu */
    nav ul.show {
        display: flex;
    }
    
    /* --- HERO SECTION --- */
    .hero {
        padding: 80px 20px;
        height: auto; 
    }
    .bce {
        font-size: 26px;
    }
    .subtitle {
        font-size: 24px;
        white-space: normal;
    }
    .date {
        font-size: 20px;
    }
    
    /* --- COUNTDOWN TIMER --- */
    #countdown-timer {
        flex-wrap: wrap; 
        gap: 15px;
    }
    #countdown-timer > div {
        padding: 10px 15px;
        min-width: 65px; 
    }
    #countdown-timer span {
        font-size: 2.5em; 
    }
}


/* Small Mobile Devices (max-width: 500px) */
@media (max-width: 500px) {
    /* --- TOP STRIP --- */
    .top-strip {
        padding: 6px 0;
    }
    .scroll-text {
        font-size: 12px;
        animation: scroll-left 8s linear infinite; 
    }
    /* --- LOGO TEXT --- */
    .logo-text {
        font-size: 16px;
    }
    .logo-container {
        gap: 10px;
    }

    /* --- HERO SECTION --- */
    .hero {
        padding: 60px 15px;
    }
    .colab {
        font-size: 18px;
    } 
    .bce {
        font-size: 22px;
    }
    .subtitle {
        font-size: 20px;
    }
    .date {
        margin-bottom: 25px;
    }

    /* Buttons Stack */
    .btn, .btn1 {
        display: block; 
        width: 100%; /* Full width */
        margin-left: 0; /* Remove horizontal margin */
        margin-top: 15px; /* Add space between stacked buttons */
        padding: 12px 0;
    }

    /* --- COUNTDOWN TIMER --- */
    #countdown-timer {
        gap: 8px;
    }
    #countdown-timer > div {
        min-width: 60px;
        padding: 8px 10px;
    }
    #countdown-timer span {
        font-size: 2em; 
    }
    .label {
        font-size: 0.65em; 
    }
}





/* KEYNOTE SPEAKER SECTION STYLES */

.keynote-container {
    padding: 60px 20px;
    /* Use a similar background gradient to the inspiration image */
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
    text-align: center;
}

.keynote-container h1 {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #f6b352; /* Use your accent color */
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Container for all speakers - uses Flexbox */
.speakers-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    max-width: 1200px;
    margin: 0 auto; 
    gap: 20px 10px; /* Space between rows and columns */
}

/* Individual Speaker Card Styling */
.speaker-card {
    /* Calculates the width for roughly 5 cards per row on large screens */
    flex-basis: 18%; 
    min-width: 150px; /* Minimum width to prevent crushing */
    padding: 10px 5px;
    box-sizing: border-box; 
    text-align: center;
}

/* Image Wrapper for the Circular Shape and Border */
.image-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden; 
    margin: 0 auto 10px;
    border: 3px solid white; /* White border */
    /* Add a subtle shadow or glow effect */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4); 
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* Text Details Styling */
.details {
    line-height: 1.3;
}

.name {
    font-weight: 700;
    margin: 5px 0 2px 0;
    font-size: 1.1em;
    color: #fff;
    text-transform: uppercase;
}

.role {
    margin: 0;
    font-size: 0.9em;
    color: #ccc;
}

.year {
    margin: 0;
    font-size: 0.8em;
    color: #aaa;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .speaker-card {
        /* 4 per row */
        flex-basis: 23%; 
    }
}

@media (max-width: 768px) {
    .speaker-card {
        /* 3 per row */
        flex-basis: 30%; 
    }
    .image-wrapper {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .speaker-card {
        /* 2 per row */
        flex-basis: 45%; 
    }
}




/* KEYNOTE SPEAKER SECTION STYLES */

.keynote-container {
    padding: 60px 20px;
    /* Use a similar background gradient to the inspiration image */
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
    text-align: center;
}

.keynote-container h1 {
    font-size: 2.2em;
    margin-bottom: 40px;
    color: #f6b352; /* Use your accent color */
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Container for all speakers - uses Flexbox */
.speakers-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    max-width: 1200px;
    margin: 0 auto; 
    gap: 20px 10px; /* Space between rows and columns */
}

/* Individual Speaker Card Styling */
.speaker-card {
    /* Calculates the width for roughly 5 cards per row on large screens */
    flex-basis: 18%; 
    min-width: 150px; /* Minimum width to prevent crushing */
    padding: 10px 5px;
    box-sizing: border-box; 
    text-align: center;
}

/* Image Wrapper for the Circular Shape and Border */
.image-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden; 
    margin: 0 auto 10px;
    border: 3px solid white; /* White border */
    /* Add a subtle shadow or glow effect */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4); 
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* Text Details Styling */
.details {
    line-height: 1.3;
}

.name {
    font-weight: 700;
    margin: 5px 0 2px 0;
    font-size: 1.1em;
    color: #fff;
    text-transform: uppercase;
}

.role {
    margin: 0;
    font-size: 0.9em;
    color: #ccc;
}

.year {
    margin: 0;
    font-size: 0.8em;
    color: #aaa;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .speaker-card {
        /* 4 per row */
        flex-basis: 23%; 
    }
}

@media (max-width: 768px) {
    .speaker-card {
        /* 3 per row */
        flex-basis: 30%; 
    }
    .image-wrapper {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .speaker-card {
        /* 2 per row */
        flex-basis: 45%; 
    }
}



   


   




   


