@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Custom Properties */
:root {
    --primary-color: #234c8c;
    --primary-dark: #1f3f73;
    --secondary-color: #ff6b35;
    --success-color: #28a745;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --dark-text: #1e293b;
    --light-text: #475569;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-duration: 240ms;
    --nav-ease: cubic-bezier(0.33, 1, 0.68, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Styles */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Analytical Instrumentation Charges Table Styles */
.analysis-charges-section {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: 32px 24px;
    max-width: 900px;
    margin: 36px auto 24px auto;
}

.analysis-charges-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2em;
}

.analysis-charges-section h3 {
    color: var(--secondary-color);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.8em;
}

.analysis-charges-section h4 {
    color: #222;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 0.6em;
}

.analysis-charges-section h5 {
    color: #005a9e;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 1em;
}

.analysis-charges-table {
    width: 100%;
    border-collapse: collapse;
    background: #f9fafc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(44, 90, 160, 0.06);
    font-size: 1rem;
}

.analysis-charges-table th,
.analysis-charges-table td {
    border: 1px solid #e3eafc;
    padding: 10px 8px;
    text-align: left;
}

.analysis-charges-table th {
    background: #e3eafc;
    color: #005a9e;
    font-weight: 600;
    font-size: 1.05rem;
}

.analysis-charges-table tr:nth-child(even) td {
    background: #f4f8fc;
}

.analysis-charges-table tr:hover td {
    background: #eaf6ff;
}

.analysis-charges-table td {
    color: #222;
}

.analysis-charges-table td span {
    color: #666;
    font-size: 0.97em;
}

@media (max-width: 991px) {
    .analysis-charges-section {
        padding: 18px 6px;
    }

    .analysis-charges-table th,
    .analysis-charges-table td {
        font-size: 0.95rem;
        padding: 7px 4px;
    }
}


/* WRIC Info Section Styles */
.wric-info {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: 2rem 2.5rem;
    margin: 2rem auto;
    max-width: 1100px;
    color: var(--dark-text);
    font-size: 1.08rem;
}

.wric-info h2,
.wric-info h3,
.wric-info h4,
.wric-info h5,
.wric-info h6 {
    color: var(--primary-color);
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.wric-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.wric-info h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

.wric-info h4 {
    font-size: 1.15rem;
    font-weight: 600;
}

.wric-info h5 {
    font-size: 1.08rem;
    font-weight: 600;
}

.wric-info h6 {
    font-size: 1rem;
    font-weight: 600;
}

.wric-info p {
    margin-bottom: 1em;
}

.wric-info ul,
.wric-info ol {
    margin-left: 2em;
    margin-bottom: 1em;
}

.wric-info table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.98rem;
}

.wric-info th,
.wric-info td {
    border: 1px solid var(--border-color);
    padding: 0.5em 0.7em;
    text-align: left;
}

.wric-info th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.wric-info tr:nth-child(even) {
    background: #f4f8fc;
}

.wric-info b {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Custom Annual Reports Page Enhancements */
.main-content {
    background: #f8f9fa;
    padding: 40px 0;
}

.wric-info {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 32px 28px;
    max-width: 1100px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: #222;
}

.wric-info h2 {
    color: #005a9e;
    font-size: 2.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.wric-info h3 {
    color: #0078d4;
    font-size: 1.3rem;
    margin-bottom: 18px;
    font-weight: 500;
}

.wric-info h4,
.wric-info h5,
.wric-info h6 {
    color: #333;
    margin-top: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.wric-info h4 {
    font-size: 1.18rem;
}

.wric-info h5 {
    font-size: 1.08rem;
}

.wric-info h6 {
    font-size: 1rem;
}

.wric-info p {
    margin-bottom: 14px;
    line-height: 1.7;
}

.wric-info ul,
.wric-info ol {
    margin-bottom: 18px;
    padding-left: 22px;
}

.wric-info ul ul,
.wric-info ol ul {
    margin-bottom: 0;
}

.wric-info b {
    color: #005a9e;
    font-weight: 600;
}

.wric-info table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    background: #f6f8fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.wric-info th,
.wric-info td {
    border: 1px solid #d1d5db;
    padding: 10px 8px;
    text-align: left;
    font-size: 1rem;
}

.wric-info th {
    background: #e3eafc;
    color: #005a9e;
    font-weight: 600;
}

.wric-info tr:nth-child(even) td {
    background: #f0f4fa;
}

.wric-info tr:hover td {
    background: #eaf6ff;
}

.breadcrumb {
    font-size: 0.98rem;
    color: #666;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: #005a9e;
    text-decoration: none;
    margin-right: 4px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .wric-info {
        padding: 18px 8px;
    }

    .main-content {
        padding: 18px 0;
    }

    .wric-info table,
    .wric-info th,
    .wric-info td {
        font-size: 0.95rem;
    }
}


::-moz-selection {
    background: var(--primary-color);
    color: white;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 clamp(16px, 4vw, 40px);
}

/* Full width container for larger screens */
@media (min-width: 1600px) {
    .container {
        width: 100%;
        max-width: none;
    }
}

body.overview-page {
    background: linear-gradient(180deg, #eef2f7 0%, #ffffff 65%);
}

body.overview-page .banner-slider::before {
    display: none;
}

.overview-section {
    background: transparent;
    padding: clamp(48px, 5vw, 80px) 0 clamp(72px, 7vw, 110px);
}

.overview-section>.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 60px);
}

.overview-article {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    padding: clamp(40px, 5vw, 60px) clamp(50px, 6vw, 80px);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

/* Removed .overview-article::before and .overview-article::after floating gradients */

.overview-article>* {
    position: relative;
    z-index: 1;
}

.overview-article h2 {
    font-size: clamp(2.2rem, 4.6vw, 2.9rem);
    color: var(--primary-dark);
    margin-bottom: clamp(20px, 3vw, 28px);
}

.overview-article p {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: clamp(16px, 2.4vw, 22px);
}

.overview-article h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--primary-color);
    margin-top: clamp(30px, 4vw, 40px);
    margin-bottom: clamp(14px, 2vw, 20px);
    position: relative;
    padding-bottom: 12px;
}

.overview-article h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 68px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.overview-article ul {
    margin: 0 0 clamp(24px, 3vw, 30px);
    padding-left: clamp(20px, 3vw, 40px);
    display: grid;
    gap: clamp(8px, 1.5vw, 12px);
}

.overview-article li {
    position: relative;
    color: var(--dark-text);
    font-size: 1.02rem;
    line-height: 1.75;
}



@media (max-width: 768px) {
    .overview-section {
        padding: 40px 0;
    }

    .overview-article {
        border-radius: var(--border-radius);
        padding: 28px 22px;
    }
}


@media (min-width: 1920px) {
    .container {
        width: 100%;
        max-width: none;
    }
}





/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-card {
    text-align: left;
    padding: 30px;
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--light-text);
    line-height: 1.6;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item strong {
    text-align: left;
    color: var(--dark-text);
    flex: 0 0 50%;
    min-width: 200px;
}

.contact-item span {
    flex: 1;
    text-align: center;
}

/* Contact Information Section */
.contact-info-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
}

/* Email Directory */
.email-section {
    margin-top: 60px;
}

.email-section h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.email-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.email-table th,
.email-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.email-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.email-table tr:hover td {
    background: var(--light-bg);
}

.email-table a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.email-table a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    margin-top: 60px;
    padding: 40px;
    background: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.contact-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-form-section p {
    margin-bottom: 25px;
    color: #64748b;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
    width: 100% !important;
}

.form-group label {
    display: block !important;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #ffffff !important;
    color: #1e293b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(35, 76, 140, 0.1) !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}
/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
}


/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.map-placeholder {
    height: 400px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    color: var(--light-text);
    font-size: 1.1rem;
}

.map-placeholder i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
}

.header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 15px rgba(0, 0, 0, 0.08);
    background: rgba(44, 90, 160, 0.95);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: flex-start;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 8px 0;
    width: 100%;
    margin: 0;
    position: relative;
    gap: 20px;
}

.logo-link:hover {
    background: rgba(44, 90, 160, 0.05);
}

.logo-img {
    height: 135px;
    width: 135px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.2);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: rgb(210, 198, 198);
    flex-shrink: 0;
    position: absolute;
    left: 0;
}

/* Hide the image placeholder when actual logo loads */
.logo-img[src*="wric-logo.png"] {
    background: none;
    font-size: 0;
}

/* CSS-based logo placeholder content */
.logo-img::before {
    content: 'W';
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link:hover .logo-img {
    transform: scale(1.02);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    width: 100%;
    margin: 0;
}

.logo-text-container span {
    display: block;
    text-align: center;
    width: 100%;
}

.logo-text-english {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.wric-letter {
    font-weight: 900;
    font-size: 1.1em;
    color: #ffffff;
}

.logo-text-hindi {
    font-size: 26px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    font-family: 'Devanagari Sangam MN', 'Noto Sans Devanagari', Arial, sans-serif;
}

/* Sub-titles Styling */
.logo-main-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-sub-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4px;
}

.logo-text-english-sub {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.logo-text-hindi-sub {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Devanagari Sangam MN', Arial, sans-serif;
}

/* Logo hover color changes removed */

.header-contact {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
    padding-right: 0.5rem;
}

.contact-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #ffd700;
}



/* Page Hero Section (for other pages) */
.page-hero {
    margin-top: 120px;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

body.overview-page .page-hero {
    margin-top: clamp(20px, 3vw, 50px);
    padding: clamp(60px, 7vw, 96px) 0 clamp(32px, 5vw, 64px);
}

body.overview-page .page-hero .container {
    max-width: min(960px, 100%);
    margin: 0 auto;
    padding-top: clamp(16px, 2vw, 28px);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    margin-top: 120px;
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    width: 100%;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(35, 76, 140, 0.3);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 63, 115, 0.4);
    color: var(--white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--primary-color);
    padding: 10px 26px;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(35, 76, 140, 0.2);
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

/* ========================================
   SLIDING BANNER SECTION
   ======================================== */

.banner-slider {
    --banner-nav-size: clamp(42px, 5vw, 56px);
    --banner-nav-bg: rgba(255, 255, 255, 0.22);
    --banner-nav-hover-bg: rgba(30, 58, 111, 0.92);
    --banner-nav-shadow: 0 16px 35px rgba(18, 42, 84, 0.35);
    margin-top: 0;
    position: relative;
    height: clamp(250px, 42vh, 600px);
    min-height: clamp(250px, 42vh, 600px);
    overflow: hidden;
    background: #f8f9fa;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-gallery-images {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-gallery-frame {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    animation: bannerFade 18s ease-in-out infinite;
    animation-fill-mode: both;
}

.banner-gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.banner-gallery-frame:nth-child(1) {
    animation-delay: 0s;
}

.banner-gallery-frame:nth-child(2) {
    animation-delay: 6s;
}

.banner-gallery-frame:nth-child(3) {
    animation-delay: 12s;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.banner-slide.prev {
    z-index: 1;
}

.swiper-slide-inner {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
}

.swiper-slide-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
    border: none;
}

/* Handle missing images gracefully */
.swiper-slide-image {
    opacity: 1;
}

/* Images are visible by default */

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    max-width: 55%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 63, 115, 0.9) 0%, rgba(35, 76, 140, 0.8) 100%);
    clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(28px, 4.5vw, 52px) clamp(15px, 2.5vw, 35px) clamp(28px, 4.5vw, 52px) clamp(35px, 4.5vw, 55px);
    color: white;
    text-align: left;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Second layer - bright blue on top */
.banner-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(35, 76, 140, 0.95) 0%, rgba(31, 63, 115, 0.9) 100%);
    clip-path: polygon(0 0, 65% 0, 85% 50%, 65% 100%, 0 100%);
    z-index: 0;
}

.banner-overlay>.container {
    width: 100%;
    max-width: 100%;
    padding: 0 35% 0 clamp(10px, 1.5vw, 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(8px, 1.5vw, 16px);
    position: relative;
    z-index: 1;
    word-wrap: break-word;
}

.banner-overlay .breadcrumb {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    animation: fadeInUp 0.9s ease-out 0.1s both;
}

.banner-overlay .breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.banner-overlay .breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.banner-overlay .breadcrumb span {
    color: #ffffff;
    font-weight: 500;
}

.banner-overlay h1 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideInFromLeft 0.9s ease-out;
    word-break: normal;
    hyphens: none;
    overflow-wrap: break-word;
}

.banner-overlay p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.6;
    max-width: clamp(260px, 90%, 520px);
    opacity: 0.95;
    font-weight: 400;
    animation: slideInFromRight 0.9s ease-out 0.2s both;
}

.banner-overlay .btn-primary {
    align-self: flex-start;
    animation: fadeInUp 0.9s ease-out 0.4s both;
}

/* Banner Navigation Arrows */
.banner-nav-left,
.banner-nav-right {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.banner-nav-left {
    left: 0;
    justify-content: flex-start;
    padding-left: clamp(12px, 3vw, 36px);
}

.banner-nav-right {
    right: 0;
    justify-content: flex-end;
    padding-right: clamp(12px, 3vw, 36px);
}

.banner-prev,
.banner-next {
    position: relative;
    width: var(--banner-nav-size);
    height: var(--banner-nav-size);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    cursor: pointer;
    font-size: clamp(16px, 2vw, 20px);
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    outline: none;
    user-select: none;
    pointer-events: auto;
    overflow: hidden;
}

.banner-prev::before,
.banner-next::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    opacity: 1;
    transition: opacity 0.3s ease;
}

.banner-prev::after,
.banner-next::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (hover: hover) {

    .banner-prev:hover,
    .banner-next:hover {
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px) scale(1.05);
        border-color: rgba(255, 255, 255, 0.8);
    }

    .banner-prev:hover::after,
    .banner-next:hover::after {
        opacity: 1;
    }

    .banner-prev:hover i,
    .banner-next:hover i {
        transform: scale(1.1);
    }
}

.banner-prev:focus-visible,
.banner-next:focus-visible {
    box-shadow: 0 0 0 4px rgba(44, 90, 160, 0.4), 0 12px 32px rgba(30, 58, 111, 0.5);
    background: linear-gradient(135deg, #3d6bb5 0%, #2c4a85 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.banner-prev:active,
.banner-next:active {
    transform: scale(0.95);
    box-shadow: 0 4px 12px rgba(30, 58, 111, 0.4), 0 1px 4px rgba(0, 0, 0, 0.15);
}

.banner-prev i,
.banner-next i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Banner Dots Indicator */
.banner-dots,
.banner-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.banner-dot,
.banner-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0;
    outline: none;
}

.banner-dot.active,
.banner-indicator.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.banner-dot:hover,
.banner-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Banner Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes bannerFade {
    0% {
        opacity: 0;
        visibility: hidden;
    }

    3% {
        opacity: 1;
        visibility: visible;
    }

    30% {
        opacity: 1;
        visibility: visible;
    }

    33% {
        opacity: 0;
        visibility: hidden;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}



/* Responsive Design for Banner */
@media (max-width: 1024px) {
    .banner-overlay {
        max-width: clamp(320px, 60vw, 520px);
        clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
        padding: clamp(24px, 5vw, 40px);
    }

    .banner-overlay>.container {
        padding-right: 38%;
    }

    .banner-overlay h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .banner-overlay p {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
    }

    .banner-slider {
        --banner-nav-size: clamp(38px, 6vw, 50px);
    }

    .banner-nav-left {
        padding-left: clamp(10px, 4vw, 28px);
    }

    .banner-nav-right {
        padding-right: clamp(10px, 4vw, 28px);
    }
}

@media (max-width: 768px) {
    .banner-slider {
        height: clamp(320px, 65vh, 520px);
        min-height: clamp(320px, 65vh, 520px);
        margin-top: 0;
        --banner-nav-size: clamp(34px, 11vw, 46px);
    }

    .banner-overlay {
        inset: 0;
        width: 100%;
        max-width: none;
        clip-path: none;
        background: linear-gradient(90deg, rgba(12, 32, 70, 0.05) 0%, rgba(30, 58, 111, 0.9) 65%);
        justify-content: center;
        align-items: flex-end;
        text-align: center;
        padding: clamp(24px, 7vw, 48px);
    }

    .banner-overlay>.container {
        max-width: 100%;
        padding: 0 clamp(40px, 8vw, 60px) 0 clamp(40px, 8vw, 60px);
        overflow: hidden;
    }

    .banner-overlay .btn-primary {
        align-self: center;
    }

    .banner-overlay h1 {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .banner-overlay p {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }

    .banner-nav-left,
    .banner-nav-right {
        align-items: flex-end;
        padding-bottom: clamp(64px, 18vw, 96px);
        padding-inline: clamp(10px, 6vw, 32px);
    }

    .banner-prev,
    .banner-next {
        font-size: clamp(15px, 4vw, 18px);
        box-shadow: 0 4px 18px rgba(18, 42, 84, 0.22);
    }

    .banner-dots {
        bottom: clamp(16px, 6vw, 28px);
        gap: 10px;
    }

    .banner-dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        height: clamp(260px, 70vh, 420px);
        min-height: clamp(260px, 70vh, 420px);
        --banner-nav-size: clamp(32px, 13vw, 42px);
    }

    .banner-overlay {
        padding: clamp(20px, 8vw, 36px);
        align-items: center;
    }

    .banner-overlay h1 {
        font-size: clamp(1.4rem, 8vw, 2.2rem);
        margin-bottom: clamp(12px, 4vw, 18px);
        hyphens: none !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
    }

    .banner-overlay p {
        font-size: clamp(0.95rem, 4.8vw, 1.1rem);
        margin-bottom: clamp(12px, 5vw, 18px);
    }

    .banner-nav-left,
    .banner-nav-right {
        padding-inline: clamp(8px, 7vw, 24px);
        padding-bottom: clamp(56px, 20vw, 84px);
    }

    .banner-dots {
        gap: 8px;
    }
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff6b35;
    border-radius: 2px;
}

/* Welcome and Events Section - Side by Side Layout */
.welcome-events-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 4px solid #2c5aa0;
}

.welcome-events-section .container {
    max-width: 95% !important;
    /* Use almost full width to reduce gutters at low zoom */
    margin: 0 auto;
    padding: 0 clamp(10px, 2vw, 30px);
}

.welcome-events-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 40px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.welcome-events-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.7fr 1.1fr !important;
    gap: clamp(10px, 1.5vw, 24px) !important;
    align-items: stretch;
    width: 100%;
    /* Remove hard min-width to allow fluid scaling, 
       container overflow will handle extreme cases */
}

.welcome-events-section .container {
    overflow-x: auto;
    /* Allow horizontal scroll if zoom or screen is extremely narrow */
    padding-bottom: 20px;
}

.welcome-events-grid>.welcome-content {
    padding: 0;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.home-messages-column {
    display: flex !important;
    flex-direction: column;
    gap: clamp(12px, 2vw, 24px);
}

.home-messages-column .message-card {
    padding: 16px;
    min-height: 80px;
    border-radius: var(--border-radius-lg);
}

.home-messages-column .message-card h3 {
    font-size: 0.95rem;
}

.welcome-events-grid>.welcome-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-text);
    text-align: justify;
    padding: clamp(20px, 4vw, 36px);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.welcome-events-grid>.welcome-content p:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.welcome-events-grid>.announcements-box {
    height: auto;
    min-height: 480px;
    /* Increased slightly for better room */
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.announcements-scroll {
    flex: 1;
    /* Allow content to grow and fill space, pushing footer down */
    overflow-y: auto;
    margin-bottom: 15px;
}

.announcements-view-all {
    margin-top: auto;
    /* Push to the absolute bottom of the flex container */
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.announcement-view-all-btn {
    background: none;
    border: none;
    color: #2c5aa0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 16px;
}

.announcement-view-all-btn:hover {
    color: #ff6b35;
    transform: translateY(-2px);
}

/* Responsive Design for Welcome and Events Section */
@media (max-width: 1400px) {
    .welcome-events-grid {
        grid-template-columns: 1.2fr 0.8fr 1.1fr;
    }
}

@media (max-width: 992px) {
    .welcome-events-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .welcome-events-section {
        padding: 60px 0;
    }

    .welcome-events-grid .welcome-content h2 {
        font-size: 2rem;
    }

    .welcome-events-grid .welcome-content p {
        font-size: 1rem;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .welcome-events-grid .welcome-content h2 {
        font-size: 1.6rem;
    }

    .welcome-events-grid .welcome-content p {
        font-size: 0.95rem;
        padding: 18px;
    }
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 4px solid #2c5aa0;
}

.welcome-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.welcome-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 30px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #ff6b35;
    position: relative;
}

.welcome-content p::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, transparent 0%, rgba(44, 90, 160, 0.05) 50%, transparent 100%);
    border-radius: 15px;
    z-index: -1;
}

/* Welcome text wrapper for dynamic content */
.welcome-text-wrapper {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-text);
    text-align: justify;
    padding: 32px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.welcome-text-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.welcome-text-wrapper p {
    margin-bottom: 15px;
}

.welcome-text-wrapper p:last-child {
    margin-bottom: 0;
}

.welcome-text-wrapper strong {
    font-weight: 700;
    color: #2c5aa0;
}

.welcome-text-wrapper a {
    color: #2c5aa0;
    text-decoration: underline;
}

.welcome-text-wrapper a:hover {
    color: #1e3a6f;
}

.welcome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 12px 28px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(35, 76, 140, 0.3);
    cursor: pointer;
    text-transform: none;
}

.welcome-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 63, 115, 0.4);
    color: var(--white);
    text-decoration: none;
}

.welcome-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(35, 76, 140, 0.3);
}

/* Responsive Design for Welcome Section */
@media (max-width: 768px) {
    .welcome-section {
        padding: 60px 0;
    }

    .welcome-content h2 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .welcome-content p {
        font-size: 1.1rem;
        padding: 25px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .welcome-content h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .welcome-content p {
        font-size: 1rem;
        padding: 20px;
    }
}

/* Events Section */
.events {
    padding: 80px 0;
    background: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 4px solid #2c5aa0;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-card h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.event-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 
############################### 
This is index.html Event Section CSS (Start)
###############################
*/

/* ========================================
   Events Section - Main Container
   ======================================== */
.events-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f3f4f6, #e5e7eb);
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========================================
   Section Header
   ======================================== */
.section-header {
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* ========================================
   Events Scroll Container
   ======================================== */
.events-scroll-container {
    width: 100%;
    overflow-x: auto;
    /* Hide scrollbar for cleaner look but keep functionality */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    padding: 1rem 0.5rem 3rem 0.5rem;
    /* Bottom padding for hover shadows */
}

.events-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* ========================================
   Events Scroll Content
   ======================================== */
.events-scroll-content {
    display: flex;
    gap: 2rem;
    /* Smooth snap scrolling */
    scroll-snap-type: x mandatory;
    align-items: flex-start;
}

/* ========================================
   Individual Event Card
   ======================================== */
.event-item {
    background: #ffffff;
    min-width: 320px;
    max-width: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    scroll-snap-align: start;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/* Top colored strip */
.event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
}

/* Hover Effect: Lift and Glow */
.event-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ========================================
   Event Date Badge
   ======================================== */
.event-date-container {
    padding: 1.5rem 1.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.event-date {
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.event-day {
    display: inline;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    display: inline;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.event-year {
    display: inline;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* ========================================
   Event Details Content
   ======================================== */
.event-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.4;
    /* Limit title to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   Event Meta Information
   ======================================== */
.event-meta {
    margin-bottom: 1rem;
}

.meta-row {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.meta-row i {
    color: #8b5cf6;
    /* Icon color */
    width: 20px;
    margin-right: 8px;
}

/* ========================================
   Event Description
   ======================================== */
.event-description {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: auto;
    /* Pushes description to bottom if needed */
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

/* ========================================
   Event Expanded Content
   ======================================== */
.event-expanded-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    margin-top: 1rem;
}

.event-expanded-content p {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.event-expanded-content p:last-child {
    margin-bottom: 0;
}

.event-expanded-content strong {
    color: #1f2937;
    font-weight: 600;
}

/* Expanded state */
.event-item.expanded .event-expanded-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
}

.event-item.expanded .card-action {
    opacity: 1;
    transform: translateX(0);
}

.event-item.expanded .card-action i {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* ========================================
   Card Action Button
   ======================================== */
.card-action {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.card-action i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.event-item:hover .card-action {
    color: #6366f1;
}

.card-action:hover {
    color: #6366f1;
    transform: translateX(3px);
}

/* ========================================
   Modal Overlay and Container
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9999;
    overflow-y: auto;
    padding: 2rem 1rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-container {
    background: white;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease-out;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.3;
}

.modal-close {
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #6b7280;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #1f2937;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    color: #4b5563;
    line-height: 1.7;
}

.modal-date-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.modal-content {
    font-size: 1rem;
}

.modal-content .event-meta {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #4f46e5;
}

.modal-content .event-meta .meta-row {
    margin: 0.5rem 0;
}

.modal-content p {
    margin-bottom: 1rem;
}

.modal-content strong {
    color: #1f2937;
    font-weight: 600;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid #f3f4f6;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-close-modal {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-close-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
    }

    .modal-container {
        max-width: 100%;
        margin: auto;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem;
    }
}

/* ========================================
   Responsive Design - Tablet
   ======================================== */
@media (max-width: 768px) {
    .events-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .event-item {
        min-width: 280px;
        max-width: 280px;
    }

    .event-details h3 {
        font-size: 1.15rem;
    }

    .meta-row {
        font-size: 0.85rem;
    }

    .event-description {
        font-size: 0.9rem;
    }
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */
@media (max-width: 480px) {
    .events-section {
        padding: 2.5rem 0;
    }

    .section-header {
        padding-left: 0.5rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .event-item {
        min-width: 260px;
        max-width: 260px;
    }

    .event-date-container {
        padding: 1rem 1rem 0 1rem;
    }

    .event-date {
        padding: 0.5rem 0.75rem;
        min-width: 60px;
    }

    .event-day {
        font-size: 1.25rem;
    }

    .event-month {
        font-size: 0.7rem;
    }

    .event-details {
        padding: 1rem;
    }

    .event-details h3 {
        font-size: 1.1rem;
    }

    .meta-row {
        font-size: 0.8rem;
    }

    .event-description {
        font-size: 0.85rem;
    }
}

/* 
############################### 
This is index.html Event Section CSS (End)
###############################
*/

/* Quick Links Section */
.quick-links {
    padding: 80px 0;
    background: #f8f9fa;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.link-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    color: #333;
}

.link-card i {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
}

.link-card h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.link-card p {
    color: #666;
    font-size: 0.9rem;
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: #2c5aa0;
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: #2c5aa0;
    transform: scale(1.05);
}

.stat-item h3 {
    font-size: 2rem;
    color: #2c5aa0;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 60px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 240px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-section p i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 98%;
        padding: 0 10px;
    }

    .header-top {
        flex-direction: row;
        gap: 8px;
        text-align: left;
        padding: 8px 0;
        justify-content: flex-start;
    }

    .logo-img {
        position: static;
        transform: none;
        margin: 0;
    }

    .logo-link {
        flex-direction: row;
        gap: 10px;
        padding: 4px 8px;
        width: 100%;
    }

    .ai-label {
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    .ai-hero h2 {
        font-size: 1.8rem;
    }

    .ai-card {
        padding: 24px;
    }

    .rdd-card {
        padding: 28px;
    }

    .rdd-card h2 {
        font-size: 1.8rem;
    }

    .rdd-card h3 {
        font-size: 1.4rem;
    }

    .header-contact {
        justify-content: center;
    }

    .logo-text-english {
        font-size: 20px;
    }

    .logo-text-hindi {
        font-size: 16px;
    }

    .logo-img {
        height: 88px;
        width: 88px;
        font-size: 32px;
    }



    .hero {
        margin-top: 140px;
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Page Header Responsive */
    .page-header {
        padding: 180px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 180px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .breadcrumb {
        font-size: 1rem;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: white;
    padding: 180px 0 80px;
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

/* Banner Background Image */
.banner-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Dark overlay for better text visibility */
.banner-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.85) 0%, rgba(30, 58, 111, 0.85) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-subtitle {
    font-size: 1.4rem;
    margin: 15px 0 20px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.breadcrumb {
    font-size: 1.1rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ff6b35;
}

/* Content Section Styles */
.content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.ai-content::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.25) 0%, rgba(44, 90, 160, 0) 70%);
    animation: pulseFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.ai-content::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -160px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0) 70%);
    animation: pulseFloat 9s ease-in-out infinite reverse;
    pointer-events: none;
}

.ai-hero {
    position: relative;
    background: #ffffff;
    padding: 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    animation: fadeUp 0.8s ease-out;
}

.ai-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.12) 0%, rgba(44, 90, 160, 0) 65%);
    opacity: 0.85;
    pointer-events: none;
}

.ai-hero h2,
.ai-hero p,
.ai-hero .ai-label {
    position: relative;
}

.ai-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: slideIn 0.6s ease-out;
}

.ai-label::before {
    content: '\f0f2';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.ai-hero h2 {
    margin: 20px 0;
    font-size: 2.5rem;
    color: var(--primary-dark);
    animation: fadeUp 0.8s ease-out 0.15s both;
}

.ai-hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--light-text);
    animation: fadeUp 0.8s ease-out 0.3s both;
}

.ai-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ai-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(44, 90, 160, 0.08);
    animation: cardRise 0.8s ease-out;
    animation-fill-mode: both;
}

.ai-card:nth-child(1) {
    animation-delay: 0.2s;
}

.ai-card:nth-child(2) {
    animation-delay: 0.35s;
}

.ai-card h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.ai-card p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 16px;
}

.ai-card ul {
    margin: 0 0 20px 0;
    padding-left: 20px;
    color: var(--dark-text);
}

.ai-card li {
    margin-bottom: 10px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

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

@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }

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

@keyframes pulseFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.12) translateY(-8px);
        opacity: 1;
    }
}

.rdd-content {
    background: #f8f9fa;
}

.rdd-card {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    border-left: 6px solid var(--primary-color);
    z-index: 0;
}

.rdd-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.15) 0%, rgba(44, 90, 160, 0) 60%);
    pointer-events: none;
    z-index: 0;
}

.rdd-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, rgba(255, 107, 53, 0) 65%);
    pointer-events: none;
    z-index: 0;
}

.rdd-card h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
}

.rdd-card h3 {
    color: var(--primary-dark);
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
}

.rdd-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--light-text);
    position: relative;
    z-index: 1;
}

.rdd-list {
    margin: 10px 0 20px;
    padding-left: 24px;
    list-style: disc;
    color: var(--dark-text);
    position: relative;
    z-index: 1;
}

.rdd-list li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.content-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.content-card h2 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 25px;
    border-bottom: 3px solid #ff6b35;
    padding-bottom: 10px;
}

.content-card p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.highlight-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #2c5aa0;
    margin: 25px 0;
}

.highlight-box h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

/* Sidebar Styles */
.sidebar-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.sidebar-card h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 8px;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-label {
    font-weight: 600;
    color: #333;
}

.fact-value {
    color: #2c5aa0;
    font-weight: 500;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

.achievement-list li:last-child {
    border-bottom: none;
}

.achievement-list i {
    color: #ff6b35;
    font-size: 1.2rem;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #2c5aa0;
    width: 20px;
}

/* Department Styles */
.departments-intro {
    text-align: center;
    margin-bottom: 60px;
}

.departments-intro h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.departments-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.department-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.department-card:hover {
    transform: translateY(-5px);
}

.department-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: white;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.department-icon {
    font-size: 3rem;
    color: #ff6b35;
}

.department-title h2 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.department-title p {
    opacity: 0.9;
    margin: 0;
}

.department-content {
    padding: 40px;
}

.subsection {
    margin: 40px 0;
}

.subsection h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subsection i {
    color: #ff6b35;
}

.project-grid,
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.project-item,
.facility-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #2c5aa0;
}

.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 48px clamp(24px, 5vw, 60px);
}

.project-entry,
.project-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: start;
}

.projects-showcase .project-entry {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: 36px clamp(24px, 4vw, 48px);
    position: relative;
    overflow: hidden;
}

.projects-showcase .project-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.project-highlight h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.project-entry-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.project-meta {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 18px;
}

.project-description p+p {
    margin-top: 14px;
}

.project-entry-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-gallery {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.project-figure {
    margin: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.project-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.project-figure figcaption {
    padding: 16px 18px;
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.project-points {
    list-style: disc;
    padding-left: 24px;
    color: var(--light-text);
    line-height: 1.7;
}

.project-points li+li {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .projects-showcase {
        gap: 36px;
        padding: 36px 20px;
    }

    .project-entry,
    .project-highlight {
        gap: 24px;
    }

    .projects-showcase .project-entry {
        padding: 28px 24px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }
}

.project-item h4,
.facility-item h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.facility-item ul {
    list-style: none;
    padding: 0;
}

.facility-item li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 20px;
}

.facility-item li:last-child {
    border-bottom: none;
}

.facility-item li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

.testing-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.service-category {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #ff6b35;
}

.service-category h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.training-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.highlight-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-bottom: 4px solid #2c5aa0;
}

.highlight-item h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #ff6b35;
}

.service-item h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
}

.service-item i {
    color: #ff6b35;
}

.repair-categories {
    margin: 25px 0;
}

.repair-category {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.repair-category h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

.repaired-instruments {
    margin-top: 30px;
}

.repaired-instruments h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.instrument-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.instrument-category {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.instrument-category h5 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 8px;
}

.instrument-category ul {
    list-style: none;
    padding: 0;
}

.instrument-category li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.instrument-category li:last-child {
    border-bottom: none;
}

.instrument-category li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

/* Training Page Styles */
.training-intro {
    text-align: center;
    margin-bottom: 60px;
}

.training-intro h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.intro-content p {
    font-size: 1.2rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.training-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.principle-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.principle-item:hover {
    transform: translateY(-5px);
}

.principle-item i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 20px;
}

.principle-item h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.training-categories {
    margin: 80px 0;
}

.category-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.category-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: white;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-header i {
    font-size: 2.5rem;
    color: #ff6b35;
}

.category-header h2 {
    color: white;
    margin: 0;
    font-size: 2rem;
}

.category-content {
    padding: 40px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.program-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #2c5aa0;
    transition: transform 0.3s ease;
}

.program-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.program-item h4 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.program-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.program-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #666;
    background: white;
    padding: 5px 12px;
    border-radius: 20px;
}

.program-details i {
    color: #ff6b35;
    font-size: 0.8rem;
}

.program-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.program-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.program-topics span {
    background: #2c5aa0;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Outreach Tabs */
.outreach-tabs {
    margin-top: 30px;
}

.tab-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 15px 30px;
    background: #f8f9fa;
    border: none;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #2c5aa0;
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #e9ecef;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.upcoming-programs {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.upcoming-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 25px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #ff6b35;
    align-items: center;
}

.date-box {
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.date-box .month {
    display: block;
    color: #2c5aa0;
    font-weight: bold;
    font-size: 0.9rem;
}

.date-box .day {
    display: block;
    color: #333;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 5px 0;
}

.date-box .year {
    display: block;
    color: #666;
    font-size: 0.8rem;
}

.program-info h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.program-info p {
    margin-bottom: 8px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-info i {
    color: #ff6b35;
    width: 16px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.status-badge.registration {
    background: #28a745;
    color: white;
}

.status-badge.upcoming {
    background: #ffc107;
    color: #333;
}

.status-badge.planning {
    background: #6c757d;
    color: white;
}

.archive-programs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.archive-year h4 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 8px;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.archive-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: center;
}

.archive-date {
    color: #2c5aa0;
    font-weight: 600;
    font-size: 0.9rem;
}

.archive-title {
    color: #333;
    font-weight: 500;
}

.archive-participants {
    color: #666;
    font-size: 0.9rem;
    text-align: right;
}

/* TED Division Page */
body.ted-page {
    background: linear-gradient(180deg, #eef2f7 0%, #ffffff 70%);
}

.ted-page .content-section {
    background: transparent;
    padding: clamp(50px, 6vw, 90px) 0 clamp(70px, 7vw, 110px);
    display: grid;
    gap: clamp(24px, 4vw, 32px);
}

.ted-block {
    background: var(--white);
    border-radius: 22px;
    border: 1px solid rgba(44, 90, 160, 0.14);
    box-shadow: 0 18px 42px rgba(18, 42, 84, 0.1);
    padding: clamp(26px, 3vw, 40px);
    position: relative;
    overflow: hidden;
}

.ted-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 22%, rgba(44, 90, 160, 0.12), transparent 65%),
        radial-gradient(circle at 88% 78%, rgba(255, 107, 53, 0.12), transparent 70%);
    opacity: 0.55;
    pointer-events: none;
}

.ted-block>* {
    position: relative;
    z-index: 1;
}

.ted-intro h2 {
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    color: var(--primary-dark);
    margin-bottom: clamp(16px, 2.5vw, 22px);
}

.ted-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--light-text);
    max-width: 72ch;
}

.ted-programmes h3,
.ted-skill-courses h3 {
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
    color: var(--primary-color);
    margin-bottom: clamp(18px, 3vw, 24px);
}

.ted-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: clamp(14px, 2.4vw, 18px);
}

.ted-list li {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--dark-text);
    position: relative;
    padding-left: clamp(42px, 5vw, 56px);
}

.ted-list--numbered {
    counter-reset: ted-counter;
}

.ted-list--numbered li::before {
    counter-increment: ted-counter;
    content: counter(ted-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(32px, 4vw, 40px);
    height: clamp(32px, 4vw, 40px);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 20px rgba(44, 90, 160, 0.25);
}

.ted-list--bullet li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.85), rgba(255, 107, 53, 0.85));
    box-shadow: 0 0 0 4px rgba(44, 90, 160, 0.12);
}

.ted-list--bullet li {
    padding-left: clamp(34px, 4vw, 46px);
}

@media (max-width: 768px) {
    .ted-page .content-section {
        padding: 40px 0 70px;
        gap: 20px;
    }

    .ted-block {
        border-radius: 18px;
        padding: 22px 20px;
        box-shadow: 0 12px 28px rgba(18, 42, 84, 0.12);
    }

    .ted-list li {
        padding-left: 44px;
    }

    .ted-list--bullet li::before {
        left: 8px;
    }
}

/* Training Features */
.training-features {
    margin: 80px 0;
    text-align: center;
}

.training-features h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 25px;
}

.feature-item h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Registration Info */
.registration-info {
    margin: 80px 0;
}

.registration-card {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.registration-card h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.step-content h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.registration-contact {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.registration-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.registration-contact i {
    color: #ff6b35;
}

/* Responsive Design for Training Page */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

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

    .upcoming-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .archive-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .registration-steps {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .training-principles {
        grid-template-columns: 1fr;
    }
}

/* NEP2020 Page Styles */
.nep-intro {
    text-align: center;
    margin-bottom: 60px;
}

.nep-intro h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.nep-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.student-programs {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.program-category .category-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: white;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.program-category .category-header i {
    font-size: 3rem;
    color: #ff6b35;
}

.program-category .category-header h2 {
    color: white;
    margin: 0;
    font-size: 2rem;
}

.program-overview {
    padding: 40px;
}

.program-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 20px;
}

.benefit-item h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.subject-programs {
    padding: 0 40px 40px;
    display: grid;
    gap: 40px;
}

.subject-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.subject-header {
    background: #f8f9fa;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
}

.subject-header i {
    font-size: 2rem;
    color: #2c5aa0;
}

.subject-header h3 {
    color: #2c5aa0;
    margin: 0;
    font-size: 1.8rem;
}

.subject-content {
    padding: 30px;
}

.program-list {
    display: grid;
    gap: 30px;
}

.program-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
}

.program-item h5 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.program-item p {
    margin-bottom: 10px;
    color: #666;
}

.skills-covered {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.skills-covered span {
    background: #2c5aa0;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.application-process {
    padding: 40px;
    background: #f8f9fa;
    margin: 40px;
    border-radius: 12px;
}

.application-process h3 {
    color: #2c5aa0;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step-content h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

.program-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
}

.contact-section {
    padding: 0 40px 40px;
}

.contact-card {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.contact-card h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #ff6b35;
}

/* Facilities Page Styles */
.facilities-intro {
    text-align: center;
    margin-bottom: 60px;
}

.facilities-intro h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.facilities-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.facility-showcase {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #c9d3e3;
    padding: 28px 28px 20px;
    margin-bottom: 60px;
}

.facility-showcase h3 {
    font-size: 1.4rem;
    color: #1e3a6f;
    text-align: left;
    margin-bottom: 18px;
    font-weight: 700;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    border: 1px solid #c9d3e3;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.showcase-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #c9d3e3;
}

.showcase-card:last-child {
    border-right: none;
}

.showcase-card:nth-child(2) {
    transition-delay: 0.12s;
}

.showcase-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid #c9d3e3;
    background: #ffffff;
}

.showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.showcase-info {
    padding: 18px 22px 22px;
    background: #ffffff;
}

.showcase-info h4 {
    font-size: 1.15rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.showcase-info p {
    color: #2b2b2b;
    font-size: 0.95rem;
    line-height: 1.45;
}

.showcase-info strong {
    color: #1e3a6f;
    font-weight: 600;
}

.facility-matrix {
    margin-top: 24px;
    border: 1px solid #c9d3e3;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.matrix-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-right: 1px solid #c9d3e3;
    border-bottom: 1px solid #c9d3e3;
}

.matrix-card:nth-child(2) {
    border-right: none;
}

.matrix-card-wide {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid #c9d3e3;
    border-bottom: none;
}

.matrix-card:last-child {
    border-bottom: none;
}

.matrix-card-center {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
    border-left: 1px solid #c9d3e3;
    border-top: 1px solid #c9d3e3;
}

@media (max-width: 768px) {
    .matrix-card-center {
        width: 100%;
        border-left: none;
    }
}

.matrix-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid #c9d3e3;
}

.matrix-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.matrix-card-wide .matrix-media {
    aspect-ratio: 16 / 9;
}

.matrix-info {
    padding: 18px 22px 24px;
}

.matrix-info h4 {
    font-size: 1.15rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.matrix-info p {
    color: #2b2b2b;
    font-size: 0.95rem;
    line-height: 1.45;
}

.matrix-info strong {
    color: #1e3a6f;
    font-weight: 600;
}

.facility-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 36px;
    padding: 28px;
    border: 1px solid #c9d3e3;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(30, 58, 111, 0.06);
}

.overview-block h3 {
    font-size: 1.25rem;
    color: #1e3a6f;
    margin-bottom: 14px;
}

.overview-list {
    list-style: disc;
    padding-left: 20px;
    color: #2b2b2b;
    line-height: 1.6;
}

.overview-list li+li {
    margin-top: 6px;
}

.facility-overview p {
    color: #2b2b2b;
    line-height: 1.6;
}

.calibration-hero {
    background: #ffffff;
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 12px 28px rgba(30, 58, 111, 0.08);
    margin-bottom: 40px;
}

.calibration-hero h2 {
    font-size: 2.2rem;
    color: #1e3a6f;
    margin-bottom: 16px;
}

.calibration-hero p {
    color: #2b2b2b;
    line-height: 1.7;
    margin-bottom: 18px;
}

.calibration-subheading {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 18px;
}

.calibration-status {
    border: 1px solid #c9d3e3;
    background: linear-gradient(180deg, rgba(244, 247, 255, 0.9) 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2c5aa0;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.calibration-note {
    margin-bottom: 0;
}

.calibration-facilities {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px;
    border: 1px solid #c9d3e3;
    box-shadow: 0 10px 24px rgba(30, 58, 111, 0.07);
    margin-bottom: 40px;
}

.calibration-facilities h3 {
    font-size: 1.6rem;
    color: #1e3a6f;
    margin-bottom: 24px;
}

.calibration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.calibration-card {
    background: #ffffff;
    border: 1px solid #dbe4f4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(30, 58, 111, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calibration-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 24px rgba(30, 58, 111, 0.12);
}

.calibration-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid #dbe4f4;
    background: #f4f7ff;
}

.calibration-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.calibration-info {
    padding: 18px 22px 22px;
}

.calibration-info h4 {
    font-size: 1.1rem;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.calibration-info p {
    color: #2b2b2b;
    line-height: 1.4;
}

.calibration-info p:empty {
    display: none;
}

.cmf-overview,
.cmf-features,
.cmf-facilities {
    background: #ffffff;
    border: 1px solid #c9d3e3;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 10px 22px rgba(30, 58, 111, 0.07);
    margin-bottom: 28px;
}

.cmf-overview h2,
.cmf-features h3,
.cmf-facilities h3 {
    color: #1e3a6f;
    margin-bottom: 14px;
}

.cmf-overview p,
.cmf-features p,
.cmf-facilities p {
    color: #2b2b2b;
    line-height: 1.6;
}

.glassblowing-intro {
    background: #ffffff;
    border: 1px solid #c9d3e3;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 12px 26px rgba(30, 58, 111, 0.08);
    display: grid;
    gap: 18px;
}

.glassblowing-intro p {
    color: #2b2b2b;
    line-height: 1.7;
}

.calibration-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.meta-block {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #c9d3e3;
    padding: 28px;
    box-shadow: 0 10px 22px rgba(30, 58, 111, 0.08);
}

.meta-block h3 {
    font-size: 1.4rem;
    color: #1e3a6f;
    margin-bottom: 12px;
}

.meta-block p {
    color: #2b2b2b;
    line-height: 1.6;
}

.facilities-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 80px;
}

.facility-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

.facility-image {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.facility-image i {
    font-size: 4rem;
    color: #ff6b35;
}

.facility-content {
    padding: 40px;
}

.facility-content h3 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 20px;
}

.facility-features {
    margin: 30px 0;
}

.facility-features h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature i {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-top: 5px;
}

.feature h5 {
    color: #2c5aa0;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.booking-info,
.usage-info,
.library-info {
    margin-top: 30px;
}

.booking-info h4,
.usage-info h4,
.library-info h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.booking-details,
.library-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.booking-item,
.library-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.booking-item i,
.library-item i {
    color: #ff6b35;
    margin-top: 5px;
}

.usage-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.usage-tag {
    background: #2c5aa0;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.support-facilities {
    margin: 80px 0;
}

.support-facilities h2 {
    color: #2c5aa0;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.support-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.support-item:hover {
    transform: translateY(-5px);
}

.support-item i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 20px;
}

.support-item h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.booking-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 80px 0;
    border-radius: 15px;
}

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

.booking-card h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.booking-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-booking h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Staff Page Styles */
.staff-intro {
    text-align: center;
    margin-bottom: 60px;
}

.staff-intro h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.staff-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.staff-section {
    margin-bottom: 60px;
}

.staff-section h3 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid #ff6b35;
    padding-bottom: 10px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.staff-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);

    display: flex;
    gap: 20px;
    align-items: center;

    transition: all 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.staff-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #2c5aa0, #1e3a6f);
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.staff-image i {
    font-size: 2.5rem;
    color: white;
}

.staff-image .photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    border-radius: 50%;
}

.staff-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.staff-info h4 {
    color: #2c5aa0;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.position {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
}

.qualification {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-style: italic;
}

.description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-info p {
    color: #444;
    font-size: 0.95rem;
    margin: 3px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    word-break: normal;
}

.contact-info i {
    color: #2c5aa0;
}

.staff-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.staff-row {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
    align-items: center;
}

.staff-basic-info h4 {
    color: #2c5aa0;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.staff-specialization p {
    color: #666;
    margin-bottom: 5px;
}

.support-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.support-category {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.support-category h4 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
}

.support-category ul {
    list-style: none;
    padding: 0;
}

.support-category li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.support-category li:last-child {
    border-bottom: none;
}

.recruitment-section {
    background: #f8f9fa;
    padding: 60px;
    border-radius: 15px;
    margin: 60px 0;
}

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

.recruitment-card h3 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 25px;
}

.career-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.career-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.career-item i {
    font-size: 2rem;
    color: #ff6b35;
    margin-top: 5px;
}

.career-item h4 {
    color: #2c5aa0;
    margin-bottom: 10px;
}

.contact-hr {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.contact-hr h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
}

.contact-hr p {
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-hr i {
    color: #ff6b35;
}

/* Responsive Design for Additional Pages */
@media (max-width: 768px) {
    .facility-showcase {
        padding: 24px;
    }

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

    .showcase-card {
        border-right: none;
        border-bottom: 1px solid #d9e2f0;
    }

    .showcase-card:last-child {
        border-bottom: none;
    }

    .facility-matrix {
        grid-template-columns: 1fr;
    }

    .matrix-card {
        border-right: none;
    }

    .facility-overview {
        padding: 24px;
    }

    .calibration-hero,
    .calibration-facilities {
        padding: 28px;
    }

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

    .calibration-meta {
        grid-template-columns: 1fr;
    }

    .cmf-overview,
    .cmf-features,
    .cmf-facilities {
        padding: 24px;
    }

    .glassblowing-intro {
        padding: 28px;
    }

    .facility-card {
        grid-template-columns: 1fr;
    }

    .facility-image {
        padding: 30px;
        text-align: center;
    }

    .staff-card {
        flex-direction: column;
        text-align: center;
    }

    .staff-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .program-benefits {
        grid-template-columns: 1fr;
    }

    .subject-programs {
        padding: 20px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .contact-details {
        grid-template-columns: 1fr;
    }
}

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #ff6b35;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c5aa0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== START Navigation Bar from header.html ===== */
@keyframes navItemFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes dropdownFloat {
    from {
        opacity: 0;
        transform: translate(-50%, -12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 6px) scale(1);
    }
}

@keyframes dropdownFloatNested {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

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

/* Primary navigation */
.main-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.5rem 1.25rem;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    transition: var(--transition);
}

/* Hide close button on desktop */
.nav-close-btn {
    display: none !important;
}

@media (max-width: 991px) {
    .nav-close-btn {
        display: list-item !important;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu>li {
    position: relative;
    will-change: opacity, transform;
}

.nav-menu>li>a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.1rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: var(--border-radius);
    box-shadow: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-menu>li>a::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 4px;
    height: 3px;
    border-radius: 999px;
    background: var(--secondary-color);
    opacity: 0;
    transform: scaleX(0.4);
    transform-origin: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.nav-menu>li>a:hover::after,
.nav-menu>li>a:focus-visible::after,
.nav-menu>li>a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-menu>li>a:hover,
.nav-menu>li>a:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-menu>li>a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

.dropdown>a {
    padding-right: 2rem;
}

.dropdown>a::before {
    content: '\25BE';
    position: absolute;
    right: 1rem;
    font-size: 0.65rem;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.dropdown:hover>a::before,
.dropdown.hover>a::before {
    transform: translateY(2px) rotate(180deg);
}

@media (min-width: 992px) {
    /* Dropdown menus desktop behavior */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -12px);
        list-style: none;
        margin: 0;
        padding: 12px 0;
        background: var(--white);
        border-radius: var(--border-radius-lg);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-heavy);
        min-width: 250px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease;
        z-index: 1200;
        pointer-events: none;
        will-change: opacity, transform;
    }

    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: var(--white);
        border-top: 1px solid var(--border-color);
        border-left: 1px solid var(--border-color);
    }

    .dropdown:hover>.dropdown-menu,
    .dropdown.hover>.dropdown-menu,
    .dropdown:focus-within>.dropdown-menu,
    .dropdown.active>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 8px);
        pointer-events: auto;
        animation: dropdownFloat var(--nav-duration) var(--nav-ease);
        animation-fill-mode: forwards;
    }

    .dropdown-submenu-menu {
        position: absolute;
        top: -12px;
        left: 100%;
        margin-left: 12px;
        list-style: none;
        margin-top: 0;
        margin-bottom: 0;
        padding: 12px 0;
        background: var(--white);
        border-radius: var(--border-radius-lg);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-heavy);
        min-width: 240px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        pointer-events: none;
        z-index: 1300;
        will-change: opacity, transform;
    }

    .dropdown-submenu:hover>.dropdown-submenu-menu,
    .dropdown-submenu.hover>.dropdown-submenu-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        animation: dropdownFloatNested var(--nav-duration) var(--nav-ease);
        animation-fill-mode: forwards;
    }

    /* Submenu Left-expansion for rightmost items or auto-detected overflows */
    .dropdown-left .dropdown-submenu-menu,
    .dropdown-submenu.flip-left .dropdown-submenu-menu {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: 12px;
    }

    .dropdown-left .dropdown-submenu>a::after,
    .dropdown-submenu.flip-left>a::after {
        content: '\2039' !important;
        /* Left pointing arrow */
        left: 1rem !important;
        right: auto !important;
    }

    .dropdown-left .dropdown-menu li a,
    .dropdown-submenu.flip-left .dropdown-menu li a {
        padding-left: 2.5rem !important;
    }

    .dropdown-left .dropdown-submenu>a,
    .dropdown-submenu.flip-left>a {
        padding-right: 1.5rem !important;
    }

    .dropdown-left .dropdown-submenu:hover>a::after,
    .dropdown-submenu.flip-left:hover>a::after {
        transform: translateY(-50%) translateX(-4px) !important;
    }
}

.dropdown-menu li,
.dropdown-submenu-menu li {
    padding: 0 8px;
}

.dropdown-menu li a,
.dropdown-submenu-menu li a {
    display: block;
    padding: 0.65rem 1rem;
    list-style: none;
    text-decoration: none;
    border-radius: var(--border-radius);
    color: var(--dark-text);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dropdown-menu li a:hover,
.dropdown-submenu-menu li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 1.25rem;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dropdown-submenu > a {
    position: relative;
    padding-right: 2rem;
}

.dropdown-submenu > a::after {
    content: '\203A'; /* Right pointing arrow */
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: transform 0.2s;
}

.dropdown-submenu:hover > a::after {
    transform: translateY(-50%) translateX(4px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    margin: 4px auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 8px;
    }
    
    .nav-menu > li > a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .main-nav {
        justify-content: space-between;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-menu > li > a {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
    }

    /* Remove backdrop-filter so position:fixed works relative to viewport */
    .header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .main-nav {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: -300px !important;
        right: auto !important;
        width: 280px !important;
        height: 100vh !important;
        height: 100dvh !important;
        flex-direction: column !important;
        background: linear-gradient(180deg, #1a3a6b 0%, #152d54 100%) !important;
        padding: 6px 16px 40px 16px !important;
        gap: 2px !important;
        z-index: 9999 !important;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: none !important;
        overflow-y: auto !important;
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.5) !important;
        border: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }

    /* Dark overlay behind sidebar */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .nav-menu>li {
        width: 100%;
    }

    .nav-menu>li>a {
        width: 100%;
        border-radius: 8px;
        padding: 0.6rem 1rem !important;
        font-size: 0.95rem !important;
    }

    .dropdown-menu,
    .dropdown-submenu-menu {
        position: static !important;
        transform: none !important;
        background: var(--white) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 8px !important;
        box-shadow: var(--shadow-sm) !important;
        min-width: unset !important;
        padding: 6px !important;
        margin: 8px 0 4px 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: none;
    }

    /* Active parent styling */
    .dropdown.active > a,
    .dropdown-submenu.active > a {
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .dropdown.active>.dropdown-menu,
    .dropdown.hover>.dropdown-menu,
    .dropdown-submenu.active>.dropdown-submenu-menu,
    .dropdown-submenu.hover>.dropdown-submenu-menu {
        display: flex !important;
        flex-direction: column;
        gap: 2px;
        animation: none;
    }

    .dropdown-menu::before {
        display: none !important;
    }

    /* Submenu items inside the box */
    .dropdown-menu li,
    .dropdown-submenu-menu li {
        padding: 0 !important;
        width: 100% !important;
    }

    .dropdown-menu li a,
    .dropdown-submenu-menu li a {
        display: block !important;
        color: var(--dark-text) !important;
        padding: 9px 12px !important;
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        border: none !important;
        border-radius: 7px !important;
        background: transparent !important;
        text-decoration: none !important;
        white-space: normal !important;
        line-height: 1.35 !important;
        transition: all 0.2s ease !important;
    }

    .dropdown-menu li a:hover,
    .dropdown-submenu-menu li a:hover {
        background: var(--light-bg) !important;
        color: var(--primary-color) !important;
        transform: translateX(4px) !important;
        box-shadow: none !important;
        padding-left: 16px !important;
        text-decoration: none !important;
        border-left: 3px solid var(--primary-color) !important;
    }

    .dropdown-menu li:first-child a,
    .dropdown-submenu-menu li:first-child a {
        border-top: none;
    }

    .dropdown>a::before,
    .dropdown-submenu>a::after {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        float: right;
        margin-left: 8px;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        transition: all 0.3s ease;
        opacity: 0.8;
        flex-shrink: 0;
    }

    .dropdown>a::before {
        content: '+' !important;
    }

    .dropdown-submenu>a::after {
        content: '+' !important;
    }

    /* Change to minus when expanded */
    .dropdown.active>a::before {
        content: '−' !important;
        background: rgba(255, 215, 0, 0.25) !important;
        color: #ffd700 !important;
        opacity: 1;
        transform: none !important;
    }

    .dropdown-submenu.active>a::after {
        content: '−' !important;
        background: rgba(255, 215, 0, 0.25) !important;
        color: #ffd700 !important;
        opacity: 1;
        transform: none !important;
    }
}

/* ===== END Navigation Bar from header.html ===== */

@media (prefers-reduced-motion: reduce) {
    .nav-menu>li {
        animation: none !important;
        opacity: 1;
        transform: none;
    }

    .dropdown-menu,
    .dropdown-submenu-menu {
        transition: none !important;
        animation: none !important;
    }

    .nav-menu>li>a,
    .dropdown-menu li a,
    .dropdown-submenu-menu li a {
        transition: none !important;
    }

    .ai-hero,
    .ai-card,
    .ai-content::before,
    .ai-content::after,
    .ai-label,
    .rdd-card,
    .showcase-card,
    .showcase-media img,
    .matrix-card,
    .matrix-media img,
    .facility-overview,
    .calibration-card,
    .calibration-media img,
    .calibration-meta,
    .calibration-hero,
    .calibration-facilities,
    .cmf-overview,
    .cmf-features,
    .cmf-facilities,
    .glassblowing-intro {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Important Announcements Box */
.announcements-box {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-medium);
}

.messages-activities .announcements-box {
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    grid-column: 1 / -1;
    justify-self: center;
}

.announcements-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.announcements-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.announcements-scroll {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.announcements-empty-state {
    flex: 1;
    min-height: 280px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.announcements-empty-card {
    width: 70%;
    max-width: 320px;
    padding: 26px 24px;
    border: none;
    border-radius: 18px;
    background: transparent;
    text-align: center;
    box-shadow: none;
    margin: 0 auto;
}

.announcements-empty-card p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(35, 76, 140, 0.5);
    text-align: center;
}

.announcements-content {
    animation: scrollUp 20s linear infinite;
}

.announcements-content:hover {
    animation-play-state: paused;
}

/* Pause animation when hovering over the scroll area */
.announcements-scroll:hover .announcements-content {
    animation-play-state: paused;
}

.announcements-view-all {
    text-align: center;
    margin-top: 12px;
}

.announcement-view-all-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.announcement-view-all-btn:hover,
.announcement-view-all-btn:focus {
    color: var(--white);
    background: var(--primary-color);
}

.announcement-item {
    padding: 20px 24px;
    margin-bottom: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.announcement-item:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-8px);
    border-color: rgba(35, 76, 140, 0.3);
}

.announcement-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.announcement-text p {
    margin: 0;
    color: var(--dark-text);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
}

.announcement-btn-inline {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.announcement-btn-inline:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.announcement-details {
    display: none;
}

/* Announcement Modal */
.announcement-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.announcement-modal.active {
    display: block;
}

.announcement-modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius-lg);
    width: 95%;
    max-width: 900px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

.announcement-modal-close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    z-index: 1;
}

.announcement-modal-close:hover,
.announcement-modal-close:focus {
    color: var(--dark-text);
}

.announcement-modal-body {
    padding: 40px 30px 30px;
}

.announcement-modal-body h3 {
    color: var(--primary-dark);
    font-size: 1.6rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-color);
}

.announcement-modal-body h4 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.announcement-modal-body p {
    color: var(--dark-text);
    font-size: 1rem;
    line-height: 1.8;
    margin: 10px 0;
}

.announcement-modal-body strong {
    color: var(--primary-color);
}

.announcement-modal-body .btn-primary {
    display: inline-block;
    margin-top: 12px;
}

/* View All Modal - Announcement List */
.announcement-modal-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.announcement-modal-item {
    padding: 20px;
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.announcement-modal-item:hover {
    background: #eef3f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateX(4px);
}

.announcement-modal-item h4 {
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d1e0f0;
}

.announcement-modal-item p {
    margin: 8px 0;
}

.announcement-modal-item .btn-primary {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .announcement-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .announcement-modal-body {
        padding: 40px 20px 20px;
    }

    .announcement-text {
        flex-direction: column;
        align-items: flex-start;
    }

    .announcement-btn-inline {
        width: 100%;
        margin-top: 8px;
    }
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Upcoming Events Box */
.events-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-medium);
}

.events-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.events-scroll-box {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.events-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.events-scroll-box::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}

.events-scroll-box::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.events-scroll-box::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.events-scroll-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.event-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.event-header {
    margin-bottom: 12px;
}

.event-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.event-card h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.event-brief {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 10px 0;
}

.event-details-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 10px;
}

.event-details-expanded p {
    color: var(--dark-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 8px 0;
}

.event-details-expanded i {
    color: var(--primary-color);
    margin-right: 5px;
}

.event-card.expanded .event-details-expanded {
    max-height: 500px;
}

.view-details-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-details-btn:hover {
    background: var(--primary-dark);
    transform: translateX(3px);
}

.view-details-btn i {
    transition: transform 0.3s ease;
}

.event-card.expanded .view-details-btn i {
    transform: rotate(180deg);
}

/* Messages and Upcoming Activities */
.messages-activities {
    padding: 80px 0;
    background: var(--light-bg);
}

.messages-activities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.announcements-box,
.events-box {
    width: 100%;
}

.messages-column {
    flex: 2 1 500px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.activities-column {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.message-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: clamp(24px, 3vw, 32px);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    transition: var(--transition);
    min-height: 140px;
    justify-content: center;
    overflow: hidden;
}

.message-card-modal {
    cursor: pointer;
}

.message-card-modal:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 4px;
}

.message-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(35, 76, 140, 0.3);
}

.message-card:hover h3 {
    color: var(--primary-color);
}

.message-card:hover .message-social a {
    background: rgba(44, 90, 160, 0.18);
}

.message-card h3 {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--primary-dark);
    line-height: 1.4;
    margin: 0;
}

.message-card p {
    color: var(--light-text);
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.message-card.featured {
    border: 2px solid rgba(44, 90, 160, 0.18);
    box-shadow: 0 22px 52px rgba(20, 40, 80, 0.14);
}

.message-card.featured:hover {
    box-shadow: 0 24px 60px rgba(18, 48, 109, 0.35);
}

.message-social {
    display: flex;
    gap: 14px;
}

.message-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 90, 160, 0.12);
    color: var(--primary-dark);
    font-size: 0.9rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.message-card.featured .message-social a {
    background: rgba(44, 90, 160, 0.12);
    color: var(--primary-dark);
}

.message-card.featured:hover .message-social a {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.message-social a:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.activities-column {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: flex-start;
}

.activities-column h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--primary-dark);
    margin: 0;
}

.activities-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.activities-list li a {
    color: var(--dark-text);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: var(--transition);
}

.activities-list li a::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    color: var(--primary-color);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.activities-list li a:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: rgba(35, 76, 140, 0.2);
    box-shadow: var(--shadow-heavy);
    transform: translateY(-8px);
}

.activities-list li a:hover::after {
    color: var(--secondary-color);
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .messages-activities-grid {
        grid-template-columns: 1fr;
    }

    .messages-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .messages-activities-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .messages-column {
        grid-template-columns: 1fr;
    }

    .activities-column {
        min-height: auto;
    }

    .announcements-scroll {
        height: 200px;
    }

    .events-scroll-box {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .messages-column {
        grid-template-columns: 1fr;
    }

    .announcements-box,
    .events-box {
        padding: 20px;
    }

    .announcements-title,
    .events-title {
        font-size: 1.3rem;
    }
}

.activities-section {
    padding: clamp(30px, 5vw, 80px) 0;
    background: #fff;
}

.full-width-activities {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}

.full-width-activities .activities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 25vw, 350px), 1fr));
    gap: clamp(12px, 2vw, 24px);
}

/* Training Calendar Section */
.training-calendar {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.training-calendar .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c5aa0;
    font-size: 2.5rem;
    font-weight: 700;
}

.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    font-size: 0.9rem;
}

.calendar-table th {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: white;
    padding: 15px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 10;
}

.calendar-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

.calendar-table .program-name {
    text-align: left;
    font-weight: 500;
    background-color: #f8f9fa;
    color: #2c5aa0;
    min-width: 300px;
    padding-left: 15px;
}

.calendar-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.calendar-table tbody tr:hover {
    background-color: #e3f2fd;
}

.calendar-table td:not(.program-name):not(:empty) {
    background-color: #e8f5e8;
    color: #2e7d32;
    font-weight: 600;
    border: 2px solid #4caf50;
}

.calendar-table td:not(.program-name):not(:empty):hover {
    background-color: #c8e6c9;
    transform: scale(1.05);
}

/* Responsive Design for Training Calendar */
@media (max-width: 768px) {
    .training-calendar {
        padding: 50px 0;
    }

    .training-calendar .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .table-container {
        margin: 0 -20px;
        border-radius: 0;
        padding: 15px;
    }

    .calendar-table {
        font-size: 0.8rem;
        min-width: 1000px;
    }

    .calendar-table th,
    .calendar-table td {
        padding: 10px 6px;
    }

    .calendar-table .program-name {
        min-width: 250px;
        padding-left: 12px;
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2c5aa0;
}

.contact-card h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-card h3 i {
    font-size: 1.2rem;
    color: #ff6b35;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.contact-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.5;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: #2c5aa0;
    display: inline-block;
    min-width: 180px;
    font-weight: 600;
}

.location-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/* Email Section */
.email-section {
    margin: 50px 0;
}

.email-section h3 {
    color: #2c5aa0;
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.email-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.email-table th {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.email-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.email-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.email-table tbody tr:hover {
    background-color: #e3f2fd;
}

.email-table a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.email-table a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 50px 0;
}

.contact-form-section h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.contact-form-section p {
    color: #6c757d;
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    border-radius: 12px;
    color: white;
}

.cta-section h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: white;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #2c5aa0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 25px;
    }

    .contact-item strong {
        min-width: auto;
        display: block;
        margin-bottom: 5px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form-section {
        padding: 30px 20px;
    }

    .email-table {
        font-size: 0.9rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Staff Section Responsive */
    .staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .staff-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 20px;
    }

    .staff-image {
        width: 100px;
        height: 100px;
        align-self: center;
    }

    .staff-image i {
        font-size: 2rem;
    }

    .staff-info h4 {
        font-size: 1.2rem;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 200px;
    }
}



/* Governing Board Layout */
.board-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.board-member {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.board-member:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(44, 90, 160, 0.2);
}


/* Application Form Pages */
.form-section {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    padding: clamp(28px, 5vw, 48px);
    margin: clamp(24px, 5vw, 48px) auto;
    position: relative;
    overflow: hidden;
}

.form-section::before,
.form-section::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 90, 160, 0.12) 0%, rgba(44, 90, 160, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.form-section::before {
    top: -160px;
    right: -120px;
}

.form-section::after {
    bottom: -180px;
    left: -120px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, rgba(255, 107, 53, 0) 70%);
}

.form-section>* {
    position: relative;
    z-index: 1;
}

.form-section h2 {
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 12px;
}

.form-section p {
    color: var(--light-text);
    margin-bottom: clamp(18px, 3vw, 28px);
    line-height: 1.75;
}

.application-form {
    display: grid;
    gap: clamp(24px, 4vw, 32px);
}

.form-group-section {
    background: rgba(44, 90, 160, 0.04);
    border-radius: var(--border-radius-lg);
    padding: clamp(20px, 4vw, 28px);
    box-shadow: inset 0 0 0 1px rgba(44, 90, 160, 0.08);
}

.form-group-section h3 {
    color: var(--primary-color);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: clamp(16px, 3vw, 20px);
}

.application-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 24px);
}

.application-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.application-form .form-group label {
    font-weight: 600;
    color: var(--primary-dark);
}

.application-form .form-group input,
.application-form .form-group select,
.application-form .form-group textarea {
    padding: 14px;
    border: 1px solid rgba(44, 90, 160, 0.2);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.application-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.application-form .form-group input:focus,
.application-form .form-group select:focus,
.application-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.15);
}

.checkbox-group {
    display: grid;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--dark-text);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    min-width: 160px;
    text-align: center;
}

.form-instructions {
    margin-top: clamp(24px, 4vw, 36px);
    background: rgba(12, 102, 224, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: clamp(20px, 3vw, 28px);
}

.form-instructions h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.form-instructions ul {
    margin-left: 20px;
    color: var(--dark-text);
    display: grid;
    gap: 10px;
}

.form-instructions li::marker {
    color: var(--secondary-color);
}

@media (max-width: 991px) {
    .application-form .form-row {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: clamp(24px, 6vw, 32px);
    }
}

@media (max-width: 600px) {
    .form-actions {
        justify-content: center;
    }

    .form-actions .btn-primary,
    .form-actions .btn-secondary {
        width: 100%;
    }
}

.board-member h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.board-member p {
    margin-bottom: 8px;
    color: var(--light-text);
}

.board-member p strong {
    color: var(--dark-text);
}

.board-member p:last-child {
    margin-bottom: 0;
}

.guesthouse-gallery {
    margin-top: 45px;
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px dashed rgba(44, 90, 160, 0.35);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-style: solid;
}

.gallery-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    display: block;
    background: repeating-linear-gradient(45deg, rgba(44, 90, 160, 0.08), rgba(44, 90, 160, 0.08) 10px, rgba(44, 90, 160, 0.02) 10px, rgba(44, 90, 160, 0.02) 20px);
}

.gallery-card figcaption {
    margin-top: 14px;
    font-size: 0.95rem;
    color: var(--light-text);
}

/* Lecture Hall & Library Detail Card */
.facility-detail-card {
    background: var(--white);
    padding: clamp(32px, 4vw, 60px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
}

.facility-detail-card h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.facility-detail-card p {
    color: var(--light-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.facility-subheading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 32px;
    margin-bottom: 18px;
}

.instrument-list {
    list-style: disc;
    padding-left: 24px;
    color: var(--light-text);
    line-height: 1.7;
}

.instrument-list li+li {
    margin-top: 8px;
}

.facility-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.facility-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.facility-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.facility-timing {
    margin-top: 26px;
    font-weight: 600;
    color: var(--dark-text);
}

.facility-gallery {
    margin-top: 36px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.facility-gallery figure {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    padding: 18px;
    max-width: 240px;
    text-align: center;
    transition: var(--transition);
}

.facility-gallery figure:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.facility-gallery img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) - 4px);
    margin-bottom: 12px;
}

.facility-gallery figcaption {
    font-size: 0.95rem;
    color: var(--light-text);
    font-weight: 600;
}

.facility-detail-card.projects-showcase {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 48px clamp(24px, 5vw, 60px);
}

@media (max-width: 768px) {
    .facility-detail-card {
        padding: 32px 24px;
    }

    .facility-detail-card h2 {
        font-size: 1.9rem;
    }

    .facility-detail-card p {
        font-size: 1rem;
    }

    .facility-detail-card.projects-showcase {
        padding: 36px 20px;
    }

    .facility-links a {
        width: 100%;
        justify-content: center;
    }

    .facility-gallery {
        gap: 20px;
    }

    .facility-gallery figure {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .contact-info-section {
        padding: 50px 0;
    }

    .email-section h3,
    .contact-form-section h3,
    .cta-section h3 {
        font-size: 1.5rem;
    }

    .table-container {
        overflow-x: auto;
    }
}

/* ========================================
   WORLD OF ELECTRONICS PROGRAM STYLES
   ======================================== */

.featured-program {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: white;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    margin-bottom: 48px;
    box-shadow: 0 8px 30px rgba(44, 90, 160, 0.25);
}

.program-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.program-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    opacity: 0.95;
    font-weight: 500;
}

.program-content-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 64px;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.content-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-row.reverse .content-image {
    order: 2;
}

.content-row.reverse .content-info {
    order: 1;
}

.content-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
    max-height: 400px;
    transition: transform 0.3s ease;
}

.content-image img:hover {
    transform: scale(1.05);
}

.content-info {
    padding: 20px;
}

.content-info h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 700;
}

.content-info h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.program-points {
    list-style: none;
    padding: 0;
}

.program-points li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--dark-text);
}

.program-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.program-points li strong {
    color: var(--primary-color);
}

.duration-box {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 24px 0;
    flex-wrap: wrap;
}

.level-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2e 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.hours-badge {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6f 100%);
    color: white;
    padding: 20px 36px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.hours-number {
    font-size: 2rem;
    font-weight: 700;
}

.hours-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.participants-info {
    margin-top: 24px;
    padding: 20px;
    background: #fff5f5;
    border-left: 4px solid #ff6b35;
    border-radius: 8px;
}

.max-participants {
    color: var(--dark-text);
    font-size: 1.1rem;
}

.eligibility-text {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 24px;
    padding: 16px;
    background: #f0f8ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1.05rem;
    color: var(--dark-text);
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    min-width: 24px;
    margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .content-row,
    .content-row.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-row.reverse .content-image {
        order: 1;
    }

    .content-row.reverse .content-info {
        order: 2;
    }

    .content-image img {
        min-height: 250px;
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .featured-program {
        padding: 36px 24px;
        margin-bottom: 32px;
    }

    .program-content-grid {
        gap: 32px;
        margin-bottom: 48px;
    }

    .content-row {
        padding: 28px 20px;
    }

    .content-info {
        padding: 10px;
    }

    .content-info h3 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .program-points li {
        font-size: 0.95rem;
        padding: 10px 0;
        padding-left: 28px;
    }

    .duration-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .level-badge,
    .hours-badge {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .hours-number {
        font-size: 1.5rem;
    }

    .contact-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .featured-program {
        padding: 28px 20px;
    }

    .program-header h2 {
        font-size: 1.8rem;
    }

    .program-subtitle {
        font-size: 1.1rem;
    }

    .content-row {
        padding: 20px 16px;
    }

    .content-image img {
        min-height: 200px;
        max-height: 280px;
    }

    .content-info h3 {
        font-size: 1.3rem;
    }

    .program-points li {
        font-size: 0.9rem;
    }

    .level-badge,
    .hours-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hours-number {
        font-size: 1.3rem;
    }
}

/* ===== MOBILE HEADER FINAL FIX (CSS ONLY) ===== */
@media (max-width: 768px) {

    /* Full header fitting inside mobile view */
    .header-top {
        min-height: auto;
        position: relative;
        padding: 8px 0;
    }

    .logo-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 4px 8px !important;
        width: 100% !important;
        min-height: auto !important;
        position: relative !important;
    }

    .logo-img {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 65px !important;
        height: 65px !important;
        min-width: 48px !important;
        flex-shrink: 0 !important;
        z-index: 5;
    }

    .logo-text-container {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        pointer-events: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 1px !important;
        flex: 1;
        min-width: 0;
    }

    /* Remove the "WRIC" pseudo-element - show full text instead */
    .logo-text-container::before {
        content: none !important;
        display: none !important;
    }

    /* Show all original text spans */
    .logo-text-container span {
        display: block !important;
        text-align: left !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .logo-main-titles {
        display: flex !important;
        flex-direction: column !important;
    }

    .logo-text-english {
        font-size: clamp(11px, 3vw, 16px) !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    .logo-text-hindi {
        font-size: clamp(9px, 2.5vw, 12px) !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .logo-sub-titles {
        display: flex !important;
        flex-direction: column !important;
        margin-top: 1px !important;
    }

    .logo-text-english-sub {
        font-size: clamp(8px, 2.2vw, 10px) !important;
        line-height: 1.2 !important;
        opacity: 0.9;
    }

    .logo-text-hindi-sub {
        font-size: clamp(7px, 2vw, 9px) !important;
        line-height: 1.2 !important;
        opacity: 0.85;
    }

    /* Push nav BELOW header cleanly */
    .main-nav {
        margin-top: 4px;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    justify-content: center;
    align-items: center;
    transition: opacity 0.35s ease;
}

.image-modal.show {
    opacity: 1;
}

.modal-content {
    background: transparent;
    position: relative;
    text-align: center;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Extra delay for pop-in to wait for backdrop */
    transition-delay: 0.05s;
}

.image-modal.show .modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.modal-image {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .modal-image {
        width: 250px;
        height: 250px;
    }
}

#imageCaption {
    margin-top: 20px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 45px;
    cursor: pointer;
    transition: 0.2s ease;
}

.close-modal:hover {
    color: #ff6b35;
}
/* ==========================================================================
   EXTREME MOBILE FRIENDLINESS RESET
   Forces EVERYTHING to be fluid on mobile
   ========================================================================== */

@media (max-width: 768px) {
    /* Kill all hardcoded widths and min-widths */
    div, section, aside, article, main, footer {
        max-width: 100% !important;
        min-width: auto !important;
    }

    /* Exclude fixed-position nav sidebar from width constraint */
    .nav-menu {
        max-width: none !important;
    }

    /* Except for tables that NEED scrolling */
    .table-responsive table {
        min-width: 600px !important;
    }

    /* Reset grid systems */
    [class*="grid"], [class*="flex"] {
        max-width: 100% !important;
    }

    /* Force all images to be responsive - except logo */
    img:not(.logo-img) {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Special fix for the calendar table container */
    .calendar-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px !important;
        width: calc(100% + 30px) !important;
        padding: 0 15px !important;
    }
}

/* ==========================================================================
   FINAL MOBILE UI POLISH
   Cleaning up the "cluttered" look and fixing the header
   ========================================================================== */

@media (max-width: 991px) {
    /* Header & Logo cleanup */
    .header {
        padding: 6px 0 !important;
        height: auto !important;
    }

    .logo {
        justify-content: flex-start !important;
    }

    .logo-link {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        justify-content: flex-start !important;
    }

    .logo-text-container {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .logo-main-titles .logo-text-english {
        font-size: clamp(12px, 3.2vw, 20px) !important;
        line-height: 1.2 !important;
        max-width: 90vw !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    .logo-main-titles .logo-text-hindi {
        font-size: clamp(10px, 2.8vw, 14px) !important;
        line-height: 1.2 !important;
        max-width: 90vw !important;
        text-align: left !important;
        white-space: nowrap !important;
    }

    .logo-sub-titles {
        margin-top: 2px !important;
    }

    .logo-text-english-sub {
        font-size: clamp(9px, 2.5vw, 11px) !important;
        line-height: 1.2 !important;
        text-align: left !important;
    }

    .logo-text-hindi-sub {
        font-size: clamp(8px, 2.2vw, 10px) !important;
        line-height: 1.2 !important;
        text-align: left !important;
    }

    .logo-img {
        height: 82px !important;
        width: 82px !important;
        flex-shrink: 0 !important;
    }

    .header-contact {
        display: none !important;
    }

    /* Add space between stacked sections */
    section {
        margin-bottom: 40px !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .welcome-events-grid {
        gap: 40px !important;
        padding: 0 15px !important;
    }

    /* Fix overlapping banner text */
    .banner-overlay {
        padding-top: 80px !important;
    }
}
