/* Design System & Custom Variables */
:root {
    --primary-red: #d90012;
    --primary-blue: #0033a0;
    --primary-orange: #f2a900;
    --primary-orange-dark: #d97706;
    
    --bg-main: #f9fafb;
    --bg-white: #ffffff;
    --bg-accent: #f3f4f6;
    
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --text-light: #9ca3af;
    
    --font-title: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 8px -1px rgba(0, 0, 0, 0.03);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --header-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

strong {
    color: var(--text-main);
    font-weight: 600;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6.5rem 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

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

.pre-title {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.title-divider {
    width: 80px;
    height: 4px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
    border-radius: 2px;
}

/* Custom Alert Card */
.info-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border-left: 5px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.info-card.warning {
    border-left-color: var(--primary-orange);
    background-color: #fffbeb;
}

.info-card h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.info-icon {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--header-shadow);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding var(--transition-normal);
}

.main-header.scrolled .header-container {
    padding: 0.85rem 2rem;
}

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

.logo-img {
    height: 32px;
    width: auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: var(--transition-fast);
}

.logo-link:hover .logo-img {
    transform: scale(1.08);
}

.logo-text {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.05em;
    color: var(--text-main);
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-main);
}

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

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Dropdown Navigation Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--bg-white);
    min-width: 170px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
    padding: 0.75rem 0.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast) ease, transform var(--transition-fast) ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius-sm);
    display: block;
    white-space: nowrap;
    transition: var(--transition-fast);
    text-align: center;
}

.dropdown-link:hover,
.dropdown-link.active {
    background-color: var(--bg-accent);
    color: var(--primary-blue);
}

.arrow-icon {
    font-size: 0.65rem;
    margin-left: 0.25rem;
    display: inline-block;
    transition: transform var(--transition-fast);
    vertical-align: middle;
}

.dropdown:hover .arrow-icon {
    transform: rotate(180deg);
}

/* Mobile Menu Toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* Hero Section / Slider */
.hero-section {
    height: 80vh;
    min-height: 550px;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s ease-in-out, z-index 1.2s step-end;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    transition: opacity 1.2s ease-in-out, z-index 1.2s step-start;
}

.slide-content {
    max-width: 750px;
    padding: 0 4rem 0 8rem;
    color: #ffffff;
    z-index: 5;
}

/* Staggered text animation inside slide */
.slide-badge,
.slide-title,
.slide-description {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease-in-out;
}

.slide.active .slide-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.slide.active .slide-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.slide-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: rgba(217, 0, 18, 0.85); /* Red tint */
    border-radius: 40px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide:nth-child(2) .slide-badge {
    background-color: rgba(0, 51, 160, 0.85); /* Blue tint */
}
.slide:nth-child(3) .slide-badge {
    background-color: rgba(242, 169, 0, 0.85); /* Orange tint */
    color: #000;
}
.slide:nth-child(4) .slide-badge {
    background-color: rgba(0, 0, 0, 0.7);
}
.slide:nth-child(5) .slide-badge {
    background-color: rgba(16, 185, 129, 0.85); /* Green tint */
}

.slide-title {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.15;
}

.slide-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
    max-width: 650px;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

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

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
    background: #ffffff;
    width: 28px;
    border-radius: 6px;
}

/* History Formation Section */
.history-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: center;
}

.history-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.history-text p:last-child {
    margin-bottom: 0;
}

.history-stat-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.015);
    transition: var(--transition-normal);
}

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

.stat-num {
    display: block;
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-card:nth-child(2) .stat-num {
    color: var(--primary-orange-dark);
}

.stat-desc {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* State Symbols Section */
.symbols-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.symbol-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.01);
    display: flex;
    flex-direction: column;
}

.symbol-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.symbol-img-wrapper {
    background: radial-gradient(circle, #fcfcfc 0%, #f4f5f7 100%);
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.symbol-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
}

.flag-wrapper {
    background: linear-gradient(135deg, #fefefe 0%, #eaeaea 100%);
}

.flag-img {
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
}

.symbol-card:hover .symbol-img {
    transform: scale(1.06);
}

.symbol-info {
    padding: 2.5rem;
    flex-grow: 1;
}

.symbol-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.symbol-info h3::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background: var(--primary-blue);
    border-radius: 4px;
}

.symbol-card:nth-child(2) h3::before {
    background: var(--primary-orange);
}

.symbol-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.symbol-info p:last-child {
    margin-bottom: 0;
}

/* Presidents Gallery Section */
.presidents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.president-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
}

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

.pres-img-box {
    position: relative;
    width: 100%;
    height: 320px;
    background-color: var(--bg-accent);
    overflow: hidden;
}

.pres-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.president-card:hover .pres-img {
    transform: scale(1.05);
}

/* Applied unique overlay gradients or filters to separate identical portraits */
.president-color-1 { filter: brightness(0.95) contrast(1.05) sepia(0.05); }
.president-color-2 { filter: brightness(0.92) contrast(1.08) hue-rotate(10deg); }
.president-color-3 { filter: brightness(0.95) contrast(1.03) saturate(0.95) sepia(0.1); }
.president-color-4 { filter: brightness(0.98) contrast(1.02) hue-rotate(340deg); }
.president-color-5 { filter: brightness(0.9) contrast(1.1) saturate(0.9); }
.president-color-6 { filter: brightness(0.93) contrast(1.05) grayscale(0.1); }

.pres-years {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(31, 41, 55, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pres-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pres-info h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pres-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.president-card:nth-of-type(even) .pres-role {
    color: var(--primary-orange-dark);
}

.pres-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Timelines / Historical Milestones */
.milstone-section {
    border-bottom: 1px solid rgba(0,0,0,0.02);
}

.milestone-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.milestone-grid.invert {
    grid-template-columns: 0.8fr 1.2fr;
}

.milestone-grid.invert .milestone-info {
    grid-column: 2;
}

.milestone-grid.invert .milestone-visual {
    grid-column: 1;
    grid-row: 1;
}

.milestone-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--bg-accent);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 40px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#referendum-1988 .milestone-badge { background-color: #fee2e2; color: #b91c1c; border-color: #fca5a5; }
#war-1991 .milestone-badge { background-color: #f3e8ff; color: #6b21a8; border-color: #d8b4fe; }
#war-2016 .milestone-badge { background-color: #e0f2fe; color: #0369a1; border-color: #7dd3fc; }
#war-2020 .milestone-badge { background-color: #ffedd5; color: #c2410c; border-color: #fdba74; }
#blockade-2022 .milestone-badge { background-color: #f1f5f9; color: #334155; border-color: #cbd5e1; }
#war-2023 .milestone-badge { background-color: #fef2f2; color: #991b1b; border-color: #fca5a5; }

.milestone-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.milestone-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.milestone-text:last-of-type {
    margin-bottom: 0;
}

.milestone-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.large-year {
    font-family: var(--font-title);
    font-size: 10rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.035);
    position: absolute;
    user-select: none;
    z-index: 1;
    transition: var(--transition-normal);
}

.milestone-visual:hover .large-year {
    color: rgba(0, 51, 160, 0.08); /* Soft blue tint on hover */
    transform: scale(1.08);
}

/* Refugees Section styling */
.refugees-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.refugees-text-block p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.refugees-gallery-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5rem 0 0;
    color: var(--text-muted);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.footer-logo-img {
    height: 28px;
    width: auto;
}

.footer-logo-text {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 50%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-manifest {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-nav h4,
.footer-info h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-social-placeholder {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.footer-bottom {
    background-color: var(--bg-accent);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    padding: 2rem 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-notes {
    font-style: italic;
    color: var(--text-light);
}

/* Animations on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive / Media Queries */

/* Tablet Screens (Max 1024px) */
@media (max-width: 1024px) {
    .symbols-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .presidents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .history-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .history-stat-box {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stat-card {
        flex: 1;
    }
    
    .milestone-grid,
    .milestone-grid.invert {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .milestone-grid.invert .milestone-info {
        grid-column: auto;
    }

    .milestone-grid.invert .milestone-visual {
        grid-column: auto;
        grid-row: auto;
    }
    
    .milestone-visual {
        height: 200px;
    }
    
    .refugees-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobile Screens (Max 768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section {
        padding: 4.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Header / Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px; /* header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 64px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 3rem 2rem;
        transition: var(--transition-normal);
        border-top: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    /* Mobile Dropdown styles */
    .dropdown {
        text-align: center;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.5rem 0 0;
        display: none;
        flex-direction: column;
        gap: 0.8rem;
        min-width: unset;
        align-items: center;
        z-index: auto;
    }
    
    .dropdown-link {
        font-size: 1.15rem;
        padding: 0.5rem 1.5rem;
        color: var(--text-muted);
        text-align: center;
        display: block;
        width: 100%;
        transition: var(--transition-fast);
    }
    
    .dropdown-link:hover,
    .dropdown-link.active {
        color: var(--primary-blue);
        background: transparent;
    }
    
    /* Mobile slider adjustments */
    .hero-section {
        height: 70vh;
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slide-content {
        padding: 0 3.5rem;
    }
    
    .slider-arrow {
        width: 44px;
        height: 44px;
    }
    
    .slider-arrow.prev {
        left: 0.75rem;
    }
    
    .slider-arrow.next {
        right: 0.75rem;
    }
    
    /* Presidents Grid on mobile */
    .presidents-grid {
        grid-template-columns: 1fr;
    }
    
    .pres-img-box {
        height: 280px;
    }
    
    .history-stat-box {
        flex-direction: column;
    }
    
    /* Footer bottom elements stack */
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: auto;
    }
}

/* Mobile hamburger transformation active classes */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
