:root {
    /* =========================
       BRAND COLOR SYSTEM
    ========================= */

    --primary: #0F766E;
    --primary-dark: #115E59;
    --secondary: #14B8A6;
    --accent: #2FC94C;

    --dark: #0F172A;
    --muted: #64748B;

    --white: #FFFFFF;
    --body-bg: #F9FAFB;
    --light: #ECFDF5;
    --soft: #F0FDFA;

    --border: rgba(15, 118, 110, 0.10);
    --shadow: rgba(15, 23, 42, 0.08);
    --primary-shadow: rgba(15, 118, 110, 0.25);
    --primary-shadow-soft: rgba(15, 118, 110, 0.12);
}

/* =========================
   GLOBAL
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: var(--dark);
    background: var(--body-bg);
    overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    padding: 18px 0;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-size: 22px;
    transition: 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.03);
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 10px;
    transition: 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 20px);
}

.navbar-toggler {
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 8px 12px;
    border-radius: 14px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.mobile-nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 18px;
}

/* =========================
   ANNOUNCEMENT BAR
========================= */

.announcement-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 12px 0;
    box-shadow: 0 8px 24px var(--primary-shadow-soft);
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.announcement-label {
    background: rgba(255, 255, 255, 0.16);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.announcement-content marquee {
    font-size: 14px;
    font-weight: 500;
}

/* =========================
   COMMON
========================= */

.btn {
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px var(--primary-shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.section-heading h2 {
    font-weight: 800;
    font-size: 34px;
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

/* =========================
   PREMIUM FOOTER
========================= */

.premium-footer{
    background: linear-gradient(
    135deg,
    var(--primary-dark),
    #06244e
    );

    color:white;
    padding-top:70px;
    margin-top:70px;
}

.footer-grid{
    display:grid;
    grid-template-columns:
    1.3fr
    1fr
    1fr
    1fr;

    gap:45px;
}

.footer-brand h4{
    font-weight:900;
    margin-top:18px;
    margin-bottom:16px;
}

.footer-brand p{
    color:rgba(255,255,255,.72);
    line-height:1.9;
}

.footer-logo-box{
    width:75px;
    height:75px;
    background:rgba(255,255,255,.08);

    border-radius:22px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.footer-logo-box img{
    width:48px;
}

.premium-footer h5{
    font-weight:900;
    margin-bottom:22px;
}

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

.footer-links li,
.footer-contact li{
    margin-bottom:14px;
}

.footer-links a{
    color:rgba(255,255,255,.75);
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:white;
    padding-left:6px;
}

.footer-contact li{
    color:rgba(255,255,255,.75);
}

.social-links{
    display:flex;
    gap:14px;
    margin-bottom:18px;
}

/* =====================================================
   PUBLIC FOOTER â€” ORIGINAL SOCIAL MEDIA ICON DESIGN
   ===================================================== */

.premium-footer .footer-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin: 18px 0 20px;
}

/* Common icon button */

.premium-footer .footer-social-link {
    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 50%;

    text-decoration: none;

    background:
        rgba(255, 255, 255, 0.08);

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.14);

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.premium-footer .footer-social-link i {
    display: block;

    font-size: 21px;
    line-height: 1;

    transition:
        transform 220ms ease;
}

.premium-footer .footer-social-link:hover {
    transform: translateY(-4px);

    border-color:
        rgba(255, 255, 255, 0.30);

    box-shadow:
        0 13px 25px rgba(0, 0, 0, 0.22);
}

.premium-footer .footer-social-link:hover i {
    transform: scale(1.08);
}

/* =====================================================
   FACEBOOK
   ===================================================== */

.premium-footer
.footer-social-link-facebook {
    background:
        rgba(24, 119, 242, 0.12);
}

.premium-footer
.footer-social-link-facebook i {
    color: #1877f2;
}

.premium-footer
.footer-social-link-facebook:hover {
    background:
        rgba(24, 119, 242, 0.20);

    border-color:
        rgba(24, 119, 242, 0.55);
}

/* =====================================================
   INSTAGRAM
   ===================================================== */

.premium-footer
.footer-social-link-instagram {
    background:
        rgba(225, 48, 108, 0.10);
}

.premium-footer
.footer-social-link-instagram i {
    color: #e1306c;
}

@supports (
    background-clip: text
) {
    .premium-footer
    .footer-social-link-instagram i {
        background:
            linear-gradient(
                135deg,
                #833ab4 0%,
                #c13584 30%,
                #e1306c 52%,
                #f77737 75%,
                #fcaf45 100%
            );

        -webkit-background-clip: text;
        background-clip: text;

        -webkit-text-fill-color: transparent;
    }
}

.premium-footer
.footer-social-link-instagram:hover {
    background:
        rgba(225, 48, 108, 0.17);

    border-color:
        rgba(225, 48, 108, 0.50);
}

/* =====================================================
   YOUTUBE
   ===================================================== */

.premium-footer
.footer-social-link-youtube {
    background:
        rgba(255, 0, 0, 0.10);
}

.premium-footer
.footer-social-link-youtube i {
    color: #ff0000;
}

.premium-footer
.footer-social-link-youtube:hover {
    background:
        rgba(255, 0, 0, 0.17);

    border-color:
        rgba(255, 0, 0, 0.50);
}

/* =====================================================
   X / TWITTER
   Your database platform name is "twitter".
   ===================================================== */

.premium-footer
.footer-social-link-twitter {
    background:
        rgba(255, 255, 255, 0.09);
}

.premium-footer
.footer-social-link-twitter i {
    color: #ffffff;
}

.premium-footer
.footer-social-link-twitter:hover {
    background:
        rgba(255, 255, 255, 0.16);

    border-color:
        rgba(255, 255, 255, 0.40);
}

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

@media (max-width: 575.98px) {

    .premium-footer
    .footer-social-links {
        gap: 10px;
    }

    .premium-footer
    .footer-social-link {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .premium-footer
    .footer-social-link i {
        font-size: 19px;
    }
}

.footer-small{
    color:rgba(255,255,255,.7);
    line-height:1.8;
}

.footer-bottom{

    margin-top:55px;

    padding:24px 0;

    border-top:
    1px solid rgba(255,255,255,.08);

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;
}

.footer-bottom p{
    margin:0;
    color:rgba(255,255,255,.72);
}

.footer-bottom a{
    color:rgba(255,255,255,.72);
    text-decoration:none;
}

.footer-bottom a:hover{
    color:white;
}

@media(max-width:991px){

.footer-grid{

grid-template-columns:
1fr 1fr;

}

}


@media(max-width:576px){

.footer-grid{

grid-template-columns:
1fr;

text-align:center;

}

.footer-logo-box{

margin:auto;

}

.social-links{

justify-content:center;

}

.footer-bottom{

flex-direction:column;

}

}

/* =========================
   HOME HERO
========================= */

.hero-section {
    background: linear-gradient(135deg, var(--soft) 0%, var(--white) 60%);
    padding: 95px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    background: rgba(15, 118, 110, 0.10);
    border-radius: 50%;
    top: 90px;
    right: -120px;
    filter: blur(10px);
    animation: floatGlow 6s ease-in-out infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(47, 201, 76, 0.12);
    border-radius: 50%;
    bottom: 60px;
    left: -80px;
    filter: blur(12px);
    animation: floatGlow 7s ease-in-out infinite reverse;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-row {
    min-height: 560px;
}

.hero-badge {
    background: var(--soft);
    color: var(--primary);
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 8px;
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    max-width: 620px;
}

.hero-text {
    font-size: 19px;
    color: var(--muted);
    max-width: 560px;
    margin-top: 20px;
    line-height: 1.7;
}

.hero-card {
    background: var(--white);
    border-radius: 32px;
    padding: 45px;
    box-shadow: 0 25px 60px var(--primary-shadow-soft);
    position: relative;
    animation: fadeUp 0.8s ease both, floatCard 4s ease-in-out infinite;
}

.hero-card::before {
    content: "ÃƒÆ’Ã‚Â¢Ãƒâ€¦Ã¢â‚¬Å“Ãƒâ€¦Ã‚Â¡";
    position: absolute;
    top: 22px;
    left: 25px;
    width: 42px;
    height: 42px;
    background: var(--soft);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.hero-card::after {
    content: "24/7";
    position: absolute;
    right: 25px;
    bottom: 25px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
}

.hero-img {
    max-height: 350px;
}

/* =========================
   STATS
========================= */

.stats-section {
    margin-top: 20px;
    padding: 60px 0 45px;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 42px 18px;
    border-radius: 24px;
    box-shadow: 0 18px 35px var(--primary-shadow);
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.8s ease both;
    transition: 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.stat-card::before,
.event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: translateX(-120%);
    transition: 0.6s ease;
}

.stat-card:hover::before,
.event-card:hover::before {
    transform: translateX(120%);
}

.stat-card h2 {
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 34px;
}

.stat-card p {
    margin-bottom: 0;
    font-size: 15px;
}

/* =========================
   EVENTS PREVIEW (HOME)
========================= */

.events-preview {
    background: var(--light);
    padding-top: 45px !important;
}

.event-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px var(--shadow);
    height: 100%;
    transition: 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-6px);
}

.event-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: 0.45s ease;
}

.event-card:hover .event-img {
    transform: scale(1.08);
}

.event-card h5 {
    font-weight: 800;
    min-height: 50px;
}

.event-meta {
    color: var(--muted);
    margin-bottom: 6px;
    font-size: 14px;
}

.event-img-1 { background-image: url("https://images.unsplash.com/photo-1517048676732-d65bc937f952"); }
.event-img-2 { background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d"); }
.event-img-3 { background-image: url("https://images.unsplash.com/photo-1582719508461-905c673771fd"); }
.event-img-4 { background-image: url("https://images.unsplash.com/photo-1559757175-0eb30cd8c063"); }


/* =========================
   GALLERY PREVIEW
========================= */

.gallery-preview {
    background: var(--white);
}

.gallery-card {
    height: 170px;
    border-radius: 22px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
    transition: 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-card:hover {
    transform: scale(1.03);
}

.gallery-card::after {
    content: "View";
    position: absolute;
    inset: 0;
    background: rgba(15, 118, 110, 0.55);
    color: var(--white);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.gallery-card:hover::after {
    opacity: 1;
}

.gallery-img-1 { background-image: url("https://images.unsplash.com/photo-1581056771107-24ca5f033842"); }
.gallery-img-2 { background-image: url("https://images.unsplash.com/photo-1530026405186-ed1f139313f8"); }
.gallery-img-3 { background-image: url("https://images.unsplash.com/photo-1587825140708-dfaf72ae4b04"); }
.gallery-img-4 { background-image: url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b"); }

/* =========================
   TESTIMONIALS
========================= */

.testimonials-section {
    background: var(--light);
}

.testimonial-card {
    background: var(--white);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 30px var(--shadow);
    height: 100%;
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--soft);
    flex-shrink: 0;
}

.testimonial-top h5 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.testimonial-top span {
    color: var(--muted);
    font-size: 14px;
}

.testimonial-text {
    color: var(--muted);
    line-height: 1.8;
    font-size: 16px;
}

/* =========================
   CTA / FOOTER
========================= */

.cta-section {
    padding: 60px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 55px 30px;
    border-radius: 30px;
    box-shadow: 0 20px 50px var(--primary-shadow);
    animation: pulseGlow 3.5s ease-in-out infinite;
}

.cta-box h2 {
    font-weight: 800;
}

.cta-box p {
    font-size: 18px;
    margin: 15px 0 25px;
}


/* =====================================================
   EVENTS PAGE  -  UPCOMING EVENTS CARDS
   3-column grid (old design). Dedicated .ev-* classes
   so nothing else on the site is affected.
===================================================== */

.events-page-section {
    background: var(--white);
}

.events-page-section .container {
    max-width: 1180px;
}

/* ---------- GRID ---------- */
.ev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* ---------- CARD ---------- */
.ev-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 45px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ev-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

/* ---------- IMAGE ---------- */
.ev-card-media {
    width: 100%;
    height: 230px;
    background: #eafff7;
    overflow: hidden;
}

.ev-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ev-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ---------- BODY ---------- */
.ev-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 28px;
}

/* ---------- CATEGORY BADGE ---------- */
.ev-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
}

/* Distinct soft colour per category */
.ev-badge.category-conference        { background: #dbeafe; color: #1e40af; }
.ev-badge.category-workshop          { background: #fef3c7; color: #b45309; }
.ev-badge.category-seminar           { background: #ffedd5; color: #c2410c; }
.ev-badge.category-medical-camp      { background: #dcfce7; color: #15803d; }
.ev-badge.category-awareness-program { background: #ffe4e6; color: #be123c; }
.ev-badge.category-meeting           { background: #ede9fe; color: #6d28d9; }
.ev-badge.category-other             { background: #f1f5f9; color: #475569; }

/* ---------- TEXT ---------- */
.ev-card-title {
    font-size: 23px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 16px;
}

.ev-card-meta {
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
    font-weight: 600;
    margin: 0 0 8px;
}

.ev-card-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    font-weight: 500;
    margin: 12px 0 0;
}

/* ---------- BUTTONS ---------- */
.ev-card-actions {
    margin-top: auto;
    padding-top: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ev-register-btn,
.ev-details-btn {
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.ev-register-btn {
    background: #0f9f8f;
    color: var(--white);
    border: 2px solid #0f9f8f;
}

.ev-register-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.ev-details-btn {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.ev-details-btn:hover {
    background: var(--light);
    color: var(--primary);
}

/* ---------- EMPTY STATE ---------- */
.ev-empty {
    grid-column: 1 / -1;
    text-align: center;
    background: var(--white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 16px 45px var(--shadow);
}

.ev-empty h4 {
    font-weight: 900;
    color: var(--dark);
}

.ev-empty p {
    color: var(--muted);
    margin: 0;
}

/* ---------- MODAL PLACEHOLDER ---------- */
.ev-modal-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* =========================
   FEATURED + CATEGORIES
========================= */

.featured-event-section,
.past-events-section {
    background: var(--light);
}

.featured-event-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 55px;
    border-radius: 34px;
    box-shadow: 0 22px 60px var(--primary-shadow);
}

.featured-event-box h2 {
    font-weight: 900;
    font-size: 38px;
}

.featured-label,
.featured-meta span {
    background: rgba(255,255,255,0.16);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 800;
    display: inline-block;
}

.featured-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.category-card {
    background: var(--white);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 34px var(--shadow);
    transition: 0.3s ease;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 900;
}

.category-card:hover {
    transform: translateY(-6px);
    background: var(--primary);
    color: var(--white);
}

/* =========================
   PAST EVENTS CARDS
========================= */

.past-event-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 12px 34px var(--shadow);
    transition: 0.3s ease;
    height: 100%;
    min-height: 255px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.past-event-card:hover {
    transform: translateY(-6px);
}

.past-event-card h5 {
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.4;
}

.past-event-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.past-event-card span {
    color: var(--primary);
    font-weight: 900;
    font-size: 14px;
}

/* =========================
   EVENT MODAL
========================= */

.event-modal {
    border: none;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.event-modal .modal-header {
    padding: 26px 30px 10px;
}

.event-modal .modal-body {
    padding: 20px 30px;
}

.event-modal .modal-footer {
    padding: 10px 30px 30px;
}

.modal-event-img {
    height: 280px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.modal-info-grid div {
    background: var(--light);
    padding: 18px;
    border-radius: 18px;
    color: var(--muted);
    font-size: 14px;
}

/* =========================
   ANIMATIONS
========================= */

.hero-badge,
.hero-title,
.hero-text,
.hero-section .btn,
.stat-card,
.event-card,
.gallery-card,
.cta-box {
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatGlow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-22px) scale(1.05); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 20px 50px var(--primary-shadow); }
    50% { box-shadow: 0 28px 70px rgba(15, 118, 110, 0.38); }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .navbar-collapse {
        padding-top: 18px;
    }

    .navbar-nav {
        align-items: flex-start !important;
        text-align: left;
        gap: 6px;
        padding-bottom: 16px;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        display: block;
        width: 100%;
        font-size: 16px;
        padding: 9px 8px;
        margin: 0;
    }

    .mobile-nav-buttons {
        width: 100%;
        margin-left: 0;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        flex-direction: row;
    }

    .mobile-nav-buttons .btn {
        min-width: 95px;
        padding: 8px 20px;
    }

    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-section::before,
    .hero-section::after {
        display: none;
    }

    .hero-row {
        min-height: auto;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-card {
        margin-bottom: 30px;
        animation: fadeUp 0.8s ease both;
    }

    .stats-section {
        padding: 55px 0 50px;
    }

    .stat-card {
        min-height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Events page: 2 columns on tablet */
    .events-page-section .container {
        max-width: 100%;
    }

    .ev-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section-heading h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .section-heading p {
        font-size: 16px;
        line-height: 1.6;
    }

    .events-preview .d-flex,
    .gallery-preview .d-flex,
    .achievements-section .d-flex {
        align-items: flex-start !important;
        gap: 14px;
    }

    .events-preview .btn,
    .gallery-preview .btn,
    .achievements-section .btn {
        padding: 8px 18px !important;
        font-size: 14px;
        min-width: 95px;
        line-height: 1.2;
    }

    .testimonial-card {
        padding: 26px;
    }

    .testimonial-top h5 {
        font-size: 19px;
    }

    .testimonial-img {
        width: 68px;
        height: 68px;
    }

    .modal-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-event-img {
        height: 210px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-card {
        padding: 25px;
    }

    .stats-section .row,
    .events-preview .row,
    .achievements-section .row,
    .gallery-preview .row,
    .testimonials-section .row,
    .events-page-section .row,
    .event-categories-section .row,
    .past-events-section .row {
        padding-left: 14px;
        padding-right: 14px;
    }

    .stat-card,
    .event-card,
    .achievement-card,
    .gallery-card,
    .testimonial-card,
    .category-card,
    .past-event-card {
        max-width: 94%;
        margin-left: auto;
        margin-right: auto;
    }

    .stat-card {
        padding: 38px 14px;
    }

    .stat-card h2 {
        font-size: 30px;
    }

    .event-card h5 {
        min-height: auto;
    }

    .event-img {
        height: 210px;
    }

    .gallery-card {
        height: 135px;
    }

    .featured-event-box {
        padding: 28px;
    }

    .featured-event-box h2 {
        font-size: 30px;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
    }

    /* Events page: single column on phone */
    .ev-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ev-card-media {
        height: 210px;
    }

    .ev-card-body {
        padding: 24px 22px 26px;
    }

    .ev-card-title {
        font-size: 21px;
    }
}

/* =====================================================
   HOME PAGE - UPCOMING EVENTS SECTION
   (kept unchanged - belongs to the home page only)
===================================================== */

.home-upcoming-fixed-section,
.events-preview {
    background: #eafff7 !important;
    padding: 54px 0 58px !important;
    overflow: hidden !important;
}

.home-upcoming-fixed-section .container,
.events-preview .container {
    max-width: 1040px !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
}

.home-section-head,
.events-preview .d-flex.justify-content-between {
    margin-bottom: 34px !important;
}

.home-section-head h2,
.events-preview h2 {
    font-size: 32px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    color: #0f172a !important;
}

.home-section-head p,
.events-preview p.text-muted {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

.home-view-all-btn,
.events-preview .btn-outline-primary {
    min-width: 105px !important;
    height: 42px !important;
    padding: 0 22px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-color: #0f766e !important;
    color: #0f766e !important;
    background: transparent !important;
}

.home-events-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 26px !important;
    margin: 0 !important;
}

.home-events-grid > .col-lg-3,
.home-events-grid > .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: unset !important;
    padding: 0 !important;
}

.home-event-card {
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
}

.home-event-img-wrap,
.home-event-img {
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
}

.home-event-img {
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.home-event-body {
    padding: 20px 20px 18px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.home-event-badge {
    padding: 6px 11px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    margin-bottom: 13px !important;
}

.home-event-badge.conference { background: #2563eb !important; color: #ffffff !important; }
.home-event-badge.workshop   { background: #facc15 !important; color: #111827 !important; }
.home-event-badge.seminar    { background: #ea580c !important; color: #ffffff !important; }
.home-event-badge.camp       { background: #16a34a !important; color: #ffffff !important; }
.home-event-badge.drive,
.home-event-badge.awareness  { background: #e11d48 !important; color: #ffffff !important; }
.home-event-badge.meeting    { background: #7c3aed !important; color: #ffffff !important; }
.home-event-badge.other      { background: #475569 !important; color: #ffffff !important; }

.home-event-body h4 {
    font-size: 21px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 12px !important;

    min-height: 72px !important;
    max-height: 72px !important;
    overflow: hidden !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.home-event-body p {
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #64748b !important;
    font-weight: 650 !important;
    margin: 0 0 8px !important;
}

.home-event-register-btn,
.home-event-body .btn {
    margin-top: auto !important;
    min-width: 92px !important;
    height: 36px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: #0f9f8f !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    border: none !important;
    text-decoration: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 991px) {
    .home-upcoming-fixed-section .container,
    .events-preview .container {
        max-width: 100% !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    .home-events-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 18px !important;
        padding-bottom: 12px !important;
    }

    .home-events-grid > .col-lg-3,
    .home-events-grid > .col-md-6 {
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
        flex: 0 0 220px !important;
        padding: 0 !important;
    }

    .home-event-card {
        height: 420px !important;
        min-height: 420px !important;
        max-height: 420px !important;
    }
}

@media (max-width: 575px) {
    .home-upcoming-fixed-section,
    .events-preview {
        padding: 42px 0 48px !important;
    }

    .home-upcoming-fixed-section .container,
    .events-preview .container {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .home-section-head,
    .events-preview .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 28px !important;
    }

    .home-event-card {
        height: 405px !important;
        min-height: 405px !important;
        max-height: 405px !important;
        border-radius: 22px !important;
    }
}

/* =====================================================
   FINAL CLEAN GLOBAL NAVBAR FIX
   Desktop design kept same.
   Mobile menu fixed:
   - hamburger opens and closes
   - nav links vertical
   - Register/Login vertical full-width
   - active page clearly highlighted
   - student profile dropdown fits screen
===================================================== */

.public-main-navbar {
    background: #ffffff !important;
    z-index: 1050 !important;
}

.public-main-navbar .container {
    max-width: 1320px !important;
}

.public-main-navbar .navbar-brand {
    white-space: nowrap !important;
}

.public-main-navbar .brand-title {
    font-size: 22px !important;
    font-weight: 900 !important;
}

.public-main-navbar .navbar-toggler {
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    padding: 8px 12px !important;
    border-radius: 14px !important;
}

.public-main-navbar .navbar-toggler:focus {
    box-shadow: none !important;
}

.public-main-navbar .navbar-nav {
    align-items: center !important;
}

.public-main-navbar .nav-link {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    padding: 10px 12px !important;
    white-space: nowrap !important;
    position: relative !important;
}

.public-main-navbar .nav-link:hover {
    color: #0f766e !important;
}

.public-main-navbar .nav-link.active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(20, 184, 166, 0.14)) !important;
    color: #0f766e !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.12) !important;
}

.public-main-navbar .nav-link.active::after {
    display: none !important;
}

.public-main-navbar .nav-link.active::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #0f766e;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.navbar-action-area {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: 22px !important;
}

.student-profile-dropdown {
    position: relative !important;
}

.student-profile-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 0 !important;
    background: #ffffff !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
    max-width: 100% !important;
}

.student-profile-avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #0f766e, #14b8a6) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 900 !important;
}

.student-profile-info {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.1 !important;
    text-align: left !important;
    min-width: 0 !important;
}

.student-profile-info span {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

.student-profile-info strong {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 150px !important;
}

.student-dropdown-menu {
    border: 0 !important;
    border-radius: 20px !important;
    padding: 10px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14) !important;
}

.student-dropdown-menu .dropdown-item {
    border-radius: 14px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
}

.student-dropdown-menu .dropdown-item:hover {
    background: #ecfdf5 !important;
    color: #0f766e !important;
}

.student-dropdown-menu .logout-item {
    color: #dc2626 !important;
}

@media (min-width: 992px) {
    .public-main-navbar .navbar-collapse {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }

    .public-main-navbar .navbar-nav {
        flex-direction: row !important;
    }
}

@media (max-width: 991.98px) {
    .public-main-navbar {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .public-main-navbar .container {
        max-width: 100% !important;
    }

    .public-main-navbar .navbar-brand {
        max-width: calc(100% - 68px) !important;
        min-width: 0 !important;
    }

    .public-main-navbar .brand-title {
        font-size: 17px !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }

    .public-main-navbar .logo-circle {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        font-size: 21px !important;
    }

    .public-main-navbar .navbar-toggler {
        margin-left: auto !important;
    }

    .public-main-navbar .navbar-collapse {
        width: 100% !important;
        padding-top: 18px !important;
        margin-top: 16px !important;
        border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    }

    .public-main-navbar .navbar-collapse:not(.show) {
        display: none !important;
    }

    .public-main-navbar .navbar-collapse.show {
        display: block !important;
    }

    .public-main-navbar .navbar-nav {
        width: 100% !important;
        align-items: stretch !important;
        text-align: left !important;
        gap: 6px !important;
        padding-bottom: 14px !important;
    }

    .public-main-navbar .navbar-nav .nav-item {
        width: 100% !important;
    }

    .public-main-navbar .nav-link {
        display: block !important;
        width: 100% !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        padding: 11px 14px !important;
        margin: 0 !important;
        border-radius: 14px !important;
        white-space: normal !important;
    }

    .public-main-navbar .nav-link:hover,
    .public-main-navbar .nav-link.active {
        background: #ecfdf5 !important;
    }

    .public-main-navbar .nav-link::after {
        display: none !important;
    }

    .public-main-navbar .nav-link.active {
        width: 100% !important;
        padding: 12px 16px !important;
        border-radius: 16px !important;
        background: #ecfdf5 !important;
    }

    .public-main-navbar .nav-link.active::before {
        margin-right: 10px;
    }

    .navbar-action-area {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 14px !important;
        padding-top: 14px !important;
        border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .navbar-action-area > .btn {
        width: 100% !important;
        height: 46px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
    }

    .student-profile-dropdown {
        width: 100% !important;
    }

    .student-profile-btn {
        width: 100% !important;
        min-height: 58px !important;
        justify-content: flex-start !important;
        padding: 10px 14px !important;
        border-radius: 18px !important;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
    }

    .student-profile-info {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .student-profile-info strong {
        max-width: 100% !important;
        font-size: 14px !important;
    }

    .student-profile-btn .fa-chevron-down {
        margin-left: auto !important;
        flex-shrink: 0 !important;
    }

    .student-dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        min-width: 100% !important;
        margin-top: 10px !important;
        padding: 10px !important;
        border-radius: 18px !important;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10) !important;
    }

    .student-dropdown-menu .dropdown-item {
        width: 100% !important;
        white-space: normal !important;
        padding: 12px 14px !important;
    }

    .student-dropdown-menu .dropdown-divider {
        margin: 8px 0 !important;
    }
}

@media (max-width: 575.98px) {
    .public-main-navbar .brand-title {
        font-size: 15px !important;
        max-width: 230px !important;
    }

    .public-main-navbar .logo-circle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        font-size: 19px !important;
    }

    .navbar-action-area > .btn {
        height: 44px !important;
    }
}
/* =====================================================
   FOOTER LOGO DESIGN FIX
   Paste this at the END of static/css/style.css
   ===================================================== */

.premium-footer .footer-logo-box {
    width: 104px !important;
    height: 104px !important;
    min-width: 104px !important;
    padding: 12px !important;
    margin-bottom: 20px;
    border-radius: 26px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.premium-footer .footer-logo-box .site-footer-logo {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 16px;
    background: transparent !important;
}

/* Keeps the footer brand area neat on smaller screens. */
@media (max-width: 767.98px) {
    .premium-footer .footer-brand {
        text-align: center;
    }

    .premium-footer .footer-logo-box {
        width: 90px !important;
        height: 90px !important;
        min-width: 90px !important;
        margin: 0 auto 18px;
        padding: 10px !important;
        border-radius: 22px !important;
    }
}
/* =====================================================
   CLEAN FINAL HERO IMAGE FIT
   Remove all older Hero fix blocks, then keep only this one
   at the VERY END of static/css/style.css
   ===================================================== */

.hero-section .hero-card {
    position: relative !important;
    display: block !important;

    width: 100% !important;
    max-width: 680px !important;

    /* Matches the uploaded Hero artwork exactly */
    aspect-ratio: 4 / 3 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 0 0 auto !important;
    padding: 0 !important;

    overflow: hidden !important;
    border-radius: 30px !important;
    background: #ffffff !important;
}

/* Show the complete image with no zoom and no cropping */
.hero-section .hero-card > img.hero-img {
    position: static !important;
    inset: auto !important;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;

    transform: none !important;
    scale: none !important;

    border-radius: inherit !important;
}

/* Remove the old corrupted decorative text */
.hero-section .hero-card::before {
    content: none !important;
    display: none !important;
}

/* Keep the existing 24/7 badge over the image */
.hero-section .hero-card::after {
    content: "24/7" !important;
    position: absolute !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 5 !important;

    width: 78px !important;
    height: 78px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;

    border-radius: 50% !important;
    background: #087f75 !important;
    color: #ffffff !important;

    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
    .hero-section .hero-card {
        width: min(100%, 720px) !important;
        max-width: 720px !important;
        margin: 0 auto !important;
        aspect-ratio: 4 / 3 !important;
        border-radius: 26px !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section .hero-card {
        width: 100% !important;
        aspect-ratio: 4 / 3 !important;
        border-radius: 22px !important;
    }

    .hero-section .hero-card::after {
        right: 14px !important;
        bottom: 14px !important;
        width: 62px !important;
        height: 62px !important;
        font-size: 17px !important;
    }
}

/* =====================================================
   NAVBAR UPLOADED LOGO SIZE FIX
   Paste at the VERY END of static/css/style.css
   ===================================================== */

/* Keep navbar height stable whether a logo is uploaded or not. */
.public-main-navbar {
    min-height: 82px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Prevent the brand area from stretching the navbar. */
.public-main-navbar .navbar-brand {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fixed logo container */
.public-main-navbar .navbar-brand .logo-circle {
    flex: 0 0 58px !important;

    width: 58px !important;
    height: 58px !important;

    min-width: 58px !important;
    min-height: 58px !important;

    max-width: 58px !important;
    max-height: 58px !important;

    padding: 4px !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    border-radius: 50% !important;
    background: #ffffff !important;
}

/* Uploaded logo must always remain inside the fixed circle. */
.public-main-navbar .navbar-brand .logo-circle .site-navbar-logo {
    position: static !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    border-radius: 50% !important;
    transform: none !important;
}

/* Keep the website name aligned beside the logo. */
.public-main-navbar .brand-title {
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Mobile sizing */
@media (max-width: 991.98px) {
    .public-main-navbar {
        min-height: 72px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .public-main-navbar .navbar-brand .logo-circle {
        flex-basis: 48px !important;

        width: 48px !important;
        height: 48px !important;

        min-width: 48px !important;
        min-height: 48px !important;

        max-width: 48px !important;
        max-height: 48px !important;

        padding: 3px !important;
    }
}

/* =====================================================
   ACHIEVEMENTS ADMIN - CLEAN DESIGN
   ===================================================== */

.wc-achievement-editor {
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #dce7e5;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(9, 30, 66, 0.05);
}

.wc-achievement-editor-heading,
.wc-achievement-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.wc-achievement-editor-heading span,
.wc-achievement-list-heading span {
    display: block;
    margin-bottom: 4px;
    color: #087f75;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wc-achievement-editor-heading h3,
.wc-achievement-list-heading h3 {
    margin: 0;
    color: #183532;
    font-size: 22px;
    font-weight: 800;
}

.wc-achievement-list-heading h3 small {
    color: #7a8d8a;
    font-size: 15px;
}

.wc-achievement-editor .wc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.wc-achievement-editor .wc-field.full {
    grid-column: 1 / -1;
}

.wc-achievement-editor .wc-field label {
    display: block;
    margin-bottom: 10px;
    color: #264340;
    font-size: 14px;
    font-weight: 700;
}

.wc-achievement-editor .wc-field input[type="text"],
.wc-achievement-editor .wc-field input[type="number"],
.wc-achievement-editor .wc-field textarea,
.wc-achievement-editor .wc-field input[type="file"] {
    width: 100%;
    border: 1px solid #d9e5e3;
    border-radius: 16px;
    background: #f7fbfa;
    color: #17322f;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    outline: none;
}

.wc-achievement-editor .wc-field textarea {
    min-height: 150px;
    resize: vertical;
}

.wc-achievement-editor .wc-field small {
    display: block;
    margin-top: 8px;
    color: #758885;
    font-size: 13px;
}

.wc-image-upload-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.wc-current-image {
    width: 150px;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    background: #edf6f4;
    border: 1px solid #dbe7e4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-current-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-current-image i {
    font-size: 34px;
    color: #0b8277;
}

.wc-achievement-remove-image,
.wc-achievement-active-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #465c59;
    font-size: 14px;
    font-weight: 650;
}

.wc-achievement-remove-image input,
.wc-achievement-active-toggle input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.wc-achievement-editor-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.wc-achievement-cancel-btn,
.wc-achievement-edit-btn,
.wc-achievement-toggle-btn,
.wc-achievement-delete-btn,
.wc-save-achievement-btn {
    border: 0;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 750;
    cursor: pointer;
    transition: 0.2s ease;
}

.wc-save-achievement-btn {
    background: #087f75;
    color: #fff;
}

.wc-save-achievement-btn:hover {
    background: #066d64;
}

.wc-achievement-cancel-btn {
    background: #edf2f1;
    color: #38514f;
}

.wc-achievement-list {
    display: grid;
    gap: 18px;
}

.wc-achievement-admin-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px;
    border: 1px solid #e0e9e7;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(9, 30, 66, 0.04);
}

.wc-achievement-admin-image {
    position: relative;
    height: 130px;
    overflow: hidden;
    border-radius: 18px;
    background: #edf6f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-achievement-admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-achievement-admin-image > i {
    font-size: 36px;
    color: #087f75;
}

.wc-achievement-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.wc-achievement-status.active {
    background: #0b8277;
}

.wc-achievement-status.hidden {
    background: #83918f;
}

.wc-achievement-admin-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e8f5f2;
    color: #087f75;
    font-size: 12px;
    font-weight: 800;
}

.wc-achievement-admin-content h4 {
    margin: 10px 0 8px;
    color: #17312e;
    font-size: 20px;
    font-weight: 800;
}

.wc-achievement-admin-content p {
    margin: 0 0 10px;
    color: #667b78;
    line-height: 1.6;
}

.wc-achievement-admin-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wc-achievement-edit-btn {
    background: #e7f5f2;
    color: #087f75;
}

.wc-achievement-toggle-btn {
    background: #edf1f0;
    color: #425653;
}

.wc-achievement-delete-btn {
    background: #fff0f0;
    color: #c74040;
}

.wc-empty-state {
    padding: 40px 24px;
    text-align: center;
    border: 1px dashed #d6e4e1;
    border-radius: 22px;
    background: #fbfdfd;
}

.wc-empty-state i {
    font-size: 36px;
    color: #0b8277;
    margin-bottom: 12px;
}

.wc-empty-state h3 {
    margin-bottom: 10px;
    color: #193633;
    font-size: 22px;
    font-weight: 800;
}

.wc-empty-state p {
    margin: 0;
    color: #6f8480;
}

@media (max-width: 900px) {
    .wc-achievement-editor .wc-form-grid {
        grid-template-columns: 1fr;
    }

    .wc-image-upload-row {
        grid-template-columns: 1fr;
    }

    .wc-current-image {
        width: 100%;
        max-width: 220px;
        height: 140px;
    }

    .wc-achievement-admin-card {
        grid-template-columns: 1fr;
    }

    .wc-achievement-admin-image {
        height: 190px;
    }

    .wc-achievement-admin-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .wc-achievement-admin-actions button {
        width: 100%;
    }
}
/* =====================================================
   FINAL ADAPTIVE HOME GALLERY
   AUTO + ARROWS + MOUSE DRAG + MOBILE SWIPE
   ===================================================== */

.home-gallery-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(13, 148, 136, 0.08),
            transparent 32%
        ),
        #ffffff;
}

.home-gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.home-gallery-kicker {
    display: block;
    margin-bottom: 7px;
    color: #0b887d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-gallery-heading h2 {
    margin: 0 0 8px;
    color: #101b35;
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 850;
    letter-spacing: -0.03em;
}

.home-gallery-heading p {
    margin: 0;
    color: #667085;
    font-size: 16px;
}

.home-gallery-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 0 18px;
    border-radius: 999px;
    background: #eaf7f4;
    color: #087b71;
    font-size: 14px;
    font-weight: 800;
}

/* One to four images */

.home-gallery-static-grid {
    display: grid;
    gap: 22px;
    margin-inline: auto;
}

.home-gallery-count-1 {
    grid-template-columns: minmax(0, 580px);
    max-width: 580px;
}

.home-gallery-count-2 {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    max-width: 900px;
}

.home-gallery-count-3 {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    max-width: 1120px;
}

.home-gallery-count-4 {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    max-width: 1320px;
}

/* Shared image card */

.home-gallery-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 26px;
    background: #e9f5f3;
    box-shadow:
        0 20px 42px rgba(15, 23, 42, 0.11),
        0 4px 12px rgba(15, 23, 42, 0.05);
    animation: galleryCardEnter 650ms ease both;
    transition:
        transform 320ms ease,
        box-shadow 320ms ease;
}

.home-gallery-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    transition:
        transform 700ms
            cubic-bezier(0.22, 1, 0.36, 1),
        filter 350ms ease;
}

.home-gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 3;
    padding: 48px 18px 18px;
    color: #ffffff;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(4, 22, 31, 0.9)
        );
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 300ms ease,
        transform 300ms ease;
}

.home-gallery-overlay h4 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
}

.home-gallery-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    line-height: 1.5;
}

.home-gallery-card::after {
    content: "";
    position: absolute;
    top: -45%;
    left: -85%;
    z-index: 4;
    width: 45%;
    height: 190%;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
        );
    transform:
        rotate(18deg)
        translateX(-120%);
    transition:
        transform 900ms
            cubic-bezier(0.22, 1, 0.36, 1);
}

.home-gallery-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 28px 52px rgba(15, 23, 42, 0.16),
        0 6px 14px rgba(15, 23, 42, 0.06);
}

.home-gallery-card:hover img {
    transform: scale(1.075);
    filter: saturate(1.08);
}

.home-gallery-card:hover .home-gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.home-gallery-card:hover::after {
    transform:
        rotate(18deg)
        translateX(540%);
}

/* Five or more images */

.home-gallery-carousel {
    position: relative;
    padding: 0 58px 42px;
    isolation: isolate;
}

.home-gallery-viewport {
    position: relative;
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    cursor: grab !important;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.home-gallery-viewport::-webkit-scrollbar {
    display: none;
}

.home-gallery-viewport.is-dragging {
    cursor: grabbing !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
}

.home-gallery-viewport.is-dragging,
.home-gallery-viewport.is-dragging * {
    cursor: grabbing !important;
}

.home-gallery-track {
    display: flex;
    gap: 22px;
    width: max-content;
}

.home-gallery-slide {
    flex:
        0 0
        calc(
            (
                min(
                    1320px,
                    calc(100vw - 180px)
                ) -
                66px
            ) /
            4
        );
    min-width: 0;
    scroll-snap-align: start;
    opacity: 0.93;
    transform: scale(0.985);
    transition:
        opacity 500ms ease,
        transform 500ms
            cubic-bezier(0.22, 1, 0.36, 1);
}

.home-gallery-slide.is-current {
    opacity: 1;
    transform: scale(1);
}

/* Arrows */

.home-gallery-arrow {
    position: absolute;
    top: calc(50% - 20px);
    z-index: 20;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border:
        1px solid
        rgba(11, 136, 125, 0.2);
    border-radius: 50%;
    color: #0b887d;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 12px 28px
        rgba(15, 23, 42, 0.13);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        color 200ms ease,
        background-color 200ms ease,
        transform 200ms ease;
}

.home-gallery-arrow:hover,
.home-gallery-arrow:focus-visible {
    color: #ffffff;
    background: #0b887d;
    outline: none;
    transform:
        translateY(-50%)
        scale(1.07);
}

.home-gallery-prev {
    left: 0;
}

.home-gallery-next {
    right: 0;
}

/* Dots */

.home-gallery-dots {
    position: absolute;
    right: 58px;
    bottom: 5px;
    left: 58px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-gallery-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c5d9d5;
    cursor: pointer;
    transition:
        width 250ms ease,
        background-color 250ms ease,
        box-shadow 250ms ease;
}

.home-gallery-dot.is-active {
    width: 30px;
    background: #0b887d;
    box-shadow:
        0 4px 12px
        rgba(11, 136, 125, 0.22);
}

/* Empty state */

.home-gallery-empty {
    padding: 50px 24px;
    border: 1px dashed #cfe1de;
    border-radius: 28px;
    background: #f7fbfa;
    text-align: center;
}

.home-gallery-empty i {
    margin-bottom: 14px;
    color: #0b887d;
    font-size: 40px;
}

.home-gallery-empty h3 {
    margin: 0 0 8px;
    color: #14213d;
    font-size: 22px;
    font-weight: 800;
}

.home-gallery-empty p {
    margin: 0;
    color: #718096;
}

@keyframes galleryCardEnter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */

@media (max-width: 991.98px) {

    .home-gallery-count-3,
    .home-gallery-count-4 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        max-width: 900px;
    }

    .home-gallery-slide {
        flex-basis:
            calc(
                (
                    min(
                        900px,
                        calc(100vw - 150px)
                    ) -
                    22px
                ) /
                2
            );
    }
}

/* Mobile */

@media (max-width: 575.98px) {

    .home-gallery-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 24px;
    }

    .home-gallery-count-badge {
        min-height: 38px;
    }

    .home-gallery-count-2,
    .home-gallery-count-3,
    .home-gallery-count-4 {
        grid-template-columns: 1fr;
        max-width: 430px;
    }

    .home-gallery-carousel {
        padding: 0 45px 42px;
    }

    .home-gallery-slide {
        flex-basis:
            calc(100vw - 126px);
    }

    .home-gallery-arrow {
        width: 40px;
        height: 40px;
    }

    .home-gallery-prev {
        left: 0;
    }

    .home-gallery-next {
        right: 0;
    }

    .home-gallery-dots {
        right: 0;
        left: 0;
    }

    .home-gallery-card {
        border-radius: 22px;
    }

    .home-gallery-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .home-gallery-card,
    .home-gallery-card img,
    .home-gallery-overlay,
    .home-gallery-card::after,
    .home-gallery-slide {
        animation: none !important;
        transition: none !important;
    }

    .home-gallery-viewport {
        scroll-behavior: auto;
    }
}
/* =====================================================
   HOME UPCOMING EVENTS
   FINAL LONG CARD DESIGN
   ===================================================== */

#homeUpcomingEvents {
    --event-primary: #0d9b8d;
    --event-primary-dark: #08766d;
    --event-background: #eefbf7;
    --event-card-background: #ffffff;
    --event-text: #101828;
    --event-muted: #64748b;
    --event-border: #d6e7e3;
    --event-shadow: rgba(15, 23, 42, 0.08);

    position: relative;

    width: 100%;

    padding: 66px 0 56px;

    overflow: hidden;

    background: var(--event-background);
}

/* =====================================================
   SECTION CONTAINER
   ===================================================== */

#homeUpcomingEvents .home-events-container {
    width: 100%;
    max-width: 1720px;

    margin-right: auto;
    margin-left: auto;

    padding-right: clamp(20px, 4vw, 70px);
    padding-left: clamp(20px, 4vw, 70px);

    background: transparent;
}

/* =====================================================
   SECTION HEADING
   ===================================================== */

#homeUpcomingEvents .home-events-heading {
    width: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 30px;
}

#homeUpcomingEvents .home-events-heading-content {
    min-width: 0;
}

#homeUpcomingEvents .home-events-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--event-primary);

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#homeUpcomingEvents .home-events-heading h2 {
    margin: 0 0 7px;

    color: var(--event-text);

    font-size: clamp(32px, 3vw, 44px);
    font-weight: 850;

    line-height: 1.12;
    letter-spacing: -0.035em;
}

#homeUpcomingEvents .home-events-heading p {
    margin: 0;

    color: var(--event-muted);

    font-size: 15px;
    line-height: 1.65;
}

/* View All button */

#homeUpcomingEvents .home-events-view-all-btn {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    flex: 0 0 auto;

    padding: 0 18px;

    border: 1px solid var(--event-primary);
    border-radius: 999px;

    color: var(--event-primary-dark);
    background: transparent;

    font-size: 14px;
    font-weight: 750;

    line-height: 1;

    text-decoration: none;

    transition:
        color 200ms ease,
        background-color 200ms ease,
        transform 200ms ease,
        box-shadow 200ms ease;
}

#homeUpcomingEvents .home-events-view-all-btn:hover {
    color: #ffffff;
    background: var(--event-primary);

    box-shadow:
        0 10px 23px rgba(13, 155, 141, 0.18);

    transform: translateY(-2px);
}

/* =====================================================
   STATIC GRID
   ===================================================== */

#homeUpcomingEvents .home-events-static-grid {
    width: 100%;

    display: grid;

    gap: 24px;
}

#homeUpcomingEvents .home-events-count-1 {
    max-width: 410px;

    grid-template-columns: 1fr;

    margin-right: auto;
    margin-left: auto;
}

#homeUpcomingEvents .home-events-count-2 {
    max-width: 844px;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    margin-right: auto;
    margin-left: auto;
}

#homeUpcomingEvents .home-events-count-3 {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

#homeUpcomingEvents .home-events-count-4 {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}

/* =====================================================
   CAROUSEL
   ===================================================== */

#homeUpcomingEvents .home-events-carousel {
    position: relative;

    width: 100%;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 0 56px 40px;

    overflow: visible !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

/* =====================================================
   VIEWPORT
   ===================================================== */

#homeUpcomingEvents .home-events-viewport {
    position: relative;

    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;

    padding-top: 8px !important;
    padding-right: 0 !important;
    padding-bottom: 16px !important;
    padding-left: 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x mandatory;
    scroll-behavior: auto !important;

    scrollbar-width: none;

    overscroll-behavior-inline: contain;

    cursor: grab;

    touch-action: pan-x pan-y;

    user-select: none;
    -webkit-user-select: none;

    -webkit-overflow-scrolling: touch;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    box-shadow: none !important;
}

#homeUpcomingEvents .home-events-viewport::-webkit-scrollbar {
    display: none;
}

#homeUpcomingEvents .home-events-viewport.is-dragging,
#homeUpcomingEvents .home-events-viewport.is-animating {
    scroll-snap-type: none;
}

#homeUpcomingEvents .home-events-viewport.is-dragging {
    cursor: grabbing;
}

#homeUpcomingEvents .home-events-viewport.is-dragging * {
    cursor: grabbing !important;
}

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

#homeUpcomingEvents .home-events-track {
    width: 100%;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    display: flex !important;
    align-items: stretch !important;

    gap: 24px;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;

    box-shadow: none !important;
}

/* =====================================================
   SLIDE
   FOUR CARDS ON DESKTOP
   ===================================================== */

#homeUpcomingEvents .home-events-slide {
    flex: 0 0 calc((100% - 72px) / 4);

    min-width: 0;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    display: flex !important;
    align-items: stretch !important;

    overflow: visible !important;

    scroll-snap-align: start;

    opacity: 1 !important;

    transform: none !important;
    filter: none !important;

    animation: none !important;
    transition: none !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

/* =====================================================
   LONG EVENT CARD
   ===================================================== */

#homeUpcomingEvents .home-event-card {
    position: relative;

    width: 100% !important;

    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden !important;

    border: 1px solid var(--event-border);
    border-radius: 24px;

    background: var(--event-card-background);

    box-shadow:
        0 13px 32px var(--event-shadow);

    transition:
        transform 280ms ease,
        border-color 280ms ease,
        box-shadow 280ms ease;
}

#homeUpcomingEvents .home-event-card:hover {
    border-color:
        rgba(13, 155, 141, 0.25);

    box-shadow:
        0 20px 42px rgba(15, 23, 42, 0.12);

    transform: translateY(-4px);
}

/* =====================================================
   POSTER
   ===================================================== */

#homeUpcomingEvents .home-event-poster {
    position: relative;

    width: 100%;

    height: 255px !important;

    flex: 0 0 255px !important;

    overflow: hidden;

    background: #e5f5f1;
}

#homeUpcomingEvents .home-event-poster-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    pointer-events: none;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;

    transition:
        transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

#homeUpcomingEvents
.home-event-card:hover
.home-event-poster-image {
    transform: scale(1.04);
}

/* Poster placeholder */

#homeUpcomingEvents .home-event-poster-placeholder {
    width: 100%;
    height: 100%;

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

    gap: 10px;

    color: var(--event-primary);

    background:
        linear-gradient(
            145deg,
            #effbf8,
            #dff4ef
        );
}

#homeUpcomingEvents
.home-event-poster-placeholder i {
    font-size: 40px;

    opacity: 0.72;
}

#homeUpcomingEvents
.home-event-poster-placeholder span {
    color: #607b76;

    font-size: 12px;
    font-weight: 700;
}

/* =====================================================
   EVENT DATE CHIP
   ===================================================== */

#homeUpcomingEvents .home-event-date-chip {
    position: absolute;

    top: 15px;
    right: 15px;

    min-width: 55px;

    padding: 10px 8px;

    border:
        1px solid rgba(255, 255, 255, 0.42);

    border-radius: 14px;

    color: #ffffff;

    background:
        rgba(29, 45, 52, 0.88);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    text-align: center;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.22);
}

#homeUpcomingEvents .home-event-date-chip strong,
#homeUpcomingEvents .home-event-date-chip span {
    display: block;
}

#homeUpcomingEvents .home-event-date-chip strong {
    font-size: 19px;
    font-weight: 850;

    line-height: 1;
}

#homeUpcomingEvents .home-event-date-chip span {
    margin-top: 4px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 9px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =====================================================
   CARD BODY
   ===================================================== */

#homeUpcomingEvents .home-event-card-body {
    width: 100%;

    flex: 1 1 auto !important;

    min-height: 0 !important;
    max-height: none !important;

    display: flex !important;
    align-items: flex-start !important;
    flex-direction: column !important;

    padding: 24px !important;

    overflow: visible !important;
}

/* =====================================================
   CATEGORY + SOURCE BADGES
   ===================================================== */

#homeUpcomingEvents .home-event-badge-row {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    flex: 0 0 auto;

    margin-bottom: 18px;
}

/* Category */

#homeUpcomingEvents .home-event-category {
    min-height: 34px;
    max-width: 55%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 1 auto;

    margin: 0 !important;

    padding: 8px 13px;

    overflow: hidden;

    border-radius: 10px;

    color: #0f766e;
    background: #eafaf6;

    font-size: 10px;
    font-weight: 800;

    line-height: 1.2;

    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Awareness */

#homeUpcomingEvents .category-awareness,
#homeUpcomingEvents .category-awareness-program {
    color: #e11d48;
    background: #ffe8ef;
}

/* Conference */

#homeUpcomingEvents .category-conference {
    color: #1d4ed8;
    background: #eaf0ff;
}

/* Workshop */

#homeUpcomingEvents .category-workshop {
    color: #946300;
    background: #fff2c5;
}

/* Seminar */

#homeUpcomingEvents .category-seminar {
    color: #6d28d9;
    background: #f1eaff;
}

/* Medical camp */

#homeUpcomingEvents .category-camp,
#homeUpcomingEvents .category-medical-camp {
    color: #be123c;
    background: #ffe8ee;
}

/* Meeting */

#homeUpcomingEvents .category-meeting {
    color: #087d73;
    background: #e5f7f3;
}

/* Other */

#homeUpcomingEvents .category-other {
    color: #475467;
    background: #eef1f3;
}

/* Event source */

#homeUpcomingEvents .home-event-source-badge {
    min-height: 32px;
    max-width: 45%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    flex: 0 0 auto;

    padding: 7px 10px;

    border-radius: 999px;

    font-size: 9.5px;
    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;
}

#homeUpcomingEvents
.home-event-source-badge i {
    flex: 0 0 auto;

    font-size: 9px;
}

/* External event */

#homeUpcomingEvents
.home-event-source-badge.external {
    color: #2563eb;
    background: #eef4ff;
}

/* Association event */

#homeUpcomingEvents
.home-event-source-badge.association {
    color: #08766d;
    background: #ebfaf7;
}

/* =====================================================
   TITLE
   ===================================================== */

#homeUpcomingEvents .home-event-title {
    width: 100%;
    min-height: 58px;

    display: -webkit-box;

    margin: 0 0 16px;

    overflow: hidden;

    color: var(--event-text);

    font-size: 21px;
    font-weight: 850;

    line-height: 1.35;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    line-clamp: 2;
}

/* =====================================================
   EVENT META
   ===================================================== */

#homeUpcomingEvents .home-event-meta {
    width: 100%;

    flex: 0 0 auto;

    margin-bottom: 16px;
}

#homeUpcomingEvents .home-event-meta-item,
#homeUpcomingEvents .home-event-meta p {
    width: 100%;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin: 0 0 10px;

    color: var(--event-muted);

    font-size: 13px;
    font-weight: 650;

    line-height: 1.5;
}

#homeUpcomingEvents
.home-event-meta-item:last-child,
#homeUpcomingEvents
.home-event-meta p:last-child {
    margin-bottom: 0;
}

#homeUpcomingEvents
.home-event-meta-item i,
#homeUpcomingEvents
.home-event-meta p i {
    width: 17px;

    flex: 0 0 17px;

    margin-top: 2px;

    color: var(--event-primary);

    text-align: center;
}

#homeUpcomingEvents
.home-event-meta-item span,
#homeUpcomingEvents
.home-event-meta p span {
    min-width: 0;
}

#homeUpcomingEvents
.home-event-meta-item strong,
#homeUpcomingEvents
.home-event-meta p strong {
    color: #475467;

    font-weight: 750;
}

/* =====================================================
   DESCRIPTION
   ===================================================== */

#homeUpcomingEvents .home-event-description {
    width: 100%;

    min-height: 64px !important;
    max-height: 64px !important;

    display: -webkit-box !important;

    flex: 0 0 auto;

    margin: 0 0 19px !important;

    overflow: hidden !important;

    color: var(--event-muted);

    font-size: 13px;
    line-height: 1.65;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    line-clamp: 3;
}

/* =====================================================
   REGISTER BUTTON AREA
   ===================================================== */

#homeUpcomingEvents .home-event-actions {
    width: 100% !important;

    display: block !important;

    flex: 0 0 auto !important;

    margin-top: auto !important;

    padding-top: 2px !important;

    overflow: visible !important;

    visibility: visible !important;
    opacity: 1 !important;
}

/*
   Supports both button class names so the Register
   button remains visible with either HTML version.
*/

#homeUpcomingEvents .home-event-register-btn,
#homeUpcomingEvents .home-event-primary-btn {
    width: 100% !important;
    min-height: 49px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 9px;

    flex: 0 0 auto !important;

    padding: 0 18px !important;

    border:
        1px solid var(--event-primary) !important;

    border-radius: 999px !important;

    color: #ffffff !important;
    background: var(--event-primary) !important;

    font-size: 14px !important;
    font-weight: 800 !important;

    line-height: 1 !important;

    text-align: center;
    text-decoration: none !important;

    visibility: visible !important;
    opacity: 1 !important;

    cursor: pointer;

    transition:
        color 200ms ease,
        background-color 200ms ease,
        transform 200ms ease,
        box-shadow 200ms ease;
}

#homeUpcomingEvents .home-event-register-btn:hover,
#homeUpcomingEvents .home-event-primary-btn:hover {
    color: #ffffff !important;
    background: var(--event-primary-dark) !important;

    box-shadow:
        0 10px 22px rgba(13, 155, 141, 0.2);

    transform: translateY(-1px);
}

#homeUpcomingEvents .home-event-register-btn i,
#homeUpcomingEvents .home-event-primary-btn i {
    flex: 0 0 auto;

    font-size: 11px;

    transition: transform 200ms ease;
}

#homeUpcomingEvents .home-event-register-btn:hover i,
#homeUpcomingEvents .home-event-primary-btn:hover i {
    transform: translateX(3px);
}

/* Registration unavailable */

#homeUpcomingEvents
.home-event-register-btn.registration-disabled,
#homeUpcomingEvents
.home-event-primary-btn.is-disabled {
    border-color: #d6dfdd !important;

    color: #71807d !important;
    background: #edf1f0 !important;

    box-shadow: none !important;

    cursor: not-allowed;
}

/* Remove Details button only */

#homeUpcomingEvents .home-event-details-btn {
    display: none !important;
}

/* =====================================================
   CAROUSEL ARROWS
   ===================================================== */

#homeUpcomingEvents .home-events-arrow {
    position: absolute;

    top: 48%;
    z-index: 20;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid #d6e4e1;
    border-radius: 50%;

    color: var(--event-primary);
    background: rgba(255, 255, 255, 0.98);

    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.1);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        color 200ms ease,
        background-color 200ms ease,
        transform 200ms ease,
        opacity 200ms ease,
        box-shadow 200ms ease;
}

#homeUpcomingEvents .home-events-arrow:hover,
#homeUpcomingEvents .home-events-arrow:focus-visible {
    color: #ffffff;
    background: var(--event-primary);

    outline: none;

    box-shadow:
        0 14px 28px rgba(13, 155, 141, 0.2);

    transform:
        translateY(-50%)
        scale(1.04);
}

#homeUpcomingEvents .home-events-arrow:disabled {
    opacity: 0.32;

    pointer-events: none;
    cursor: default;

    box-shadow: none;
}

#homeUpcomingEvents .home-events-prev {
    left: 0;
}

#homeUpcomingEvents .home-events-next {
    right: 0;
}

/* =====================================================
   SLIDER DOTS
   ===================================================== */

#homeUpcomingEvents .home-events-dots {
    position: absolute;

    right: 56px;
    bottom: 2px;
    left: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;
}

#homeUpcomingEvents .home-events-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background:
        rgba(13, 155, 141, 0.23);

    cursor: pointer;

    transition:
        width 240ms ease,
        background-color 200ms ease;
}

#homeUpcomingEvents
.home-events-dot.is-active {
    width: 27px;

    background: var(--event-primary);
}

/* =====================================================
   EMPTY STATE
   ===================================================== */

#homeUpcomingEvents .home-events-empty {
    padding: 50px 24px;

    border:
        1px dashed rgba(13, 155, 141, 0.28);

    border-radius: 22px;

    background:
        rgba(255, 255, 255, 0.65);

    text-align: center;
}

#homeUpcomingEvents .home-events-empty-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin: 0 auto 16px;

    border-radius: 50%;

    color: var(--event-primary);
    background: #e1f7f2;

    font-size: 25px;
}

#homeUpcomingEvents .home-events-empty h3 {
    margin: 0 0 8px;

    color: var(--event-text);

    font-size: 21px;
    font-weight: 800;
}

#homeUpcomingEvents .home-events-empty p {
    margin: 0;

    color: var(--event-muted);
}

/* =====================================================
   REMOVE OLD OUTER BOXES
   ===================================================== */

#homeUpcomingEvents .home-events-container::before,
#homeUpcomingEvents .home-events-container::after,
#homeUpcomingEvents .home-events-carousel::before,
#homeUpcomingEvents .home-events-carousel::after,
#homeUpcomingEvents .home-events-viewport::before,
#homeUpcomingEvents .home-events-viewport::after,
#homeUpcomingEvents .home-events-track::before,
#homeUpcomingEvents .home-events-track::after,
#homeUpcomingEvents .home-events-slide::before,
#homeUpcomingEvents .home-events-slide::after {
    content: none !important;

    display: none !important;
}

/* =====================================================
   TABLET
   TWO CARDS
   ===================================================== */

@media (max-width: 991.98px) {

    #homeUpcomingEvents {
        padding: 58px 0 52px;
    }

    #homeUpcomingEvents .home-events-container {
        padding-right: 28px;
        padding-left: 28px;
    }

    #homeUpcomingEvents .home-events-slide {
        flex-basis:
            calc((100% - 24px) / 2);
    }

    #homeUpcomingEvents .home-events-count-3,
    #homeUpcomingEvents .home-events-count-4 {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    #homeUpcomingEvents .home-event-card {
        height: 675px !important;
        min-height: 675px !important;
        max-height: 675px !important;
    }

    #homeUpcomingEvents .home-event-poster {
        height: 245px !important;

        flex-basis: 245px !important;
    }
}

/* =====================================================
   MOBILE
   ONE COMPLETE LONG CARD
   ===================================================== */

@media (max-width: 575.98px) {

    #homeUpcomingEvents {
        padding: 50px 0 46px;
    }

    #homeUpcomingEvents .home-events-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    #homeUpcomingEvents .home-events-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 16px;

        margin-bottom: 24px;
    }

    #homeUpcomingEvents .home-events-heading h2 {
        font-size: 31px;
    }

    #homeUpcomingEvents .home-events-view-all-btn {
        min-height: 41px;

        padding: 0 16px;
    }

    #homeUpcomingEvents .home-events-carousel {
        padding: 0 0 35px;
    }

    #homeUpcomingEvents .home-events-viewport {
        width: 100% !important;

        margin: 0 !important;

        padding-top: 6px !important;
        padding-right: 0 !important;
        padding-bottom: 12px !important;
        padding-left: 0 !important;
    }

    #homeUpcomingEvents .home-events-track {
        gap: 16px;
    }

    /* One complete card */

    #homeUpcomingEvents .home-events-slide {
        flex: 0 0 100% !important;

        width: 100% !important;
        max-width: 100% !important;
    }

    #homeUpcomingEvents .home-events-arrow {
        display: none;
    }

    #homeUpcomingEvents .home-events-dots {
        right: 0;
        left: 0;
    }

    #homeUpcomingEvents .home-event-card {
        height: 690px !important;
        min-height: 690px !important;
        max-height: 690px !important;

        border-radius: 22px;
    }

    #homeUpcomingEvents .home-event-poster {
        height: 230px !important;

        flex-basis: 230px !important;
    }

    #homeUpcomingEvents .home-event-card-body {
        padding: 22px !important;
    }

    #homeUpcomingEvents .home-event-badge-row {
        align-items: flex-start;
        flex-wrap: wrap;

        gap: 8px;
    }

    #homeUpcomingEvents .home-event-category,
    #homeUpcomingEvents .home-event-source-badge {
        max-width: 100%;
    }

    #homeUpcomingEvents .home-event-title {
        min-height: auto;

        font-size: 22px;
    }

    #homeUpcomingEvents .home-event-meta-item,
    #homeUpcomingEvents .home-event-meta p {
        font-size: 13px;
    }

    #homeUpcomingEvents .home-event-description {
        min-height: 68px !important;
        max-height: 68px !important;

        font-size: 13.5px;
    }

    #homeUpcomingEvents .home-event-register-btn,
    #homeUpcomingEvents .home-event-primary-btn {
        min-height: 49px !important;

        font-size: 14px !important;
    }

    #homeUpcomingEvents .home-events-count-2,
    #homeUpcomingEvents .home-events-count-3,
    #homeUpcomingEvents .home-events-count-4 {
        grid-template-columns: 1fr;
    }

    #homeUpcomingEvents .home-event-date-chip {
        top: 12px;
        right: 12px;

        min-width: 53px;

        padding: 9px 8px;
    }
}

/* =====================================================
   VERY SMALL MOBILE
   ===================================================== */

@media (max-width: 370px) {

    #homeUpcomingEvents .home-event-card {
        height: 700px !important;
        min-height: 700px !important;
        max-height: 700px !important;
    }

    #homeUpcomingEvents .home-event-card-body {
        padding: 19px !important;
    }

    #homeUpcomingEvents .home-event-badge-row {
        align-items: flex-start;
        flex-direction: column;
    }

    #homeUpcomingEvents .home-event-register-btn,
    #homeUpcomingEvents .home-event-primary-btn {
        font-size: 13px !important;
    }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

    #homeUpcomingEvents .home-event-card,
    #homeUpcomingEvents .home-event-poster-image,
    #homeUpcomingEvents .home-event-register-btn,
    #homeUpcomingEvents .home-event-primary-btn,
    #homeUpcomingEvents .home-events-arrow,
    #homeUpcomingEvents .home-events-view-all-btn,
    #homeUpcomingEvents .home-events-dot {
        animation: none !important;
        transition: none !important;
    }

    #homeUpcomingEvents .home-events-viewport {
        scroll-behavior: auto !important;
    }
}
#homeUpcomingEvents .home-event-card {
    height: 630px !important;
    min-height: 630px !important;
    max-height: 630px !important;
}

#homeUpcomingEvents .home-event-poster {
    height: 225px !important;
    flex-basis: 225px !important;
}

#homeUpcomingEvents .home-event-card-body {
    padding: 20px !important;
}

#homeUpcomingEvents .home-event-title {
    font-size: 20px;
    min-height: 54px;
    margin-bottom: 12px;
}

#homeUpcomingEvents .home-event-description {
    min-height: 44px !important;
    max-height: 44px !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

#homeUpcomingEvents .home-event-register-btn,
#homeUpcomingEvents .home-event-primary-btn {
    min-height: 45px !important;
}
/* =====================================================
   HOME EVENTS â€” 20% SMALLER CARD SIZE
   ===================================================== */

#homeUpcomingEvents .home-event-card {
    height: 550px !important;
    min-height: 550px !important;
    max-height: 550px !important;
}

#homeUpcomingEvents .home-event-poster {
    height: 205px !important;
    flex-basis: 205px !important;
}

#homeUpcomingEvents .home-event-card-body {
    padding: 19px !important;
}

#homeUpcomingEvents .home-event-badge-row {
    margin-bottom: 12px;
}

#homeUpcomingEvents .home-event-category {
    min-height: 28px;
    padding: 6px 10px;
}

#homeUpcomingEvents .home-event-source-badge {
    min-height: 28px;
    padding: 6px 9px;
}

#homeUpcomingEvents .home-event-title {
    min-height: 48px;
    margin-bottom: 11px;

    font-size: 19px;
}

#homeUpcomingEvents .home-event-meta {
    margin-bottom: 11px;
}

#homeUpcomingEvents .home-event-meta-item,
#homeUpcomingEvents .home-event-meta p {
    margin-bottom: 7px;

    font-size: 12px;
}

#homeUpcomingEvents .home-event-description {
    min-height: 42px !important;
    max-height: 42px !important;

    margin-bottom: 13px !important;

    font-size: 12px;

    -webkit-line-clamp: 2;
    line-clamp: 2;
}

#homeUpcomingEvents .home-event-register-btn,
#homeUpcomingEvents .home-event-primary-btn {
    min-height: 42px !important;

    font-size: 13px !important;
}

/* Tablet */

@media (max-width: 991.98px) {

    #homeUpcomingEvents .home-event-card {
        height: 555px !important;
        min-height: 555px !important;
        max-height: 555px !important;
    }

    #homeUpcomingEvents .home-event-poster {
        height: 205px !important;
        flex-basis: 205px !important;
    }
}

/* Mobile */

@media (max-width: 575.98px) {

    #homeUpcomingEvents .home-event-card {
        height: 570px !important;
        min-height: 570px !important;
        max-height: 570px !important;
    }

    #homeUpcomingEvents .home-event-poster {
        height: 205px !important;
        flex-basis: 205px !important;
    }

    #homeUpcomingEvents .home-event-card-body {
        padding: 19px !important;
    }

    #homeUpcomingEvents .home-event-title {
        font-size: 20px;
    }

    #homeUpcomingEvents .home-event-register-btn,
    #homeUpcomingEvents .home-event-primary-btn {
        min-height: 44px !important;
    }
}
/* =====================================================
   HOME ACHIEVEMENTS
   ORIGINAL WEBSITE CARD DESIGN
   WITH RESPONSIVE SLIDER
   ===================================================== */

/* =====================================================
   SECTION
   ===================================================== */

.home-achievements-section {
    position: relative;
    overflow: hidden;

    background: #eefbf7 !important;
    background-image: none !important;
}

/* =====================================================
   PUBLISHED BADGE
   ===================================================== */

.home-achievements-published {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 16px;

    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 999px;

    color: var(--primary, #0f766e);
    background: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 8px 20px
        rgba(15, 23, 42, 0.05);
}

.home-achievements-published i {
    font-size: 12px;
}

/* =====================================================
   ORIGINAL ACHIEVEMENT CARD DESIGN
   ===================================================== */

.home-achievements-section .achievement-card {
    width: 100%;
    height: 100%;

    overflow: hidden;

    border: 0;
    border-radius: 26px;

    background: var(--white, #ffffff);

    box-shadow:
        0 12px 35px
        var(
            --shadow,
            rgba(15, 23, 42, 0.08)
        );

    transition:
        transform 350ms ease,
        box-shadow 350ms ease;
}

.home-achievements-section .achievement-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 45px
        rgba(15, 23, 42, 0.13);
}

/* =====================================================
   ORIGINAL IMAGE DESIGN
   ===================================================== */

.home-achievements-section .achievement-img {
    width: 100%;
    height: 240px;

    overflow: hidden;

    background-color: var(--soft, #f0fdfa);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    transition:
        transform 400ms ease;
}

.home-achievements-section
.achievement-card:hover
.achievement-img {
    transform: scale(1.05);
}

/* Image fallback */

.home-achievements-section
.achievement-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary, #0f766e);

    background:
        linear-gradient(
            145deg,
            #f0fdfa,
            #dff8f4
        );
}

.home-achievements-section
.achievement-img-placeholder i {
    font-size: 42px;
    opacity: 0.65;
}

/* =====================================================
   ORIGINAL CONTENT DESIGN
   ===================================================== */

.home-achievements-section
.achievement-content {
    padding: 28px;
}

.home-achievements-section
.achievement-content h4 {
    margin: 18px 0 14px;

    color: var(--dark, #0f172a);

    font-size: 20px;
    font-weight: 800;

    line-height: 1.35;
}

.home-achievements-section
.achievement-content p {
    margin: 0;

    color: var(--muted, #64748b);

    font-size: 14px;

    line-height: 1.8;
}

/* =====================================================
   ORIGINAL BADGE DESIGN
   ===================================================== */

.home-achievements-section
.achievement-badge {
    display: inline-block;

    max-width: 100%;

    padding: 8px 16px;

    border-radius: 999px;

    color: var(--primary, #0f766e);
    background: var(--soft, #f0fdfa);

    font-size: 13px;
    font-weight: 700;

    line-height: 1.3;
}

/* =====================================================
   SLIDER WRAPPER
   ===================================================== */

.home-achievements-carousel {
    position: relative;

    width: 100%;

    padding: 0 52px 38px;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

/* =====================================================
   VIEWPORT
   ===================================================== */

.home-achievements-viewport {
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: auto !important;

    scrollbar-width: none;

    overscroll-behavior-inline: contain;

    cursor: grab;

    touch-action: pan-x pan-y;

    user-select: none;
    -webkit-user-select: none;

    -webkit-overflow-scrolling: touch;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;

    box-shadow: none !important;
}

.home-achievements-viewport::-webkit-scrollbar {
    display: none;
}

.home-achievements-viewport.is-dragging,
.home-achievements-viewport.is-animating {
    scroll-snap-type: none;
}

.home-achievements-viewport.is-dragging {
    cursor: grabbing;
}

.home-achievements-viewport.is-dragging,
.home-achievements-viewport.is-dragging * {
    cursor: grabbing !important;
}

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

.home-achievements-track {
    display: flex;
    align-items: stretch;

    width: 100%;

    gap: 24px;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;
}

/* =====================================================
   ORIGINAL THREE-COLUMN CARD WIDTH
   ===================================================== */

.home-achievements-slide {
    flex: 0 0 calc((100% - 72px) / 4);

    min-width: 0;

    display: flex;

    scroll-snap-align: start;

    opacity: 1 !important;
    transform: none !important;
    filter: none !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    animation: none !important;
    transition: none !important;
}

.home-achievements-slide
.achievement-card {
    flex: 1;
}

/* =====================================================
   REMOVE OUTER PANEL
   ===================================================== */

.home-achievements-carousel::before,
.home-achievements-carousel::after,
.home-achievements-viewport::before,
.home-achievements-viewport::after,
.home-achievements-track::before,
.home-achievements-track::after,
.home-achievements-slide::before,
.home-achievements-slide::after {
    content: none !important;

    display: none !important;

    background: none !important;

    border: 0 !important;

    box-shadow: none !important;
}

/* =====================================================
   ARROWS
   ===================================================== */

.home-achievements-arrow {
    position: absolute;

    top: 50%;
    z-index: 10;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 50%;

    color: var(--primary, #0f766e);
    background: rgba(255, 255, 255, 0.97);

    box-shadow:
        0 10px 24px
        rgba(15, 23, 42, 0.1);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        color 220ms ease,
        background-color 220ms ease,
        transform 220ms ease,
        opacity 220ms ease;
}

.home-achievements-arrow:hover,
.home-achievements-arrow:focus-visible {
    color: #ffffff;
    background: var(--primary, #0f766e);

    outline: none;

    transform:
        translateY(-50%)
        scale(1.04);
}

.home-achievements-arrow:disabled {
    opacity: 0.32;

    pointer-events: none;
    cursor: default;
}

.home-achievements-prev {
    left: 0;
}

.home-achievements-next {
    right: 0;
}

/* =====================================================
   DOTS
   ===================================================== */

.home-achievements-dots {
    position: absolute;

    right: 52px;
    bottom: 3px;
    left: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;
}

.home-achievements-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(15, 118, 110, 0.25);

    cursor: pointer;

    transition:
        width 240ms ease,
        background-color 220ms ease;
}

.home-achievements-dot.is-active {
    width: 25px;

    background: var(--primary, #0f766e);
}

/* =====================================================
   EMPTY STATE
   ===================================================== */

.home-achievements-empty {
    padding: 48px 24px;

    border: 1px dashed rgba(15, 118, 110, 0.22);
    border-radius: 26px;

    background: rgba(255, 255, 255, 0.72);

    text-align: center;
}

.home-achievements-empty i {
    margin-bottom: 15px;

    color: var(--primary, #0f766e);

    font-size: 38px;
}

.home-achievements-empty h4 {
    margin-bottom: 8px;

    color: var(--dark, #0f172a);

    font-weight: 800;
}

.home-achievements-empty p {
    margin: 0;

    color: var(--muted, #64748b);
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 991.98px) {

    .home-achievements-slide {
        flex-basis:
            calc((100% - 24px) / 2);
    }
}

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

@media (max-width: 575.98px) {

    .home-achievements-carousel {
        padding: 0 0 34px;
    }

    .home-achievements-viewport {
        margin-right: -12px;

        padding-right: 12px;
    }

    .home-achievements-slide {
        flex-basis: 88%;
    }

    .home-achievements-arrow {
        display: none;
    }

    .home-achievements-dots {
        right: 0;
        left: 0;
    }

    .home-achievements-section
    .achievement-img {
        height: 210px;
    }

    .home-achievements-section
    .achievement-content {
        padding: 22px;
    }

    .home-achievements-section
    .achievement-content h4 {
        margin: 15px 0 11px;

        font-size: 18px;
    }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

    .home-achievements-section
    .achievement-card,

    .home-achievements-section
    .achievement-img,

    .home-achievements-arrow,

    .home-achievements-dot {
        animation: none !important;
        transition: none !important;
    }
}
/* =====================================================
   COMMON HOME PAGE SECTION ALIGNMENT
   Events, Achievements and Gallery use the same edges
   ===================================================== */

.home-section-container {
    width: 100% !important;
    max-width: 1720px !important;

    margin-right: auto !important;
    margin-left: auto !important;

    padding-right: clamp(20px, 4vw, 70px) !important;
    padding-left: clamp(20px, 4vw, 70px) !important;
}

/*
 * Remove different container widths previously applied
 * to individual Home sections.
 */
.home-events-container,
.home-achievements-container,
.home-gallery-container {
    width: 100% !important;
    max-width: 1720px !important;

    margin-right: auto !important;
    margin-left: auto !important;

    padding-right: clamp(20px, 4vw, 70px) !important;
    padding-left: clamp(20px, 4vw, 70px) !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/*
 * Achievements carousel must use the complete
 * available section width like Events.
 */
.home-achievements-carousel {
    width: 100% !important;
    max-width: none !important;

    margin-right: 0 !important;
    margin-left: 0 !important;
}

/*
 * Gallery must also use the complete shared width.
 */
.home-gallery-carousel,
.home-gallery-static-grid {
    width: 100% !important;
    max-width: none !important;

    margin-right: 0 !important;
    margin-left: 0 !important;
}

/*
 * Keep heading positions consistent.
 */
.home-events-heading,
.home-achievements-heading,
.home-gallery-heading {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Tablet */

@media (max-width: 991.98px) {

    .home-section-container,
    .home-events-container,
    .home-achievements-container,
    .home-gallery-container {
        padding-right: 28px !important;
        padding-left: 28px !important;
    }
        .home-achievements-slide {
        flex-basis: calc((100% - 24px) / 2);
    }

}

/* Mobile */

@media (max-width: 575.98px) {

    .home-section-container,
    .home-events-container,
    .home-achievements-container,
    .home-gallery-container {
        padding-right: 18px !important;
        padding-left: 18px !important;
    }
     .home-achievements-slide {
        flex-basis: 88%;
    }
}


/* =====================================================
   HOME INSPIRATIONAL LEADERS â€” PREMIUM ANIMATION
   ===================================================== */

/*
 * Elements stay visible when JavaScript is unavailable.
 * They become hidden only after JS enables animation.
 */
#homeInspirationalLeaders.leaders-animation-ready
.section-heading,
#homeInspirationalLeaders.leaders-animation-ready
.testimonial-card {
    opacity: 0;

    transform:
        translateY(34px)
        scale(0.975);

    transition:
        opacity 720ms ease,
        transform 720ms cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

    transition-delay:
        var(--leader-animation-delay, 0ms);

    will-change:
        opacity,
        transform;
}

/* Reveal when the section enters the screen */
#homeInspirationalLeaders
.section-heading.is-visible,
#homeInspirationalLeaders
.testimonial-card.is-visible {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}

/* Smooth premium card movement */
#homeInspirationalLeaders
.testimonial-card {
    position: relative;

    overflow: hidden;

    transition:
        transform 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease;
}

/* Soft light movement across the card */
#homeInspirationalLeaders
.testimonial-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: -130%;

    width: 85%;
    height: 100%;

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(255, 255, 255, 0.46),
            transparent
        );

    transform: skewX(-18deg);

    transition:
        left 720ms ease;
}

/* Card hover */
#homeInspirationalLeaders
.testimonial-card.is-visible:hover {
    transform:
        translateY(-9px)
        scale(1.012);

    border-color:
        rgba(15, 118, 110, 0.22);

    box-shadow:
        0 22px 45px
        rgba(15, 23, 42, 0.13);
}

#homeInspirationalLeaders
.testimonial-card:hover::before {
    left: 145%;
}

/* Leader image animation */
#homeInspirationalLeaders
.testimonial-img {
    object-fit: cover;
    object-position: center;

    transition:
        transform 420ms cubic-bezier(
            0.22,
            1,
            0.36,
            1
        ),
        box-shadow 420ms ease;
}

#homeInspirationalLeaders
.testimonial-card:hover
.testimonial-img {
    transform:
        scale(1.08)
        rotate(-1.5deg);

    box-shadow:
        0 12px 26px
        rgba(15, 118, 110, 0.22);
}

/* Name colour movement */
#homeInspirationalLeaders
.testimonial-top h5 {
    transition:
        color 250ms ease;
}

#homeInspirationalLeaders
.testimonial-card:hover
.testimonial-top h5 {
    color: var(--primary);
}

/* Quote movement */
#homeInspirationalLeaders
.testimonial-text {
    transition:
        transform 300ms ease,
        color 300ms ease;
}

#homeInspirationalLeaders
.testimonial-card:hover
.testimonial-text {
    transform: translateY(-2px);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    #homeInspirationalLeaders
    .section-heading,

    #homeInspirationalLeaders
    .testimonial-card,

    #homeInspirationalLeaders
    .testimonial-img,

    #homeInspirationalLeaders
    .testimonial-text {

        opacity: 1 !important;

        transform: none !important;

        transition: none !important;

        animation: none !important;
    }

    #homeInspirationalLeaders
    .testimonial-card::before {
        display: none;
    }
}

/* =====================================================
   PUBLIC FOOTER DYNAMIC CONTACT DETAILS
   ===================================================== */

.premium-footer .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.premium-footer .footer-contact li i {
    width: 18px;
    flex: 0 0 18px;
    margin-top: 4px;
    color: #5eead4;
    text-align: center;
}

.premium-footer .footer-contact li a,
.premium-footer .footer-contact li span {
    color: inherit;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.premium-footer .footer-contact li a {
    text-decoration: none;
}

.premium-footer .footer-contact li a:hover {
    color: #5eead4;
}

.premium-footer .footer-social-empty {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

/* =====================================================
   SECURE EVENT REGISTRATION FORMS
===================================================== */

.event-registration-form {
    display: inline-flex;
    width: auto;
    margin: 0;
    padding: 0;
}

.event-registration-form button {
    font-family: inherit;
    cursor: pointer;
}

button.home-event-register-btn,
button.evx-register-btn {
    appearance: none;
    -webkit-appearance: none;

    border: 0;
}

.home-event-actions
.event-registration-form {
    width: 100%;
}

.home-event-actions
.event-registration-form
.home-event-register-btn {
    width: 100%;
}

.evx-actions
.event-registration-form {
    display: inline-flex;
}

.modal-footer
.event-registration-form {
    margin: 0;
}

/* =====================================================
   SECURE STUDENT LOGOUT FORMS
===================================================== */

.student-navbar-logout-form,
.dashboard-logout-form {
    margin: 0;
    padding: 0;
}

.student-navbar-logout-form {
    width: 100%;
}

.student-navbar-logout-form
.logout-item {
    width: 100%;

    border: 0;

    text-align: left;

    background: transparent;
}

.dashboard-logout-form {
    display: inline-flex;
}

.dashboard-logout-form
.dashboard-btn {
    appearance: none;
    -webkit-appearance: none;

    font-family: inherit;

    cursor: pointer;
}

/* MOBILE FOOTER RESPONSIVE FIX — START */

@media (max-width: 767.98px) {

    /* =================================================
       FOOTER OUTER CONTAINER
       ================================================= */

    .premium-footer,
    .premium-footer * {
        box-sizing: border-box;
    }

    .premium-footer {
        width: 100% !important;
        max-width: 100% !important;

        overflow: hidden !important;

        padding: 52px 0 26px !important;
    }

    .premium-footer > .container {
        width: 100% !important;
        max-width: 100% !important;

        margin-right: auto !important;
        margin-left: auto !important;

        padding-right: 20px !important;
        padding-left: 20px !important;
    }


    /* =================================================
       SINGLE-COLUMN MOBILE GRID
       ================================================= */

    .premium-footer .footer-grid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: grid !important;
        grid-template-columns:
            minmax(0, 1fr) !important;

        align-items: start !important;

        gap: 38px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .premium-footer .footer-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;

        text-align: center;
    }


    /* =================================================
       ASSOCIATION IDENTITY
       ================================================= */

    .premium-footer .footer-brand {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex;
        flex-direction: column;
        align-items: center;

        text-align: center !important;
    }

    .premium-footer .footer-logo-box {
        width: 92px !important;
        height: 92px !important;
        min-width: 92px !important;
        max-width: 92px !important;

        margin: 0 auto 22px !important;
    }

    .premium-footer
    .footer-logo-box
    .site-footer-logo {
        width: 100% !important;
        height: 100% !important;

        display: block;

        object-fit: contain;
    }

    .premium-footer .footer-brand h4 {
        width: 100% !important;
        max-width: 600px !important;

        margin:
            0 auto 17px !important;

        padding: 0 !important;

        font-size: 24px !important;
        line-height: 1.35 !important;

        text-align: center !important;

        overflow-wrap: anywhere;
    }

    .premium-footer .footer-brand p {
        width: 100% !important;
        max-width: 560px !important;

        margin: 0 auto !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 1.72 !important;

        text-align: center !important;

        overflow-wrap: anywhere;
    }


    /* =================================================
       FOOTER HEADINGS
       ================================================= */

    .premium-footer h5 {
        width: 100%;

        margin:
            0 auto 18px !important;

        padding: 0 !important;

        font-size: 22px !important;
        line-height: 1.3 !important;

        text-align: center !important;
    }


    /* =================================================
       QUICK LINKS
       ================================================= */

    .premium-footer .footer-links {
        width: 100% !important;
        max-width: 100% !important;

        display: grid !important;
        grid-template-columns: 1fr;

        justify-items: center;

        gap: 10px !important;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;
    }

    .premium-footer .footer-links li {
        width: auto !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .premium-footer .footer-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        padding: 4px 10px;

        line-height: 1.45;

        text-align: center;
    }


    /* =================================================
       SOCIAL ICONS
       ================================================= */

    .premium-footer .footer-social-links {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex-wrap: wrap !important;

        align-items: center;
        justify-content: center !important;

        gap: 12px !important;

        margin:
            0 auto 18px !important;

        padding: 0 !important;
    }

    .premium-footer .footer-social-link {
        position: relative !important;

        left: auto !important;
        right: auto !important;

        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;

        flex:
            0 0 50px !important;

        margin: 0 !important;

        transform: none;
    }

    .premium-footer .footer-social-link i {
        position: static !important;

        margin: 0 !important;

        transform: none;
    }

    .premium-footer .footer-small {
        width: 100% !important;
        max-width: 570px !important;

        margin: 0 auto !important;
        padding: 0 !important;

        font-size: 16px !important;
        line-height: 1.7 !important;

        text-align: center !important;

        overflow-wrap: anywhere;
    }


    /* =================================================
       CONTACT INFORMATION
       ================================================= */

    .premium-footer .footer-contact {
        width: min(100%, 540px) !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: grid !important;
        grid-template-columns: 1fr;

        gap: 14px !important;

        margin: 0 auto !important;
        padding: 0 !important;

        list-style: none !important;
    }

    .premium-footer .footer-contact li {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: grid !important;

        grid-template-columns:
            24px minmax(0, 1fr) !important;

        align-items: start !important;

        gap: 12px !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;
    }

    .premium-footer .footer-contact li i {
        position: static !important;

        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;

        margin: 4px 0 0 !important;

        text-align: center !important;

        transform: none !important;
    }

    .premium-footer .footer-contact li a,
    .premium-footer .footer-contact li span {
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        line-height: 1.65 !important;

        text-align: left !important;

        overflow-wrap: anywhere;
        word-break: normal;
    }


    /* =================================================
       FOOTER BOTTOM
       ================================================= */

    .premium-footer .footer-bottom {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 16px !important;

        margin:
            38px 0 0 !important;

        padding:
            24px 0 0 !important;

        text-align: center !important;
    }

    .premium-footer .footer-tamil {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 10px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .premium-footer .footer-tamil span {
        width: auto !important;
        min-width: 20px !important;
        max-width: 65px !important;

        flex:
            1 1 20px !important;
    }

    .premium-footer .footer-tamil p {
        width: auto !important;
        max-width:
            calc(100% - 60px) !important;
        min-width: 0 !important;

        flex:
            0 1 auto !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 15px !important;
        line-height: 1.55 !important;

        text-align: center !important;

        overflow-wrap: anywhere;
    }

    .premium-footer .footer-bottom > p {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 14px !important;
        line-height: 1.7 !important;

        text-align: center !important;

        overflow-wrap: anywhere;
    }

    .premium-footer .footer-bottom a {
        display: inline;

        white-space: normal !important;

        overflow-wrap: anywhere;
    }
}


/* =====================================================
   VERY SMALL MOBILE DEVICES
   ===================================================== */

@media (max-width: 380px) {

    .premium-footer > .container {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .premium-footer .footer-brand h4 {
        font-size: 21px !important;
    }

    .premium-footer .footer-brand p,
    .premium-footer .footer-small {
        font-size: 15px !important;
    }

    .premium-footer h5 {
        font-size: 20px !important;
    }

    .premium-footer .footer-social-links {
        gap: 9px !important;
    }

    .premium-footer .footer-social-link {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        max-width: 45px !important;

        flex:
            0 0 45px !important;
    }

    .premium-footer .footer-contact li {
        grid-template-columns:
            21px minmax(0, 1fr) !important;

        gap: 9px !important;
    }

    .premium-footer .footer-contact li i {
        width: 21px !important;
        min-width: 21px !important;
        max-width: 21px !important;
    }

    .premium-footer .footer-tamil span {
        display: none !important;
    }

    .premium-footer .footer-tamil p {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* MOBILE FOOTER RESPONSIVE FIX — END */
