/**
 * ICS 2026 - International Congress on Spectroscopy
 * Main Stylesheet
 * Modern, elegant design with physics-themed colors
 */

/* ==================== VARIABLES ==================== */
:root {
    /* Colors - Physics Theme (Black, White, Red) */
    --primary-color: #1a1a1a;        /* Almost Black */
    --secondary-color: #dc143c;      /* Crimson Red */
    --accent-color: #c41e3a;         /* Dark Red */
    --dark-color: #000000;           /* Pure Black */
    --light-color: #ffffff;          /* Pure White */
    --gray-light: #f5f5f5;           /* Very Light Gray */
    --gray-medium: #e0e0e0;          /* Medium Gray */
    --text-color: #1a1a1a;           /* Dark Text */
    --text-light: #666666;           /* Light Text */
    --border-color: #e0e0e0;         /* Border Gray */
    --success-color: #28a745;        /* Green */
    --warning-color: #ffc107;        /* Amber */
    --danger-color: #dc143c;         /* Red */
    
    /* Gradients - Black to Red */
    --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #dc143c 100%);
    --gradient-red: linear-gradient(135deg, #dc143c 0%, #c41e3a 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(220, 20, 60, 0.75) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ==================== CONTAINER ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-sm);
}

/* ==================== HEADER ==================== */
.main-header {
    background-color: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--dark-color);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-contact span {
    margin-right: 1.5rem;
}

.header-contact i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.header-link {
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.header-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.header-link i {
    margin-right: 0.25rem;
}

.header-main {
    padding: 0.5rem 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: -0.25rem;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    background-color: rgba(0, 168, 204, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #000000;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Background Styles */
.slide-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Ensure video is behind overlay and content */
.slide-video .slide-overlay {
    z-index: 1;
}

.slide-video .slide-content {
    z-index: 2;
}

/* Responsive video */
@media (max-width: 768px) {
    .slide-video-bg,
    .publications-video-bg {
        /* Ensure video covers entire area on mobile */
        min-width: 100%;
        min-height: 100%;
    }
}

/* Physics-themed patterns */
.physics-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><text x="10" y="30" fill="rgba(255,255,255,0.15)" font-family="monospace" font-size="14">∫ E = mc² | ℏω = ħk | ∇²ψ + k²ψ = 0 | F = ma | PV = nRT</text><text x="50" y="80" fill="rgba(255,255,255,0.1)" font-family="monospace" font-size="12">λ = h/p | E = hν | ΔxΔp ≥ ℏ/2 | S = k ln W</text><circle cx="800" cy="100" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><path d="M 100 200 Q 200 100 300 200 T 500 200" stroke="rgba(255,255,255,0.08)" fill="none" stroke-width="2"/><line x1="50" y1="300" x2="200" y2="400" stroke="rgba(255,255,255,0.1)" stroke-width="1"/><line x1="200" y1="300" x2="50" y2="400" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.wave-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="1000" height="500" fill="url(%23grid)"/><text x="700" y="50" fill="rgba(255,255,255,0.12)" font-family="serif" font-size="16" font-style="italic">∂ψ/∂t = -iℏH/ℏ ψ</text><text x="100" y="400" fill="rgba(255,255,255,0.1)" font-family="monospace" font-size="14">Δx·Δp ≥ ℏ/2</text><circle cx="150" cy="100" r="60" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="150" cy="100" r="40" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></svg>');
    background-size: cover;
    opacity: 0.7;
}

.physics-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    opacity: 0.3;
    font-weight: 300;
}

.slide-meta {
    margin-top: 2rem;
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-meta span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-meta i {
    color: var(--secondary-color);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 10;
}

.slide-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.slide-caption {
    font-size: 1.3rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.slider-nav {
    position: absolute;
    top: 50%;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.slider-nav:hover {
    background-color: var(--secondary-color);
    color: white;
}

.slider-nav.prev {
    left: 2rem;
}

.slider-nav.next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--secondary-color);
    width: 30px;
    border-radius: 6px;
}

/* ==================== INFO CARDS ==================== */
.info-cards {
    padding: 0;
    margin-top: -100px;
    position: relative;
    z-index: 100;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.info-card {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: var(--secondary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.info-card:nth-child(1) .card-icon {
    background: var(--secondary-color);
}

.info-card:nth-child(2) .card-icon {
    background: var(--primary-color);
}

.info-card:nth-child(3) .card-icon {
    background: var(--accent-color);
}

.info-card:nth-child(4) .card-icon {
    background: var(--dark-color);
}

.card-title-wrapper {
    flex: 1;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
}

.card-body {
    width: 100%;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.info-card .venue-info p,
.info-card .dates-list,
.info-card .registration-info {
    margin-bottom: 0.4rem;
}

.info-card .venue-info p:first-child {
    margin-bottom: 0.6rem;
}

.card-content-wrapper > p:last-of-type {
    margin-bottom: 1rem;
}

.dates-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.dates-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.dates-list li:last-child {
    border-bottom: none;
}

.dates-list strong {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    flex: 1;
}

.dates-list span {
    color: var(--text-light);
    font-size: 0.8rem;
    text-align: right;
    white-space: nowrap;
}

.venue-info {
    margin-top: 0.5rem;
}

.venue-info p {
    margin-bottom: 0.25rem;
    line-height: 1.5;
    font-size: 0.85rem;
    color: var(--text-light);
}

.venue-info p:first-child {
    margin-bottom: 0.4rem;
}

.registration-info {
    margin-top: 0.5rem;
}

.reg-item {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.reg-item:last-child {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.reg-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.reg-item span {
    color: var(--text-light);
    font-size: 0.8rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.card-link:hover {
    color: var(--accent-color);
    gap: 0.75rem;
}

.card-button {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.card-button:hover {
    background: var(--accent-color);
}

/* ==================== NEWS SECTION ==================== */
.news-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-light);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-base);
}

.news-card:hover .news-image img {
    opacity: 0.9;
}

.news-content {
    padding: var(--spacing-md);
}

.news-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.news-date i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.news-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== COUNTDOWN ==================== */
.countdown-section {
    padding: var(--spacing-xl) 0;
    background: url('../images/vecteezy_abstract-molecular-structure-and-wave-flow-background_34795596.jpg') center/cover;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(26,26,26,0.8) 100%);
    z-index: 1;
}

.countdown-section .container {
    position: relative;
    z-index: 2;
}

.countdown-section h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 20px;
    min-width: 140px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.countdown-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 1rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 2rem 0;
    background: white;
}

.about-content-grid {
    display: block;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
    max-width: 100%;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(220, 20, 60, 0.95);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.about-badge i {
    font-size: 2rem;
}

.about-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.about-content {
    max-width: 100%;
}

.about-content p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: var(--text-color);
}

.about-content h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.framework-list {
    list-style: none;
    margin: var(--spacing-sm) 0;
}

.framework-list li {
    padding: 1.5rem;
    margin-bottom: var(--spacing-sm);
    background-color: white;
    border-left: 5px solid var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.framework-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border-left-color: var(--secondary-color);
}

.framework-list strong {
    color: var(--primary-color);
}

/* ==================== PUBLICATIONS SECTION ==================== */
.publications-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: #000000;
    overflow: hidden;
}

.publications-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.publications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(26,26,26,0.92) 100%);
    z-index: 1;
}

.publications-section .container {
    position: relative;
    z-index: 2;
}

.publications-section .section-title {
    color: white;
}

.publications-section .section-title::after {
    background: var(--secondary-color);
}

.publications-content {
    max-width: 900px;
    margin: 0 auto;
}

.publications-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
}

.publications-content strong {
    color: var(--secondary-color);
}

.publications-content p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.publications-dates {
    list-style: none;
    margin-top: var(--spacing-md);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.publications-dates li {
    padding: 0.5rem 0;
}

.publications-dates strong {
    color: var(--primary-color);
}

/* ==================== TOPICS SECTION ==================== */
.topics-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.topic-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid transparent;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.topic-card:hover::before {
    transform: scaleX(1);
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.topic-number {
    position: absolute;
    top: -10px;
    right: 2rem;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(220, 20, 60, 0.08);
    line-height: 1;
}

.topic-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

.topic-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.topic-subtopics {
    list-style: none;
    margin-top: var(--spacing-sm);
}

.topic-subtopics li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.9rem;
}

.topic-subtopics li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.topics-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 1.125rem 3rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* ==================== FOOTER ==================== */
.main-footer {
    background-color: var(--dark-color);
    color: white;
}

.footer-content {
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-date {
    color: var(--secondary-color) !important;
    font-size: 1.1rem !important;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: white;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-sm) 0;
    text-align: center;
}

.footer-bottom-content {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-bottom-content p {
    margin: 0.25rem 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: var(--spacing-sm);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-caption {
        font-size: 1.25rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav.prev {
        left: 1rem;
    }
    
    .slider-nav.next {
        right: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 2rem;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .about-image {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .about-img {
        height: 300px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-caption {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: var(--spacing-sm);
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        margin-top: -80px;
    }
    
    
    .news-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        margin-top: -60px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .card-icon {
        margin: 0 0 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .header-top-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-contact span {
        display: block;
        margin: 0.25rem 0;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .countdown {
        gap: var(--spacing-sm);
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
}

