/* ================================================================
   IZMIR KONGRE - EXECUTIVE MINIMALIST DESIGN SYSTEM
   ================================================================ */

/* ================================================================
   PRELOADER / PAGE LOADER
================================================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: #090e1a;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.preloader-logo-wrap {
    background: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: preloaderPulse 2s infinite ease-in-out;
}

.preloader-logo {
    height: 48px;
    width: auto;
    display: block;
}

.preloader-spinner {
    width: 44px;
    height: 44px;
    border: 3.5px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: preloaderSpin 0.8s infinite linear;
}

.preloader-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
}

@keyframes preloaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

:root {
    /* Color Palette - Minimalist Executive Medical */
    --primary: #0284c7;           /* Medical Blue */
    --primary-dark: #0369a1;
    --primary-light: #f0f9ff;
    
    --navy: #0f172a;              /* Slate Navy */
    --navy-light: #1e293b;
    
    --gold: #d97706;              /* Gold Accent */
    --gold-light: #fffbe6;
    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #64748b;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --white: #ffffff;
    
    --danger: #ef4444;
    --success: #10b981;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Borders */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    /* Subtle Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 24px -4px rgba(15, 23, 42, 0.1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 85px 0; }
.bg-light { background-color: var(--gray-50); }

/* Typography */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white-80 { color: rgba(255, 255, 255, 0.85); }
.text-white-60 { color: rgba(255, 255, 255, 0.65); }
.text-primary { color: var(--primary) !important; }
.text-gold { color: #d97706 !important; }
.text-muted { color: var(--gray-400); }

.section-subtitle { display: block; font-size: 0.8rem; font-weight: 700; color: var(--primary); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 2.15rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.25; letter-spacing: -0.4px; }
.section-desc { font-size: 1.05rem; color: var(--gray-400); margin-bottom: 36px; }

/* Minimal Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; font-weight: 600; border-radius: var(--radius-full); transition: all 0.25s ease; border: 1px solid transparent; cursor: pointer; font-family: var(--font-sans); gap: 8px; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: rgba(255, 255, 255, 0.6); color: var(--white); background: transparent; }
.btn-outline:hover { background-color: var(--white); color: var(--navy); }
.btn-outline-header { border-color: rgba(255, 255, 255, 0.3); color: var(--white); background: rgba(255, 255, 255, 0.05); }
.header.scrolled .btn-outline-header { border-color: var(--gray-300); color: var(--navy); background: var(--gray-100); }
.btn-outline-header:hover { background-color: var(--white); color: var(--navy); }
.btn-outline-dark { border-color: var(--gray-200); color: var(--navy); background: var(--white); }
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-block { width: 100%; }

/* Minimal Badges */
.badge-primary { background-color: var(--primary); color: var(--white); }
.badge-success { background-color: var(--success); color: var(--white); }
.badge-info { background-color: var(--navy); color: var(--white); }
.badge-cyan { background-color: rgba(6, 182, 212, 0.15) !important; border: 1px solid rgba(6, 182, 212, 0.3) !important; color: #0284c7 !important; }

/* ================================================================
   TOP ANNOUNCEMENT BAR
================================================================ */
.top-bar { background-color: #091020; color: rgba(255, 255, 255, 0.8); font-size: 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 7px 0; }
.top-bar-container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 14px; }
.top-divider { display: inline-block; width: 1px; height: 12px; background: rgba(255, 255, 255, 0.2); }
.top-badge strong { color: var(--white); }
.top-link:hover { color: var(--white); text-decoration: underline; }

/* ================================================================
   HEADER & NAVBAR
================================================================ */
.header { position: fixed; top: 33px; left: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: all 0.3s ease; }
.header.scrolled { top: 0; background-color: #ffffff; padding: 12px 0; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08); border-bottom: 1px solid var(--gray-200); }
.header-container { display: flex; align-items: center; justify-content: space-between; }
.header-top-wrap { display: flex; align-items: center; justify-content: space-between; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 42px; transition: filter 0.3s; }
.header:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }

.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-link { font-weight: 500; font-size: 0.875rem; color: var(--white); transition: all 0.2s ease; position: relative; opacity: 0.9; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background-color: var(--primary); transition: width 0.25s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { opacity: 1; }
.header.scrolled .nav-link { color: var(--navy); }
.header:not(.scrolled) .nav-link:hover { color: #38bdf8; }

.d-mobile-only { display: none !important; }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--white); cursor: pointer; }
.header.scrolled .mobile-toggle { color: var(--navy); }

/* ================================================================
   HERO SLIDER SECTION (EXECUTIVE INTERACTIVE SLIDER)
================================================================ */
.hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    overflow: hidden;
    background: #0b1329;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 60px;
    z-index: 1;
}

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

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 6s ease-out;
    z-index: -2;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.7) 100%);
    z-index: -1;
}

.hero-slide-content {
    position: relative;
    z-index: 5;
    max-width: 840px;
    color: var(--white);
}

.hero-badge-group { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background-color: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); color: #e0f2fe; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; backdrop-filter: blur(4px); }

.hero-title-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.title-bg-logo {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    max-height: 260px;
    width: auto;
    max-width: 95%;
    opacity: 0.28;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}

.hero-title { position: relative; z-index: 2; font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.18; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero-highlight { color: #38bdf8; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 34px; max-width: 700px; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.hero-slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
}

.hero-slider-prev { left: 24px; }
.hero-slider-next { right: 24px; }

.hero-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-slider-dots .dot.active {
    width: 34px;
    border-radius: var(--radius-full);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(2, 132, 199, 0.6);
}

/* ================================================================
   STATS STRIP
================================================================ */
.stats-strip { background-color: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; border-right: 1px solid rgba(255,255,255,0.08); padding: 0 10px; }
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 1.6rem; color: #38bdf8; margin-bottom: 8px; opacity: 0.9; }
.stat-number { font-size: 2.25rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ================================================================
   ABOUT & FEATURE CARDS
================================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.feature-card-item { display: flex; gap: 16px; background: var(--gray-50); padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--gray-200); transition: all 0.25s; }
.feature-card-item:hover { border-color: var(--primary); background: var(--white); }
.feature-icon { font-size: 1.25rem; color: var(--primary); background: var(--primary-light); width: 44px; height: 44px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-card-item h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.feature-card-item p { color: var(--gray-400); font-size: 0.875rem; line-height: 1.5; }

.about-image-wrapper { position: relative; padding-right: 24px; padding-bottom: 24px; }
.about-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-logo-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); padding: 50px 30px; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; width: 100%; }
.about-logo-img { max-width: 85%; max-height: 180px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.06)); }
.experience-badge { position: absolute; bottom: 0; right: 0; background: var(--navy); color: var(--white); padding: 22px 20px; border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; text-align: center; border: 3px solid var(--white); z-index: 2; }
.exp-number { font-size: 2.1rem; font-weight: 800; line-height: 1; color: var(--primary); }
.exp-text { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* ================================================================
   MEDTECH COMPLIANCE SECTION
================================================================ */
.compliance-section { background-color: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.compliance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.compliance-card { background: var(--white); padding: 28px 20px; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); transition: all 0.25s; position: relative; display: flex; flex-direction: column; }
.compliance-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.compliance-badge { position: absolute; top: 14px; right: 14px; font-size: 0.725rem; font-weight: 700; color: var(--primary); background: var(--primary-light); padding: 3px 8px; border-radius: var(--radius-full); }
.compliance-icon { width: 48px; height: 48px; background: var(--primary-light); color: var(--primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 16px; }
.compliance-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.compliance-card p { font-size: 0.875rem; color: var(--gray-400); line-height: 1.5; flex: 1; margin-bottom: 16px; }
.compliance-checklist { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--gray-200); padding-top: 14px; font-size: 0.8rem; color: var(--navy); font-weight: 600; }
.compliance-checklist i { color: var(--success); margin-right: 6px; }

/* ================================================================
   EVENTS SECTION & FILTER BAR
================================================================ */
.event-filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn { background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-700); padding: 8px 20px; border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.25s; font-family: var(--font-sans); }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.event-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); transition: all 0.25s; display: flex; flex-direction: column; }
.event-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12); }
.event-card-img { position: relative; height: 320px; width: 100%; overflow: hidden; }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.4s ease; }
.event-card:hover .event-card-img img { transform: scale(1.05); }

.event-badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.725rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.event-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.event-meta { display: flex; gap: 14px; font-size: 0.825rem; color: var(--gray-400); margin-bottom: 10px; flex-wrap: wrap; }
.event-meta span { display: flex; align-items: center; gap: 6px; }
.event-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.event-title a:hover { color: var(--primary); }
.event-excerpt { color: var(--gray-400); font-size: 0.9rem; flex: 1; margin-bottom: 16px; }
.event-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--gray-100); gap: 8px; flex-wrap: wrap; }
.cvs-tag { font-size: 0.775rem; color: var(--gray-400); }
.cvs-tag strong { color: var(--primary); font-family: monospace; font-size: 0.85rem; }

/* ================================================================
   APPLICATION FORM
================================================================ */
.application-section { background-color: var(--navy); padding: 85px 0; }
.application-wrapper { display: grid; grid-template-columns: 5fr 7fr; gap: 50px; align-items: center; }

.process-timeline { margin-top: 34px; display: flex; flex-direction: column; gap: 26px; position: relative; }
.process-timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 22px; width: 1px; background: rgba(255,255,255,0.15); }
.timeline-step { display: flex; gap: 20px; position: relative; z-index: 1; }
.step-icon { width: 44px; height: 44px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; flex-shrink: 0; box-shadow: 0 0 0 3px var(--navy); }
.step-content h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.step-content p { font-size: 0.875rem; }

.application-form-container { background: var(--white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modern-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { position: relative; display: flex; flex-direction: column; }
.form-input { width: 100%; padding: 14px; padding-top: 22px; padding-bottom: 6px; border: 1px solid var(--gray-200); border-radius: var(--radius-md); background-color: var(--gray-50); font-family: var(--font-sans); font-size: 0.925rem; color: var(--navy); transition: all 0.25s; }
.form-input:focus { outline: none; border-color: var(--primary); background-color: var(--white); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12); }
.form-label { position: absolute; left: 14px; top: 14px; font-size: 0.925rem; color: var(--gray-400); pointer-events: none; transition: all 0.2s ease; }
.form-input:focus ~ .form-label, .form-input:not(:placeholder-shown) ~ .form-label { top: 4px; font-size: 0.725rem; font-weight: 600; color: var(--primary); }

.select-group { position: relative; }
.select-input { appearance: none; padding-top: 20px; cursor: pointer; }
.select-label { top: 4px; font-size: 0.725rem; font-weight: 600; }
.select-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-400); pointer-events: none; }

.error-text { font-size: 0.725rem; color: var(--danger); margin-top: 4px; display: none; }
.form-group.has-error .form-input { border-color: var(--danger); background-color: #fef2f2; }
.form-group.has-error .error-text { display: block; }
.form-group.has-error .form-label { color: var(--danger); }

.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; }
.custom-checkbox { margin-top: 3px; cursor: pointer; width: 16px; height: 16px; accent-color: var(--primary); }
.checkbox-label { font-size: 0.825rem; color: var(--gray-400); cursor: pointer; line-height: 1.5; }
.text-link { color: var(--primary); font-weight: 600; text-decoration: underline; }

.btn-submit { margin-top: 8px; font-size: 1rem; padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; }
.btn-icon { transition: transform 0.25s; }
.btn-submit:hover .btn-icon { transform: translateX(4px); }

.form-success { background-color: #f0fdf4; border: 1px solid #bbf7d0; padding: 18px; border-radius: var(--radius-md); display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; color: #166534; }
.form-success i { color: var(--success); }

/* ================================================================
   EXECUTIVE PHOTO & POSTER GALLERY
================================================================ */
.gallery-section { padding-bottom: 90px; }
.gallery-filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; margin-bottom: 36px; }
.gallery-filter-btn { background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-600); font-weight: 600; font-size: 0.875rem; padding: 9px 20px; border-radius: var(--radius-full); cursor: pointer; transition: all 0.25s ease; font-family: var(--font-sans); }
.gallery-filter-btn:hover, .gallery-filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; display: block; aspect-ratio: 4 / 3; background: var(--gray-100); border: 1px solid var(--gray-200); box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }

.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.35) 50%, rgba(15, 23, 42, 0.1) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; opacity: 0; transition: opacity 0.3s ease; }
.gallery-caption { color: var(--white); font-size: 0.875rem; font-weight: 600; line-height: 1.4; transform: translateY(10px); transition: transform 0.3s ease; }
.gallery-icon-wrap { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 1.2rem; margin-bottom: 10px; transform: scale(0.7); transition: transform 0.3s ease; }

.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15); border-color: var(--primary); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-item:hover .gallery-icon-wrap { transform: scale(1); }
.gallery-item:hover img { transform: scale(1.06); }

/* Lightbox Modal */
.lightbox-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s ease; }
.lightbox-modal.active { display: flex; opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; background-color: rgba(15, 23, 42, 0.92); backdrop-filter: blur(6px); }
.lightbox-content { position: relative; z-index: 10001; display: flex; flex-direction: column; align-items: center; max-width: 90vw; max-height: 90vh; }
#lightbox-img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-sm); }
#lightbox-caption { color: var(--white); font-size: 1rem; font-weight: 500; margin-top: 14px; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; z-index: 10002; background: none; border: none; color: var(--white); cursor: pointer; transition: color 0.25s; }
.lightbox-close { top: 24px; right: 24px; font-size: 1.8rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); font-size: 2.5rem; padding: 16px; opacity: 0.7; }
.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover { opacity: 1; color: var(--primary); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ================================================================
   FAQ ACCORDION
================================================================ */
.faq-section { background-color: var(--white); }
.faq-accordion { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.faq-item { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: all 0.25s; }
.faq-item.active { border-color: var(--primary); background: var(--white); }
.faq-trigger { width: 100%; text-align: left; padding: 18px 20px; background: none; border: none; font-size: 1rem; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-sans); }
.faq-icon { color: var(--primary); transition: transform 0.25s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.25s ease-out; padding: 0 20px; }
.faq-item.active .faq-content { max-height: 200px; padding-bottom: 18px; }
.faq-content p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.6; }

/* ================================================================
   CONTACT & PCO SECRETARIAT
================================================================ */
.contact-section { background-color: var(--gray-50); border-top: 1px solid var(--gray-200); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-details-list { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon { width: 44px; height: 44px; background: var(--primary-light); color: var(--primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-detail-item h5 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.contact-detail-item p { font-size: 0.9rem; color: var(--gray-400); }

.map-placeholder-box { background: var(--navy); color: var(--white); padding: 45px 36px; border-radius: var(--radius-lg); text-align: center; border: 1px solid rgba(255,255,255,0.1); }
.map-icon { font-size: 3rem; color: var(--primary); margin-bottom: 16px; }
.map-placeholder-box h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.map-placeholder-box p { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(2, 132, 199, 0.2); border: 1px solid rgba(56, 189, 248, 0.3); color: #38bdf8; padding: 5px 14px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; margin-top: 16px; }

/* ================================================================
   BACK TO TOP BUTTON
================================================================ */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-md);
}

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

.back-to-top-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ================================================================
   MOBILE BOTTOM NAVIGATION (APP STYLE)
================================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 600;
    gap: 3px;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
    padding: 5px 0;
}

.mobile-nav-item i {
    font-size: 1.2rem;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: #38bdf8;
}

.mobile-nav-cta {
    position: relative;
    top: -10px;
    color: var(--white);
}

.mobile-nav-cta-circle {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    border: 3px solid var(--navy);
}

/* ================================================================
   MINIMAL FOOTER
================================================================ */
.footer { background-color: var(--navy); color: var(--gray-400); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 75px 24px; }
.footer-logo-wrapper { display: inline-block; background: #ffffff; padding: 8px 16px; border-radius: var(--radius-md); margin-bottom: 18px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.footer-logo { height: 42px; width: auto; display: block; object-fit: contain; }
.footer-desc { font-size: 0.9rem; margin-bottom: 22px; line-height: 1.6; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); color: var(--white); transition: all 0.25s; }
.social-links a:hover { background: var(--primary); }

.footer-title { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 26px; height: 2px; background: var(--primary); }
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-list a { font-size: 0.9rem; }
.footer-list a:hover { color: var(--primary); }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.contact-info i { color: var(--primary); margin-top: 3px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; font-size: 0.825rem; flex-wrap: wrap; gap: 14px; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a:hover { color: var(--white); }

.footer-credits { display: flex; align-items: center; gap: 6px; color: var(--gray-400); font-size: 0.825rem; }
.credits-link { color: var(--white); font-weight: 700; text-decoration: none; transition: all 0.25s ease; display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.1); }
.credits-link:hover { color: var(--primary); background: rgba(2, 132, 199, 0.15); border-color: var(--primary); }

/* ================================================================
   STATIONARY FIXED LIGHTBOX CONTROLS (DESKTOP & MOBILE)
================================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
    margin-top: 14px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    background: rgba(15, 23, 42, 0.85);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ALWAYS FIXED STATIONARY BUTTONS (DESKTOP & MOBILE) */
.lightbox-close {
    position: fixed !important;
    top: 24px !important;
    right: 24px !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 1.8rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    transition: all 0.25s ease !important;
    backdrop-filter: blur(8px);
}

.lightbox-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    transform: scale(1.1) !important;
}

.lightbox-prev {
    position: fixed !important;
    left: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 56px !important;
    height: 56px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    transition: all 0.25s ease !important;
    backdrop-filter: blur(8px);
}

.lightbox-prev:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.lightbox-next {
    position: fixed !important;
    right: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 56px !important;
    height: 56px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    transition: all 0.25s ease !important;
    backdrop-filter: blur(8px);
}

.lightbox-next:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.lightbox-close {
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
}

.lightbox-prev {
    left: -75px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
}

.lightbox-next {
    right: -75px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
}

/* ================================================================
   RESPONSIVE DESIGN & CLEAN MOBILE LAYOUT
================================================================ */
@media (max-width: 992px) {
    .header { top: 0; padding: 10px 0; }
    .top-bar { display: none; }
    .d-none-mobile { display: none !important; }
    
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .header-top-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .navbar {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px 0 2px 0;
        scrollbar-width: none;
    }
    .navbar::-webkit-scrollbar { display: none; }

    .nav-menu { 
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        gap: 8px !important;
        justify-content: flex-start !important;
    }

    .nav-link { 
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        padding: 6px 14px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 20px !important;
        color: #ffffff !important;
        transition: all 0.2s ease !important;
    }
    .nav-link::after { display: none !important; }

    .header.scrolled .nav-link {
        background: rgba(15, 23, 42, 0.05) !important;
        border-color: rgba(15, 23, 42, 0.12) !important;
        color: var(--navy) !important;
    }

    .nav-link.active, .header.scrolled .nav-link.active {
        background: var(--primary) !important;
        color: #ffffff !important;
        border-color: var(--primary) !important;
    }

    .about-grid, .application-wrapper, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .compliance-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-item { border-right: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .process-timeline { display: none; }
}

@media (max-width: 768px) {
    body { padding-bottom: 64px; }
    
    .hero-slider-section, .hero-slider-container { min-height: 85vh; }
    .hero-slide { padding-top: 100px; padding-bottom: 50px; }
    .hero-title { font-size: 1.85rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-slider-btn { display: none; }
    .hero-slider-dots { bottom: 16px; }
    
    /* Mobile Lightbox UI Overrides */
    .lightbox-content { max-width: 96vw; max-height: 88vh; padding: 0; }
    .lightbox-img-wrapper img { max-height: 68vh; width: auto; max-width: 100%; border-radius: 8px; }
    .lightbox-caption { font-size: 0.8rem; padding: 6px 12px; margin-top: 8px; }
    
    .lightbox-close {
        top: 16px;
        right: 16px;
        position: fixed;
        width: 44px;
        height: 44px;
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 50%;
        color: var(--white);
        font-size: 1.6rem;
        z-index: 10001;
    }
    
    .lightbox-prev {
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        position: fixed;
        background: rgba(15, 23, 42, 0.75);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: var(--white);
        font-size: 1.6rem;
        z-index: 10001;
    }
    
    .lightbox-next {
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        position: fixed;
        background: rgba(15, 23, 42, 0.75);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: var(--white);
        font-size: 1.6rem;
        z-index: 10001;
    }

    .compliance-grid { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom .container { flex-direction: column; gap: 14px; text-align: center; }

    .mobile-bottom-nav { display: flex; }
    .back-to-top-btn { bottom: 76px; right: 16px; width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 55px 0; }
    .hero-title { font-size: 1.7rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 16px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { aspect-ratio: 4 / 3; }
    .application-form-container { padding: 22px 14px; }
}
