/* Reset & basic body style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}


/* Navbar container */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem;
    display: block;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background: #a8cfe5;
    /* subtle highlight */
    color: #000;
}


/* Mobile Menu Toggle */

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


/* Main content beneath navbar */

main {
    margin-top: 60px;
    /* space for fixed navbar */
    padding: 1rem;
}


/* Responsive Styles */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 200px;
        border-left: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        display: none;
    }
    .nav-links li {
        margin: 0;
    }
    .nav-links.open {
        display: flex;
    }
}


/*-----hero-section-----*/

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0rem;
    background: #fff;
}

.logo-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 5rem;
    justify-content: center;
    width: 100%;
}

.logo-row img {
    width: 80px;
    /* fixed size for uniformity */
    height: auto;
    object-fit: contain;
}

.hero-text {
    text-align: center;
    margin-top: 1.5rem;
}

.hero-text h1 {
    font-size: 1.8rem;
    color: red;
    margin-bottom: 0.2rem;
}

.hero-text p {
    font-size: 1rem;
    color: blue;
    margin-bottom: 0rem;
}


/* Larger screens: optionally increase image/text size */

@media (min-width: 768px) {
    .logo-row img {
        width: 150px;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .logo-row {
        gap: 0.5rem;
    }
    .logo-row img {
        width: 80px;
    }
    .hero-text h1 {
        font-size: 1.2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
}


/*.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1 1 auto;
    text-align: center;
}

.logos-left,
.logos-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logos-left img,
.logos-right img {
    max-width: 100px;
    height: auto;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
    }
    .logos {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        order: 1;
    }
    .logos-left,
    .logos-right {
    }
    .logos img {
        width: auto;
        max-width: 60px;
        height: auto;
    }
    .hero-text {
        width: 100%;
        order: 2;
        margin-top: 1rem;
        text-align: center;
    }
}*/


/*.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem;
    padding-top: 0;
    background: #fff;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.logos,
.logos-right {
    flex: 1 1 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logos img,
.logos-right img {
    max-width: 100px;
    height: auto;
    display: block;
}

.hero-text {
    flex: 2 1 200px;
}

.hero-text h1 {
    font-size: 1.5rem;
    color: red;
    margin-bottom: 0.3rem;
}

.hero-text h2 {
    font-size: 1.3rem;
    color: blue;
    margin-bottom: 0;
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: blue;
}*/


/*.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
    }
    .logos,
    .logos-right {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        order: 1;
    }
    .logos img,
    .logos-right img {
        width: 20%;
        max-width: 60px;
        height: auto;
    }
    .hero-text {
        width: 100%;
        order: 2;
        margin-top: 1rem;
    }
}*/


/* Hamburger menu icon in hero (mobile only) */

.hero-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
    }
    .hero-menu-toggle {
        display: block;
    }
}


/*-----banner-----*/

.banner {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Optional: add padding or background */
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/*-----About-----*/

.about-container {
    border-radius: 8px;
    padding: 2rem;
    max-width: 1000px;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
    /* semi-transparent dark */
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    backdrop-filter: blur(10px) saturate(180%);
    border-radius: 8px;
    padding: 2rem;
    overflow: hidden;
}

.about-container h2 {
    text-align: center;
    padding-bottom: 20px;
}

.about-container h3 {
    text-align: center;
    padding-bottom: 20px;
    font-size: 1.2rem;
}

.about-container p {
    text-align: justify;
    line-height: 1.2;
    margin-bottom: 1rem;
    transition: background 0.3s;
}

.about-container p:hover {
    background: rgba(160, 210, 255, 0.2);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    margin: 1.5rem 0;
}

.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: slide-left 20s linear infinite;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.partners {
    text-align: center;
    margin-top: 2rem;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 2.5s, filter 2.5s;
}

.partner-item img {
    max-width: 120px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s, filter 0.3s;
}

.partner-item:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

@media (max-width: 750px) {
    .about-container {
        padding: 1rem;
    }
    .partner-item img {
        max-width: 80px;
    }
    .about-container h3 {
        font-size: 1rem;
    }
}


/*----highlight-----*/

.highlights {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    padding: 2rem 1.5rem 4rem;
    overflow: hidden;
}

.highlights h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.highlights ul {
    list-style: disc inside;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.highlights ul li {
    margin: 0.75rem 0;
    transition: background 0.3s, padding-left 0.3s;
    border-radius: 6px;
}

.highlights ul li:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
}


/* Marquee sliding text */


/*.marquee {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      overflow: hidden;
       background: transparent;
      padding: 0.5rem 0;
    }

    .marquee__inner {
      display: inline-block;
      white-space: nowrap;
      animation: marqueeAnim 30s linear infinite;
    }

    .marquee__inner span {
      margin: 0 2rem;
      font-weight: bold;
    }

    @keyframes marqueeAnim {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }*/

@media (max-width: 600px) {
    .highlights {
        padding: 1rem 1rem 3rem;
    }
    .highlights ul li {
        font-size: 0.9rem;
    }
}


/*-----indexing-----*/

.logo-marquee {
    overflow: hidden;
    margin: 50px;
    padding: 1rem 0;
    background: transparent;
}

.logo-marquee h2 {
    text-align: center;
    font-size: 36px;
    padding-bottom: 30px;
}

.logo-marquee .track {
    display: flex;
    width: max-content;
    animation: slide 20s linear infinite;
}

.logo-marquee .track img {
    height: 80px;
    margin: 0 1rem;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo-marquee .track img:hover {
    transform: scale(1.1);
}


/* Pause sliding when hovered */

.logo-marquee:hover .track {
    animation-play-state: paused;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* Adjust size for mobile */

@media (max-width: 600px) {
    .logo-marquee .track img {
        height: 60px;
        margin: 0 0.5rem;
    }
}


/*--paper-submission--*/

.submit-section {
    text-align: center;
    justify-content: center;
    padding: 4rem 1rem;
    background: transparent;
    border-radius: 12px;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.submit-section h2 {
    font-size: 2rem;
    padding: 20px;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #000;
}

.btn-submit {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, #6a5acd, #8a2be2);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.5s ease;
}

.btn-submit:hover {
    background: linear-gradient(45deg, #8a2be2, #6a5acd, #2908ff);
    /* reverse gradient hover */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 15px rgba(170, 163, 163, 0.8);
}

.btn-submit:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 10px 15px rgba(170, 163, 163, 0.8);
}


/* Floating ripple effect on click */

@keyframes ripple {
    from {
        opacity: 0.4;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(2);
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}


/*------speakers-------*/

.speakers-wrapper {
    margin: 0 5%;
}

@media (max-width: 767px) {
    .speakers-wrapper {
        margin: 0;
    }
}

.speakers-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 40px;
    background: #f9f9f9;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin: 5% 5%;
    margin-bottom: 10%;
    justify-content: center;
    justify-items: center;
}

.section-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
}

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card h3 {
    margin: 0;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    background: #f1f1f1;
}

.thumb {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info {
    padding: 8px;
    text-align: center;
    flex-grow: 1;
}

@media (max-width: 991px) {
    .speakers-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .speakers-section {
        grid-template-columns: 1fr;
    }
}


/*--Gallery--*/

.gall-marquee {
    padding: 40px 0;
    margin: 3% 5%;
    margin-bottom: 0;
    background: #f9f9f9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.gall-marquee-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.gall-marquee-container {
    overflow: hidden;
    position: relative;
}

.gall-marquee-content {
    display: flex;
    gap: 20px;
    animation: slide-left 20s linear infinite;
}

.gall-marquee-content img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}


/* Animation logic borrowed from Ben Nadel’s CSS-only marquee technique :contentReference[oaicite:1]{index=1} */

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Pause animation on hover */

.gall-marquee-container:hover .marquee-content {
    animation-play-state: paused;
}


/* Responsive tweaks */

@media (max-width: 767px) {
    .gall-marquee-content img {
        width: 150px;
        height: 100px;
    }
}


/*--videos--*/


/* Wrapper with side margins on desktop */

.videos-wrapper {
    margin: 5% 5%;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
    .videos-wrapper {
        margin: 0;
    }
}


/* Section title styling */

.section-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}


/* Grid layout: 4 columns on desktop, scaling down */

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}


/* Video box styling */

.video-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-box:hover {
    transform: translateY(-4px);
}


/* Maintains 16:9 aspect ratio in embeds */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*--flags--*/

.icdam-container {
    margin: 40px auto;
    padding: 20px 5%;
    max-width: 1200px;
    background-color: rgba(210, 205, 205, 0.4);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.icdam-container h2 {
    margin-bottom: 24px;
    font-size: 2rem;
    color: #333;
}

.flags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.flag {
    width: 80px;
    height: 50px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.flag:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .flag {
        width: 60px;
        height: 38px;
    }
    .icdam-container {
        padding: 15px 4%;
    }
}

@media (max-width: 480px) {
    .flag {
        width: 48px;
        height: 30px;
    }
    .icdam-container h2 {
        font-size: 1.5rem;
    }
}


/*--links--*/


/*.scroll-container {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      padding: 20px 5%;
      background: #1f1830;
    }

    .box {
      flex: 1 1 300px;
      background: #29203e;
      color: #fff;
      padding: 20px;
      border-radius: 8px;
      overflow: hidden;
      position: relative;
      min-height: 220px;
    }

    .box h3 {
      margin: 0;
      margin-bottom: 10px;
      font-size: 1.4rem;
      text-align: center;
      border-bottom: 1px solid #444;
      padding-bottom: 10px;
    }

    .scroll-wrapper {
      position: relative;
      height: calc(100% - 60px); 
      overflow: hidden;
    }

    .scroll-list {
      display: inline-block;
      animation: scroll-up linear infinite;
      padding-top: 100%;
      box-sizing: content-box;
    }

    .scroll-list:hover {
      animation-play-state: paused;
    }

    .scroll-list a {
      display: block;
      padding: 10px 0;
      color: #fff;
      text-decoration: none;
      font-size: 1rem;
      border-bottom: 1px solid #444;
    }

    @keyframes scroll-up {
      0%   { transform: translateY(100%); }
      100% { transform: translateY(-100%); }
    }

    .box:nth-child(1) .scroll-list { animation-duration: 12s; }
    .box:nth-child(2) .scroll-list { animation-duration: 15s; }
    .box:nth-child(3) .scroll-list { animation-duration: 10s; }

    @media (max-width: 768px) {
      .box { min-height: 180px; }
      .box h3 { font-size: 1.2rem; }
      .scroll-list a { font-size: 0.9rem; padding: 8px 0; }
      .scroll-wrapper { height: calc(100% - 50px); }
    }*/

.scroll-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 5%;
    background: transparent;
    justify-content: center;
}

.box {
    height: 300px;
    width: 100%;
    max-width: 390px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding: 12px;
}

.box h3 {
    margin: 0 0 8px;
    text-align: center;
    font-size: 1.3rem;
    border-bottom: 1px solid #444;
    padding-bottom: 6px;
}


/* Scroll container fills the space below header */

.scroll-wrapper {
    height: calc(100% - 48px);
    /* header + paddings ~48px */
    overflow: hidden;
    position: relative;
}


/* The scrolling list has two copies to loop */

.scroll-list {
    display: flex;
    flex-direction: column;
    animation: scrollUp 8s linear infinite;
}

.scroll-list:hover {
    animation-play-state: paused;
}


/* Style individual links */

.scroll-list a {
    display: block;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #444;
}


/* Animation moves the list upward by 50% (one copy-length) */

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}


/*----academic-partners-----*/

.academic-partners {
    padding: 40px 20px;
    background-color: transparent;
    /* No background color */
    text-align: center;
}

.academic-partners h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.partners-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.partners-row img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.venue-section {
    padding: 60px 5%;
    background-color: white;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
}

.venue-box {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.venue-section h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    border-bottom: 3px solid #1d5da9;
    padding-bottom: 5px;
}

.venue-box h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.venue-box p {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 25px;
}

.venue-box iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}


/* Footer Styles */

footer {
    background: #29203e;
    color: #eee;
    padding: 40px 5%;
    margin: 0 !important;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 200px;
    min-width: 180px;
}

.footer-section h3 {
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #fff;
}

.support-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.support-logos img {
    max-height: 40px;
    height: auto;
    background: #fff;
    padding: 4px;
    border-radius: 4px;
}

.quick-links a {
    display: block;
    color: #eee;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: #fff;
}

.contact p {
    margin: 4px 0;
}

.footer-section.contact {
    text-align: left;
}

.footer-section.contact h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #fff;
}

.footer-section.contact p {
    margin: 0 0 12px;
    color: #eee;
    font-size: 0.95rem;
}

.footer-section.contact .social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-section.contact .social-icons a {
    display: inline-block;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.footer-section.contact .social-icons a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-section.contact .social-icons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/* Responsive center alignment on mobile */

@media (max-width: 768px) {
    .footer-section.contact {
        text-align: center;
    }
}

.footer-note {
    margin-top: 24px;
    border-top: 1px solid #444;
    padding-top: 16px;
    font-size: 0.85rem;
    color: #aaa;
    text-align: center;
}

.footer-note a {
    color: red;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        text-align: center;
    }
    .social-icons {
        margin-bottom: 20px;
    }
}