﻿/* =========================================================
   IMM BRANDED STYLESHEET
   ---------------------------------------------------------
   Brand Colors:
   Blue : #005696
   Gold : #FFD700
   ========================================================= */


/* =========================================================
   1. CSS VARIABLES / GLOBAL RESET
   ========================================================= */

:root {
    --imm-blue: #005696;
    --imm-blue-dark: #004070;
    --imm-navy: #001f3f;
    --imm-gold: #FFD700;
    --imm-gold-hover: #e6c200;
    --dark-text: #333;
    --medium-text: #555;
    --light-text: #777;
    --light-bg: #f4f7f9;
    --lighter-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #ddd;
    --light-border: #eee;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);
    --header-height: 80px;
    --content-max-width: 1200px;
}


/* =========================================================
   2. GLOBAL STYLES
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter','Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

html {
    width: 100%;
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

form,
#aspnetForm,
.main-body-content {
    overflow: visible !important;
    height: auto !important;
}

form {
    margin-top: var(--header-height);
}

    form#aspnetForm {
        display: block !important;
        max-width: 100%;
        min-height: 100% !important;
        overflow-x: hidden !important;
    }

.main-body-content {
    padding-top: 0 !important;
    padding-bottom: 40px;
    background-color: var(--lighter-bg);
    overflow: visible !important;
}

p {
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.logo,
.nav-links a {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
}

a {
    transition: color 0.3s ease;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   3. GENERAL LAYOUT / CONTAINERS
   ========================================================= */

.container {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}


/* =========================================================
   4. STICKY HEADER / NAVIGATION
   ========================================================= */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: 1300px;
    margin: auto;
    padding: 0 2%;
}


/* ---------- Logo ---------- */

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    cursor: pointer;
}

.logo-imm {
    color: var(--imm-blue);
    border-bottom: 4px solid var(--imm-gold);
    margin-right: 5px;
}

.logo-sstc {
    color: var(--dark-text);
}


/* ---------- Desktop Navigation ---------- */

.nav-links {
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none;
    flex-wrap: nowrap;
}

    .nav-links > li {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 15px;
        color: var(--imm-blue);
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.3s ease;
    }

        .nav-links a:hover {
            color: var(--imm-gold);
        }

        .nav-links a.active {
            color: var(--imm-gold) !important;
            font-weight: 800;
        }


/* =========================================================
   5. DESKTOP DROPDOWN MENU
   ========================================================= */

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 260px;
    padding: 0;
    background: var(--white);
    border-top: 4px solid var(--imm-gold);
    box-shadow: var(--shadow-lg);
    list-style: none;
    overflow: visible;
}


    /* Dropdown hover bridge */

    .dropdown-content::before {
        content: "";
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        background: transparent;
    }

    .dropdown-content li {
        width: 100%;
        border-bottom: 1px solid var(--light-border);
    }

        .dropdown-content li:last-child {
            border-bottom: none;
        }

        .dropdown-content li a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 20px;
            color: var(--medium-text);
            font-size: 0.9rem;
            font-weight: 400;
            line-height: 1.4;
            text-decoration: none;
            white-space: normal;
        }

            .dropdown-content li a:hover {
                background-color: #f9f9f9;
                color: var(--imm-blue);
            }


/* Main dropdown */

.dropdown:hover > .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}


/* ---------- Sideways Submenu ---------- */

.dropdown-content li.dropdown {
    position: relative;
}

.dropdown-content .dropdown .dropdown-content {
    top: -1px;
    left: 100%;
    margin-top: 0;
    border-top: none;
    border-left: 4px solid var(--imm-gold);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 3000;
}

.dropdown-content li.dropdown:hover > .dropdown-content {
    display: block;
}

.dropdown-content .dropdown > a .fa-caret-down {
    float: right;
    margin-top: 5px;
    color: #999;
    font-size: 0.8rem;
    transform: rotate(-90deg);
}


/* ---------- Edge Dropdown ---------- */

.nav-links li.edge .dropdown-content {
    left: auto;
    right: 0;
}

    .nav-links li.edge .dropdown-content .dropdown .dropdown-content {
        left: auto;
        right: 100%;
        border-left: none;
        border-right: 4px solid var(--imm-gold);
    }

    .nav-links li.edge .dropdown-content .dropdown > a .fa-caret-down {
        transform: rotate(90deg);
    }


/* ---------- Dropdown Animation ---------- */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   6. MOBILE NAVIGATION
   ========================================================= */

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--imm-blue);
        border-radius: 3px;
        transition: all 0.3s ease;
    }


/* =========================================================
   7. HERO / SLIDESHOW
   ========================================================= */

.hero {
    padding: 120px 5%;
    color: var(--white);
    text-align: center;
    background: linear-gradient( rgba(0, 86, 150, 0.9), rgba(0, 45, 80, 0.9) ), url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=1350&q=80');
    background-position: center;
    background-size: cover;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 70vh;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    z-index: 100;
    padding: 16px;
    color: white;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transform: translateY(-50%);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.mySlides {
    display: none;
    height: 100%;
}

    .mySlides img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


/* Desktop slideshow */

@media (min-width: 769px) {
    .slideshow-container {
        height: auto !important;
        max-height: 600px;
        overflow: hidden;
    }

    .mySlides img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}


/* =========================================================
   8. MAIN CONTENT / SECTION HEADERS
   ========================================================= */

.main-content {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.main-content .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
    color: var(--imm-blue);
    font-size: 2.2rem;
    font-weight: 700;
}

    .main-content .section-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 60px;
        height: 4px;
        background: var(--imm-gold);
        transform: translateX(-50%);
    }

.section-subtitle {
    margin-top: 5px;
    color: var(--medium-text);
    font-family: 'Inter','Open Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    text-align: center;
}


/* =========================================================
   9. ICON SLIDER
   ========================================================= */

.icon-slider {
    width: 100%;
    padding: 20px 0;
    background: transparent;
    overflow: hidden;
}

.icon-track {
    display: flex;
    width: 200%;
    animation: steppedScroll 20s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.icon-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.1429%;
    flex-shrink: 0;
}

    .icon-card img {
        width: 150px;
        height: auto;
        filter: drop-shadow( 0 5px 15px rgba(0, 0, 0, 0.05) );
        transition: transform 0.3s ease;
    }

.icon-slider:hover .icon-track {
    animation-play-state: paused;
}


/* Desktop animation */

@keyframes steppedScroll {
    0%, 15% {
        transform: translateX(0);
    }

    16.6%, 31% {
        transform: translateX(-8.3333%);
    }

    33.3%, 48% {
        transform: translateX(-16.6666%);
    }

    50%, 65% {
        transform: translateX(-25%);
    }

    66.6%, 81% {
        transform: translateX(-33.3333%);
    }

    83.3%, 98% {
        transform: translateX(-41.6666%);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* =========================================================
   10. PAGE HEADER / BREADCRUMB
   ========================================================= */

.page-title-bar {
    padding: 40px 0;
    margin-bottom: 40px;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    color: var(--imm-blue);
    font-size: 2.2rem;
    font-weight: 700;
}

.breadcrumb {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

    .breadcrumb a {
        color: var(--imm-blue);
        text-decoration: none;
    }

    .breadcrumb span {
        margin: 0 8px;
    }


/* =========================================================
   11. PROFILE / SIDEBAR LAYOUT
   ========================================================= */

.profile-flex-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    overflow: visible !important;
}

.sidebar-nav {
    flex: 1;
    min-width: 250px;
    padding: 25px;
    background: var(--white);
    border-top: 4px solid var(--imm-gold);
    box-shadow: var(--shadow-md);
}

.sidebar-title {
    margin-bottom: 20px;
    color: var(--imm-blue);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.sidebar-nav ul {
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    border-bottom: 1px solid var(--light-border);
}

    .sidebar-nav li a {
        display: block;
        padding: 12px 0;
        color: var(--medium-text);
        text-decoration: none;
        transition: 0.3s;
    }

        .sidebar-nav li.active a,
        .sidebar-nav li a:hover {
            padding-left: 5px;
            color: var(--imm-blue);
            font-weight: 700;
        }


/* ---------- Main Text Area ---------- */

.main-text-area {
    flex: 3;
    text-align: justify;
}


/* =========================================================
   12. CONTENT SECTIONS
   ========================================================= */

.content-section {
    padding: 40px;
    margin-bottom: 30px;
    background: var(--white);
    border-top: 6px solid var(--imm-blue);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 120px;
}

.content-heading {
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
    color: var(--imm-blue);
    border-bottom: 2px solid var(--imm-gold);
}

.vision-quote {
    margin: 20px 0;
    padding-left: 20px;
    color: var(--medium-text);
    font-size: 1.3rem;
    font-style: italic;
    border-left: 5px solid var(--imm-gold);
}


/* ---------- Styled Lists ---------- */

.styled-list {
    padding: 0;
    list-style: none;
}

    .styled-list li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 12px;
    }

        .styled-list li::before {
            content: "\f058";
            position: absolute;
            left: 0;
            color: var(--imm-gold);
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
        }


/* =========================================================
   13. BRANDED SIDEBAR BOX
   ========================================================= */

.sidebar-branded-box {
    flex: 0 0 300px;
    position: sticky;
    top: 100px;
    z-index: 100;
    align-self: flex-start;
    height: fit-content !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.brand-box-header {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    background-color: var(--imm-blue);
    border-bottom: 5px solid var(--imm-gold);
}

.brand-box-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    padding: 10px;
    margin: 0 auto 15px;
    background: white;
    border: 3px solid var(--imm-gold);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.brand-box-logo {
    max-width: 100%;
    height: auto;
}

.brand-box-title {
    margin: 0;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-box-content {
    padding: 20px 0;
}

.brand-box-tagline {
    padding: 0 15px;
    margin-bottom: 20px;
    color: var(--light-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.brand-box-nav ul {
    padding: 0;
    list-style: none;
}

.brand-box-nav li {
    transition: all 0.3s ease;
}

    .brand-box-nav li a {
        display: flex;
        align-items: center;
        padding: 15px 25px;
        color: var(--imm-blue);
        font-weight: 600;
        text-decoration: none;
        border-left: 4px solid transparent;
    }

    .brand-box-nav li i {
        margin-right: 15px;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    .brand-box-nav li.active a,
    .brand-box-nav li a:hover {
        color: var(--imm-blue);
        background-color: var(--lighter-bg);
        border-left-color: var(--imm-gold);
    }

        .brand-box-nav li a:hover i {
            transform: translateX(5px);
        }


/* =========================================================
   14. VISION SECTION
   ========================================================= */

.vision-container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.vision-image img {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
}

.vision-container .vision-quote {
    flex: 1;
    margin: 0 !important;
    font-size: 1.2rem;
}


/* =========================================================
   15. MISSION / BENEFITS
   ========================================================= */

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.mission-item,
.benefits-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: var(--white);
    border-left: 5px solid var(--imm-gold);
    box-shadow: var(--shadow-sm);
}

    .mission-item img,
    .benefits-item img {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .mission-item p,
    .benefits-item p {
        margin: 0;
        color: var(--dark-text);
    }

    .mission-item p {
        font-weight: 600;
    }

    .benefits-item p {
        font-weight: 400;
    }

        .benefits-item p b {
            color: var(--imm-blue);
            font-weight: 900;
        }


/* =========================================================
   16. PDF VIEWER
   ========================================================= */

.pdf-viewer-container {
    width: 100%;
    height: 800px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pdf-section {
    padding: 25px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.pdf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
}

    .pdf-header h3 {
        display: flex;
        align-items: center;
        margin: 0;
        color: var(--imm-blue);
        font-size: 1.2rem;
        font-weight: 700;
    }

        .pdf-header h3::before {
            content: "\f1c1";
            margin-right: 10px;
            color: #d9534f;
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
        }

.pdf-viewer-frame {
    width: 100%;
    height: 750px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.btn-fullscreen {
    display: inline-block;
    padding: 7px 15px;
    color: #fff;
    background: var(--imm-blue);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-fullscreen i {
        margin-right: 5px;
    }

    .btn-fullscreen:hover {
        color: #333;
        background: var(--imm-gold);
    }


/* =========================================================
   17. EVENT / NEWS CONTENT
   ========================================================= */

.page-header-top {
    padding-top: 20px;
    margin-bottom: 25px;
    text-align: center;
}

    .page-header-top h1 {
        position: relative;
        display: inline-block;
        max-width: 900px;
        padding-bottom: 10px;
        color: var(--imm-blue);
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 1.2;
    }

        .page-header-top h1::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 30%;
            width: 40%;
            height: 3px;
            background: var(--imm-gold);
        }


/* ---------- Event Details ---------- */

.event-details-list {
    padding: 15px;
    margin: 15px 0;
    background: #fdfdfd;
    border-top: 1px solid var(--light-border);
    border-right: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
    border-left: 4px solid var(--imm-gold);
    list-style: none;
}

    .event-details-list li {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 12px;
        color: #000;
        font-size: 0.9rem;
    }

        .event-details-list li strong {
            display: inline-block;
            flex: 0 0 110px;
            margin-right: 10px;
            color: var(--imm-blue);
        }


/* ---------- Event Flex ---------- */

.event-flex-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 25px;
    margin-bottom: 25px;
    background: var(--white);
    border-top: 5px solid var(--imm-blue);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.news-image-side {
    flex: 0 0 450px;
}

    .news-image-side img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

.news-content-side {
    flex: 1;
}

.article-text {
    color: var(--dark-text);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
}

    .article-text p {
        margin-bottom: 12px;
    }


/* ---------- Event Image / Content ---------- */

.event-image-side {
    flex: 0 0 400px;
}

    .event-image-side img {
        width: 100%;
        padding: 5px;
        margin-bottom: 10px;
        background: var(--white);
        border: 1px solid var(--border-color);
        border-radius: 4px;
    }

.image-caption {
    margin-bottom: 30px;
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.4;
    text-align: justify;
}

.event-content-side {
    position: relative;
    flex: 1;
    text-align: justify;
}

    .event-content-side p {
        margin-bottom: 18px;
        color: var(--dark-text);
        line-height: 1.8;
    }


/* =========================================================
   18. AUTHOR / EVENT CARD
   ========================================================= */

.member-row-full {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-bottom: 30px;
    background: var(--white);
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.author-side {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1.2;
    padding: 20px 30px;
    background: var(--white);
}

    .author-side img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border: 2px solid #f0f0f0;
        border-radius: 50%;
    }

.author-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.event-side {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 20px 35px;
    background: var(--lighter-bg);
    border-left: 1px solid var(--light-border);
}

    .event-side::before {
        content: "";
        position: absolute;
        top: 0;
        left: -15px;
        width: 30px;
        height: 100%;
        background: var(--lighter-bg);
        border-left: 1px solid var(--light-border);
        transform: skewX(-5deg);
    }

    .event-side i {
        width: 25px;
        margin-bottom: 5px;
        color: var(--imm-blue);
        font-size: 1.1rem;
    }

.event-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0;
    color: #444;
    font-size: 0.9rem;
}


/* =========================================================
   19. RESPONSIVE GRIDVIEW / TABLES
   ========================================================= */

.ResponsiveGridView {
    border-collapse: collapse;
    border: 1px solid #002147;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

    .ResponsiveGridView th {
        padding: 12px;
        text-align: left;
        border-bottom: 2px solid #D4AF37;
    }

    .ResponsiveGridView td {
        padding: 10px;
        border-bottom: 1px solid var(--border-color);
    }


/* =========================================================
   20. MEMBERSHIP PAGE
   ========================================================= */

.membership-card {
    margin: 20px 0;
    background: var(--white);
    border-top: 5px solid var(--imm-gold);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.membership-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background: var(--lighter-bg);
    border-bottom: 1px solid var(--light-border);
}

    .membership-header h2 {
        margin: 0;
        color: var(--imm-blue);
        font-size: 1.5rem;
    }


/* ---------- Search ---------- */

.search-box {
    display: flex;
    gap: 0;
}

.search-input {
    width: 250px;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-btn {
    padding: 10px 20px;
    color: white !important;
    background: #002147;
    border-radius: 0 4px 4px 0;
    text-decoration: none;
    transition: 0.3s;
}

    .search-btn:hover {
        background: var(--imm-gold);
    }

    .search-btn i {
        margin-right: 5px;
    }


/* ---------- Table ---------- */

.table-container {
    padding: 10px;
    overflow-x: auto;
}

.custom-grid {
    margin-top: 10px;
    border-collapse: collapse;
}

.grid-header {
    color: var(--white);
    background-color: #002147;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

    .grid-header th {
        padding: 15px 10px;
        text-align: left;
        white-space: nowrap;
    }

.grid-row td,
.grid-row-alt td {
    padding: 12px 10px;
    color: #444;
    border-bottom: 1px solid #efefef;
}

.grid-row-alt {
    background-color: #fafafa;
}

.custom-grid tr:hover {
    background-color: #fff9e6;
    transition: 0.2s;
}

.custom-grid .grid-header:hover {
    background-color: #002147;
}


/* ---------- Responsive Table ---------- */

.responsive-table {
    width: 100%;
}


/* =========================================================
   21. YEAR / MONTH NAVIGATION
   ========================================================= */

.year-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--imm-blue);
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.year-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--imm-blue);
    background: none;
    border: 2px solid var(--imm-gold);
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

    .year-nav-btn:hover {
        color: white;
        background-color: var(--imm-blue);
        border-color: var(--imm-blue);
        text-decoration: none !important;
    }

/* ---------- Month Grid ---------- */

.month-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
    max-width: 820px;
    margin: 0 auto 30px;
}

.month-btn-card {
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    height: 46px;
    /* This controls the actual blue length */
    width: calc(100% - 35px);
    margin-left: 35px;
    padding: 0 20px 0 40px;
    color: white;
    background: var(--imm-blue);
    border-radius: 13px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    overflow: visible;
}

    .month-btn-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        color: var(--imm-gold); /* Deepens the shadow on hover */
    }

/* Gold section */

.month-badge {
    position: absolute;
    left: -35px;
    top: 50%;
    width: 50px;
    height: 38px;
    background: var(--imm-gold);
    border-radius: 8px 0 0 8px;
    transform: translateY(-50%);
    z-index: 3;
}


    /* Rounded gold arrow */

    .month-badge::after {
        content: "";
        position: absolute;
        right: -13px;
        top: 50%;
        width: 31px;
        height: 31px;
        background: var(--imm-gold);
        border-radius: 8px;
        transform: translateY(-50%) rotate(45deg);
    }

/* =========================================================
   22. COURSE / SCHEDULE
   ========================================================= */

.section-header-styled {
    padding-left: 15px;
    margin-bottom: 20px;
    color: var(--imm-blue);
    font-size: 1.5rem;
    font-weight: 700;
    border-left: 6px solid var(--imm-gold);
}

.course-name-header {
    padding: 15px 20px;
    margin-bottom: 25px;
    color: white;
    background-color: var(--imm-blue);
    border-bottom: 4px solid var(--imm-gold);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
}


/* ---------- Schedule Cards ---------- */

.schedule-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.schedule-card {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border: 2px solid var(--imm-gold);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}


/* ---------- Venue ---------- */

.schedule-venue-side {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 140px;
    flex-direction: column;
    padding-right: 15px;
    text-align: center;
    border-right: 1px solid var(--light-border);
}

    .schedule-venue-side i {
        display: block;
        margin-bottom: 8px;
        color: var(--imm-gold);
        font-size: 1.8rem;
    }


/* ---------- Schedule Details ---------- */

.schedule-details-side {
    display: grid;
    align-items: start;
    flex: 1;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 15px;
    font-size: 0.9rem;
    text-align: left;
}

.schedule-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

    .schedule-detail-item i {
        flex-shrink: 0;
        width: 25px;
        margin-top: 2px;
        color: var(--imm-blue);
        font-size: 1.5rem;
        text-align: center;
    }

.detail-content {
    display: flex;
    flex-direction: column;
}

.schedule-detail-item span.label {
    color: var(--imm-blue);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
}

.schedule-detail-item span.val {
    color: var(--imm-blue);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}


/* ---------- Calendar Buttons ---------- */

.calendar-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-imm-action {
    padding: 10px 25px;
    color: white;
    background-color: var(--imm-blue);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    transition: background 0.3s;
}

    .btn-imm-action:hover {
        color: #000;
        background-color: var(--imm-gold);
    }


/* =========================================================
   23. MODAL / EXAMINER PROFILE
   ========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
}

.modal-box {
    width: 100%;
    max-width: 650px;
    background: white;
    border: 2px solid var(--imm-gold);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header-popup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: white;
    background-color: var(--imm-blue);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-body-popup {
    max-height: 80vh;
    padding: 0;
    overflow-y: auto;
}


/* ---------- Modal Table ---------- */

.modal-body-popup-table {
    width: 100%;
    margin: 0;
    background: #fff;
    border: none;
    border-collapse: collapse;
}

    .modal-body-popup-table th {
        padding: 15px 20px;
        color: white;
        background-color: var(--imm-blue);
        border-bottom: 4px solid var(--imm-gold);
        font-size: 1rem;
        text-align: left;
        text-transform: uppercase;
    }

    .modal-body-popup-table td {
        padding: 16px 20px;
        vertical-align: middle;
        border-bottom: 1px solid #dee2e6;
        font-size: 0.9rem;
    }

.modal-body-popup-table-caption {
    width: 35%;
    color: var(--imm-blue);
    background-color: var(--lighter-bg);
    font-weight: 700;
}

.modal-body-popup-table-value span {
    display: block;
    color: #222;
    font-size: 0.95rem;
    font-weight: 600;
}


/* =========================================================
   24. FOOTER
   ========================================================= */

.main-footer {
    padding-top: 20px;
    color: #ffffff;
    background: var(--imm-navy);
}

.footer-grid {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-column {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 300px;
}

.footer-title {
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #a0915f;
    font-size: 1.4rem;
    font-weight: bold;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: left;
}

.contact-links {
    padding: 0;
    list-style: none;
}

    .contact-links li {
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .contact-links a {
        color: #ffffff;
        text-decoration: none;
    }

        .contact-links a:hover {
            color: var(--imm-gold);
        }

    .contact-links i {
        width: 20px;
        margin-right: 10px;
    }


/* ---------- Social Icons ---------- */

.social-icons {
    display: flex;
    margin-top: auto;
    padding-top: 15px;
}

    .social-icons img {
        width: 24px;
        height: 24px;
        margin-right: 15px;
        transition: opacity 0.3s;
    }

        .social-icons img:hover {
            opacity: 0.7;
        }


/* ---------- Footer Copyright ---------- */

.footer-copy {
    padding: 0;
    text-align: center;
    background: var(--imm-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .footer-copy p {
        margin: 0;
        opacity: 0.7;
        font-size: 0.85rem;
        line-height: 1;
    }


/* =========================================================
   25. MAP / CONTACT MAP
   ========================================================= */

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

    .map-wrapper iframe {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 300px;
    }

.map-container #embed-map-display,
.map-container iframe {
    height: 100% !important;
    min-height: 300px;
    border-radius: 4px;
}


/* ---------- Map Overlay Buttons ---------- */

.map-top-right-bar,
.map-top-right-bar-contact {
    position: absolute;
    left: 8px;
    z-index: 10;
}

.map-top-right-bar {
    top: 136px;
}

.map-top-right-bar-contact {
    top: 188px;
}

.pro-map-btn.waze-pro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: #000000 !important;
    background-color: #33CCFF;
    border: 0;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display:none !important;
}

    .pro-map-btn.waze-pro i {
        color: #000;
        font-size: 1rem;
    }

    .pro-map-btn.waze-pro:hover {
        color: #000 !important;
        background-color: white !important;
    }


/* =========================================================
   26. WHATSAPP FLOATING BUTTON
   ========================================================= */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.05);
    }

.ctc-analytics {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float::before {
    content: "Contact us via Whatsapp";
    order: 1;
    padding: 8px 18px;
    margin-right: 12px;
    color: var(--imm-blue);
    background-color: #ffffff;
    border: 2px solid var(--imm-gold);
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before {
    margin-right: 15px;
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   27. RESPONSIVE STYLES
   ========================================================= */


/* ---------------------------------------------------------
   TABLET / MOBILE NAVIGATION
   --------------------------------------------------------- */

@media (max-width: 992px) {

    /* ---------- Hamburger ---------- */

    .hamburger {
        position: relative;
        z-index: 3001;
        display: flex;
    }


    /* ---------- Main Navigation ---------- */

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        z-index: 3000;
        display: block;
        width: 100%;
        max-height: 0;
        padding: 0;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        transition: max-height 0.5s ease-in-out;
        white-space: normal !important;
    }

    .menu-toggle:checked ~ .nav-links {
        max-height: calc(100vh - var(--header-height));
    }


    /* ---------- Main Menu Items ---------- */

    .nav-links > li {
        display: block !important;
        width: 100%;
        height: auto !important;
        border-bottom: 1px solid var(--light-border);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 18px 20px;
        color: var(--imm-blue);
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.4;
        text-align: left;
        text-transform: uppercase;
        white-space: normal !important;
    }


    /* ---------- Mobile Dropdown ---------- */

    .dropdown-content,
    .dropdown-content .dropdown .dropdown-content {
        position: static !important;
        display: none;
        width: 100% !important;
        min-width: 0;
        padding-left: 25px !important;
        background: #fcfcfc !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
    }

        .dropdown-content li a {
            padding: 15px 25px !important;
            font-size: 0.9rem;
            line-height: 1.3 !important;
            text-transform: uppercase;
            white-space: normal !important;
        }

    .nav-links li:hover > .dropdown-content,
    .nav-links li:focus-within > .dropdown-content {
        display: block;
    }

    .dropdown > a .fa-caret-down {
        float: none;
        margin-left: auto;
        transform: rotate(0deg) !important;
    }


    /* ---------- Hamburger Animation ---------- */

    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }


    /* ---------- Profile Layout ---------- */

    .profile-flex-container {
        flex-direction: column;
    }

    .sidebar-nav {
        width: 100%;
        margin-bottom: 30px;
    }

    .sidebar-branded-box {
        position: relative;
        top: 0;
        width: 100%;
        margin-bottom: 40px;
    }


    /* ---------- Event Layout ---------- */

    .event-flex-container {
        flex-direction: column;
        gap: 25px;
    }

    .event-image-side,
    .news-image-side {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .pdf-viewer-frame {
        height: 500px;
    }


    /* ---------- Schedule ---------- */

    .schedule-cards-container {
        grid-template-columns: 1fr;
    }

    .schedule-card {
        flex-direction: column;
    }

    .schedule-venue-side {
        flex: 0 0 auto;
        width: 100%;
        padding-right: 0;
        padding-bottom: 10px;
        border-right: none;
        border-bottom: 1px solid var(--light-border);
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        text-align: left;
    }

        .schedule-venue-side i {
            margin-bottom: 0;
            font-size: 1.4rem;
        }


    /* ---------- Content ---------- */

    .content-section {
        padding: 25px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {
    .contact-details p {
        text-align: center;
    }

    /* ---------- Container ---------- */

    .container {
        padding: 15px;
    }


    /* ---------- Section Headers ---------- */

    .section-header {
        margin-bottom: 30px;
    }

    .main-content .section-title {
        font-size: 1.6rem;
    }


    /* ---------- Icon Slider ---------- */

    .icon-track {
        width: 600%;
        animation: steppedScrollMobile 15s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    }

    .icon-card {
        width: 8.3333%;
    }

        .icon-card img {
            width: 110px;
        }


    /* ---------- Vision ---------- */

    .vision-container {
        flex-direction: column;
        text-align: center;
    }


    /* ---------- Footer ---------- */

    .footer-grid {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 20px;
    }

    .footer-column {
        width: 100%;
        min-width: 100%;
        text-align: center;
    }

    .footer-title {
        display: inline-block;
        width: auto;
        margin-bottom: 15px;
    }

    .contact-links li i {
        margin-right: 5px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
    }

    .map-container iframe {
        height: 250px !important;
    }


    /* ---------- Tables ---------- */

    .ResponsiveGridView {
        display: block;
        overflow-x: auto;
    }

    .responsive-table,
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table th,
    .responsive-table td,
    .responsive-table tr {
        display: block;
    }

        .responsive-table thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

        .responsive-table tr {
            margin-bottom: 15px;
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 8px;
        }

        .responsive-table td {
            position: relative;
            min-height: 40px;
            padding: 10px 10px 10px 50% !important;
            border: none;
            border-bottom: 1px solid var(--light-border);
            text-align: right !important;
        }

            .responsive-table td::before {
                content: attr(data-header);
                position: absolute;
                left: 10px;
                width: 45%;
                padding-right: 10px;
                color: #002147;
                font-weight: bold;
                text-align: left;
                white-space: nowrap;
            }

            .responsive-table td:last-child {
                border-bottom: none;
            }

    .grid-header th {
        white-space: normal !important;
    }


    /* ---------- Membership ---------- */

    .membership-header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        width: 100%;
    }


    /* ---------- Month Grid ---------- */

    .month-grid {
        grid-template-columns: 1fr;
    }


    /* ---------- Schedule ---------- */

    .schedule-details-side {
        grid-template-columns: repeat(2, 1fr);
    }


    /* ---------- Author Card ---------- */

    .member-row-full {
        flex-direction: column;
    }

    .event-side {
        padding: 20px 30px;
        border-top: 1px solid var(--light-border);
        border-left: none;
    }
}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 576px) {

    .schedule-details-side {
        grid-template-columns: 1fr;
    }
}


/* ---------------------------------------------------------
   VERY SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    /* ---------- Header ---------- */

    .page-header-top h1 {
        font-size: 1.6rem;
    }


    /* ---------- Event Details ---------- */

    .event-details-list li {
        flex-direction: column;
    }

        .event-details-list li strong {
            flex: none;
            width: 100%;
            margin-bottom: 2px;
        }


    /* ---------- Page Header ---------- */

    .page-header-top h1 {
        font-size: 1.8rem;
    }


    /* ---------- Content ---------- */

    .content-section {
        padding: 15px;
    }


    /* ---------- Author ---------- */

    .author-side {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

        .author-side img {
            margin-bottom: 10px;
        }


    /* ---------- Map ---------- */

    .map-top-right-bar,
    .map-top-right-bar-contact {
        top: 50px;
        left: 8px;
    }

    .pro-map-btn.waze-pro {
        padding: 5px 10px;
        font-size: 0.85rem;
    }


    /* ---------- WhatsApp ---------- */

    .whatsapp-float::before {
        display: none !important;
    }
}


/* =========================================================
   28. MOBILE ICON SLIDER ANIMATION
   ========================================================= */

@keyframes steppedScrollMobile {

    0%, 20% {
        transform: translateX(0);
    }

    25%, 45% {
        transform: translateX(-16.6666%);
    }

    50%, 70% {
        transform: translateX(-33.3333%);
    }

    75%, 95% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* =========================================================
   END OF IMM STYLESHEET
   ========================================================= */
