/* --------- Featured Gallery Badge --------- */
.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color, #00b3e6);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.25em 0.75em;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    gap: 0.4em;
    z-index: 2;
    letter-spacing: 0.03em;
}
.featured-badge i {
    color: #fff;
    margin-right: 0.3em;
}
.featured-badge.expanded {
    position: static;
    margin-top: 1em;
    margin-bottom: 0.5em;
    box-shadow: none;
}

.gallery-item.featured {
    border: 2.5px solid var(--accent-color, #00b3e6);
    box-shadow: 0 0 0 2px rgba(0, 179, 230, 0.18);
}
/* ============================================
   JCI Senate San Juan - Main Stylesheet
   ============================================ */

/* --------- CSS Variables --------- */
:root {
    /* JCI Official Colors */
    --primary-color: #2f566f;
    --primary-dark: #224154;
    --primary-light: #5d8096;
    --secondary-color: #7fc4d9;
    --accent-color: #f2b95d;
    --accent-dark: #d89b35;
    
    /* Neutrals */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

a:hover {
    color: var(--primary-color);
}

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

ul, ol {
    list-style: none;
}

/* --------- Utilities --------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --------- Buttons --------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* --------- Preloader --------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: var(--space-lg);
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

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

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

/* --------- Header & Navigation --------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
    color: var(--gray-700);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
}

.navbar {
    padding: var(--space-md) 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
}

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

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.header.scrolled .logo-main {
    color: var(--primary-color);
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: var(--space-sm);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta .btn {
    padding: var(--space-sm) var(--space-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-normal);
}

.header.scrolled .hamburger,
.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after {
    background: var(--primary-color);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* --------- Hero Section --------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/hero-water-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 102, 0.5);
}

.hero-overlay::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: var(--space-xl);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--accent-color);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--white);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes waterDrift {
    0% { background-position: 10% 16%, 88% 78%, center; }
    100% { background-position: 12% 19%, 85% 81%, center; }
}

@keyframes waterDriftSoft {
    0% { background-position: 84% 18%, 14% 82%, 30% 30%, 68% 58%; }
    100% { background-position: 82% 22%, 16% 79%, 32% 33%, 66% 61%; }
}

/* --------- About Section --------- */
.about {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-body {
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.badge-year {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

/* --------- Mission Vision Section --------- */
.mission-vision {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.mv-grid {
    display: flex;
    gap: 0;
    transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.mv-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    cursor: grab;
    touch-action: pan-y;
}

.mv-slider.grabbing {
    cursor: grabbing;
}

.mv-slider.grabbing .mv-grid {
    transition: none;
}

.mv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(13, 63, 117, 0.55);
    color: #ffffff;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 180ms ease, transform 180ms ease;
}

.mv-arrow:hover {
    background: rgba(13, 63, 117, 0.85);
}

.mv-arrow:active {
    transform: translateY(-50%) scale(0.97);
}

.mv-arrow-prev {
    left: 12px;
}

.mv-arrow-next {
    right: 12px;
}

.mv-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: var(--space-lg);
}

.mv-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #0B3D91;
    background: rgba(11, 61, 145, 0.08);
    cursor: pointer;
    transition: all 220ms ease;
}

.mv-dot.active {
    background: #0B3D91;
    border-color: #0B3D91;
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .mv-arrow {
        display: none;
    }
}

.mv-card {
    min-width: 100%;
    flex: 0 0 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-normal);
}

.mv-card:hover {
    transform: none;
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.mv-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.mv-title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.mv-text {
    opacity: 0.9;
    line-height: 1.8;
}

/* --------- History Timeline --------- */
.history {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: var(--space-lg);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: var(--space-3xl);
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: var(--space-3xl);
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: var(--space-xl);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: var(--gray-50);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.timeline-content h4 {
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* --------- Leadership Section --------- */
.leadership {
    background: var(--gray-50);
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

.board-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.board-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.board-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.board-card:hover .board-card-image img {
    transform: scale(1.1);
}

.board-card-content {
    padding: var(--space-lg);
    text-align: center;
}

.board-card-name {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.board-card-position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.board-card-year {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.past-presidents-section {
    text-align: center;
}

.subsection-title {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.subsection-subtitle {
    color: var(--gray-500);
    margin-bottom: var(--space-xl);
}

.past-presidents-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.past-president-item {
    background: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    min-width: 200px;
}

.past-president-name {
    font-weight: 600;
    color: var(--gray-800);
}

.past-president-year {
    font-size: 0.875rem;
    color: var(--secondary-color);
}

/* --------- Gallery Section --------- */
.gallery {
    background: var(--white);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.filter-btn {
    background: var(--gray-100);
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
}

/* Normal gallery item */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:not(.expanded):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.gallery-preview {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:not(.expanded):hover .gallery-preview img {
    transform: scale(1.05);
}

.gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-hover i {
    font-size: 1.5rem;
    color: #fff;
}

.gallery-item:not(.expanded):hover .gallery-hover {
    opacity: 1;
}

.gallery-card-info {
    padding: 1rem 1.25rem;
    background: #fff;
}

.gallery-card-info .gallery-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hidden expanded section */
.gallery-expanded {
    display: none;
}

/* Expanded state */
.gallery-item.expanded {
    grid-column: 1 / -1;
    cursor: default;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid #e2e8f0;
    outline: 3px solid rgba(59, 130, 246, 0.3);
    outline-offset: 2px;
}

.gallery-item.expanded .gallery-preview,
.gallery-item.expanded .gallery-card-info {
    display: none;
}

.gallery-item.expanded .gallery-expanded {
    display: flex;
    position: relative;
    animation: expandIn 0.25s ease-out;
}

@keyframes expandIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gallery-expanded-image {
    flex: 1;
    min-width: 0;
    max-width: 55%;
    background: #f1f5f9;
    position: relative;
}

.gallery-expanded-image img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

.gallery-expanded-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
    pointer-events: none;
}

.gallery-info-box {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.gallery-expanded-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.gallery-expanded-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.gallery-collapse-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    font-size: 1.125rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.gallery-collapse-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.gallery-collapse-btn:active {
    transform: scale(0.95);
}

/* Mobile expanded */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .gallery-card-info {
        padding: 0.75rem 1rem;
    }
    
    .gallery-card-info .gallery-title {
        font-size: 0.8125rem;
    }
    
    .gallery-item.expanded {
        border-radius: 16px;
    }
    
    /* Simplified animation for mobile - no transform, just opacity */
    .gallery-item.expanded .gallery-expanded {
        flex-direction: column;
        animation: none;
    }
    
    @keyframes expandInMobile {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .gallery-item.expanded .gallery-expanded {
        animation: expandInMobile 0.2s ease-out;
    }
    
    .gallery-expanded-image {
        max-width: 100%;
    }
    
    .gallery-expanded-image img {
        max-height: 280px;
    }
    
    .gallery-expanded-info {
        padding: 0.75rem;
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
    
    .gallery-info-box {
        padding: 1.25rem;
    }
    
    .gallery-expanded-title {
        font-size: 1rem;
    }
    
    .gallery-expanded-desc {
        font-size: 0.875rem;
    }
}

/* --------- Events Section --------- */
.events {
    background: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.event-date-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-lg);
    text-align: center;
    min-width: 100px;
}

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

.event-date-month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.event-content {
    padding: var(--space-lg);
    flex: 1;
}

.event-type {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.event-title {
    margin-bottom: var(--space-sm);
}

.event-description {
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.event-meta i {
    width: 20px;
    color: var(--secondary-color);
}

/* --------- Downloads Section --------- */
.downloads {
    background: var(--white);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.download-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    transition: all var(--transition-normal);
}

.download-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.download-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.download-content {
    flex: 1;
}

.download-title {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.download-meta {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.download-btn:hover {
    color: var(--primary-color);
}

/* --------- Join Us Section --------- */
.join-us {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.join-text h2 {
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.join-text p {
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.join-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.join-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.join-benefits i {
    color: var(--accent-color);
}

.join-form-container {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.join-form h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
}

/* --------- Contact Section --------- */
.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-card {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--outline-gold);
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.contact-details p,
.contact-details a {
    color: var(--gray-600);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--outline-gold);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: var(--outline-gold);
}

.social-link i,
.footer-social a i {
    color: var(--outline-gold) !important;
}

.contact-form-container {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

/* --------- Forms --------- */
.form-group {
    margin-bottom: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* --------- Map --------- */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
}

/* --------- Footer --------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-4xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--outline-gold);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--accent-color);
}

/* --------- Lightbox --------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: none;
    align-items: flex-end;
    justify-content: center;
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

.lightbox.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-panel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 85vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px 24px 0 0;
    display: flex;
    overflow: hidden;
    box-shadow: 
        0 -10px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.lightbox.active .lightbox-panel {
    transform: translateY(0);
    opacity: 1;
}

.lightbox-image-container {
    position: relative;
    flex: 1.5;
    min-width: 0;
    background: #0f0f1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image-container img {
    width: 100%;
    height: 100%;
    max-height: 85vh;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.lightbox.active .lightbox-image-container img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-info {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.lightbox-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.lightbox.active .lightbox-title {
    opacity: 1;
    transform: translateY(0);
}

.lightbox-description {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 2rem 0;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.lightbox.active .lightbox-description {
    opacity: 1;
    transform: translateY(0);
}

.lightbox-counter {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.lightbox.active .lightbox-counter {
    opacity: 1;
    transform: translateY(0);
}

.lightbox-counter span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
}

.lightbox-close:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: rotate(90deg);
}

/* Mobile lightbox - stack vertically */
@media (max-width: 768px) {
    .lightbox {
        padding: 0;
    }
    
    .lightbox-panel {
        flex-direction: column;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
    }
    
    .lightbox-image-container {
        flex: none;
        height: 50vh;
        min-height: 250px;
    }
    
    .lightbox-image-container img {
        max-height: 50vh;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 0.75rem;
    }
    
    .lightbox-next {
        right: 0.75rem;
    }
    
    .lightbox-info {
        flex: 1;
        min-width: unset;
        padding: 1.5rem 1.25rem 2rem;
        overflow-y: auto;
    }
    
    .lightbox-title {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }
    
    .lightbox-description {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }
    
    .lightbox-counter {
        padding-top: 1rem;
    }
    
    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* --------- Toast Notifications --------- */
.toast-container {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: var(--z-tooltip);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    background: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    animation: slideIn 0.3s ease;
    min-width: 300px;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.info { border-left: 4px solid var(--info); }

.toast i {
    font-size: 1.25rem;
}

.toast.success i { color: var(--success); }
.toast.error i { color: var(--error); }
.toast.warning i { color: var(--warning); }
.toast.info i { color: var(--info); }

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* --------- Back to Top --------- */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

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

/* --------- Loading Placeholder --------- */
.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-3xl);
    color: var(--gray-500);
}

.loading-placeholder i {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    display: block;
}

/* --------- Empty State --------- */
.empty-state {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--gray-500);
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

/* --------- Responsive Styles --------- */
@media (max-width: 1024px) {
    .about-grid,
    .join-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-image {
        order: -1;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(68vw, 260px);
        max-width: 260px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 72px 14px 18px;
        gap: var(--space-md);
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--gray-700);
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--gray-100);
        font-size: 1.25rem;
    }
    
    .nav-toggle {
        display: flex;
        margin-left: auto;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-md);
        z-index: calc(var(--z-fixed) + 2);
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .nav-logo {
        max-width: calc(100% - 72px);
        flex: 0 1 auto;
    }

    .nav-logo img {
        width: 68px;
        height: 68px;
    }
    
    .nav-toggle.active .hamburger {
        background: transparent;
    }
    
    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .events-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .toast-container {
        left: var(--space-md);
        right: var(--space-md);
    }
    
    .toast {
        min-width: auto;
    }
    
    .back-to-top {
        right: var(--space-md);
        bottom: var(--space-md);
    }

    .hero-title {
        max-width: 12ch;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        line-height: 1.12;
        word-break: keep-all;
    }

    .nav-logo img {
        width: 64px;
        height: 64px;
    }

    .nav-menu {
        width: min(64vw, 230px);
        max-width: 230px;
        padding: 68px 12px 16px;
    }

    .nav-menu .nav-link {
        font-size: 1.125rem;
        padding: 9px 0;
    }
}

/* --------- Shop Section --------- */
.shop {
    background: var(--gray-50);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
}

/* Normal shop item (collapsed) */
.shop-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    border: 2px solid var(--outline-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-item:not(.expanded):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.shop-preview {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--gray-100);
}

.shop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-item:not(.expanded):hover .shop-preview img {
    transform: scale(1.05);
}

.shop-hover {
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-hover i {
    font-size: 1.5rem;
    color: #fff;
}

.shop-item:not(.expanded):hover .shop-hover {
    opacity: 1;
}

.shop-card-info {
    padding: 1rem 1.25rem;
    background: #fff;
}

.shop-card-info .shop-card-name {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-card-info .shop-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Hidden expanded section */
.shop-expanded {
    display: none;
}

/* Expanded state */
.shop-item.expanded {
    grid-column: 1 / -1;
    cursor: default;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--outline-gold);
    outline: 3px solid rgba(212, 175, 55, 0.35);
    outline-offset: 2px;
}

.shop-item.expanded .shop-preview,
.shop-item.expanded .shop-card-info {
    display: none;
}

.shop-item.expanded .shop-expanded {
    display: flex;
    position: relative;
    animation: shopExpandIn 0.25s ease-out;
}

@keyframes shopExpandIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.shop-expanded-image {
    flex: 1;
    min-width: 0;
    max-width: 45%;
    background: #f1f5f9;
    position: relative;
}

.shop-expanded-image img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

.shop-expanded-info {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
}

.shop-info-box {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shop-expanded-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.shop-expanded-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 1.25rem 0;
    flex: 1;
}

.shop-expanded-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.platform-buttons {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

.platform-btn.shopee {
    background: #ee4d2d;
}

.platform-btn.tiktok {
    background: #111827;
}

.platform-btn.lazada {
    background: #0f5ed7;
}

.platform-btn:hover {
    filter: brightness(0.95);
    color: #fff;
}

.shop-no-platform {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.shop-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.shop-buy-btn i {
    font-size: 1.125rem;
}

.shop-collapse-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    font-size: 1.125rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.shop-collapse-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.shop-collapse-btn:active {
    transform: scale(0.95);
}

/* Mobile shop expanded */
@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .shop-item {
        border-radius: 12px;
    }

    .shop-card-info {
        padding: 0.75rem 1rem;
    }

    .shop-card-info .shop-card-name {
        font-size: 0.8125rem;
    }

    .shop-card-info .shop-card-price {
        font-size: 0.875rem;
    }

    .shop-item.expanded {
        border-radius: 16px;
    }

    .shop-item.expanded .shop-expanded {
        flex-direction: column;
    }

    .shop-expanded-image {
        max-width: 100%;
    }

    .shop-expanded-image img {
        max-height: 300px;
    }

    .shop-expanded-info {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }

    .shop-info-box {
        padding: 1.25rem;
    }

    .shop-expanded-title {
        font-size: 1.0625rem;
    }

    .shop-expanded-desc {
        font-size: 0.875rem;
    }

    .shop-expanded-price {
        font-size: 1.25rem;
    }
}

/* --------- Global Background Override --------- */
:root {
    --outline-gold: #d4af37;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

body {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.08) 100%),
        linear-gradient(180deg, #0f4f96 0%, #1569b5 48%, #0d4a8c 100%);
    color: #eaf4ff;
}

.section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.08) 100%), linear-gradient(135deg, #0f4f96 0%, #1a6fc1 100%) !important;
}

.about {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(135deg, #1060ab 0%, #2b83c7 100%) !important;
}

.mission-vision {
    background: linear-gradient(135deg, rgba(6, 28, 52, 0.76) 0%, rgba(6, 28, 52, 0.58) 100%), url('/assets/images/new.png') center/cover no-repeat !important;
}

.history {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(135deg, #0e5aa0 0%, #1f6fb3 100%) !important;
}

.leadership-gallery-wrap {
    background: linear-gradient(135deg, rgba(7, 30, 55, 0.72) 0%, rgba(7, 30, 55, 0.56) 100%), url('/assets/images/teal.png') center/cover no-repeat;
}

.leadership {
    background: transparent !important;
}

.gallery {
    background: transparent !important;
}

.events {
    background: #ffffff !important;
}

.shop {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.23) 0%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(135deg, #0f5999 0%, #2272b2 100%) !important;
}

.contact {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.09) 100%), linear-gradient(135deg, #0f5492 0%, #2a7abd 100%) !important;
}

.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 100%), linear-gradient(135deg, #0d467f 0%, #1662a8 100%) !important;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.subsection-title,
.about-intro,
.about-body,
.mv-text,
.timeline-content h4,
.event-title,
.board-card-name,
.past-president-name,
.contact-details h4,
.footer-title,
.shop-card-name,
.shop-expanded-title {
    color: #f3f8ff;
}

p,
.section-subtitle,
.section-intro,
.subsection-subtitle,
.event-description,
.board-card-position,
.contact-details p,
.footer-description,
.timeline-year,
.shop-expanded-desc {
    color: #eaf4ff;
}

.header.scrolled {
    background: rgba(15, 79, 150, 0.95);
}

.header.scrolled .nav-link,
.header.scrolled .logo-main {
    color: #f3f8ff;
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: #8fd1ff;
}

.header.scrolled .hamburger,
.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after {
    background: #f3f8ff;
}

.hero-description {
    color: #ffffff;
    opacity: 1;
}

.stat-item {
    background: #f6f7f8;
}

.stat-label {
    color: #5f6b78;
}

.gallery-filters .filter-btn {
    background: #f2f4f6;
    color: #2f3c4a;
    border: 1px solid #cfd8df;
}

.gallery-filters .filter-btn:hover,
.gallery-filters .filter-btn.active {
    background: #2d7fc9;
    color: #ffffff;
    border-color: #2d7fc9;
}

@media (max-width: 768px) {
    .nav-menu {
        background: #1a67b1;
        border-left: 1px solid #4d8fce;
    }

    .nav-menu .nav-link {
        color: #f3f8ff;
        border-bottom-color: #4d8fce;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #8fd1ff;
    }

    .nav-toggle.active .hamburger::before,
    .nav-toggle.active .hamburger::after {
        background: #f3f8ff;
    }

    .hero-overlay {
        background-size: 116px 116px, 86px 86px, cover;
        background-position: 6% 12%, 90% 82%, center;
    }

    .hero-overlay::before {
        background-size: 78px 78px, 56px 56px;
        background-position: 88% 14%, 8% 84%;
        opacity: 0.62;
    }
}

.timeline-content {
    background: #1a67b1;
    border: 1px solid #4d8fce;
}

.timeline-content h4,
.timeline-content p {
    color: #f3f8ff;
}

.timeline-year {
    background: #4d8fce;
    color: #f3f8ff;
}

.board-card,
.board-card-content,
.past-president-item {
    background: #ffffff;
    border: 1px solid #cfe0f2;
}

.board-card-image {
    background: #f5f9ff;
}

.board-card-name,
.board-card-year,
.past-president-name,
.past-president-year {
    color: #1f2d3d;
}

.board-card-position,
.past-president-position {
    color: #355a7c;
}

.event-card {
    background: #6eb3e2;
    border: 1px solid var(--outline-gold);
}

.event-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.08) 100%), #6eb3e2;
}

.event-date-badge {
    background: #0d3f75;
    color: #f3f8ff;
}

.event-type {
    color: #08334a;
    background: #f2d06b;
}

.event-title,
.event-description,
.event-meta,
.event-meta span {
    color: #08334a;
}

.event-meta i {
    color: #0f4f96;
}

.events .event-title,
.events .event-description,
.events .event-meta,
.events .event-meta span {
    color: #113b58 !important;
}

.events .section-title,
.events .section-subtitle {
    color: #1a1a1a !important;
}

.events .section-badge {
    color: #ffffff !important;
}

.events .event-meta i {
    color: #1e5e8f !important;
}

.timeline-content,
.event-meta span,
.past-president-year,
.footer-contact p,
.footer-links a,
.contact-details a {
    color: #eaf4ff;
}

.about-stats .stat-item .stat-label {
    color: #5f6b78 !important;
}

.about-stats .stat-item {
    border: 2px solid var(--outline-gold) !important;
}

.about-image img {
    border: 2px solid var(--outline-gold) !important;
}

.about-image-badge {
    border: 2px solid var(--outline-gold) !important;
}

/* Global gold outlines for themed public sections */
.section *,
.about *,
.mission-vision *,
.history *,
.leadership *,
.gallery *,
.events *,
.shop *,
.contact *,
.footer * {
    border-color: var(--outline-gold) !important;
}

/* Keep expanded shop text readable on light info panel */
.shop-item.expanded .shop-info-box .shop-expanded-title {
    color: #12324c;
}

.shop-item.expanded .shop-info-box .shop-expanded-desc {
    color: #425e78;
}

.shop-item.expanded .shop-info-box .shop-expanded-price {
    color: #0f4f96;
}

.shop-item.expanded .shop-info-box .shop-no-platform {
    color: #5c7084;
}

/* White-toned sections while keeping blue-compatible accents */
.about,
.history,
.contact {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 255, 0.96) 100%) !important;
}

.about .section-title,
.about .section-subtitle,
.about .about-intro,
.about .about-body,
.history .section-title,
.history .section-subtitle,
.history .section-intro,
.history h4,
.history p,
.contact .section-title,
.contact .section-subtitle,
.contact h4,
.contact p,
.contact a {
    color: #1e3448 !important;
}

.contact .form-group label {
    color: #2a4358 !important;
}

.contact .form-group input,
.contact .form-group textarea,
.contact .form-group select {
    background: #ffffff;
    color: #1e3448;
    border-color: #b9d0e3;
}

.contact .form-group input::placeholder,
.contact .form-group textarea::placeholder {
    color: #6f8598;
}

/* Keep history timeline card text readable on blue cards */
.history .timeline-content h4,
.history .timeline-content p,
.history .timeline-year {
    color: #f3f8ff !important;
}

.history .timeline-content {
    background: #ffffff !important;
}

.history .timeline-content h4,
.history .timeline-content p {
    color: #1e3448 !important;
}

.history .timeline-content .timeline-year {
    color: #ffffff !important;
}

/* ============================================
   2026 Main Page Redesign (Sample-inspired)
   ============================================ */

:root {
    --primary-color: #0B3D91;
    --primary-dark: #072f72;
    --secondary-color: #0B3D91;
    --accent-color: #C9A227;
    --accent-dark: #af8d22;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: #333;
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.subsection-title,
.hero-title,
.event-title,
.board-card-name,
.shop-item-name,
.gallery-title {
    font-family: var(--font-heading) !important;
    color: #0B3D91 !important;
}

.container {
    max-width: 1200px;
    padding-left: 5%;
    padding-right: 5%;
}

.section {
    padding: 60px 0;
    background: #ffffff !important;
}

/* Thin gold divider between sections */
.section {
    border-top: 3px solid #C9A227;
}

.section-header {
    margin-bottom: 36px;
}

.section-badge {
    background: #0B3D91 !important;
    color: #ffffff !important;
    border: none !important;
}

.section-subtitle,
.section-intro,
.about-intro,
.about-body,
.mv-text,
.event-description,
.board-card-position,
.past-president-year,
.contact-details p,
.footer-brand p,
.timeline-content p,
.shop-item-description {
    color: #465466 !important;
}

.header,
.header.scrolled {
    background: #0B3D91 !important;
    box-shadow: none !important;
}

.navbar {
    padding: 20px 0;
}

.nav-logo {
    gap: 12px;
}

.nav-logo img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
}

.logo-main,
.header.scrolled .logo-main {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
}

.logo-sub {
    color: #d8e7ff !important;
    font-size: 0.72rem;
}

.nav-link,
.header.scrolled .nav-link {
    color: #ffffff !important;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active,
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: #f4d97b !important;
}

.hero {
    min-height: 78vh;
    padding-top: 120px;
}

.hero-bg {
    background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat !important;
}

.hero-overlay {
    background: linear-gradient(rgba(11, 61, 145, 0.85), rgba(11, 61, 145, 0.85)) !important;
}

.hero-overlay::before {
    display: none !important;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.18) !important;
    border: none !important;
    color: #ffffff !important;
}

.hero-title,
.hero-subtitle,
.hero-description {
    color: #ffffff !important;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.hero-scroll {
    display: none;
}

.credibility-strip {
    background: #F5F6F8;
    color: #23354f;
    text-align: center;
    font-weight: 600;
    padding: 22px 5%;
    border-top: 1px solid #e6ebf2;
    border-bottom: 1px solid #e6ebf2;
}

.btn,
.btn-primary {
    background: #C9A227 !important;
    color: #ffffff !important;
    border: 1px solid #C9A227 !important;
    border-radius: 4px;
    font-weight: 600;
}

.btn:hover,
.btn-primary:hover {
    background: #af8d22 !important;
    border-color: #af8d22 !important;
    transform: translateY(-1px);
}

.btn-outline {
    background: #ffffff !important;
    color: #0B3D91 !important;
    border-color: #ffffff !important;
}

.btn-outline:hover {
    background: #eaf1ff !important;
    color: #0B3D91 !important;
}

.about,
.history,
.gallery,
.shop {
    background: #FDF6D8 !important;
}

.mission-vision,
.leadership,
.events {
    background: #F5F6F8 !important;
}

.contact {
    background: #ffffff !important;
}

.leadership-gallery-wrap {
    background: #F5F6F8 !important;
}

.leadership,
.gallery {
    background: inherit !important;
}

.about-image img,
.board-card,
.event-card,
.shop-item,
.gallery-item,
.timeline-content,
.mv-card,
.contact-card,
.past-president-item,
.shop-item.expanded,
.gallery-item.expanded {
    background: #ffffff !important;
    border: 1px solid #e2e7ef !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    outline: none !important;
}

.contact-card {
    padding-right: 12px;
}

.contact-details {
    flex: 1;
    min-width: 0;
    padding: 10px 0;
}

.contact-details p,
.contact-details a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.event-date-badge,
.timeline-year,
.mv-icon,
.contact-icon,
.shop-item-price {
    background: #0B3D91 !important;
    color: #ffffff !important;
}

.event-type,
.featured-badge,
.shop-item-category {
    background: #C9A227 !important;
    color: #ffffff !important;
    border: none !important;
}

.gallery-filters .filter-btn {
    background: #ffffff;
    color: #0B3D91;
    border: 1px solid #d6dce6;
}

.gallery-filters .filter-btn:hover,
.gallery-filters .filter-btn.active {
    background: #0B3D91;
    color: #ffffff;
    border-color: #0B3D91;
}

.footer {
    background: #0B3D91 !important;
    color: #ffffff !important;
}

.footer *,
.footer p,
.footer a,
.footer h4,
.footer-title,
.footer-contact p,
.footer-links a {
    color: #ffffff !important;
}

.footer a:hover {
    color: #f4d97b !important;
}

.back-to-top {
    background: #0B3D91;
    color: #ffffff;
}

@media (max-width: 768px) {
    .nav-menu {
        background: #0B3D91 !important;
        border-left: none;
    }

    .nav-menu .nav-link {
        border-bottom-color: rgba(255, 255, 255, 0.2) !important;
    }

    .nav-logo img {
        width: 58px;
        height: 58px;
    }

    .credibility-strip {
        font-size: 0.92rem;
        line-height: 1.5;
    }
}

/* --------- Layout Stabilization Pass --------- */
:root {
    --outline-gold: #d6deea;
}

.navbar .container {
    max-width: none;
    padding-left: 3%;
    padding-right: 3%;
}

.nav-menu {
    margin-left: auto;
}

.header {
    backdrop-filter: none;
}

.navbar {
    min-height: 76px;
}

.nav-logo img {
    width: 46px;
    height: 46px;
}

.logo-main {
    font-size: 1rem;
}

.logo-sub {
    font-size: 0.7rem;
}

.hero {
    min-height: 72vh;
    padding-top: 132px;
}

.hero-content {
    max-width: 760px;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(2.1rem, 4.8vw, 3.2rem);
    line-height: 1.15;
}

.hero-description {
    max-width: 680px;
    margin-left: 0;
    margin-right: 0;
}

.hero-buttons {
    justify-content: flex-start;
}

.credibility-strip {
    font-size: 0.96rem;
    padding-top: 18px;
    padding-bottom: 18px;
}

.section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.section-header {
    margin-bottom: 30px;
}

.mv-slider,
.timeline-content,
.contact-form,
.map-container {
    border-radius: 8px;
}

@media (max-width: 992px) {
    .logo-text {
        display: none;
    }

    .navbar {
        min-height: 70px;
    }
}

@media (max-width: 768px) {
    .nav-logo img {
        width: 42px;
        height: 42px;
    }

    .nav-menu {
        width: min(60vw, 260px);
        max-width: 260px;
        padding-top: 78px;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
    }

    .hero {
        min-height: 64vh;
        padding-top: 116px;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-content {
        text-align: left;
    }

    .hero-buttons {
        align-items: flex-start;
    }

    .credibility-strip {
        font-size: 0.86rem;
        padding: 14px 20px;
    }

    .section {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 58vh;
        padding-top: 108px;
    }

    .hero-content {
        padding: 0;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(1.55rem, 8.5vw, 2.1rem);
    }

    .btn-lg {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }
}

/* --------- Reference Match Pass --------- */
.navbar .container {
    max-width: none;
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.nav-logo {
    margin-left: 0;
    flex: 0 0 auto;
}

.nav-menu {
    margin-left: auto;
}

.hero {
    display: block;
    min-height: auto;
    padding: 140px 5% 120px;
}

.hero .container {
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
}

.hero-content {
    max-width: 980px;
    text-align: left;
    margin-left: 0;
}

.hero-badge {
    display: none !important;
}

.hero-title {
    font-size: clamp(2.7rem, 5.2vw, 4.5rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    display: none;
}

.hero-description {
    font-size: 2rem;
    line-height: 1.5;
    max-width: 1020px;
    margin-bottom: 2rem;
}

.hero-buttons {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
}

.credibility-strip {
    font-size: 1.45rem;
    font-weight: 600;
    padding: 26px 5%;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(2.1rem, 5.4vw, 3.1rem);
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .credibility-strip {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .nav-logo img {
        width: 46px;
        height: 46px;
    }

    .hero {
        padding: 96px 5% 72px;
        min-height: calc(100vh - 165px);
        display: flex;
        align-items: center;
    }

    .hero .container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .hero-content {
        max-width: 640px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: clamp(1.7rem, 8.8vw, 2.6rem);
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.55;
        max-width: 34ch;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
    }

    .credibility-strip {
        font-size: 0.88rem;
        line-height: 1.5;
        padding: 14px 16px;
    }

    .contact-card {
        align-items: center;
        padding: 0 10px 0 10px;
    }

    .contact-details {
        padding-right: 8px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: calc(100vh - 145px);
        padding: 92px 5% 64px;
    }
}
