@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Kannada:wght@400;500;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
    --primary-color: #001D23;
    --secondary-color: #004d60;
    --accent-color: #FF6F0F;
    --accent-hover: #e05c00;
    --light-color: #ffffff;
    --dark-color: #333333;
    --card-radius: 14px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-light {
    color: var(--light-color);
}

.text-dark {
    color: var(--dark-color);
}


.h-90{
    height: 80vh;
}
.object-cover{
    object-fit: cover;
}
.carousel-item img{
    height: 60vh;
}
.carasol-container .carousel-item{
    position: relative;
}
.carasol-container .carousel-item::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
}
.carasol-container .carousel-item:has(.banner-slide-img)::before {
    display: none;
}
.carousel-item{
    background: linear-gradient(90deg, var(--primary-color), #004d60);;
}
.banner-slide-img{
    width: 80%;
    height: 60vh;
    margin: 0 auto;
    object-fit: contain;
}
.carasol-container .carousel-caption{
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

.carousel-caption h5{
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}
.carousel-caption p{
    font-size: 20px;
    color: #ffffff;
}
.carousel-caption a{
    font-size: 16px;
    color: #ffffff;
}

.carousel-location-label {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
    max-width: 80%;
}

.carousel-location-label:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.75);
}

.carousel-location-label i {
    color: var(--accent-color);
    font-size: 18px;
}

/* Gallery Start */
.gallery{
    width: 100%;
    height: auto;
    padding: 4% 0;
    background-color: #ffffff;
}
.gallery-head{
    width: 60%;
    margin: auto;
    padding-bottom: 2%;
    text-align: center;
}
.gallery-head h2{
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    /* margin-bottom: 15px; */
}
.gallery-head p{
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.4;
    /* margin-bottom: 15px; */
}
/* .gallery-img-wrapper{
    width: 100%;
    height: auto;
    margin: auto;
} */
.gallery-img-wrapper img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-img-wrapper img:hover{
    transform: scale(1.05);
}

/* Gallery carousel */
.gallery-carousel{
    max-width: 900px;
    margin: 0 auto;
}
.gallery-carousel-img{
    height: 400px;
    object-fit: cover;
}
/* Force gallery hero arrows to look consistent (public + admin) */
.event-gallery-hero .event-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
}
.event-gallery-hero .event-hero-nav.prev {
    left: 12px;
}

.event-gallery-hero .event-hero-nav.next {
    right: 12px;
}

.event-gallery-hero .event-hero-nav i {
    font-size: 1.5rem;    /* override any global .bx size from admin.css */
    line-height: 1;
}

.event-gallery-hero .event-hero-nav:hover {
    background: rgba(0,0,0,0.7);
}
/* ── Global mobile safety: prevent horizontal scroll ───────── */
html {
    max-width: 100%;
    /* overflow-x must NOT be set on html — breaks position:sticky */
}
body {
    max-width: 100%;
    overflow-x: hidden;
}

.main-content {
    max-width: 100%;
    overflow-x: hidden;
}

/* ── Public page mobile rules ──────────────────────────────── */
@media (max-width: 767.98px) {

    /* Tables: ensure horizontal scroll within container, not full page */
    .table-responsive,
    table { max-width: 100%; }

    /* Cards and containers: don't overflow */
    .card, .admin-card, [class*="-card"] {
        min-width: 0;
        overflow: hidden;
    }

    /* Flex rows with two side-by-side items: stack on mobile */
    .info-flex-row,
    .detail-row-flex {
        flex-wrap: wrap !important;
    }

    /* Stat / info labels: wrap instead of truncate */
    [class*="stat-lbl"],
    [class*="stat-label"],
    [class*="stat-sub"] {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }

    /* Image containers: never exceed viewport */
    img { max-width: 100%; height: auto; }
}

.event-gallery-hero {
    position: relative;
    width: 100%;
    height: 80vh;          /* fixed visual height */
    max-height: 80vh;
    overflow: hidden;
    background: #000;
}

@media (max-width: 767.98px) {
    .event-gallery-hero {
        height: 70vh;
        max-height: 70vh;
    }
}
.event-gallery-hero img,
.event-gallery-hero .event-gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Gallery card inside admin layout */
.main-content .gallery-card {
    max-height: calc(100vh - 120px); /* adjust 120px for header/sidebar */
    overflow-y: auto;
}

/* Reduce gap between hero image and text in gallery cards */
.event-gallery-card .p-3 {
    padding: 0.75rem !important;  /* reduce from default 1rem */
}

.event-gallery-card .p-3 h6 {
    margin-bottom: 0.25rem;
}

.event-gallery-card .p-3 p {
    margin-bottom: 0.5rem;
}


/* Gallery End */
.programs{
    width: 100%;
    height: auto;
    padding: 4% 0;
    background-color: #ffffff;
}
.programs-container{
    width: 90%;
    height: auto;
    margin: auto;
}
.program-card{
    background-color: #ffffff;
    padding: 22px;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: box-shadow 0.2s ease;
}
.program-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}
.program-card h3{
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.program-card p{
    font-size: 15px;
    line-height: 1.5;
    color: #787878;
    margin: 0;
}
.program-icon{
    font-size: 40px;
    color: #FF6F0F;
    margin-bottom: 12px;
}

body{
    font-family: 'Poppins', 'Noto Sans Kannada', sans-serif;
}

/* Global watermark background */
body::before{
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../images/logo/sampige_logo.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 420px auto;
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
}

/* ── Marigold torana strip (inside sticky header, always visible) ── */
.page-thorana-wrap {
    position: relative;                  /* contains the toggle button */
    width: 100%;
    overflow: visible;
    /* z-index intentionally NOT set — stays below .top-container so dropdowns are unaffected */
}
.page-thorana {
    width: 100%;
    height: 54px;
    background-color: transparent;
    background-image: url('../images/top-banner.svg');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: left top;
    opacity: 1;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin-bottom: -18px;
}
/* Hidden state */
header.thorana-off .page-thorana {
    height: 0;
    opacity: 0;
    margin-bottom: 0;
    pointer-events: none;
}

/* ── Sticky header ────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}
/* Navbar inherits container background — no override needed */

/* Top bar collapses smoothly when scrolled */
.t-top {
    max-height: 80px;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
    opacity: 1;
}
header.header-scrolled .t-top {
    max-height: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.t-top{
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), #004d60);
    color: #ffffff;
    font-size: 13px;
}
.t-top-inner{
    width: 96%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 6px 0;
}
.t-top-left,
.t-top-right{
    display: flex;
    align-items: center;
}
.t-label{
    margin-right: 8px;
    font-weight: 500;
}
.t-social{
    display: flex;
    align-items: center;
}
.t-social a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    margin-right: 6px;
    font-size: 17px;
    text-decoration: none;
    transition: transform .18s, background .18s;
}
.t-social a:hover{
    transform: scale(1.15);
    color: #ffffff;
}
/* Brand colors per platform */
.t-soc-fb  { background: #1877f2 !important; }
.t-soc-fb:hover  { background: #145dbf !important; }
.t-soc-yt  { background: #ff0000 !important; }
.t-soc-yt:hover  { background: #cc0000 !important; }
.t-soc-ig  { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045) !important; }
.t-soc-ig:hover  { opacity: .85; }
.t-top-link{
    display: flex;
    align-items: center;
    margin-left: 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
}
.t-top-link i{
    margin-right: 6px;
    font-size: 16px;
}
.t-top-link:hover{
    color: #FF6F0F;
}


.top-container{
    background-color: #f8f9fa;
    padding: 10px;
    width: 100%;
    position: relative;                  /* creates stacking context ABOVE .page-thorana */
    z-index: 2;                          /* dropdowns render above thorana strip */
    height: auto;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease,
                border-color 0.4s ease, box-shadow 0.4s ease;
}
/* Thorana stays full opacity always (VKK: opacity-100) */
header.header-scrolled .page-thorana {
    opacity: 1;
}

/* Frosted-glass once scrolled */
header.header-scrolled .top-container {
    background-color: rgba(248, 249, 250, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
}

/* .header-inner{
    width: 96%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 992px) {
    .header-inner{
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
} */

.logo-content{
    display: flex;
    align-items: center;
    color: #001D23;
    text-decoration: none;
    margin-left: 20px;
}

.logo img{
    width: 80px;
    height: 80px;
}   
.logo-text{
    margin-left: 20px;
}

.logo-text h1{
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}
.logo-text h2{
    font-size: 16px;
    margin: 0;
    padding: 0;
}
.logo-text p{
    font-size: 14px;
    text-align: center;
    margin: 0;
    padding: 0;
}



.about{
    width: 100%;
    height: auto;
    padding: 4% 0;
    background-color: #f1f6fc;
}
.about-container{
    width: 90%;
    height: auto;
    margin: auto;
}
.about-heading{
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}
.about-text{
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.about-stats{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.about-stat{
    background-color: #ffffff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
    text-align: center;
}
.about-stat h3{
    color: #FF6F0F;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}
.about-stat p{
    margin: 0;
    color: var(--primary-color);
    font-size: 14px;
}

.membership{
    width: 100%;
    height: auto;
    padding: 4% 0;
    background-color: #ffffff;
}
.membership-container{
    width: 90%;
    height: auto;
    margin: auto;
}
.m-head{
    padding-bottom: 3%;
}
.m-heading{
    color: var(--primary-color);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}
.m-heading-text{
    color: var(--primary-color);
    font-size: 16px;
    /* font-weight: 600; */
    line-height: 1.4;
    text-align: center;
}
.membership-card{
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    border-radius: 10px;
    /* margin: 20px; */
}
.membership-card h3{
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
}
.membership-icon {
    font-size: 50px;
    margin-bottom: 25px;
    vertical-align: middle;
    color: #FF6F0F;
}
.membership-card p{
    text-align: center;
    line-height: 1.5;
    font-size: 16px;
    color: #787878;
    /* margin: 20px 0; */
}

.articles{
    width: 100%;
    height: auto;
    padding: 4% 0;
    background-color: #ffffff;
}
.articles-container{
    width: 90%;
    height: auto;
    margin: auto;
}
.article-card{
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.06);
    padding: 18px;
    height: 100%;
    position: relative; /* For stretched-link */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.article-date{
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FF6F0F;
    margin-bottom: 6px;
}
.article-title{
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}
.article-excerpt{
    font-size: 14px;
    color: #787878;
    margin-bottom: 10px;
}
.article-link{
    font-size: 14px;
    color: #FF6F0F;
    text-decoration: none;
}
.article-link:hover{
    text-decoration: underline;
}

.events{
    width: 100%;
    height: auto;
    padding: 4% 0;
    background-color: #f8f9fa;
}
.events-container{
    width: 90%;
    height: auto;
    margin: auto;
}
.event-list{
    max-width: 700px;
    margin: 0 auto;
}
.event-item{
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.event-date{
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: #FF6F0F;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}
.event-day{
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.event-month{
    font-size: 12px;
    text-transform: uppercase;
}
.event-info{
    flex: 1;
}
.event-title{
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}
.event-meta{
    font-size: 14px;
    color: #787878;
    margin: 0;
}

.sponsors{
    width: 100%;
    height: auto;
    background-color: #f1f6fc;
    padding: 4% 0;
}
.sponsors-container{
    width: 90%;
    height: auto;
    margin: auto;
}
.sponsors-head{
    width: 60%;
    padding-bottom: 3%;
    margin: auto;
}
.sponsors-head p{
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}
.sponsors-heading{
    color: var(--primary-color);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}
.sponsors-heading-text{
    color: var(--primary-color);
    font-size: 16px;
    /* font-weight: 600; */
    line-height: 1.4;
    text-align: justify;

}

.i-sponsor{
    width: 100%;
    height: auto;
    text-align: center;
    /* background-color: #ffffff; */
    padding: 4% 0;
}
.i-sponsor h2{
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}
.i-sponsor p{
    text-align: center;
    font-size: 16px;
    /* font-weight: 600; */
    line-height: 1.4;
}

/* Sponsors custom slider layout */
.sponsors-carousel{
    position: relative;
    overflow: hidden;
}

.sponsors-track{
    display: flex;
    transition: transform 0.6s ease;
}

.sponsor-item{
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
}



/* Sponsors carousel */
.sponsor-logo{
    width: 265px;
    /* height: 140px; */
    /* margin: 0 10px; */
    object-fit: contain;
}



.sponsor-type{
    margin-top: 8px;
    font-size: 14px;
    color: #555555;
    text-align: center;
}

.sponsors-carousel .carousel-control-prev,
.sponsors-carousel .carousel-control-next{
    width: 5%;
}

.sponsors-carousel .carousel-control-prev-icon,
.sponsors-carousel .carousel-control-next-icon{
    width: 3rem;
    height: 3rem;
    background-color: rgba(0,0,0,0.65);
    border-radius: 50%;
    background-size: 60% 60%;
}

/* Sponsors End */

/* TEAM PHOTOS - FACE‑CENTERED (ADD THIS BLOCK) */
.team-photo-current {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
    object-position: top center !important;  /* Keeps faces visible */
}

.team-photo-subcurrent {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    object-position: top center !important;  /* Keeps faces visible */
}

.team-photo-past {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    object-position: top center !important;  /* Keeps faces visible */
}

/* ── Page Hero — gradient edition (no image dependency) ───── */
.page-hero {
    width: 100%;
    min-height: 210px;
    background: linear-gradient(135deg, #001D23 0%, #002d38 55%, #004d60 100%);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 36px 0 42px;
    border-bottom: 3px solid var(--accent-color);
}

/* Dot-grid texture — top-right corner */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 260px;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
    z-index: 0;
}

/* Large watermark icon */
.page-hero__bg-icon {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 220px;
    color: rgba(255,255,255,0.055);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

/* Content sits above pseudo-elements */
.page-hero .container { position: relative; z-index: 1; }

/* Breadcrumb */
.page-hero__breadcrumb {
    font-size: 0.82rem;
    opacity: 0.8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.page-hero__breadcrumb a { color: white; text-decoration: none; }
.page-hero__breadcrumb a:hover { text-decoration: underline; }
.page-hero__breadcrumb .sep { opacity: 0.5; }

/* Title with saffron underline (centered layout) */
.page-hero__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}
.page-hero__title::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    border-radius: 2px;
    margin: 10px auto 0;
}

/* Subtitle */
.page-hero__subtitle {
    font-size: 1.08rem;
    opacity: 0.9;
    margin-top: 6px;
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Extra slot (e.g. member count badge) */
.page-hero__extra {
    margin-top: 12px;
}

/* ── Shared Sponsor Package Cards ─────────────────────────── */
.pkg-section { padding: 60px 0 40px; background: #f8f9fa; }
.pkg-section .section-title {
    font-size: 1.8rem; font-weight: 700; color: #1a1a2e;
    text-align: center; margin-bottom: 8px;
}
.pkg-section .section-sub {
    text-align: center; color: #666; margin-bottom: 40px; font-size: 0.97rem;
}

.pkg-card-wrap { padding: 12px; }

.pkg-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    border: 2px solid transparent;
    display: flex; flex-direction: column; height: 100%;
    position: relative; cursor: pointer;
}
.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.14);
}
.pkg-card.selected {
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px rgba(255,111,15,0.22);
    transform: translateY(-6px);
}

.pkg-card-header {
    padding: 28px 24px 22px;
    text-align: center; position: relative;
}
.pkg-card-header.grad-title    { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.pkg-card-header.grad-elite    { background: linear-gradient(135deg, #4a0080 0%, #7b2ff7 100%); }
.pkg-card-header.grad-platinum { background: linear-gradient(135deg, #b8860b 0%, #ffd700 50%, #b8860b 100%); }
.pkg-card-header.grad-gold     { background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%); }
.pkg-card-header.grad-silver   { background: linear-gradient(135deg, #636e72 0%, #b2bec3 100%); }
.pkg-card-header.grad-bronze   { background: linear-gradient(135deg, #b35400 0%, #e67e22 100%); }
.pkg-card-header.grad-default  { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

.pkg-card-icon {
    width: 62px; height: 62px;
    background: rgba(255,255,255,0.22);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    backdrop-filter: blur(4px);
}
.pkg-card-icon i { font-size: 1.75rem; color: #fff; }
.pkg-card-title  { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 4px; letter-spacing: 0.3px; }
.pkg-card-amount-label { font-size: 0.92rem; color: rgba(255,255,255,0.88); font-weight: 600; }

.pkg-selected-badge {
    display: none; position: absolute; top: 14px; left: 14px;
    width: 26px; height: 26px; background: #fff; border-radius: 50%;
    align-items: center; justify-content: center;
}
.pkg-card.selected .pkg-selected-badge { display: flex; }
.pkg-selected-badge i { color: var(--accent-color); font-size: 1rem; }

/* Price block — big $ amount below gradient header */
.pkg-card-price {
    text-align: center;
    padding: 18px 24px 6px;
    border-bottom: 1px solid #f0f0f0;
}
.pkg-card-price .price-amount {
    font-size: 2.4rem; font-weight: 800; color: #1a1a2e; line-height: 1;
}
.pkg-card-price .price-amount sup {
    font-size: 1.1rem; font-weight: 600; vertical-align: super; line-height: 0;
}
.pkg-card-price .price-amount .price-plus {
    font-size: 1.3rem; vertical-align: super; line-height: 0; font-weight: 700;
}
.pkg-card-price .price-per {
    font-size: 0.82rem; color: #888; margin-top: 3px;
}

/* Benefits checklist inside pkg-card */
.pkg-benefits {
    list-style: none; padding: 0; margin: 0 0 16px; flex: 1;
}
.pkg-benefits li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 0.84rem; color: #444; padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}
.pkg-benefits li:last-child { border-bottom: none; }
.pkg-benefits li i { color: var(--accent-color); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.pkg-card-body {
    padding: 16px 24px 20px; flex: 1;
    display: flex; flex-direction: column;
}
.pkg-card-desc { font-size: 0.87rem; color: #555; line-height: 1.55; flex: 1; margin-bottom: 16px; }
.pkg-card-desc ul { padding-left: 18px; margin: 0; }
.pkg-card-desc li { padding: 3px 0; }

.pkg-select-btn {
    width: 100%; border-radius: 12px; font-weight: 600;
    font-size: 0.92rem; padding: 11px 0;
    transition: all 0.2s ease;
    border: 2px solid var(--accent-color);
    background: transparent; color: var(--accent-color);
}
.pkg-select-btn:hover,
.pkg-card.selected .pkg-select-btn { background: var(--accent-color); color: #fff; }

/* Footer Start */
.footer{
	width: 100%;
	height: auto;
	background: linear-gradient(135deg, var(--primary-color), #004d60);
	color: #ffffff !important;
	padding: 3% 0 1.8%;
	box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}
.top-footer{
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff !important;
	padding: 10px 0 18px;
}
.footer-logo{
	display: flex;
	flex-direction: row;
	align-items: center;
}
.footer-logo img{
	width: 80px;
	height: 80px;
	border-radius: 14px;
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.3);
}
.footer-logo p{
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 6px;
}
.footer-org-text{
	margin-left: 15px;
	max-width: 420px;
}
.footer-org-name{
	font-weight: 600;
	font-size: 15px;
}
.footer-org-desc{
	margin-bottom: 0;
}
.top-footer h6{
	color: #ffffff !important;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.08em;
	margin-bottom: 10px;
}
.top-footer p{
	color: #ffffff !important;
}
.top-footer ul{
	padding: 0;
	list-style: none;
}
.top-footer ul li{
	margin-bottom: 8px;
}
.top-footer ul li a{
	color: #ffffff !important;
	text-decoration: none;
	font-size: 14px;
	opacity: 0.9;
	transition: color 0.2s ease, padding-left 0.2s ease, opacity 0.2s ease;
}
.top-footer ul li a:hover{
	color: #FF6F0F !important;
	padding-left: 4px;
	opacity: 1;
}
.footer-container{
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
	padding: 12px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 13px;
}
.footer-container p{
	margin: 0;
	padding: 0;
}
.footer-link{
    color: #FF6F0F;
    font-weight: 600;

}
/* Footer End */



/* Button Start */
.btn-primary{
    background-color: #FF6F0F !important;
    border: none;
}
.btn-invert-primary{
    /* background-color: #ffffff !important; */
    color: #FF6F0F !important;
    border: 1px solid #FF6F0F !important;
}
.btn-invert-primary:hover{
    color: var(--light-color) !important;
    background-color: var(--accent-color) !important;
}
.btn-outline-primary{
    color: var(--accent-color) !important;
    border: 1px solid var(--accent-color) !important;
}
.btn-outline-primary:hover{
    color: var(--light-color) !important;
    background-color: var(--accent-color) !important;
}

.bg-primary{
    background-color: var(--accent-color) !important;
}
/* Button End */




/* Media Queries Start */

@media (max-width: 420px) {
    .t-top-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    
    .t-top-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .t-top-right {
        margin-top: 4px;
    }

    .t-top-link {
        margin-left: 0;
        margin-right: 12px;
        font-size: 12px;
    }

    .t-top-link span {
        word-break: break-word;
    }

    .t-top-left .t-label {
        flex-basis: 100%;
    }
}


@media (max-width: 550px) {
    .navbar .container-fluid{
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .logo-content{
        margin-left: 0;
        max-width: calc(100% - 56px);
        flex: 1 1 auto;
        overflow: hidden;
    }

    .logo img{
        width: 56px;
        height: 56px;
    }

    .logo-text{
        margin-left: 12px;
        min-width: 0;
    }

    .logo-text h1{
        font-size: 14px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-text h2{
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar-toggler{
        margin-left: auto;
        flex: 0 0 auto;
    }

    .navbar-collapse{
        flex-basis: 100%;
        width: 100%;
        order: 3;
    }

    .navbar-nav{
        width: 100%;
    }

    .carousel-caption h5{
        font-size: 18px;
        line-height: 1.2;
    }

    .carousel-caption p{
        font-size: 14px;
        line-height: 1.35;
    }

    .carousel-caption a{
        font-size: 13px;
    }

    .carousel-location-label{
        bottom: 12px;
        right: 12px;
        font-size: 12px;
        padding: 6px 12px;
        max-width: 92%;
    }

    .sponsors-head{
        width: 100%;
        padding-bottom: 16px;
    }

    .sponsors-heading{
        font-size: 24px;
        line-height: 1.25;
    }

    .sponsors-head p{
        font-size: 14px;
        line-height: 1.5;
    }

    .i-sponsor h2{
        font-size: 24px;
        line-height: 1.25;
    }

    .carousel-item img{
        height: 50vh;
    }
    .banner-slide-img{
        width: 100%;
        height: 100%;
    }
    .sponsors-carousel .carousel-control-prev,
    .sponsors-carousel .carousel-control-next{
        width: 12%;
    }
}

	@media (max-width: 768px) {
		.footer-logo{
			flex-direction: column;
			align-items: center;
			text-align: center;
		}
		.footer-org-text{
			margin-left: 0;
			margin-top: 10px;
		}
		.footer-container{
			flex-direction: column;
			text-align: center;
			gap: 8px;
		}
        
        .carousel-location-label {
            bottom: 15px;
            right: 15px;
            padding: 6px 12px;
            font-size: 12px;
            max-width: 90%;
        }
        
        .carousel-location-label i {
            font-size: 15px;
        }
	}

@media (max-width: 767.98px) {
    .sponsor-logo{
        width: min(220px, 90vw);
    }

    .sponsor-type{
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    .sponsor-item{
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767.98px) {
    .sponsor-item{
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Media Queries End */

/* ════════════════════════════════════════════════════════════
   MOBILE UX IMPROVEMENTS
   ════════════════════════════════════════════════════════════ */

/* ── Page Hero: compact on mobile ─────────────────────────── */
@media (max-width: 991.98px) {
    .page-hero {
        min-height: 155px;
        padding: 22px 0 26px;
    }
    .page-hero__title  { font-size: 1.4rem; }
    .page-hero__subtitle { font-size: 0.95rem; margin-top: 6px; }
    .page-hero__bg-icon  { font-size: 130px; right: -8px; }
    .page-hero .btn    { font-size: 0.75rem; padding: 5px 12px; }
}

/* ── Mobile brand bar (logo + name strip shown at top on mobile only) ── */
.mob-brand-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 12px;
    background: linear-gradient(135deg, #001D23 0%, #003040 100%);
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mob-brand-home {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex: 1;
    min-width: 0;
}
.mob-brand-home:hover,
.mob-brand-home:active {
    color: #fff;
    text-decoration: none;
}
.mob-brand-social {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}
.mob-brand-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    touch-action: manipulation;
    transition: transform .18s;
}
.mob-brand-social a:hover,
.mob-brand-social a:active { transform: scale(1.12); color: #fff; }
.mob-brand-text {
    min-width: 0;
    overflow: hidden;
    text-align: center;
}
.mob-brand-kn {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
    letter-spacing: 0.01em;
}
.mob-brand-en {
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.02em;
}

/* ── Mobile: hide top bar + full navbar, show only thorana + bottom nav ── */
@media (max-width: 991.98px) {
    .t-top              { display: none !important; }
    .top-container      { display: none !important; }
    .navbar-toggler     { display: none !important; }
    #navbarNavDropdown  { display: none !important; }
    body                { padding-bottom: 68px; }
    .mob-brand-bar      { display: flex !important; }
}

/* ── Desktop: force-hide ALL mobile-only elements ──────────── */
@media (min-width: 992px) {
    .mobile-bottom-nav,
    .mob-subnav-pop,
    .mob-more-drawer,
    .mob-brand-bar,
    .mob-drawer-overlay { display: none !important; }
}

/* ── Mobile Bottom Navigation Bar ────────────────────────── */
.mobile-bottom-nav {
    display: none !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.10);
    z-index: 1100;
    align-items: stretch;
    justify-content: space-around;
    transition: transform 0.28s ease;
}
@media (max-width: 991.98px) {
    .mobile-bottom-nav { display: flex !important; }
}

.mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #7c8db0;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 6px 4px 4px;
    border: none;
    background: none;
    cursor: pointer;
    gap: 2px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s;
    border-top: 2px solid transparent;
}
.mob-nav-item i {
    font-size: 23px;
    line-height: 1;
    transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1);
}
.mob-nav-item.active {
    color: var(--primary-color, #0077b6);
    border-top-color: var(--primary-color, #0077b6);
}
.mob-nav-item.active i {
    transform: scale(1.18) translateY(-1px);
}
.mob-nav-item:active { opacity: 0.65; }
/* "pop open" visual state when a sub-popup is showing */
.mob-nav-item.pop-open {
    color: var(--primary-color, #0077b6);
    border-top-color: var(--primary-color, #0077b6);
}
.mob-nav-item.pop-open i { transform: scale(1.18) translateY(-1px); }

/* Sampige logo as Home tab icon */
.mob-nav-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    display: block;
    transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.18s ease;
}
.mob-nav-item.active .mob-nav-logo-img {
    transform: scale(1.18) translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,77,96,0.30);
}

/* ── Desktop nav: show dropdown on hover ─────────────────── */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        margin-top: 0 !important;
        border-top: 2px solid var(--primary-color, #0077b6);
        animation: navDropIn 0.16s ease;
        /* Must be above any page content regardless of scroll position */
        z-index: 9999;
        position: absolute;
    }
    @keyframes navDropIn {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}
/* Sticky header must not clip overflowing dropdowns */
header { overflow: visible !important; }
.top-container { overflow: visible !important; }

/* ── Mobile bottom-nav sub-popup ─────────────────────────── */
.mob-subnav-pop {
    position: fixed;
    bottom: 68px;
    left: 12px;
    right: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 1099;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4,0,0.2,1),
                visibility 0s linear 0.2s;
}
.mob-subnav-pop.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4,0,0.2,1),
                visibility 0s linear 0s;
}
.mob-subnav-pop-title {
    padding: 11px 16px 7px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.mob-subnav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    -webkit-tap-highlight-color: transparent;
}
.mob-subnav-link i { font-size: 20px; color: var(--primary-color, #0077b6); flex-shrink: 0; }
.mob-subnav-link:active { background: #f1f5f9; }

/* ── More Drawer (slide-up panel) ────────────────────────── */
.mob-more-drawer {
    position: fixed;
    bottom: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.14);
    z-index: 1099;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.28s;
}
.mob-more-drawer.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
}
.mob-drawer-handle {
    width: 38px; height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    margin: 14px auto 6px;
}
.mob-drawer-title {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
/* ── Accordion list inside More drawer ─────────────────────── */
.mob-acc-list {
    overflow-y: auto;
    max-height: 62vh;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}
.mob-acc-head {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    gap: 14px;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
}
.mob-acc-icon { font-size: 22px; color: var(--primary-color, #0077b6); flex-shrink: 0; }
.mob-acc-label { flex: 1; font-size: 15px; font-weight: 500; color: #1e293b; }
.mob-acc-arrow {
    color: #94a3b8;
    font-size: 20px;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}
.mob-acc-head.open .mob-acc-arrow { transform: rotate(90deg); }
.mob-acc-head:active { background: #f8fafc; }
.mob-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8fafc;
}
.mob-acc-body.open { max-height: 700px; overflow-y: auto; }
.mob-acc-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px 11px 56px;
    font-size: 13.5px;
    color: #475569;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    -webkit-tap-highlight-color: transparent;
}
.mob-acc-sub::before { content: '›'; color: #94a3b8; font-size: 16px; }
.mob-acc-sub:last-child { border-bottom: none; }
.mob-acc-sub:active { background: #eff6ff; }
/* Direct link row (no sub-items) */
.mob-acc-direct {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
}
.mob-acc-direct i { font-size: 22px; color: var(--primary-color, #0077b6); flex-shrink: 0; }
.mob-acc-direct:active { background: #f8fafc; }

/* ── Drawer overlay ──────────────────────────────────────── */
.mob-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 1098;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.28s, visibility 0s linear 0.28s;
}
.mob-drawer-overlay.open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.28s, visibility 0s linear 0s;
}
/* ════════════════════════════════════════════════════════════
   END MOBILE UX IMPROVEMENTS
   ════════════════════════════════════════════════════════════ */

/* Image Security */
.protected-img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

/*magazine page*/
#coverHideOverlay::after{
    content:'';
    position:absolute;
    top:0;
    bottom:0;
    width:30px;
}

#coverHideOverlay.left-side::after{
    right:-2px;
    background:linear-gradient(
        to right,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.05),
        transparent
    );
}

#coverHideOverlay.right-side::after{
    left:-2px;
    background:linear-gradient(
        to left,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.05),
        transparent
    );
}

#bookDepth span{
    box-shadow:
        0 0 1px rgba(0,0,0,0.2),
        2px 3px 6px rgba(0,0,0,0.25);
}

#flipBookWrap{
    transition: transform .25s ease;
}