:root {
    --inv-brand-primary: #0f766e;
    /* teal */
    --inv-brand-secondary: #1d4ed8;
    /* blue */
    --inv-brand-accent: #f59e0b;
    /* amber */
    --inv-text: #0f172a;
    /* slate-900 */
    --inv-muted: #475569;
    /* slate-600 */
    --inv-bg: #f8fafc;
    /* slate-50 */
    --inv-surface: #ffffff;
    --inv-border: #e2e8f0;
    --inv-link: #0ea5a4;
    /* teal-500 */
    --inv-link-hover: #1d4ed8;
    /* blue-600 */
    --hero-h: clamp(200px, 35vw, 350px);
}

.inv-section {
    background: linear-gradient(180deg, var(--inv-bg) 0%, #fff 100%);
    padding: 48px 0;
}

.inv-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.inv-card {
    background: var(--inv-surface);
    border: 1px solid var(--inv-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, .06);
    padding: 28px;
    width: 100%;
    margin: 0 auto;
}

.inv-eyebrow {
    display: inline-block;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--inv-brand-secondary);
    font-weight: 700;
}

.inv-title {
    margin: 8px 0 10px 0;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.2;
    color: var(--inv-text);
    font-weight: 800;
}

.inv-subtitle {
    font-size: clamp(16px, 2.2vw, 18px);
    color: var(--inv-muted);
    margin-bottom: 20px;
}

.inv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 18px;
    color: var(--inv-text);
}

.inv-meta .badge {
    background: rgba(13, 148, 136, .12);
    color: var(--inv-brand-primary);
    border: 1px solid rgba(13, 148, 136, .25);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.inv-content {
    color: var(--inv-text);
    font-size: 18px;
    line-height: 1.8;
}

.inv-content p {
    margin: 0 0 16px 0;
}

.inv-highlight {
    border-left: 4px solid var(--inv-brand-accent);
    background: linear-gradient(90deg, rgba(245, 158, 11, .10), rgba(245, 158, 11, .04));
    padding: 12px 16px;
    border-radius: 8px;
    color: #7c2d12;
    margin: 18px 0;
    font-weight: 600;
}

.inv-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.inv-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(180deg, #0fb7a6, #0b746b);
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 8px 20px rgba(15, 118, 110, .28);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.inv-links a:hover {
    background: linear-gradient(180deg, #10b981, #0f766e);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(15, 118, 110, .36);
}

.inv-links a:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(20, 184, 166, .26);
}

.inv-links a:focus-visible {
    outline: 3px solid rgba(20, 184, 166, .55);
    outline-offset: 2px;
}

/* Secondary (outline) variant */
.btn-outline {
    color: var(--inv-brand-primary) !important;
    border: 2px solid rgba(15, 118, 110, .55);
    box-shadow: none;
}

.btn-outline:hover {opacity: 0.8;}

/* Full-width on small screens */
@media (max-width: 576px) {
    .inv-links {
        gap: 12px;
    }

    .inv-links a,
    .inv-links button {
        width: 100%;
        justify-content: center;
    }
}

/* Buttons inside inv-links (if buttons are used) */
.inv-links button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(180deg, #0fb7a6, #0b746b);
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 8px 20px rgba(15, 118, 110, .28);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.inv-links button:hover {background: linear-gradient(180deg, #10b981, #0f766e); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(15, 118, 110, .36);} 

.inv-links button:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(20, 184, 166, .26);
}

.inv-links button:focus-visible {
    outline: 3px solid rgba(20, 184, 166, .55);
    outline-offset: 2px;
}

.inv-content a {
    color: var(--inv-brand-secondary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 3px;
    text-decoration-color: rgba(29, 78, 216, .35);
    transition: color .2s ease, text-decoration-color .2s ease, background-color .2s ease;
}

.inv-content a:hover {
    color: var(--inv-brand-primary);
    text-decoration-color: rgba(15, 118, 110, .7);
    opacity: 0.8;
}

.inv-content a:focus-visible {
    outline: 3px solid rgba(15, 118, 110, .4);
    outline-offset: 2px;
    border-radius: 4px;
    text-decoration-color: rgba(15, 118, 110, .8);
}

@media (min-width:992px) {
    .inv-two-col {
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        gap: 28px;
        align-items: start;
    }

    .inv-card {
        width: 80%;
    }
}

.inv-signoff {
    margin-top: 20px;
    font-weight: 600;
}

/* Verbatim content block that preserves line breaks */
.verbatim {
    white-space: pre-line;
    font-size: 18px;
    line-height: 1.8;
}

/* Plan tier badges to visually differentiate sponsorship lines */
.plan-tier {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 800;
    margin: 8px 0;
}

.badge-diamond {
    background: linear-gradient(90deg, #0ea5a4, #1d4ed8);
    color: #fff;
}

.badge-academic {
    background: linear-gradient(90deg, #6366f1, #4338ca);
    color: #fff;
}

.badge-platinum {
    background: linear-gradient(90deg, #94a3b8, #64748b);
    color: #fff;
}

.badge-scientific {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    color: #fff;
}

.badge-gold {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #fff;
}

.badge-knowledge {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    color: #fff;
}

.badge-other {
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 700;
}

/* Sponsorship plans grid */
.plans-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width:768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

.plan-card {
    background: #fff;
    border: 1px solid var(--inv-border);
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(2, 6, 23, .06);
    padding: 18px;
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 800;
    color: #0f172a;
}

.plan-pill {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.plan-pill.diamond {
    background: linear-gradient(90deg, #0ea5a4, #1d4ed8);
}

.plan-pill.platinum {
    background: linear-gradient(90deg, #94a3b8, #64748b);
}

.plan-pill.gold {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.plan-card ul {
    margin: 0 0 0 18px;
    padding: 0;
}

.plan-card li {
    margin: 6px 0;
}

/* Feature list (uses provided exact text) */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 18px 0;
}

.feature-list li {
    position: relative;
    padding-left: 28px;
    margin: 8px 0;
}

.feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--inv-brand-primary);
    font-weight: 900;
}

/* Sponsor table */
.table-scroll {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
}

.sponsor-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--inv-border);
    border-radius: 12px;
    overflow: hidden;
    font-size: 16px;
    margin:30px 0;
}

.sponsor-table th {
    background: linear-gradient(180deg,#0fb7a6,#0b746b);
    color: #fff;
    text-align: left;
    padding: 12px 14px;
}

.sponsor-table td {
    padding: 12px 14px;
    border-top: 1px solid var(--inv-border);
}

.sponsor-table tr:nth-child(even) td {
    background: #0ea5a4;
}

.sponsor-table .section-row th {
    background: #1d4ed8;
}

/* Simple responsive two-column grid */
.grid-2{display:grid; gap:20px;}
@media (min-width: 992px){.grid-2{grid-template-columns:1fr 1fr;}}

/* QR code box */
.qr-box{display:flex; align-items:center; justify-content:center; background:#fff; border:1px solid var(--inv-border); border-radius:12px; padding:12px; box-shadow:0 6px 16px rgba(2,6,23,.06); max-width:280px; margin:auto;}
.qr-box img{width:100%; height:auto; display:block; border-radius:8px;}
.qr-caption{margin-top:8px; text-align:center; color:var(--inv-muted); font-size:14px;}

/* Hero section using AIIMS image */


.hero-aiims {
    width: 100%;
    height: var(--hero-h);
    background-image: linear-gradient(rgba(2, 6, 23, .45), rgba(2, 6, 23, .35)), url('../docs/AIIMS-Delhi.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--inv-border);
    box-shadow: inset 0 -60px 80px rgba(2, 6, 23, .25);
}

.hero-aiims__inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 24px;
}

.hero-aiims__inner h1 {
    font-size: clamp(26px, 3.6vw, 46px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.hero-aiims__inner p {
    font-size: clamp(14px, 2vw, 18px);
    margin: 0;
    opacity: .95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

/* Overlap the invitation section over the hero by 25% of hero height */
.overlap-hero {
    margin-top: -25%
}

.home-inv-section .home-inv-card--overlap {
    margin-top: -5%;
    position: relative;
    z-index: 9;
}



/* Preferred approach: overlap on the card */
.inv-card.inv-card--overlap {
    margin-top: -25%;
    position: relative;
    z-index: 2;
}

.hero-aiims {
    z-index: 1;
    position: relative;
}

/* Spacing utilities */
.section-gap-sm {
    padding: 24px 0;
}

.section-gap-lg {
    padding: 64px 0;
}

.inv-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 24px;
}

.inv-hero-inner h1 {
    font-size: clamp(26px, 3.6vw, 46px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.inv-hero-inner p {
    font-size: clamp(14px, 2vw, 18px);
    margin: 0;
    opacity: .95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}


.nivoSlider{
    max-height: 70vh;
}



/* we have to change 5 to 60% in mobile */


@media (max-width: 768px) {
    .inv-card.inv-card--overlap {
        margin-top: -60%;
        position: relative;
        z-index: 2;
    }

    .container {
        padding: 16px 0 !important;
    }
}