:root {
    --primary-color: #000000;
    /* Black */
    --secondary-color: #333333;
    /* Dark Grey */
    --accent-color: #666666;
    /* Medium Grey */
    --bg-light: #FFFFFF;
    --text-dark: #000000;
    --text-muted: #666666;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

/* Glassmorphism Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

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

.cta-webmail {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    /* More formal square-ish corner */
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--primary-color);
}

.cta-webmail:hover {
    background: transparent;
    color: var(--primary-color) !important;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Styling */
section {
    padding: 120px 5% 100px;
}

section:nth-child(even) {
    background: #f9f9f9;
}

.logo img {
    filter: grayscale(100%) contrast(1.2);
    transition: var(--transition-smooth);
}

.logo:hover img {
    filter: grayscale(0%) contrast(1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simplification for now, would add a drawer later */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 80px 5% 60px;
    }
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient to blur/fade the images: radial and linear for depth */
    background:
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 70%, #000 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 40%, transparent 60%, #000 100%);
    backdrop-filter: blur(2px);
    /* Subtle blur as requested */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-symbol {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    /* Ensure it's white/silver for the formal look */
    opacity: 0.9;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    z-index: 1;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 40px 10%;
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#webmail .cta-webmail {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

/* Cards */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* News Cards */
.news-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.news-card:hover .news-image {
    filter: grayscale(0%);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.read-more:hover {
    letter-spacing: 1px;
}

/* Aesthetic Enhancements */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 150px 5% !important;
    overflow: hidden;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.relative-content {
    position: relative;
    z-index: 1;
}

.parallax-section h2::after {
    background: var(--white) !important;
}

/* Modern Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-aos].active {
    opacity: 1;
    transform: translateY(0);
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}