/**
 * ARIN 2026 - Main Stylesheet
 * Modern green medical conference design with animations
 */

/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Green Color Palette */
    --primary-color: #0d9f6e;
    --primary-dark: #065f46;
    --primary-light: #34d399;
    --secondary-color: #10b981;
    --accent-color: #6ee7b7;
    --dark-color: #021a12;
    --light-color: #f0fdf4;
    --white-color: #ffffff;
    --gray-color: #6b7280;
    --border-color: #d1fae5;
    
    /* Typography */
    --font-primary: 'Inter', 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --section-padding-sm: 50px 0;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(13, 159, 110, 0.08);
    --shadow-md: 0 4px 12px rgba(13, 159, 110, 0.12);
    --shadow-lg: 0 10px 30px rgba(13, 159, 110, 0.18);
    --shadow-xl: 0 20px 50px rgba(13, 159, 110, 0.22);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 40px;
    font-weight: 400;
}

a {
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #064e3b 50%, var(--primary-color) 100%);
    color: var(--white-color);
    padding: 8px 0;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1050;
}

.top-bar a {
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition-base);
}

.top-bar a:hover {
    color: var(--accent-color);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}

.contact-info i {
    font-size: 0.85rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--white-color);
    font-size: 1rem;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.social-links a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    padding: 12px 0;
    background: linear-gradient(135deg, rgba(240, 253, 248, 0.95), rgba(230, 248, 242, 0.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 159, 110, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
}

.navbar.scrolled {
    padding: 6px 0;
    background: linear-gradient(135deg, rgba(236, 250, 245, 0.97), rgba(224, 245, 238, 0.95));
    box-shadow: 0 4px 30px rgba(6, 95, 70, 0.08);
    border-bottom-color: rgba(13, 159, 110, 0.15);
}

.navbar-brand {
    display: flex;
    align-items: center;
    transition: var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand .logo {
    height: 48px;
    width: auto;
    transition: var(--transition-base);
}

.navbar.scrolled .navbar-brand .logo {
    height: 40px;
}

.navbar-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-brand .logo-text .text-accent {
    color: var(--primary-color);
    font-weight: 800;
}

/* Custom Hamburger */
.navbar-toggler {
    border: none;
    padding: 8px;
    background: transparent;
    border-radius: 10px;
    transition: var(--transition-base);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler:hover {
    background: var(--light-color);
}

.toggler-icon {
    width: 26px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.toggler-icon span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) {
    transform: translateY(8.75px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) {
    transform: translateY(-8.75px) rotate(-45deg);
}

/* Nav Links */
.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 16px !important;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    letter-spacing: 0.2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dropdown override — remove underline on dropdown-toggles */
.nav-link.dropdown-toggle::after {
    content: none;
}

.nav-link.dropdown-toggle {
    position: relative;
}

/* Restore Bootstrap caret for dropdowns */
.nav-link.dropdown-toggle::after {
    content: '';
    display: inline-block;
    margin-left: 0.3em;
    vertical-align: 0.2em;
    border-top: 0.28em solid;
    border-right: 0.28em solid transparent;
    border-bottom: 0;
    border-left: 0.28em solid transparent;
    transition: transform 0.3s ease;
    position: static;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    transform: none;
}

.nav-item.dropdown.show .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Active indicator for dropdown parents — use a subtle bg instead of underline */
.nav-link.dropdown-toggle.active {
    background: var(--light-color);
    border-radius: 8px;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(13, 159, 110, 0.06);
    border-radius: 14px;
    padding: 8px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(13, 159, 110, 0.06);
    min-width: 220px;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 450;
    color: var(--dark-color);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    color: var(--primary-color);
    font-size: 0.95rem;
    opacity: 0.7;
    transition: all 0.25s ease;
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(4px);
    padding-left: 20px;
}

.dropdown-item:hover i {
    opacity: 1;
}

.dropdown-divider {
    margin: 4px 12px;
    border-color: var(--border-color);
}

/* Nav CTA Buttons */
.nav-cta {
    margin-left: 4px;
}

.btn-nav-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 15px rgba(13, 159, 110, 0.3);
    white-space: nowrap;
}

.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 159, 110, 0.4);
    color: #fff;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.btn-nav-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-nav-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(13, 159, 110, 0.25);
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-base);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ==================== CAROUSEL STYLES ==================== */
.carousel-item {
    height: 500px;
    position: relative;
    background: #f8f9fa;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    border-radius: 0 0 10px 10px;
}

.carousel-caption h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.95;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 0.8;
    transition: var(--transition-base);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--primary-color);
    border: 2px solid white;
    transition: var(--transition-base);
}

.carousel-indicators .active {
    transform: scale(1.2);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 95, 70, 0.85) 0%, rgba(2, 26, 18, 0.95) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white-color);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(13, 159, 110, 0.2) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 100%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.4;
}

.hero-subtheme {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
}

.hero-details {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-details i {
    margin-right: 10px;
    color: var(--accent-color);
}

.hero-cta {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 14px 35px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-primary {
    background: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--white-color);
}

.hero-cta .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(13, 159, 110, 0.4);
}

.hero-cta .btn-outline-primary {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.hero-cta .btn-outline-primary:hover {
    background: var(--white-color);
    color: var(--primary-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* ==================== COUNTDOWN TIMER ==================== */
.countdown-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 100px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 5px;
}

/* ==================== SECTIONS ==================== */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 40px;
}

/* ==================== CARDS ==================== */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    /*height: 100%;*/
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-img-top {
    border-radius: 15px 15px 0 0;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-text {
    color: var(--gray-color);
}

/* ==================== FEATURE BOXES ==================== */
.feature-box {
    text-align: center;
    padding: 35px;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.feature-box:hover::before {
    left: 100%;
}

.feature-box:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(13, 159, 110, 0.2);
    border: 2px solid var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white-color);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* ==================== CAROUSEL ==================== */
.carousel-item img {
    height: 400px;
    object-fit: contain;
    border-radius: 15px;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 20px;
}

/* ==================== FORMS ==================== */
.form-control,
.form-select {
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 159, 110, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-color);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white-color);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.social-links-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition-base);
}

.social-links-footer a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ==================== SCROLL TO TOP BUTTON ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

.slide-in-right {
    animation: slideInRight 0.8s ease;
}

/* ==================== RESPONSIVE DESIGN ==================== */
/* Large screens - dropdown hover on desktop */
@media (min-width: 992px) {
    .contact-info {
        text-align: left;
    }
    
    .top-bar .text-lg-end .social-links {
        justify-content: flex-end;
    }
    
    /* Desktop dropdown on hover */
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
    
    /* Mobile menu slide-in */
    .navbar-collapse {
        background: linear-gradient(180deg, rgba(240, 253, 248, 0.98), rgba(234, 250, 244, 0.96));
        border-radius: 0 0 20px 20px;
        padding: 16px 20px 20px;
        margin: 8px -12px 0;
        box-shadow: 0 20px 40px rgba(6, 95, 70, 0.08);
        border: 1px solid rgba(13, 159, 110, 0.12);
        border-top: none;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        border-radius: 10px;
        margin: 2px 0;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: var(--light-color);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .nav-link.dropdown-toggle.active {
        background: var(--light-color);
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: var(--light-color);
        border-radius: 12px;
        padding: 4px;
        margin: 4px 0 4px 12px;
    }
    
    .dropdown-menu.show {
        opacity: 1;
        transform: none;
    }
    
    .dropdown-item {
        font-size: 0.88rem;
        padding: 10px 14px;
    }
    
    .dropdown-item:hover {
        transform: none;
        padding-left: 18px;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .nav-cta .btn-nav-primary,
    .nav-cta .btn-nav-outline {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        border-radius: 12px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        font-size: 0.75rem;
        padding: 6px 0;
    }
    
    .top-bar .contact-info {
        font-size: 0.72rem;
    }
    
    .top-bar .social-links {
        margin-top: 5px;
    }
    
    .btn-nav-primary,
    .btn-nav-outline {
        font-size: 0.82rem;
        padding: 10px 18px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-details {
        font-size: 1rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.bg-light-blue {
    background-color: #f0f7ff;
}

.text-primary-custom {
    color: var(--primary-color);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.overlay {
    position: relative;
}

.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.overlay > * {
    position: relative;
    z-index: 2;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    padding: 60px 0;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ==================== NEWS PAGE STYLES ==================== */
.news-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.news-item {
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-meta {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.news-meta i {
    margin-right: 5px;
}

/* Archive Cards */
.archive-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* ==================== UTILITY CLASSES ==================== */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, var(--secondary-color) 100%);
}

.bg-light {
    background-color: var(--light-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ==================== ENHANCED NAVBAR GREEN THEME ==================== */
/* Navbar scroll behavior handled via JS class .scrolled — see above */
