:root {
    --p: #7a1f2b;          /* Primary Burgundy */
    --pd: #54101c;         /* Deep Burgundy */
    --s: #a33e4c;          /* Secondary Burgundy */
    --a: #c69a3b;          /* Gold accent */
    --light: #fcf8f8;
    --dark: #28181b;       /* Text */
    --muted: #6f6063;
    --border: #eadcdf;
    --shadow: 0 12px 35px rgba(84, 16, 28, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--dark);
    line-height: 1.7;
}

body,
button,
input,
select,
textarea,
.btn {
   font-family: "Californian FB", Georgia, "Times New Roman", serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Californian FB", Georgia, "Times New Roman", serif;
    font-weight: 700;
}


a:not(.btn) {
    color: var(--p);
    text-decoration: none;
}

a:not(.btn):hover {
    color: var(--pd);
    text-decoration: underline;
}

/*-----------------Additional css for Heading color--------------*/
/* Common Burgundy Heading Theme */

main .content h2,
main .content h3,
main .content h4,
main .content h5,
main .content h6,
main .page-content h2,
main .page-content h3,
main .page-content h4,
main .page-content h5,
main .page-content h6,
main .feature h4,
main .cardx h4 {
    color: var(--pd);
}

main .content h2,
main .page-content h2 {
    font-weight: 750;
}

main .content h3,
main .page-content h3 {
    color: var(--p);
    font-weight: 700;
}

main .content h4,

main .page-content h4,
.feature h4 {
    color: var(--p) !important;
    font-weight: 700;
}

.feature p {
    color: var(--dark);
}

main .cardx h4 {
    color: var(--p);
    font-weight: 700;
}
/*----------------------------------------------------------------------------------------------*/

.top-strip {
    background: var(--pd);
    color: #fff;
    font-size: 0.86rem;
    padding: 7px 0;
}

.brand-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.institute-logo {
    max-height: 75px;
    max-width: 100%;
    object-fit: contain;
}

.partner-logo {
    height: 60px;
    max-width: 140px;
    object-fit: contain;
}

.cmdc-logo {
    height: 64px;
}

.main-navbar {
    background: linear-gradient(105deg, var(--pd) 0%, var(--p) 48%, var(--s) 100%);
    box-shadow: 0 5px 18px rgba(40, 24, 27, 0.18);
    position: relative;
    z-index: 1040;
}

.main-navbar .navbar-toggler {
    border: 1px solid #ffffff66;
    border-radius: 8px;
    padding: 7px 10px;
}

.main-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px #c69a3b66;
}

.main-navbar .nav-link {
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.15px;
    padding: 10px 11px !important;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: #fff;
    background: #ffffff18;
    border-bottom-color: var(--a);
}

.main-navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 0.12em;
}

.dropdown-menu {
    min-width: 220px;
    margin-top: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 14px 30px rgba(40, 24, 27, 0.16);
}

.dropdown-item {
    border-radius: 7px;
    padding: 9px 12px;
    color: var(--dark);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.dropdown-item:hover {
    background: #f8ecee;
    color: var(--p);
    padding-left: 16px;
}

.hero {
    position: relative;
    min-height: 72vh;
    background: url('../img/iim-raipur-campus1.webp') center / cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
}

.hero:before {
    background: linear-gradient(
        135deg,
        #54101ceb,
        #7a1f2bb8,
        #0000006b
    );
}

.hero > .container {
    position: relative;
}


.hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: 2px;
}

/*---------------- Conference Title ----------------*/

.conference-title {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #ffffff55;
    border-radius: 50px;
    background: #ffffff1c;

    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #fff;

    /* Desktop: keep in one line */
    white-space: nowrap;
}


/* Tablet */
@media (max-width: 992px) {
    .conference-title {
        font-size: 2.3rem;
        padding: 10px 22px;
        white-space: normal;
    }
}


/* Mobile */
@media (max-width: 768px) {
    .conference-title {
        font-size: 1.9rem;
        padding: 9px 18px;
        line-height: 1.25;
        white-space: normal;
    }
}


/* Small Mobile */
@media (max-width: 480px) {
    .conference-title {
        font-size: 1.45rem;
        padding: 8px 14px;
        line-height: 1.3;
        white-space: normal;
    }
}


.theme {
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    max-width: 900px;
    margin: auto;
}

.pill {
    min-height: 60px;
    padding: 12px;
    border: 1px solid #ffffff44;
    background: #ffffff1c;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pill i {
    color: var(--a);
}


.section {
    padding: 85px 0;
}

.heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.kicker {
    color: var(--s);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.heading h2 {
    color: var(--pd);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.7rem);
}

.line {
    width: 65px;
    height: 4px;
    background: var(--a);
    margin: auto;
    border-radius: 5px;
}

.about,
.content {
    background: #fff;
    padding: 35px 40px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--p);
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: justify;
}

.feature {
    height: 100%;
    padding: 30px 25px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 7px 25px rgba(84, 16, 28, 0.07);
    transition: 0.3s;
}

.feature:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #f8ecee;
    color: var(--p);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
}

.patron {
    padding: 30px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    color: var(--p) !important;
    font-weight: 700;
}

.patron p {
    color: var(--dark);
}

.patron img {
    width: 205px;
    height: 205px;
    border-radius: 50%;
    object-fit: cover;
    padding: 7px;
    background: #fcf8f8;
}

.welcome {
    padding: 38px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.cta {
    padding: 75px 0;
    background: var(--light);
    color: #6B1E2B;
}

.site-footer {
    /* background: #2d0b12; */
    background: #54101c;
    color: #fff;
}

.footer-logo {
    max-width: 260px;
    background: #fff;
    padding: 7px;
    border-radius: 5px;
}

.footer-text {
    color: #ffffffad;
    max-width: 520px;
}

.footer-title {
    padding-bottom: 10px;
    position: relative;
}

.footer-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    background: var(--a);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffffb8;
}

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

.footer-bottom {
    /* background: #1d070c; */
    background: #7a1f2b;
    padding: 20px 0;
    color: #ffffff99;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--p);
    color: #fff;
    display: none;
    z-index: 1050;
}

.back-to-top.show {
    display: block;
}

.inner-hero {
    padding: 40px 0;
    background: var(--light);
    color: #6B1E2B;
    border-bottom: 1px dotted  #D8C8CB;
}


.inner-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-top: 18px;
    color: #6B1E2B;
}

.inner-hero p {
    color: #5a3a40;
}

.badgex {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #ffffff55;
    border-radius: 50px;
    background: #ffffff1c;
}

.inner-hero .badgex {
    color: #6B1E2B;
    background: rgba(107, 30, 43, 0.08);
    border: 1px solid rgba(107, 30, 43, 0.15);
}

.notice,
.event,
.contact,
.sponsor {
    padding: 25px;
    background: #fcf1f2;
    border: 1px solid #ead0d4;
    border-radius: 14px;
    margin-top: 25px;
}

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

.cardx {
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 7px 25px rgba(84, 16, 28, 0.07);
}

.timeline {
    border-left: 4px solid var(--a);
    padding-left: 25px;
}

.timeline .item {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}


/* ========================================
   Tablet / Small Desktop
   ======================================== */

@media (max-width: 1199px) {

    .main-navbar .nav-link {
        padding: 10px 12px !important;
        border-left: 3px solid transparent;
        border-bottom: 0;
        border-radius: 0 6px 6px 0;
    }

    .main-navbar .nav-link:hover,
    .main-navbar .nav-link.active {
        border-left-color: var(--a);
    }

    .main-navbar .navbar-nav {
        padding: 12px 4px;
        gap: 2px;
    }

    .main-navbar .dropdown-menu {
        box-shadow: none !important;
        margin: 4px 0 4px 12px;
        background: #ffffff12;
        border: 0;
    }

    .main-navbar .dropdown-item {
        color: #fff;
    }

    .main-navbar .dropdown-item:hover {
        background: #ffffff18;
        color: #fff;
    }
}


/* ========================================
   Mobile / Tablet
   ======================================== */

@media (max-width: 767px) {

    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: 82vh;
    }

    .about,
    .content,
    .welcome {
        padding: 25px 20px;
    }

    .grid2 {
        grid-template-columns: 1fr;
    }

    .timeline .item {
        display: block;
    }

    .partner-logos {
        justify-content: center !important;
    }
}


/* ========================================
   Small Mobile
   ======================================== */

@media (max-width: 575px) {

    .institute-logo {
        max-height: 58px;
    }

    .partner-logo {
        height: 48px;
    }

    .cmdc-logo {
        height: 52px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .theme {
        font-size: 1.2rem;
    }

    .pill {
        font-size: 0.9rem;
    }

/* ========================================
   CONFERENCE TRACKS
======================================== */

.track-card {
    position: relative;
    overflow: hidden;
    padding: 35px 30px;
    transition: all 0.3s ease;
}

.track-card:hover {
    transform: translateY(-8px);
    border-color: #d6adb4;
    box-shadow: var(--shadow);
}

.track-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 800;
   color: #7a1f2b10;
    line-height: 1;
}

.track-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8ecee;
    color: var(--p);
    border-radius: 14px;
    font-size: 1.5rem;
    margin-bottom: 22px;
}

.track-card h3 {
    color: var(--pd);
    font-size: 1.35rem;
    font-weight: 750;
    margin-bottom: 15px;
    padding-right: 45px;
}

.track-card p {
    color: var(--muted);
    margin-bottom: 0;
}


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

@media (max-width: 767px) {

    .track-card {
        padding: 28px 22px;
    }

    .track-number {
        font-size: 2.8rem;
    }

    .track-card h3 {
        font-size: 1.2rem;
    }

}

}

/*-------------------------*/

/* ICC Burgundy Button Theme */

.btn {
    border-radius: 50px;
    font-weight: 500;
    padding: 10px 22px;
    transition: all 0.2s ease;
}

/* Primary: Call for Cases */
.btn-primary {
    background-color: var(--p);
    border-color: var(--p);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--pd);
    border-color: var(--pd);
    color: #fff;
    transform: translateY(-2px);
}

/* Light: Brochure / Sponsorship */
.btn-light {
    background-color: #fff;
    border: 1px solid var(--p);
    color: var(--p);
}

.btn-light:hover,
.btn-light:focus {
    background-color: var(--p);
    border-color: var(--p);
    color: #fff;
    transform: translateY(-2px);
}

/* Gold: Main CTA such as Register Now */
.btn-warning {
    background-color: var(--a);
    border-color: var(--a);
    color: var(--pd);
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #ddb45b;
    border-color: #ddb45b;
    color: var(--pd);
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 3px solid rgba(198, 154, 59, 0.55);
    outline-offset: 3px;
}

/*----------------for home page image carusal------------*/

/* Home Page: White Event Information Pills */

.event-pill {
    min-height: 68px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    color: var(--pd);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-pill i {
    color: var(--p);
    font-size: 1.2rem;
}

.event-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    .event-pill {
        min-height: 60px;
        font-size: 0.92rem;
    }
}

/*---------------*/
.event-pill {
    width: fit-content;
    white-space: nowrap;
}

/*-------------------Table -------------*/
.schedule-section {
    margin-top: 40px;
}

.schedule-section h2 {
    color: var(--pd);
    margin-bottom: 20px;
}

.schedule-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
}

.schedule-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    border-spacing: 0;
}

/* Table Header */
.schedule-table thead,
.schedule-table thead tr {
    background: var(--pd) !important;
}

.schedule-table thead th {
    background: var(--pd) !important;
    color: #fff !important;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    border: none;
}

.schedule-table thead th:first-child {
    border-radius: 9px 0 0 0;
}

.schedule-table thead th:last-child {
    border-radius: 0 9px 0 0;
}

/* Table Body */
.schedule-table td {
    padding: 14px 16px;
    color: var(--dark);
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

/* Horizontal Lines */
.schedule-table tbody tr {
    border-bottom: 1px solid var(--border);
}

.schedule-table tbody tr:last-child {
    border-bottom: none;
}

/* Time Column */
.schedule-table .time {
    width: 200px;
    color: var(--pd);
    font-weight: 600;
    white-space: nowrap;
}

/* Topic */
.schedule-table td strong {
    color: var(--p);
}

/* Hover Effect */
.schedule-table tbody tr:hover {
    background: var(--light);
}

/* Break / Lunch Rows */
.schedule-table tbody tr:has(td:nth-child(2):is(:empty)) {
    background: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .schedule-table {
        font-size: 14px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 12px;
    }

    .schedule-table .time {
        width: 170px;
    }
}
/*----------------- For Register & Login -----------------*/

/* Registration - Bright Gold */
.navbar .registration-btn {
    background: transparent;
    color: #F4C95D !important;
    padding: 8px 18px !important;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: registrationPulse 2.5s infinite;
    text-shadow: 0 0 8px rgba(198, 154, 59, 0.6);
}

.navbar .registration-btn:hover,
.navbar .registration-btn.active {
    background: transparent;
    color: #FFE29A !important;
}


/* Registration Shine */
.navbar .registration-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );
    transform: skewX(-20deg);
    animation: registrationShine 3s infinite;
}


/* Login - Same Style as Registration, No Animation */
.navbar .login-btn {
    background: transparent;
    color: #F4C95D !important;
    padding: 8px 18px !important;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(198, 154, 59, 0.6);
}

.navbar .login-btn:hover,
.navbar .login-btn.active {
    background: transparent;
    color: #FFE29A !important;
}


/* Registration Shine Animation */
@keyframes registrationShine {
    0% {
        left: -100%;
    }

    35% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}


/* Registration Pulse Animation */
@keyframes registrationPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(198, 154, 59, 0.35);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(198, 154, 59, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(198, 154, 59, 0);
    }
}