/* === Typography Utilities === */
.text-white {
    color: #ffffff;
}

.text-light {
    color: #e6f1ff;
}

.text-muted {
    color: #d0d9e6;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 4px;
}

.center-text {
    text-align: center;
}

.glow-text {
    text-shadow: 0 2px 10px rgba(0, 195, 255, 0.63);
}

.shadow-text {
    text-shadow: 0 0 2px #000, 10px 10px 0 black;
}

/* === Header Content === */
.header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .header h1 {
        font-weight: bold;
        font-size: 50px;
        letter-spacing: 6px;
    }

    .header h2 {
        font-size: 20px;
        margin-bottom: 0.5rem;
    }

    .header p {
        font-size: 20px;
        font-style: italic;
    }


.header-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    animation: fadeUp 1.4s ease-out forwards;
    animation-delay: 0.2s;
}

    .header-content h1 {
        font-family: 'Barlow', sans-serif;
        font-size: clamp(3rem, 8vw, 6rem);
        font-weight: 700;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        margin-bottom: 1rem;
        letter-spacing: 2px;
    }

    .header-content h2 {
        font-family: 'Barlow', sans-serif;
        font-size: clamp(1.2rem, 3vw, 2rem);
        font-weight: 400;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
        opacity: 0.9;
    }

/* === Layout & Section Styles === */

main {
    padding-top: 6rem; /* Adds spacing to the top of all main content */
}

.section {
    padding: 5rem 2rem;
    background: var(--bg-gradient);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section1 {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--bg) 0%, rgba(52, 56, 63, 0.8) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section2 {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--bg) 0%, rgba(36, 50, 75, 0.8) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-desc {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    text-align: center;
    color: var(--words-secondary);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    font-style: italic;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    color: var(--words);
    margin-bottom: 1rem;
    padding-top: 45px;
    letter-spacing: 2px;
    font-family: 'Barlow', system-ui, sans-serif;
}

.section .row h5 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .section .row h5.animated {
        opacity: 1;
        transform: translateY(0);
    }

.section-intro {
    max-width: 900px;
    margin: auto;
    margin-bottom: 3rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* === Parallax === */
.parallax {
    will-change: transform;
    transform: translateZ(0);
}

.parallax-image {
    margin: 0;
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    will-change: transform, opacity;
    transition: opacity 0.8s ease-out;
    z-index: 1;
}



/* Animation Classes */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease, transform 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* === Global === */
html {
    scroll-behavior: smooth;
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

    .cta-content h2 {
        font-size: clamp(2rem, 5vw, 3rem);
        font-weight: 700;
        color: var(--words);
        margin-bottom: 1rem;
        text-shadow: 0 2px 10px rgba(0, 209, 255, 0.4);
    }

    .cta-content p {
        font-size: 1.2rem;
        color: var(--words-secondary);
        margin-bottom: 2rem;
        line-height: 1.6;
    }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .cta-button.primary {
        background: linear-gradient(135deg, var(--accent), rgba(0, 150, 200, 0.9));
        color: var(--bg);
        border: 2px solid var(--accent);
    }

        .cta-button.primary:hover {
            background: var(--accent);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
        }

    .cta-button.secondary {
        background: transparent;
        color: var(--accent);
        border: 2px solid var(--accent);
    }

        .cta-button.secondary:hover {
            background: var(--accent);
            color: var(--bg);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
        }
