:root {
    --primary-color: #003F87;
    --secondary-color: #FFB617;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --light-gray: #F5F5F5;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Base styles */
p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.language-selector {
    margin-left: 2rem;
    display: flex;
    gap: 0.5rem;
}

.language-selector a {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.language-selector a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Mobile Menu Styles */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
}

.menu-icon::before {
    transform: translateY(-8px);
}

.menu-icon::after {
    transform: translateY(8px);
}

.mobile-menu-button.active .menu-icon {
    background-color: transparent;
}

.mobile-menu-button.active .menu-icon::before {
    transform: translateY(0) rotate(45deg);
}

.mobile-menu-button.active .menu-icon::after {
    transform: translateY(0) rotate(-45deg);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 120px 0 60px; /* Base padding for mobile */
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100vh; /* Full viewport height */
    min-height: 500px; /* Minimum height on smaller screens */
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 63, 135, 0.8); /* Primary color with opacity */
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
    margin-bottom: clamp(0.5rem, 2vh, 1rem);
    line-height: 1.2;
}

.hero h2 {
    font-size: clamp(1rem, 3vw, 1.5rem); /* Responsive font size */
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    padding: 0 10px;
}

/* Media Queries for Hero Section */
@media (min-width: 768px) {
    .hero {
        padding: 160px 0 80px;
    }
}

@media (min-width: 1024px) {
    .hero {
        background-attachment: fixed; /* Parallax effect only on desktop */
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.about {
    background-color: var(--light-gray);
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
}

.experience-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.experience-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Social Links Styles */
.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.social-links i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.1);
}

/* Footer Styles */
footer {
    padding: 2rem 0;
    background-color: var(--background-color);
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.25rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .language-selector {
        margin: 1rem 0;
    }
}

/* About Page Styles */
.about-page {
    padding: 80px 0;
    background-color: var(--background-color);
}

.about-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.about-content ul li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-content ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--background-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-button {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-button.accept {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.cookie-button.accept:hover {
    background-color: #002d63;
}

.cookie-button.decline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

.cookie-button.decline:hover {
    background-color: var(--light-gray);
}

@media (max-width: 768px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner p {
        margin-bottom: 1rem;
    }
}

/* Policy Pages */
.policy-page {
    padding: 120px 0 60px;
    background-color: var(--background-color);
}

.policy-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.policy-section h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .policy-page {
        padding: 100px 0 40px;
    }

    .policy-page h1 {
        font-size: 2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.2rem;
    }
}
