/* main.css */
:root {
    --primary-color: #06ffc5;
    /* Green */
    --secondary-color: #3498db;
    /* Blue */
    --text-color: #ffffff;
    --background-color: #064050;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    overflow-y: auto;
    /* Allows vertical scrolling */
}

canvas#waveCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.top-link {
    position: fixed;
    top: 20px;
    right: 30px;
}

.top-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.top-link a:hover {
    opacity: 0.8;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
}

.title-container {
    margin-bottom: 3rem;
}

.pronunciation {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.arabic {
    font-size: 6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1rem 0;
}

.tagline {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-color);
}

.button-title {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-color);
    padding-bottom: 10px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.beta-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: #353535;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
}

.fade-footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to top,
            rgb(0, 0, 0) 0%,
            rgba(3, 3, 3, 0.8) 50%,
            rgba(249, 249, 249, 0) 100%);
    position: relative;
    z-index: 1;
}

.fade-footer p {
    margin: 0.5rem 0;
}

.fade-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.fade-footer a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .arabic {
        font-size: 4rem;
    }

    .tagline {
        font-size: 1.2rem;
    }
}

/* About Page Styles */
.about-content {
    max-width: 1200px;
    width: 90%;
    margin: 5rem auto;
    padding: 2rem;
    text-align: center;
}

.about-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about-content p.intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.mission-vision {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.mission-vision .card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 45%;
    text-align: left;
}

.mission-vision .card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-vision .card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.values {
    margin-bottom: 3rem;
}

.values h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.values ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.values ul li strong {
    color: var(--primary-color);
}

.team {
    margin-bottom: 3rem;
}

.team h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-members {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.team-members .member {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 30%;
}

.team-members .member h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-members .member p {
    font-size: 1rem;
    color: var(--text-color);
}

.cta {
    margin-top: 3rem;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.cta .cta-button {
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mission-vision {
        flex-direction: column;
    }

    .mission-vision .card {
        width: 100%;
    }

    .team-members {
        flex-direction: column;
    }

    .team-members .member {
        width: 100%;
    }
}