/* =========================================
   ICAI Tanzania - Modern Professional Website
   ========================================= */

/* CSS Variables */
:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0d1f3c;
    --secondary-color: #f6ad55;
    --secondary-light: #fbd38d;
    --secondary-dark: #dd6b20;
    --accent-color: #4299e1;
    --accent-purple: #805ad5;
    --accent-pink: #ed64a6;
    --accent-teal: #38b2ac;
    --accent-green: #48bb78;
    --accent-red: #fc8181;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --info-color: #4299e1;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #4299e1 100%);
    --gradient-warm: linear-gradient(135deg, #f6ad55 0%, #ed8936 50%, #dd6b20 100%);
    --gradient-cool: linear-gradient(135deg, #38b2ac 0%, #319795 50%, #2c7a7b 100%);
    --gradient-vibrant: linear-gradient(135deg, #805ad5 0%, #6b46c1 50%, #553c9a 100%);
    --gradient-sunset: linear-gradient(135deg, #fc8181 0%, #f687b3 50%, #ed64a6 100%);
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --shadow-colored: 0 10px 30px rgba(66, 153, 225, 0.3);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --header-height: 80px;
    --top-bar-height: 40px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    color: #fff;
    padding: 0.6rem 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.top-bar-left i {
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-login,
.btn-register {
    padding: 0.35rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-login:hover {
    color: var(--secondary-color);
}

.btn-register {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: #fff;
    border-radius: 20px;
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.4);
}

/* =========================================
   MAIN HEADER
   ========================================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo Section */
.logo-section {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-wrapper {
    width: 60px;
    height: 60px;
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.logo-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-title-full {
    display: inline-flex;
    flex-direction: column;
    font-size: 1.1rem;
    line-height: 1.2;
    gap: 0.1rem;
}

.logo-title-full .logo-title-line {
    display: block;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-medium);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    border-radius: 4px;
}

.nav-link i {
    font-size: 0.65rem;
    transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--bg-light);
}

.nav-item:hover > .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
    padding: 0.5rem 0;
    border: 1px solid var(--border-color);
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-medium);
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-menu a i {
    font-size: 0.6rem;
}

/* Sub Menu (Nested) */
.sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 0;
}

.sub-menu.sub-menu-left {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 0;
}

.dropdown-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    z-index: 1;
}

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

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}

.slide-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--secondary-color);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.6s ease forwards;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.slide-description {
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.slide.active .slide-badge,
.slide.active .slide-title,
.slide.active .slide-description,
.slide.active .slide-buttons {
    opacity: 1;
}

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

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    z-index: 25;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

/* Slider Dots — sit above overlapping quick-link cards (margin-top: -60px) */
.slider-dots {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 25;
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot:hover {
    background: rgba(255,255,255,0.7);
}

.dot.active {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(246, 173, 85, 0.5);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(246, 173, 85, 0.45);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-outline-dark {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* =========================================
   QUICK LINKS SECTION
   ========================================= */
.quick-links-section {
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.quick-link-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--accent-color);
}

.quick-link-card:nth-child(1) { border-top-color: var(--accent-color); }
.quick-link-card:nth-child(2) { border-top-color: var(--accent-teal); }
.quick-link-card:nth-child(3) { border-top-color: var(--accent-purple); }
.quick-link-card:nth-child(4) { border-top-color: var(--secondary-dark); }

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.quick-link-card:nth-child(1):hover { box-shadow: 0 15px 35px rgba(66, 153, 225, 0.25); }
.quick-link-card:nth-child(2):hover { box-shadow: 0 15px 35px rgba(56, 178, 172, 0.25); }
.quick-link-card:nth-child(3):hover { box-shadow: 0 15px 35px rgba(128, 90, 213, 0.25); }
.quick-link-card:nth-child(4):hover { box-shadow: 0 15px 35px rgba(237, 137, 54, 0.25); }

.quick-link-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    transition: all var(--transition-normal);
}

.quick-link-card:nth-child(1) .quick-link-icon { background: linear-gradient(135deg, #4299e1, #3182ce); }
.quick-link-card:nth-child(2) .quick-link-icon { background: linear-gradient(135deg, #38b2ac, #319795); }
.quick-link-card:nth-child(3) .quick-link-icon { background: linear-gradient(135deg, #805ad5, #6b46c1); }
.quick-link-card:nth-child(4) .quick-link-icon { background: linear-gradient(135deg, #ed8936, #dd6b20); }

.quick-link-card:hover .quick-link-icon {
    transform: scale(1.15) rotate(5deg);
}

.quick-link-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* =========================================
   SECTION STYLES
   ========================================= */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.15), rgba(128, 90, 213, 0.15));
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 25px;
    margin-bottom: 1rem;
    border: 1px solid rgba(66, 153, 225, 0.3);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-teal), var(--accent-purple), var(--secondary-color));
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0;
    border: none;
}

.stat-item {
    text-align: center;
    background: var(--bg-white);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    flex: 1;
    transition: all var(--transition-normal);
}

.stat-item:nth-child(1) { border-bottom: 3px solid var(--accent-color); }
.stat-item:nth-child(2) { border-bottom: 3px solid var(--accent-teal); }
.stat-item:nth-child(3) { border-bottom: 3px solid var(--accent-purple); }

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(2) .stat-number {
    background: linear-gradient(135deg, var(--accent-teal), #2c7a7b);
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-item:nth-child(3) .stat-number {
    background: linear-gradient(135deg, var(--accent-purple), #553c9a);
    -webkit-background-clip: text;
    background-clip: text;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-medium);
    margin-top: 0.35rem;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #4299e1 0%, #805ad5 50%, #ed64a6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.image-placeholder i {
    font-size: 4rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.image-placeholder span {
    font-size: 1rem;
    opacity: 0.7;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(246, 173, 85, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.floating-card i {
    font-size: 1.5rem;
}

/* =========================================
   CHAIRPERSON SECTION
   ========================================= */
.chairperson-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

.chairperson-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 30%, #38b2ac 70%, #319795 100%);
    border-radius: 20px;
    padding: 3rem;
    color: #fff;
    align-items: center;
    box-shadow: 0 20px 50px rgba(26, 54, 93, 0.3);
    position: relative;
    overflow: hidden;
}

.chairperson-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.chairperson-image .image-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border: 4px solid rgba(255,255,255,0.3);
    margin: 0 auto;
}

.chairperson-image .image-placeholder i {
    font-size: 5rem;
}

.chairperson-content .section-badge {
    background: var(--secondary-color);
    color: var(--primary-dark);
}

.chairperson-content .section-title {
    color: #fff;
}

.chairperson-quote {
    font-size: 1.15rem;
    line-height: 1.9;
    font-style: italic;
    opacity: 0.95;
    padding-left: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    margin: 1.5rem 0;
}

.chairperson-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.chairperson-info p {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.chairperson-read-more-wrap {
    margin: 0 0 1rem;
}

.btn-chairman-read {
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-chairman-read:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: #fff;
}

.chairman-msg-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.chairman-msg-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.chairman-msg-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
}

.chairman-msg-modal-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: min(88vh, 900px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(12px);
    transition: transform 0.25s ease;
}

.chairman-msg-modal.is-open .chairman-msg-modal-dialog {
    transform: translateY(0);
}

.chairman-msg-modal-accent {
    height: 4px;
    background: linear-gradient(90deg, #1a365d, #38b2ac 50%, #f6ad55);
    flex-shrink: 0;
}

.chairman-msg-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: #edf2f7;
    color: #1a365d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chairman-msg-modal-close:hover {
    background: #1a365d;
    color: #fff;
}

.chairman-msg-modal-header {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1.75rem 3.25rem 1.25rem 1.75rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.03), rgba(56, 178, 172, 0.08));
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.chairman-msg-modal-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f6ad55;
    display: block;
}

.chairman-msg-modal-photo[hidden] {
    display: none !important;
}

.chairman-msg-modal-meta {
    min-width: 0;
    text-align: left;
}

.chairman-msg-modal-badge {
    display: inline-block;
    padding: 0.28rem 0.8rem;
    background: #1a365d;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 0.45rem;
}

.chairman-msg-modal-meta h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #1a365d;
    margin: 0 0 0.2rem;
    line-height: 1.25;
}

.chairman-msg-modal-role {
    margin: 0;
    font-size: 0.9rem;
    color: #718096;
}

.chairman-msg-modal-scroll {
    padding: 1.5rem 1.75rem 2rem;
    overflow-y: auto;
    flex: 1;
    text-align: left;
    line-height: 1.8;
    color: #1a202c;
}

.chairman-msg-modal-scroll .chairman-message-salutation {
    font-weight: 600;
    color: #1a365d;
}

.chairman-msg-modal-scroll p {
    margin: 0 0 1rem;
}

.chairman-msg-modal-scroll .chairman-statement-signoff {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.04), rgba(246, 173, 85, 0.1));
    border-left: 4px solid #f6ad55;
    border-radius: 0 10px 10px 0;
    color: #1a365d;
}

.chairman-msg-modal-scroll .chairman-statement-signoff p {
    margin: 0 0 0.35rem;
}

.chairman-msg-modal-scroll .chairman-statement-signoff p:last-child {
    margin-bottom: 0;
}

/* =========================================
   EVENTS SECTION
   ========================================= */
.events-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fefce8 0%, #fef3c7 50%, #fff7ed 100%);
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--accent-teal), var(--accent-purple));
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.event-card.featured {
    border: none;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: 0 10px 30px rgba(246, 173, 85, 0.25);
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(246, 173, 85, 0.4);
}

.event-date {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    text-align: center;
    padding: 1.5rem;
}

.event-card:nth-child(2) .event-date {
    background: linear-gradient(135deg, var(--accent-teal), #2c7a7b);
}

.event-card:nth-child(3) .event-date {
    background: linear-gradient(135deg, var(--accent-purple), #553c9a);
}

.event-date .day {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.event-date .month {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.event-date .year {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

.event-content {
    padding: 1.5rem;
}

.event-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.event-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.event-description {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta i {
    color: var(--primary-color);
    width: 16px;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-cpe {
    font-size: 0.85rem;
    color: var(--success-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.events-cta {
    text-align: center;
    margin-top: 3rem;
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #fdf4ff 100%);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink), var(--accent-color), var(--accent-teal));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 0.75rem;
    transition: all var(--transition-normal);
}

.gallery-item:nth-child(1) .gallery-placeholder { background: linear-gradient(135deg, #4299e1, #3182ce, #2b6cb0); }
.gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(135deg, #38b2ac, #319795, #2c7a7b); }
.gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(135deg, #805ad5, #6b46c1, #553c9a); }
.gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(135deg, #ed8936, #dd6b20, #c05621); }
.gallery-item:nth-child(5) .gallery-placeholder { background: linear-gradient(135deg, #ed64a6, #d53f8c, #b83280); }
.gallery-item:nth-child(6) .gallery-placeholder { background: linear-gradient(135deg, #48bb78, #38a169, #2f855a); }

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

.gallery-placeholder i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.gallery-placeholder span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 2rem 1.25rem 1.25rem;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

/* =========================================
   SPONSORS SECTION
   ========================================= */
.sponsors-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.sponsors-section .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.75rem;
}

.sponsors-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.sponsor-item {
    flex: 0 0 auto;
}

.sponsor-placeholder {
    width: 150px;
    height: 80px;
    background: var(--bg-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.sponsor-item:hover .sponsor-placeholder {
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

/* Corporate members — professional board layout */
.corporate-members-section {
    padding: 5rem 0 5.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.corporate-members-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light), var(--accent-color));
    opacity: 0.85;
}

.corporate-members-inner {
    max-width: 1180px;
}

.corporate-members-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.corporate-members-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin: 0 0 0.65rem;
}

.corporate-members-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.85rem;
    line-height: 1.25;
}

.corporate-members-sub {
    margin: 0;
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.65;
    font-weight: 400;
}

/* —— Corporate members: stacked tier bands (Title → Diamond → Annual tiers → Technology Partner) —— */
.corporate-members-board-outer {
    width: 100%;
    max-width: 960px;
    box-sizing: border-box;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.corp-sponsors-stack {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.corp-tier-band {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 1.25rem 1.35rem 1.4rem;
    box-sizing: border-box;
}

.corp-tier-band--empty {
    display: none;
}

.corporate-members-section .corp-tier-header {
    text-align: center;
    margin-bottom: 1.1rem;
    padding: 0 0.35rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.corporate-members-section .corp-tier-badge {
    display: block;
    width: 2.25rem;
    height: 3px;
    border-radius: 2px;
    margin: 0 auto 0.65rem;
}

.corporate-members-section .corp-tier-badge--title {
    background: linear-gradient(90deg, #1e3a5f, #3b82c4 45%, #1e3a5f);
    height: 4px;
    width: 3.5rem;
}

.corporate-members-section .corp-tier-badge--diamond {
    background: linear-gradient(90deg, #0e7490, #22d3ee 35%, #67e8f9 50%, #22d3ee 65%, #0e7490);
    height: 4px;
    width: 3.25rem;
}

.corporate-members-section .corp-tier-badge--gold {
    background: linear-gradient(90deg, #ca8a04, #eab308 50%, #ca8a04);
}

.corporate-members-section .corp-tier-badge--silver {
    background: linear-gradient(90deg, #94a3b8, #cbd5e1 50%, #94a3b8);
}

.corporate-members-section .corp-tier-badge--support {
    background: linear-gradient(90deg, #9a3412, #c2410c 45%, #b45309);
    height: 3px;
}

.corporate-members-section .corp-tier-badge--tech {
    background: linear-gradient(90deg, #312e81, #6366f1 50%, #4338ca);
}

.corporate-members-section .corp-tier-heading {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-dark);
    padding: 0 2px;
}

#corporateMembersBoard .corp-tier-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.25rem 1.75rem;
}

.corp-logo-cell {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 0 0 auto;
}

.corp-logo-cell a,
.corp-logo-cell .corp-logo-nolink {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.corp-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: transparent;
    border: none;
    border-radius: 8px;
    overflow: visible;
}

.corp-logo-cell a:hover .corp-logo-frame {
    box-shadow: 0 4px 16px rgba(26, 54, 93, 0.12);
}

#corporateMembersBoard .corp-tier--title .corp-logo-frame {
    width: 180px;
    max-width: 100%;
    height: 80px;
    min-height: 80px;
    padding: 8px 14px;
}

#corporateMembersBoard .corp-tier--diamond .corp-logo-frame {
    width: 170px;
    max-width: 100%;
    height: 76px;
    min-height: 76px;
    padding: 8px 13px;
}

#corporateMembersBoard .corp-tier--gold .corp-logo-frame {
    width: 160px;
    max-width: 100%;
    height: 72px;
    min-height: 72px;
    padding: 8px 12px;
}

#corporateMembersBoard .corp-tier--silver .corp-logo-frame {
    width: 144px;
    max-width: 100%;
    height: 64px;
    min-height: 64px;
    padding: 7px 10px;
}

#corporateMembersBoard .corp-tier--support .corp-logo-frame {
    width: 130px;
    max-width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 6px 9px;
}

#corporateMembersBoard .corp-tier--tech .corp-logo-frame {
    width: 130px;
    max-width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 6px 9px;
}

.corp-logo-frame img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    flex: 0 1 auto;
}

.corp-logo-frame--text {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-medium);
    text-align: center;
    line-height: 1.3;
    padding: 6px 8px;
    word-break: break-word;
    align-self: center;
}

#corporateMembersBoard .corp-tier--title .corp-logo-frame--text {
    min-height: 80px;
}

#corporateMembersBoard .corp-tier--diamond .corp-logo-frame--text {
    min-height: 76px;
}

#corporateMembersBoard .corp-tier--gold .corp-logo-frame--text {
    min-height: 72px;
}

#corporateMembersBoard .corp-tier--silver .corp-logo-frame--text {
    min-height: 64px;
}

#corporateMembersBoard .corp-tier--support .corp-logo-frame--text,
#corporateMembersBoard .corp-tier--tech .corp-logo-frame--text {
    min-height: 56px;
}


@media (max-width: 480px) {
    .corporate-members-board-outer {
        padding: 0 1rem;
    }

    .corp-tier-band {
        padding: 1rem 1rem 1.15rem;
    }

    #corporateMembersBoard .corp-tier-logos {
        gap: 1rem;
    }

    #corporateMembersBoard .corp-tier--title .corp-logo-frame {
        width: 100%;
        max-width: 220px;
        height: 72px;
        min-height: 72px;
    }

    #corporateMembersBoard .corp-tier--diamond .corp-logo-frame {
        width: 100%;
        max-width: 205px;
        height: 68px;
        min-height: 68px;
    }

    #corporateMembersBoard .corp-tier--gold .corp-logo-frame {
        width: 100%;
        max-width: 190px;
        height: 64px;
        min-height: 64px;
    }

    #corporateMembersBoard .corp-tier--silver .corp-logo-frame {
        width: 100%;
        max-width: 170px;
        height: 58px;
        min-height: 58px;
    }

    #corporateMembersBoard .corp-tier--support .corp-logo-frame,
    #corporateMembersBoard .corp-tier--tech .corp-logo-frame {
        width: 100%;
        max-width: 155px;
        height: 52px;
        min-height: 52px;
    }
}
/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    background: linear-gradient(135deg, #0d1f3c 0%, #1a365d 50%, #2c5282 100%);
    color: #fff;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-teal), var(--accent-purple), var(--secondary-color), var(--accent-pink));
}

.footer-top {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 4px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
}

.footer-about p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-social a:nth-child(1):hover { background: #1877f2; }
.footer-social a:nth-child(2):hover { background: #1da1f2; }
.footer-social a:nth-child(3):hover { background: #0a66c2; }
.footer-social a:nth-child(4):hover { background: #e4405f; }
.footer-social a:nth-child(5):hover { background: #ff0000; }

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.25rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.footer-bottom-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* =========================================
   BACK TO TOP BUTTON
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-purple) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* =========================================
   COMMITTEE SECTION
   ========================================= */
.committee-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #1a365d 100%);
    position: relative;
}

.committee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--accent-teal), var(--accent-purple), var(--secondary-color));
}

.committee-section .section-header {
    color: #fff;
}

.committee-section .section-badge {
    background: rgba(255,255,255,0.2);
    color: var(--secondary-color);
    border-color: rgba(255,255,255,0.3);
}

.committee-section .section-title {
    color: #fff;
}

.committee-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.committee-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition-normal);
}

.committee-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.committee-card.chairman {
    border-color: var(--secondary-color);
    border-width: 2px;
}

.committee-card.vice-chairman {
    border-color: var(--accent-color);
}

.committee-card.secretary {
    border-color: var(--accent-pink);
}

.committee-card.treasurer {
    border-color: var(--accent-teal);
}

.committee-image {
    margin-bottom: 1.25rem;
}

.committee-image .member-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.member-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    border: 4px solid rgba(255,255,255,0.3);
    transition: all var(--transition-normal);
}

.committee-card.chairman .member-placeholder {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-color: var(--secondary-light);
}

.committee-card.vice-chairman .member-placeholder {
    background: linear-gradient(135deg, var(--accent-color), #2b6cb0);
}

.committee-card.secretary .member-placeholder {
    background: linear-gradient(135deg, var(--accent-pink), #b83280);
}

.committee-card.secretary .member-placeholder.female {
    background: linear-gradient(135deg, #ed64a6, #d53f8c);
}

.committee-card.treasurer .member-placeholder {
    background: linear-gradient(135deg, var(--accent-teal), #2c7a7b);
}

.committee-card:hover .member-placeholder {
    transform: scale(1.1);
}

.committee-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.committee-info .position {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255,255,255,0.1);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.committee-card.chairman .position {
    background: var(--secondary-color);
    color: var(--primary-dark);
}

.member-contact {
    margin-top: 0.75rem;
}

.member-contact p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.member-contact i {
    color: var(--secondary-color);
    width: 16px;
}

@media (max-width: 1024px) {
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .committee-grid {
        grid-template-columns: 1fr;
    }
    
    .committee-card {
        padding: 1.5rem 1rem;
    }
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-link {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .chairperson-card {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .corporate-members-section {
        padding: 3.75rem 0 4.25rem;
    }

    .corporate-members-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .top-bar-left {
        display: none;
    }
    
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
        z-index: 1000;
        padding: 5rem 0 2rem;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--bg-light);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-normal);
    }
    
    .nav-item.active > .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 2rem;
    }
    
    .sub-menu {
        position: static;
        margin-left: 1rem;
    }
    
    /* Hero Slider */
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 2.25rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
    }
    
    .quick-links-section {
        margin-top: -40px;
    }
    
    .about-section,
    .chairperson-section,
    .events-section,
    .gallery-section {
        padding: 4rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .floating-card {
        bottom: -20px;
        left: 1rem;
        right: 1rem;
        justify-content: center;
    }
    
    .chairperson-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .chairperson-quote {
        border-left: none;
        padding-left: 0;
        border-top: 4px solid var(--secondary-color);
        padding-top: 1.5rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-slider {
        height: 450px;
    }
    
    .slide-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
    
    .slide-title {
        font-size: 1.75rem;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-link-card {
        padding: 1.5rem 1rem;
    }
    
    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        flex: 0 0 45%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .sponsors-slider {
        gap: 1.5rem;
    }
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   Events Page Styles
   ========================================== */

/* Page Banner */
.page-banner {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #1a237e 100%);
    color: #fff;
    text-align: center;
    margin-top: 80px;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, transparent 100%);
}

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

.banner-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

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

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--secondary-color);
    transition: color var(--transition-fast);
}

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

.breadcrumb span {
    opacity: 0.7;
}

/* Events Page Section */
.events-page-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.event-list-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.event-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.event-list-card.featured {
    border: 2px solid var(--secondary-color);
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
}

.event-list-card.global {
    border: 2px solid var(--accent-purple);
    background: linear-gradient(135deg, #f5f3ff 0%, #fff 100%);
}

.featured-badge,
.global-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 0 8px 8px;
}

.featured-badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #000;
}

.global-badge {
    background: linear-gradient(135deg, var(--accent-purple), #9333ea);
    color: #fff;
}

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-align: center;
}

.event-date-box .day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-box .month {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.event-date-box .year {
    font-size: 0.85rem;
    opacity: 0.8;
}

.event-details {
    flex: 1;
    padding: 1.5rem;
}

.event-details .event-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.event-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.event-details p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.event-meta-info span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.event-meta-info i {
    color: var(--primary-color);
}

.event-action {
    display: flex;
    align-items: center;
    padding: 1.5rem;
}

.event-action .btn-primary {
    white-space: nowrap;
}

/* Past Events Section */
.past-events-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fff 0%, #f0f4f8 100%);
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.past-event-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all var(--transition-normal);
    border-left: 4px solid var(--primary-color);
}

.past-event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-left-color: var(--secondary-color);
}

.past-event-date {
    margin-bottom: 0.75rem;
}

.past-event-date span {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.past-event-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.past-event-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.view-photos {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.view-photos:hover {
    color: var(--secondary-dark);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a237e 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,193,7,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Past Chairmen page shell + founding chairman statement */

.past-chairmen-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
}

.past-chairmen-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--accent-teal), var(--secondary-color));
}

.past-chairmen-notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.04) 0%, rgba(66, 153, 225, 0.06) 100%);
    border: 1px solid rgba(26, 54, 93, 0.1);
    border-left: 4px solid var(--secondary-color);
    border-radius: 12px;
    color: var(--text-medium);
    line-height: 1.65;
}

.past-chairmen-notice i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.past-chairmen-notice p {
    margin: 0;
}

.past-chairmen-notice a {
    color: var(--primary-light);
    font-weight: 600;
}

.past-chairmen-notice a:hover {
    color: var(--secondary-dark);
}

.chairman-statement-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.chairman-statement-card {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.chairman-statement-card::before {
    content: '';
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--accent-teal), var(--secondary-color));
}

.chairman-statement-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.03) 0%, rgba(66, 153, 225, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
}

.chairman-statement-photo-wrap {
    flex-shrink: 0;
}

.chairman-statement-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--bg-white);
    box-shadow: 0 8px 30px rgba(26, 54, 93, 0.15);
    outline: 3px solid var(--secondary-color);
}

.chairman-statement-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 3rem;
}

.chairman-statement-tenure-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.chairman-statement-intro h2 {
    margin: 0 0 0.35rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.85rem;
    line-height: 1.25;
}

.chairman-credentials {
    margin: 0 0 0.35rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.chairman-role {
    margin: 0;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.chairman-statement-body {
    padding: 2rem 2.5rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

.chairman-statement-body p {
    margin: 0 0 1.15rem;
}

.chairman-statement-body p:first-child {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 500;
}

.chairman-milestones-title {
    margin: 1.5rem 0 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
}

.chairman-milestones {
    margin: 0 0 1.15rem 1.25rem;
    padding: 0;
    color: var(--text-dark);
}

.chairman-milestones li {
    margin-bottom: 0.65rem;
    line-height: 1.6;
}

.chairman-statement-signoff {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.04) 0%, rgba(246, 173, 85, 0.08) 100%);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 12px 12px 0;
    color: var(--primary-color);
}

.chairman-statement-signoff p {
    margin: 0 0 0.5rem;
}

.chairman-statement-signoff p:last-child {
    margin-bottom: 0;
}

.chairman-statement-signoff p:first-child {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 400;
}

.chairman-statement-footer {
    padding: 1.5rem 2.5rem 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

@media (max-width: 768px) {
    .chairman-statement-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem 1.5rem;
    }

    .chairman-statement-body {
        padding: 1.5rem;
    }

    .chairman-statement-footer {
        padding: 1.25rem 1.5rem 1.5rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .past-chairmen-notice {
        flex-direction: column;
        gap: 0.65rem;
    }
}

/* Responsive Styles for Events Page */
@media (max-width: 1024px) {
    .past-events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 6rem 0 3rem;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .event-list-card {
        flex-direction: column;
    }
    
    .event-date-box {
        flex-direction: row;
        min-width: 100%;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .event-date-box .day {
        font-size: 1.75rem;
    }
    
    .event-action {
        padding: 0 1.5rem 1.5rem;
    }
    
    .event-action .btn-primary {
        width: 100%;
        text-align: center;
    }
    
    .past-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .past-events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-meta-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}
