@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300;400;600;700;900&display=swap');

:root {
    --primary-blue: #3A6FB2;
    --secondary-blue: #5698D2;
    --dark-charcoal: #1A1B1D;
    --light-grey: #F6F6F6;
    --white: #FFFFFF;
    --text-grey: #666666;
    --accent-green: #25D366;
    --gradient-blue: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Darker Grotesque', sans-serif;
    color: var(--dark-charcoal);
    background-color: var(--white);
    line-height: 1.4;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.2rem;
    color: var(--text-grey);
    font-weight: 500;
}

/* Header */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--gradient-blue);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: url('assets/hero_bg.png') no-repeat center center/cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 27, 29, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 2rem;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s ease-out;
}

.bio-pau {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    animation: fadeInUp 1.4s ease-out;
}

.bio-pau h3 {
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.bio-pau p {
    font-size: 1.1rem;
    color: var(--white);
}

/* Program Modules */
.modules-section {
    padding: 5rem 5%;
    background-color: var(--light-grey);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-blue);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.module-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border-top: 5px solid var(--primary-blue);
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(58, 111, 178, 0.15);
}

.module-card .duration {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-weight: 900;
    font-size: 0.9rem;
    display: inline-block;
    border-bottom-right-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.module-content {
    padding: 2rem;
    position: relative;
    flex-grow: 1;
}

.module-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
}

.module-card p {
    font-size: 1.1rem;
}

/* Call to Action */
.cta-section {
    padding: 5rem 5%;
    text-align: center;
    background: var(--dark-charcoal);
    color: var(--white);
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-blue);
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    transition: transform 0.3s, background 0.3s;
    margin-top: 2rem;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.4rem;
    }

    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav {
        margin-top: 1rem;
    }

    nav a {
        margin: 0 0.5rem;
        font-size: 0.9rem;
    }
}