/* ==========================================================================
   DESIGN SYSTEM & CORE STYLES - ΕΛΠΙΔΑ MODEL UNITED NATIONS (Ελπίδα MUN)
   Light Theme - Classic Academic Prestige & Diplomatic Elegance
   ========================================================================== */

/* 1. Global Reset & Custom Properties */
@font-face {
    font-family: 'Etna';
    src: url('assets/fonts/Etna-Regular.woff2') format('woff2'),
         url('assets/fonts/Etna-Regular.woff') format('woff'),
         url('assets/fonts/Etna-Regular.otf') format('opentype'),
         url('assets/fonts/Etna-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color Palette - Elegant Light Theme */
    --bg-primary: #ffffff;       /* Pure clean white */
    --bg-secondary: #f8fafc;     /* Ice slate tint for structural separations */
    --bg-tertiary: #f1f5f9;      /* Light gray borders and dividers */
    
    --card-bg: #ffffff;          /* White card backgrounds */
    --card-bg-hover: #ffffff;
    
    /* Brand Accents - Extracted from official logo & PDF */
    --accent-blue: #4ba7ed;      /* Diplomatic sky blue from logo */
    --accent-blue-dark: #1e3a8a; /* Deep royal blue for high-contrast text and branding */
    --accent-blue-glow: rgba(75, 167, 237, 0.15);
    
    --accent-gold: #4BA7ED;      /* Darker prestige gold for high-contrast on white */
    --accent-gold-glow: rgba(0, 45, 255, 0.8);
    
    /* Typography Colors */
    --text-primary: #0f172a;     /* Slate dark charcoal for maximum readability */
    --text-secondary: #475569;   /* Slate medium gray for subheadings and body */
    --text-muted: #64748b;       /* Cool gray for copyright and labels */
    
    /* Aesthetic Tokens */
    --border-color: rgba(15, 23, 42, 0.08); /* Clean thin border */
    --border-color-glow: rgba(75, 167, 237, 0.3);
    --glass-blur: blur(12px);
    --glass-border: 1px solid rgba(15, 23, 42, 0.08);
    --glass-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Layout Tokens */
    --container-max-width: 1280px;
    --pillar-width: 270px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
}

/* 2. Typography Styles */
h1, h2, h3, h4, .nav-brand, .tier-title {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-blue-dark); /* Breathtaking royal blue headers */
}

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

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

/* ==========================================================================
   AMBIENT BACKGROUND DECORATIONS
   ========================================================================== */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -10;
    pointer-events: none;
    opacity: 0.06; /* Lowered opacity for soft clean background */
    mix-blend-mode: multiply;
}


.bg-glow-1 {
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.bg-glow-2 {
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

.bg-glow-3 {
    background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    opacity: 0.03;
}

@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Subtle Mouse-Tracking Glow Mesh */
.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(75, 167, 237, 0.45) 0%, rgba(75, 167, 237, 0.18) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3; /* Floating above section backgrounds & pillars (z-index 2), but behind text/cards content (z-index 10) */
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* ==========================================================================
   HEADER & STICKY NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--bg-tertiary);
    transition: var(--transition-smooth);
}

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

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

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-blue-dark);
    background: linear-gradient(135deg, var(--accent-blue-dark) 40%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition-smooth);
}

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

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION & CLASSICAL PILLARS
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem 5rem 2rem;
    position: relative;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.hero-container {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Classical Pillar Design - Absolute background on the left and right, repeating down the page */
.site-pillar {
    display: none; /* Hide by default to prevent overlap on smaller viewports */
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--pillar-width); /* Dynamic width mapping */
    opacity: 0.12; /* Subtle background watermark opacity so it sits behind text beautifully */
    z-index: 2;   /* Sits above section backgrounds, but behind section content */
    transition: var(--transition-smooth);
    pointer-events: none;
    background-image: url('assets/pillar.png');
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: center top;
}

.pillar-left {
    left: calc(50% - (var(--container-max-width) / 2) - var(--pillar-width));
}

.pillar-right {
    right: calc(50% - (var(--container-max-width) / 2) - var(--pillar-width));
}

/* "Coming Soon" Badge */
.coming-soon-badge-wrapper {
    margin-bottom: 1.5rem;
}

.coming-soon-badge {
    background: rgba(75, 167, 237, 0.06);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px var(--accent-blue-glow);
    animation: pulseBadge 3s infinite ease-in-out;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent-blue);
    animation: flashDot 1.5s infinite ease-in-out;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px var(--accent-blue-glow); }
    50% { transform: scale(1.03); box-shadow: 0 6px 25px rgba(75, 167, 237, 0.4); }
}

@keyframes flashDot {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Hero Typography */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.title-greek {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-blue-dark) 40%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.08em;
}

.logo-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0; 
    width: 100%;
}

.hero-center-logo {
    max-height: 350px; /* Adjusted slightly to fit standard heights without CTA overlap */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(75, 167, 237, 0.25));
    animation: floatLogo 6s infinite ease-in-out;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.title-sub {
    font-family: 'Etna', 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 2.25rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Button UI system */
.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--accent-blue-dark);
    color: var(--bg-primary);
    border: 1px solid var(--accent-blue-dark);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-blue-dark);
    box-shadow: 0 4px 25px rgba(30, 58, 138, 0.1);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--bg-tertiary);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-blue);
    color: var(--accent-blue-dark);
    transform: translateY(-3px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #0762f5 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(178, 138, 26, 0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #0762f5 0%, var(--accent-gold) 100%);
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(178, 138, 26, 0.45);
    transform: translateY(-3px);
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition-smooth);
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translate(-50%, 3px);
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnim 1.6s infinite ease-in-out;
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

@keyframes scrollWheelAnim {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Animation triggers on page load */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards ease-out 0.2s;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.animate-slide-up-delayed {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.animate-slide-up-more {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SECTIONS GLOBAL CONFIGURATION
   ========================================================================== */
section {
    padding: 7rem 2rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.section-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    color: var(--accent-blue-dark);
}

.gold-separator {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin-bottom: 2rem;
}

.gold-separator.centered {
    margin: 0 auto 2rem auto;
}

/* ==========================================================================
   MISSION STATEMENT SECTION
   ========================================================================== */
.mission-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
    border-bottom: 1px solid var(--bg-tertiary);
}

.mission-heading-col .section-title {
    font-family: 'Etna', 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

.mission-heading-col {
    position: sticky;
    top: 7rem;
}

.mission-content-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-lead {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 1rem;
}

.mission-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 400;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.value-item {
    background: var(--card-bg);
    border: var(--glass-border);
    padding: 1.75rem 1.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 25px rgba(75, 167, 237, 0.1);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-blue-dark);
    margin-bottom: 0.5rem;
    letter-spacing: normal;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   EXECUTIVE BOARD SECTION
   ========================================================================== */
.board-section {
    background-color: var(--bg-primary);
}

.board-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 5rem auto;
}

.board-header .section-title {
    font-family: 'Etna', 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.board-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
}

/* Board Tiers */
.board-tier {
    margin-bottom: 6rem;
}

.board-tier:last-child {
    margin-bottom: 0;
}

.tier-title {
    font-family: 'Etna', 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue-dark);
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.tier-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-blue);
}

/* Grid Layouts for Symmetrical Columns */
.board-grid {
    display: grid;
    gap: 3rem;
    justify-content: center;
}

/* Secretary General Featured Layout */
.sg-row {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Secretariat Grid (Row of 3) */
.grid-secretariat {
    grid-template-columns: repeat(3, minmax(250px, 320px));
}

/* Managers Grid (Row of 2) */
.grid-managers {
    grid-template-columns: repeat(2, minmax(250px, 320px));
}

/* Departments Grid (Flexible responsive 3/4 columns) */
.grid-departments {
    grid-template-columns: repeat(auto-fill, minmax(260px, 290px));
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   INDIVIDUAL PROFILE CARDS STRUCTURE
   --------------------------------------------------------------------------
   Strict Vertical Layout Sequence:
   Top: [Position Name] (Uppercase, accented, smaller label font)
   Middle: [High-Resolution Photograph] (Bordered/Subtly Shadowed box)
   Bottom: [Full Name of the Person] (Bold typography)
   ========================================================================== */
.board-card {
    background: var(--card-bg);
    border: var(--glass-border);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    padding: 1.75rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* 1. TOP: Position Name */
.card-position {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* 2. MIDDLE: Photograph Container Frame */
.card-image-box {
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    background-color: var(--bg-secondary);
    position: relative;
    transition: var(--transition-smooth);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. BOTTOM: Full Name */
.card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-blue-dark);
    letter-spacing: -0.01em;
    margin-top: 0.25rem;
    transition: var(--transition-fast);
}

/* SPECIAL CARD: Featured Secretary General Styling */
.board-card.featured {
    max-width: 360px;
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(75, 167, 237, 0.08);
}

.board-card.featured .card-position {
    color: var(--accent-blue-dark);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-weight: 800;
}

.board-card.featured .card-image-box {
    border-color: rgba(75, 167, 237, 0.2);
}

.board-card.featured .card-name {
    font-size: 1.35rem;
}

/* INTERACTIVE CARD HOVER STATES */
.board-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 30px rgba(75, 167, 237, 0.12);
}

.board-card:hover .card-image-box {
    border-color: var(--accent-blue);
    box-shadow: 0 8px 24px rgba(75, 167, 237, 0.15);
}

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

.board-card:hover .card-name {
    color: var(--accent-gold);
}

/* Custom glow effect on featured card hover */
.board-card.featured:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(178, 138, 26, 0.15);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
    padding: 5rem 2rem 2rem 2rem;
    position: relative;
    z-index: 5; /* Layer above the absolute background pillars (z-index: 2) so they stop cleanly at the footer boundary */
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.footer-brand-col .logo-area {
    margin-bottom: 1.25rem;
}

.footer-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.footer-brand {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-blue-dark);
    letter-spacing: 0.05rem;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
    max-width: 320px;
}

.footer-links-col h4, .footer-social-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue-dark);
    margin-bottom: 1.5rem;
}

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

.footer-links-col a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.footer-links-col a:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

.footer-social-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    background-color: #ffffff;
    border: 1px solid var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.svg-social {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    border-color: var(--accent-blue);
    background-color: rgba(75, 167, 237, 0.05);
    box-shadow: 0 4px 10px rgba(75, 167, 237, 0.15);
    transform: translateY(-3px);
}

.social-icon:hover .svg-social {
    fill: var(--accent-blue);
}

.contact-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-link {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-contact-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.footer-bottom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    border-top: 1px solid var(--bg-tertiary);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.creator-credits {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: 1.25rem;
    font-weight: 500;
}

.creator-credits strong {
    color: var(--accent-blue-dark);
    font-weight: 800;
}

.btn-creator-contact {
    padding: 0.65rem 1.75rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 4px;
    background-color: transparent;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-creator-contact:hover {
    background-color: var(--accent-gold);
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(178, 138, 26, 0.35);
    transform: translateY(-3px);
}

/* ==========================================================================
   SCROLL REVEAL TRIGGERS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered card reveals */
.scroll-reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (FLUID LAYOUT CONTROL)
   ========================================================================== */

/* Wide Screen Desktop Adjustments for site-wide pillars
   Formula: viewport >= (1280px container + 2 * pillar-width + safety buffer)
   1650px = 1280 + 2*180 + 10px buffer (medium pillars)
   1850px = 1280 + 2*270 + 30px buffer (large pillars)
   Below 1650px: pillars are hidden (display: none from default) */
@media screen and (min-width: 1650px) {
    :root {
        --pillar-width: 180px;
    }
    .site-pillar {
        display: block;
    }
}

@media screen and (min-width: 1850px) {
    :root {
        --pillar-width: 270px;
    }
    .site-pillar {
        display: block;
    }
}

/* 1. Large Monitors & Desktops */
@media screen and (max-width: 1200px) {
    .title-greek { font-size: 4.8rem; }
    .hero-title { font-size: 3.2rem; }
    .hero-center-logo {
        max-height: 380px; /* Elegantly downscaled for standard laptops */
    }
    
    .grid-departments {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
    }
}

/* 2. Tablets & Small Desktops (Landscape & Portrait) */
@media screen and (max-width: 992px) {
    html { font-size: 15px; }
    
    .hero-center-logo {
        max-height: 300px; /* Downscaled for tablet sizes */
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .mission-heading-col {
        position: static;
    }
    
    .grid-secretariat {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .grid-secretariat .board-card:last-child {
        grid-column: span 2;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .grid-departments {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand-col {
        grid-column: span 2;
    }
}

/* 3. Small Tablets & Phablets */
@media screen and (max-width: 768px) {
    .main-header {
        padding: 0.5rem 0;
    }
    
    .header-container {
        padding: 0.75rem 1.5rem;
    }
    
    /* Navigation Menu Morph to Full Screen Mobile Drawer */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 2rem;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--bg-tertiary);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Hamburger Active State */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .title-greek {
        font-size: 3.8rem;
    }
    
    .hero-center-logo {
        max-height: 220px; /* Downscaled for portrait phablet displays */
    }
    
    .title-sub {
        font-size: 1.4rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
    }
    
    .grid-managers {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .contact-box {
        padding: 2.5rem 1.5rem;
    }
}

/* 4. Small Mobile Phones */
@media screen and (max-width: 480px) {
    html { font-size: 14px; }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .title-greek {
        font-size: 3.2rem;
    }
    
    .hero-center-logo {
        max-height: 150px; /* Downscaled for mobile screens */
    }
    
    .title-sub {
        font-size: 1.15rem;
    }
    
    .grid-secretariat {
        grid-template-columns: 1fr;
    }
    
    .grid-secretariat .board-card:last-child {
        grid-column: auto;
    }
    
    .grid-departments {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand-col {
        grid-column: auto;
    }
    
    section {
        padding: 5rem 1.5rem;
    }
    
    .creator-credits {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .toast-notification {
        bottom: 1.5rem;
        right: 1.5rem;
        left: 1.5rem;
        justify-content: center;
    }
}

/* ==========================================================================
   HEIGHT-BASED RESPONSIVE CONTROL (PREVENTS HERO OVERLAPPING)
   ========================================================================== */
@media screen and (max-height: 850px) {
    .hero-section {
        padding: 3rem 2rem 3rem 2rem !important;
    }
    .coming-soon-badge-wrapper {
        margin-bottom: 1rem !important;
    }
    .hero-center-logo {
        max-height: 200px !important;
    }
    .logo-divider {
        margin: 0.75rem 0 !important;
    }
    .hero-title {
        margin-bottom: 0.5rem !important;
    }
    .hero-tagline {
        margin-bottom: 1rem !important;
    }
}

@media screen and (max-height: 700px) {
    .hero-center-logo {
        max-height: 150px !important;
    }
    .logo-divider {
        margin: 0.5rem 0 !important;
    }
    .hero-tagline {
        margin-bottom: 0.75rem !important;
    }
    .scroll-indicator {
        display: none !important; /* Hide on very short screens to guarantee 100% overlap prevention */
    }
}

/* Premium Glassmorphic Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1.5px solid var(--accent-gold);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(178, 138, 26, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2000;
    transform: translateY(150%) scale(0.9);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.toast-notification.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    font-size: 1.5rem;
    animation: pulseGold 2s infinite ease-in-out;
}

.toast-content {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.toast-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@keyframes pulseGold {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px var(--accent-gold-glow)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 8px var(--accent-gold)); }
}

