:root {
    --bg: #f7fafc;
    --card: #fff;
    --ink: #12263a;
    --mute: #5a6b7b;
    --line: #dbe5ee;
    --teal: #0e8f8a;
    --teal2: #0a6f6b;
    --blue: #2a5ea8;
    --soft: #e6f4f3;
    --r: 14px
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: Figtree, system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    
}






.registration-banner {
    
    align-items: left;
    justify-content :left;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    
    gap: 16px;
    max-width: 1190px;
    margin: 30px auto;
    padding: 20px;
    min-height: auto;
    height: auto;
    padding-bottom: 30px;
    margin-bottom: 0;
}

.registration-info {
    flex: 20;
}

.registration-info h3 {
    margin-top: 0;
    font-size: 22px;
}

.registration-info a {
    overflow-wrap: anywhere;
}

.qr-code {
    width: 90px;
    flex-shrink: 0;
    text-align: left;
}

.registration-image {
    display: flex;
    width: 100%;
    height: auto;
}

.qr-code p {
    margin: 5px 0 0;
    font-size: 14px;
}

@media (max-width: 480px) {
    .registration-banner {
        gap: 10px;
        padding: 12px;
    }

    .registration-info h3 {
        font-size: 17px;
    }

    .qr-code {
        width: 75px;
    }
}

/* Payment Details Layout */
.payment-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    align-items: stretch;
    margin: 25px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* Left Payment Card */
.payment-card {
    min-width: 0;
}

.payment-title {
    background: #96b4d9;
    color: white;
    text-align: center;
    text-decoration: underline;
    font-style: italic;
    padding: 10px;
    margin: 0 0 10px;
}

.payment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: white;
    padding: 15px;
}

.bank-details {
    flex: 1;
    min-width: 0;
}

.bank-details p {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    font-style: italic;
    overflow-wrap: anywhere;
}

.payment-qr {
    width: 170px;
    flex-shrink: 0;
}

.payment-qr img {
    display: block;
    width: 100%;
    height: auto;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .payment-section {
        grid-template-columns: 1fr;
    }

    .payment-content {
        gap: 10px;
        padding: 12px;
    }

    .payment-qr {
        width: 120px;
    }

    .bank-details p {
        font-size: 15px;
    }

}

/* Contact Us Page */
.contact-page {
    position: relative;
    overflow: hidden;
    padding: 25px 20px 30px;
    background: #f8f9fa;
}

/* Main heading */
.contact-heading {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 4px 35px;
    background: white;
    border-radius: 22px;
    text-align: center;
}

.contact-heading h1 {
    margin: 0;
    color: #18204f;
    font-size: clamp(30px, 5vw, 44px);
    font-family: 'Fraunces', serif;
    font-style: italic;
    text-decoration: underline;
    text-decoration-color: #3439b9;
}

/* Faculty contact */
.faculty-contact {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 20px;
    padding: 12px 22px;
    border-radius: 30px;
    background: white;
    text-align: center;
    color: #173354;
}

.faculty-contact h2 {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: 22px;
}

.faculty-contact h3 {
    margin: 2px 0;
    font-size: 21px;
}

.faculty-contact p {
    margin: 2px 0;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.faculty-contact a,
.contact-info a {
    color: inherit;
    text-decoration: none;
}

/* Student contact cards */

.professor-photo {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 15px;
}


.contact-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 35px;
    row-gap: 22px;
}

.contact-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-photo {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 5px;
}

.contact-info {
    width: 100%;
    padding: 7px 8px;
    background: white;
    border-radius: 35px;
    color: #171b55;
    box-sizing: border-box;
}

.contact-info h3 {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: 17px;
}

.contact-info h4 {
    margin: 0;
    font-size: 17px;
}

.contact-info p {
    margin: 1px 0 0;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Conference links */
.contact-links {
    max-width: 850px;
    margin: 20px auto 0;
    text-align: center;
    color: #d92323;
    font-size: 13px;
    font-weight: 600;
}

.contact-links p {
    margin: 2px 0;
    overflow-wrap: anywhere;
}

.contact-links a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.contact-links a:hover,
.faculty-contact a:hover,
.contact-info a:hover {
    text-decoration: underline;
}

/* Mobile layout */
@media (max-width: 600px) {
    .contact-page {
        padding: 20px 12px;
    }

    .contact-heading {
        padding: 5px 20px;
    }

    .faculty-contact {
        padding: 12px;
    }

    .faculty-contact h2 {
        font-size: 19px;
    }

    .faculty-contact h3 {
        font-size: 18px;
    }

    .contact-grid {
        column-gap: 12px;
        row-gap: 18px;
    }

    .contact-photo {
        width: 95px;
        height: 95px;
    }

    .contact-info {
        padding: 8px 5px;
        border-radius: 20px;
    }

    .contact-info h3 {
        font-size: 15px;
    }

    .contact-info h4 {
        font-size: 13px;
    }

    .contact-info p {
        font-size: 11px;
    }

    .contact-links {
        font-size: 11px;
    }
}

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

    .contact-photo {
        width: 115px;
        height: 115px;
    }

    .contact-info h3 {
        font-size: 17px;
    }
}

.college-location {
    max-width: 1200px; /* Increased width */
    width: 95%;
    margin: 30px auto;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    margin-bottom: 15px;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}




h1,
h2,
h3 {
    font-family: Fraunces, Georgia, serif;
    line-height: 1.2
}

a {
    color: var(--blue)
}

:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px
}

.wrap {
    max-width: 1140px;
    /* margin: auto; */
    padding: 0 14px;
    margin-left: 40px;
    
}

section {
    padding: 84px 0
}

section.alt {
    background: #fff;
    border-block: 1px solid var(--line)
}

.title {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    margin-bottom: 10px
}

.title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 4px;
    margin-top: 12px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
    transition: width .6s
}

.reveal.in .title::after,
.title.in::after {
    width: 120px
}

.lead {
    color: var(--mute);
    max-width: 680px;
    margin-bottom: 38px
}

.grid {
    display: grid;
    gap: 20px;
}

.g2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))
}

.g3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}

.g4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))
}

.g5{
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr))
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 24px;
    transition: transform .25s, box-shadow .25s, border-color .25s
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -14px rgba(18, 38, 58, .25);
    border-color: var(--teal)
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--teal);
    background: var(--teal);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: .25s
}

.btn:hover {
    background: var(--teal2);
    border-color: var(--teal2);
    transform: translateY(-2px)
}

.btn.ghost {
    background: transparent;
    color: var(--teal2)
}

.btn.ghost:hover {
    background: var(--soft)
}

/* header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(129, 159, 172, 0.521);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 130px;
    gap: 14px;
    
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-family: Fraunces, serif;
    font-weight: 700;
    font-size: 1.5rem
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: .7rem;
    font-weight: 700;
    color: var(--teal2);
    border: 2px dashed var(--teal);
    background: var(--soft);
    text-align: center;
    line-height: 1.05
}

nav ul {
    display: flex;
    gap: 2px;
    list-style: none;

}

nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: black;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: .2s
}

nav a:hover,
nav a.on {
    color: white;
    background: #12263a;
    
}

.burger {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 1.2rem;
    cursor: pointer
}

.progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
    width: 0
}

@media(max-width:1020px) {
    .burger {
        display: block
    }

    nav ul {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 12px;
        border-bottom: 1px solid var(--line);
        max-height: 75vh;
        overflow: auto
    }

    nav ul.open {
        display: flex
    }
}

/* hero */
.topbar {
    background: var(--ink);
    color: #cfe3f3;
    font-size: .85rem
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding-block: 8px
}


.hero {
    position: relative;
    align-items: center;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 70px 0 80px;
    background: linear-gradient(180deg, #eaf6f6, #f7fafc);
    background:
        linear-gradient(
            rgba(247, 250, 252, 0.9),
            rgba(247, 250, 252, 0.9)
        ),
        /* url("home images/bg.png") center / cover no-repeat; */
}


#mol {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.hero .wrap {
    position: relative;
    
}

.logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 28px;
    flex-wrap: wrap
}

.logos .logo {
    width: 84px;
    height: 84px;
    font-size: .8rem;
    background: #fff
}

.hero-in {
    text-align: center;
    max-width: 860px;
    margin: auto
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 16px
}

.hero p.sub {
    font-size: 1.1rem;
    color: var(--mute);
    margin-bottom: 8px
}

.meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 22px 0
}

.chip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: .92rem
}

.count {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 26px 0 30px
}

.count div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 84px;
    padding: 12px 6px;
    box-shadow: 0 8px 20px -14px rgba(18, 38, 58, .4)
}

.count b {
    display: block;
    font: 700 1.9rem Fraunces, serif;
    color: var(--teal2)
}

.count span {
    font-size: .78rem;
    color: var(--mute)
}

.hero-in>* {
    animation: rise .8s both
}

.hero-in>*:nth-child(2) {
    animation-delay: .1s
}

.hero-in>*:nth-child(3) {
    animation-delay: .2s
}

.hero-in>*:nth-child(4) {
    animation-delay: .3s
}

.hero-in>*:nth-child(5) {
    animation-delay: .4s
}

.hero-in>*:nth-child(6) {
    animation-delay: .5s
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    text-align: center;
    margin-top: -44px;
    position: relative;
    z-index: 2
}

.stats .card b {
    font: 700 2.1rem Fraunces, serif;
    color: #0e8f8a;
    display: block;
}

/* timeline */
.tl {
    border-left: 3px solid var(--line);
    padding-left: 26px;
    display: grid;
    gap: 18px
}

.tl li {
    list-style: none;
    position: relative
}

.tl li::before {
    content: "";
    position: absolute;
    left: -35px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 5px var(--soft)
}

.tl b {
    display: block
}

.tl small {
    color: var(--mute)
}

/* Theme */
.track h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--teal2)
}

.track ul {
    padding-left: 18px;
    color: var(--mute);
    font-size: .94rem
}

.ico {
    font-size: 1.7rem;
    margin-bottom: 8px;
    display: inline-block;
    transition: transform .4s
}

.card:hover .ico {
    transform: rotate(-8deg) scale(1.2)
}

/* people */
.person {
    text-align: center
}

.av {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font: 700 1.6rem Fraunces, serif;
    /* background: linear-gradient(135deg, var(--teal), var(--blue)); */
    transition: transform .4s
}

.person:hover .av {
    transform: scale(1.08)
}

.person small {
    color: var(--mute);
    display: block
}

.photo{
    border: solid 1px black;
    border-radius: 50%;
}

.tag {
    display: inline-block;
    background: var(--soft);
    color: var(--teal2);
    border-radius: 999px;
    padding: 2px 12px;
    font-size: .78rem;
    font-weight: 600;
    margin-top: 8px
}

/* tabs */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap
}

.tabs button {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: .2s
}

.tabs button[aria-selected=true] {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal)
}

.panel {
    display: none
}

.panel.show {
    display: block;
    animation: rise .4s
}

.row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line)
}

.row:last-child {
    border: 0
}

.row time {
    font-weight: 600;
    color: var(--teal2)
}

.row small {
    color: var(--mute);
    display: block
}

@media(max-width:560px) {
    .row {
        grid-template-columns: 1fr;
        gap: 2px
    }
}

/* tables/forms */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--line)
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line)
}

th {
    background: var(--soft);
    color: var(--teal2)
}

.scroll {
    overflow-x: auto
}

form {
    display: grid;
    gap: 14px
}

label {
    font-weight: 600;
    font-size: .9rem;
    display: block;
    margin-bottom: 4px
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    background: #fff;
    transition: .2s
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--soft);
    outline: 0
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

@media(max-width:560px) {
    .two {
        grid-template-columns: 1fr
    }
}

.ok {
    display: none;
    background: var(--soft);
    color: var(--teal2);
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600
}

/* sponsors */
.tier {
    text-align: center
}

.tier h3 {
    margin-bottom: 4px
}

.tier .amt {
    font: 700 1.6rem Fraunces, serif;
    color: var(--blue);
    margin-bottom: 10px
}

.tier ul {
    list-style: none;
    color: var(--mute);
    font-size: .92rem
}

.tier li {
    padding: 5px 0;
    border-bottom: 1px dashed var(--line)
}

.tier.gold {
    border-color: #d9a82c;
    border-width: 2px
}

/* gallery */
.gal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px
}

.gal button {
    aspect-ratio: 4/3;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font: 600 1rem Figtree;
    color: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 10px;
    transition: transform .3s, filter .3s
}

.gal button:hover {
    transform: scale(1.04);
    filter: brightness(1.08)
}

.lb {
    position: fixed;
    inset: 0;
    background: rgba(18, 38, 58, .85);
    display: none;
    place-items: center;
    z-index: 100;
    padding: 20px
}

.lb.on {
    display: grid
}

.lb div {
    width: min(760px, 100%);
    aspect-ratio: 16/10;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    font: 700 1.6rem Fraunces;
    text-align: center;
    padding: 20px;
    animation: rise .3s
}

/* faq */
details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
    transition: .2s
}

details[open] {
    border-color: var(--teal);
    box-shadow: 0 10px 24px -18px rgba(18, 38, 58, .5)
}

summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between
}

summary::after {
    content: "+";
    color: var(--teal);
    font-size: 1.3rem;
    transition: transform .3s
}

details[open] summary::after {
    transform: rotate(45deg)
}

details p {
    margin-top: 10px;
    color: var(--mute)
}

footer {
    background: var(--ink);
    color: #b8cde0;
    padding: 50px 0 24px
}

footer a {
    color: #8fd6d1
}

footer h4 {
    color: #fff;
    margin-bottom: 10px
}

.copy {
    border-top: 1px solid #2a425a;
    margin-top: 30px;
    padding-top: 18px;
    font-size: .85rem;
    text-align: center
}

.top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--teal);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 40
}

.top.on {
    opacity: 1;
    pointer-events: auto
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s, transform .7s
}

.reveal.in {
    opacity: 1;
    transform: none;
    margin-left: 150px;
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }

    html {
        scroll-behavior: auto
    }
}

/* multi-page additions */
nav a {
    font-size: 1.0rem;
    font-weight: 1000;
    padding: 8px 8px
}

.crumb {
    background: var(--soft);
    border-bottom: 1px solid var(--line);
    font-size: .9rem;
    color: var(--mute)
}

.crumb .wrap {
    padding-block: 12px
}

.crumb a {
    text-decoration: none;
    font-weight: 600
}

.crumb span {
    color: var(--teal2);
    font-weight: 600
}

.qlink {
    text-decoration: none;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem
}

.qlink span {
    color: var(--teal);
    font-size: .85rem;
    font-weight: 600
}

.qlink:hover span {
    transform: translateX(4px)
}

.qlink span {
    transition: transform .25s
}

/* section {
    min-height: 60vh
} */

.hero,
.alt {
    min-height: 0
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    display: block
}

.logo-img.big {
    height: 90px
}

@media(max-width:560px) {
    .logo-img {
        height: 60px;
    }

    .logo-img.big {
        height: 70px
    }
}

.about-flex{
  display: flex;
  align-items: center;     /* vertically centres the picture with the text */
  gap: 30px;
  margin-bottom: 40px;
}
.about-text{ flex: 1.3; }  /* text takes a bit more space */
.about-img{ flex: 1; }

.about-img img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  object-fit: cover;
}

/* On phones, stack the picture below the text */
@media (max-width: 768px){
  .about-flex{ flex-direction: column; }
}
.motto-flex{
  display: flex;
  align-items: center;      /* vertically centres logos with the text */
  justify-content: space-between;
  gap: 30px;
  margin: 30px 0;
}
.motto-text{ flex: 1; }

.motto-logos{
  display: flex;
  align-items: center;
  gap: 20px;
}
.motto-logos img{
  width: 300px;
  height: 300px;
  object-fit: contain;      /* keeps logos undistorted */
}

/* Phones: logos go below the text */
@media (max-width: 768px){
  .motto-flex{ flex-direction: column; text-align: center; }
  .motto-logos img{ width: 100px; height: 100px; }
}

/* ---- video background replaces bg.png ---- */
/* .hero{background:linear-gradient(180deg,#eaf6f6,#f7fafc)}   overrides the old bg.png rule */
/* The film sits in its own strip BETWEEN the title/subtitle (above)
   and the chips/countdown/button (below). It is clipped to that strip. */
.hero{--film-shift:calc(var(--wrap-ml)/2)}
@media(min-width:1300px){.hero{--film-shift:0px}}
.hero-film-box{
  width:100vw;
  margin:26px 0 0 calc(50% - 50vw - var(--film-shift));   /* full-width row */
  display:flex;justify-content:center;
  pointer-events:none;
}
/* No scaling and no fixed-height crop: the whole film is shown at 16:9.
   If the film has another shape, change the aspect-ratio below. */
.hero-film{
  display:block;border:0;
  width:min(100%,1100px);
  height:auto;aspect-ratio:16/9;
  pointer-events:none;
  opacity:0.5;
  filter:invert(1) hue-rotate(180deg) contrast(1.6) saturate(1.6);
}

/* ---- heading moving right to left, looping ---- */
.marquee{
  width:100vw;margin:0 0 16px calc(50% - 50vw);   /* full-width strip */
  overflow:hidden;white-space:nowrap;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}
.hero .marquee-track{
  display:inline-flex;margin:0;
  font-family:'Poppins','Figtree',sans-serif;
  font-weight:700;
  font-size:clamp(1.4rem,3vw,2.4rem);
  line-height:1.25;
  animation:marq 30s linear infinite;
}
/* Each copy is followed by a gap (70% of screen width) before the next title. */
.marquee-track span{
  display:inline-block;margin-right:70vw;text-align:center;white-space:nowrap;
  /* shaded navy -> indigo lettering */
  background:linear-gradient(135deg,#120f4f 0%,#2b2799 50%,#1a1665 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  filter:drop-shadow(0 2px 3px rgba(20,16,80,.28));
}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes marq{to{transform:translateX(-50%)}}

/* reduced-motion visitors get a normal wrapped heading instead */
@media(prefers-reduced-motion:reduce){
  .marquee{width:auto;margin:0 0 16px;white-space:normal;-webkit-mask-image:none;mask-image:none}
  .hero .marquee-track{animation:none;display:block}
  .marquee-track span:nth-child(n+2){display:none}
  .marquee-track span{margin-right:0;white-space:normal}
}

/* ================= RESPONSIVE FIXES v2 ================= */
img,video,canvas,svg{max-width:100%}
body{overflow-x:clip}

/* ---- 1. centre all page content ---- */
:root{--wrap-ml:0px}
.wrap{margin-left:auto;margin-right:auto}
.reveal.in{margin-left:auto}

/* ---- 2. header: always ONE line ---- */
header .nav{max-width:none;margin:0;width:100%;padding:0 clamp(10px,1.6vw,32px);height:auto;min-height:clamp(70px,8vw,130px);flex-wrap:nowrap;gap:clamp(6px,1vw,18px)}
.nav .logo-img{height:clamp(34px,4.6vw,75px);max-width:clamp(40px,5.2vw,110px);flex-shrink:0}
.brand{flex:0 0 auto;gap:clamp(5px,.7vw,10px);font-size:clamp(.8rem,1.45vw,1.5rem);white-space:nowrap}
.nav>nav{flex:1 1 auto;min-width:0}
nav ul{flex-wrap:nowrap;justify-content:center;gap:0}
nav a{font-size:clamp(.62rem,.98vw,1rem);padding:8px clamp(3px,.5vw,8px);white-space:nowrap}

/* small screens: logos + ☰ on one line, menu drops down below the header */
@media(max-width:1180px){
  .burger{display:block;order:10}
  .nav>nav{order:9;flex:0 0 0;min-width:0}
  .brand{margin-right:auto}
  nav ul{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;justify-content:flex-start;padding:12px;border-bottom:1px solid var(--line);max-height:75vh;overflow:auto}
  nav ul.open{display:flex}
  nav a{font-size:1rem;padding:10px 12px;white-space:normal}
}
@media(max-width:480px){.brand{font-size:0}}
@media (max-width:768px){
  .reveal{opacity:1;transform:none}
}

/* ---- 3. hero ---- */
.hero .wrap{min-width:0;width:100%}
.hero-in{width:100%}
.marquee{margin-left:calc(50% - 50vw)}
.count{flex-wrap:wrap}

/* ---- 4. grids that could not shrink ---- */
.g2{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.g4{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
.g5{grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr))}
.gal{grid-template-columns:repeat(auto-fill,minmax(min(200px,100%),1fr))}
.stats{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))}
.grid>*,.about-flex>*,.motto-flex>*,.payment-section>*{min-width:0}
h1,h2,h3,h4,p,li{overflow-wrap:break-word}
.scroll{max-width:100%}



/* =========================================
   ETDDBMS 2027 — Premium Floating CTA
   ========================================= */

.floating-register {
  position: fixed;
  right: 22px;
  top: 86%;
  transform: translateY(-50%);
  z-index: 99999;

  width: 142px; 
  height: 142px;
  box-sizing: border-box;
  border-radius: 50%;
  isolation: isolate;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;

  color: #610a0a;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.1;

  background:
    radial-gradient(
      circle at 32% 24%,
      #ffefad 0%,
      #ffb52e 19%,
      #fa542b 48%,
      #b20e52 78%,
      #630d49 100%
    );

  border: 3px solid #fff2bb;

  box-shadow:
    0 0 10px #ffd66b,
    0 0 24px rgba(255, 166, 0, 0.9),
    0 0 48px rgba(255, 65, 65, 0.6),
    inset 0 0 18px rgba(255, 255, 255, 0.24);

  animation: registerGlow 1.8s ease-in-out infinite;
  transition: filter 0.25s ease;
}

/* Animated golden outer ring */
.floating-register::before {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border-radius: 50%;

  background: conic-gradient(
    from 0deg,
    #fff9cf,
    #cdb593,
    #ca6c85,
    #fff176,
    #ff8a00,
    #fff9cf
  );

  animation: registerRing 4s linear infinite;
}

/* Dark inset keeps the badge text readable */
.floating-register::after {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.register-spark {
  color: #fff6b5;
  font-size: 21px;
  text-shadow: 0 0 12px #0777f7;
  animation: registerSpark 1.5s ease-in-out infinite;
}

.register-heading {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-shadow: 0 2px 5px rgba(65, 0, 20, 0.5);
}

.register-now {
  font-size: 25px;
  font-weight: 1000;
  letter-spacing: 1px;
  text-shadow:
    0 2px 4px rgba(65, 0, 20, 0.55),
    0 0 12px rgba(19, 1, 1, 0.5);
}

.register-divider {
  width: 58%;
  height: 2px;
  margin: 2px 0;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    transparent,
    #fff5bf,
    transparent
  );
}

.register-seats {
  padding: 4px 8px;
  border-radius: 20px;

  background: #fff2bc;
  color: #9b1740;

  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.6px;

  box-shadow: 0 0 12px rgba(255, 242, 188, 0.7);
}

.register-year {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #2d21ad;
}

.register-arrow {
  position: absolute;
  top: 5px;
  right: 5px;

  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;

  background: #fff;
  color: #b20e52;
  font-size: 19px;
  font-weight: 900;

  box-shadow: 0 0 14px #fff0a6;
}

/* Pulsing glow */
@keyframes registerGlow {
  0%, 100% {
    box-shadow:
      0 0 10px #ffd66b,
      0 0 24px rgba(255, 166, 0, 0.75),
      0 0 42px rgba(255, 65, 65, 0.45),
      inset 0 0 18px rgba(255, 255, 255, 0.2);
  }

  50% {
    box-shadow:
      0 0 18px #fff0a3,
      0 0 38px rgba(255, 166, 0, 1),
      0 0 68px rgba(255, 65, 100, 0.8),
      inset 0 0 24px rgba(255, 255, 255, 0.35);
  }
}

@keyframes registerRing {
  to {
    transform: rotate(360deg);
  }
}

@keyframes registerSpark {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.75;
  }
}

/* Hover effect */
.floating-register:hover {
  animation-play-state: paused;
  filter: brightness(1);
}

.floating-register:hover::before {
  animation-duration: 1.5s;
}

/* Keyboard accessibility */
.floating-register:focus-visible {
  outline: 3px solid #1769ff;
  outline-offset: 7px;
}

/* Responsive sizing */
@media (max-width: 600px) {
  .floating-register {
    width: 112px;
    height: 112px;
    right: 13px;
    border-width: 2px;
  }

  .floating-register::before {
    inset: -6px;
  }

  .register-spark {
    font-size: 15px;
  }

  .register-heading {
    font-size: 11px;
  }

  .register-now {
    font-size: 20px;
  }

  .register-seats {
    padding: 3px 6px;
    font-size: 8px;
  }

  .register-year {
    font-size: 7px;
  }

  .register-arrow {
    width: 23px;
    height: 23px;
    font-size: 15px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .floating-register,
  .floating-register::before,
  .register-spark {
    animation: none;
  }
}

/* Main Organizing Committee: 2 members per row */
.grid.g5.main-committee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Joint Secretaries: 3 members per row */
.grid.g6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
}

/* Tablet and mobile */
@media (max-width: 600px) {
    .grid.g6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 360px) {
    .grid.g5.main-committee,
    .grid.g6 {
        grid-template-columns: 1fr;
    }
}