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

:root {
    --canova-red: #C41E3A;
    --canova-yellow: #FFEB00;
    --canova-white: #FFFFFF;
    --text-dark: #2B2D42;
    --text-light: #8D99AE;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: var(--canova-white);
    color: var(--text-dark);
}

body.page-loading .home-navbar {
    opacity: 0;
}

body.page-loaded .home-navbar {
    animation: navbarFadeIn 0.6s ease forwards;
}

body.page-loading .home-content,
body.page-loading .home-graphic {
    opacity: 0;
    transform: translateY(40px);
}

body.page-loaded .home-content {
    animation: slideUpFadeIn 0.8s ease 0.2s forwards;
}

body.page-loaded .home-graphic {
    animation: slideUpFadeIn 0.8s ease 0.3s forwards;
}

@keyframes navbarFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Section */
.home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #FFF8F8 0%, #FFFEF8 100%);
}

/* Home Navbar */
.home-navbar {
    width: 100%;
    background: var(--canova-red);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.navbar-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-left: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--canova-yellow);
    transition: width 0.3s ease;
}

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

/* Language Selector */
.language-selector select {
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 25px;
    background: transparent;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.language-selector select:hover {
    background: white;
    color: var(--canova-red);
}

.language-selector select:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.home-graphic {
    width: 100%;
    max-width: 1200px;
    background-image: url('images/Canova Grad.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 4rem 2rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(196, 30, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    margin-top: 6rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-graphic:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2), 0 15px 40px rgba(196, 30, 58, 0.15);
}

.home-graphic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 220, 220, 0.55);
    border-radius: 20px;
    z-index: 1;
}

.home-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    max-width: 800px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(196, 30, 58, 0.08);
}

.home-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--canova-red);
    margin-bottom: 1rem;
}

.home-subtitle {
    font-size: 2.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.home-description {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.home-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.home-btn {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    border: 2px solid var(--canova-red);
    background: var(--canova-white);
    color: var(--canova-red);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.home-btn:hover {
    background: var(--canova-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

/* Vision and Mission Section */
.vision-mission {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.04), rgba(255, 235, 0, 0.04));
    position: relative;
}

.vision-content {
    text-align: center;
    max-width: 900px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.vision-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.vision-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--canova-red);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.vision-description {
    font-size: 1.6rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.vision-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    background: var(--canova-red);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vision-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(196, 30, 58, 0.4), 0 8px 20px rgba(0, 0, 0, 0.2);
    background: #A01828;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F0 100%);
}

.services-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--canova-red);
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(196, 30, 58, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(196, 30, 58, 0.1);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.4s;
}

.service-icon {
    color: var(--canova-red);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-name {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--canova-red);
    margin-bottom: 1.5rem;
}

.service-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    text-align: left;
}

.service-description strong {
    color: var(--canova-red);
    font-weight: 600;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 235, 0, 0.05), rgba(196, 30, 58, 0.03));
}

.about-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--canova-red);
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(196, 30, 58, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 15px 40px rgba(196, 30, 58, 0.18);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-subtitle {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--canova-red);
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.9;
    text-align: left;
}

/* Mentee Sign-up Section */
.mentee-signup {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #FFFBF5 0%, #FFF5F5 100%);
}

.mentee-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mentee-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.mentee-text {
    text-align: left;
}

.mentee-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--canova-red);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.mentee-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.mentee-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    background: var(--canova-red);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.mentee-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 30, 58, 0.4);
    background: #A01828;
}

.mentee-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(196, 30, 58, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentee-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 15px 40px rgba(196, 30, 58, 0.18);
}

.mentee-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mentor Sign-up Section */
.mentor-signup {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.02), rgba(255, 255, 255, 0.95));
}

.mentor-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mentor-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.mentor-text {
    text-align: left;
}

.mentor-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--canova-red);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.mentor-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.mentor-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    background: var(--canova-red);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.mentor-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 30, 58, 0.4);
    background: #A01828;
}

.mentor-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(196, 30, 58, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentor-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 15px 40px rgba(196, 30, 58, 0.18);
}

.mentor-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Team Section */
.team {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFEF8 100%);
}

.team-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--canova-red);
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-title.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.team-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-row-centered {
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.team-member {
    text-align: center;
    flex: 0 0 auto;
    width: 220px;
}

.team-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--canova-red), var(--canova-yellow));
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.team-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.3);
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.member-position {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.member-credentials {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
}

/* Section Divider */
.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--canova-red), transparent);
    opacity: 0.3;
}

/* Volunteer Advisors Section */
.advisors {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 235, 0, 0.03), rgba(196, 30, 58, 0.02));
}

.advisors-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--canova-red);
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.advisors-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.advisors-container {
    max-width: 1400px;
    margin: 0 auto;
}

.advisors-container .team-row {
    justify-content: space-evenly;
    flex-wrap: nowrap;
    gap: 2rem;
}

.advisors-container .team-member {
    max-width: 320px;
}

.advisors-container .member-position {
    max-width: 300px;
    margin: 0 auto 0.3rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: var(--canova-red);
    padding: 3rem 2rem;
    color: white;
}

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

.footer-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-icon {
    color: white;
    flex-shrink: 0;
}

.footer-item a {
    color: white;
    text-decoration: underline;
    font-size: 1.1rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-item a:hover {
    opacity: 0.8;
}

.footer-copyright {
    text-align: right;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
    margin: 0;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .nav-container {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .language-selector {
        margin-top: 0.5rem;
    }
    
    .home-title {
        font-size: 2.5rem;
    }
    
    .home-subtitle {
        font-size: 1.3rem;
    }
    
    .home-description {
        font-size: 1rem;
    }
    
    .home-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .home-btn {
        width: 100%;
    }
    
    .home-content {
        padding: 2rem 1.5rem;
    }
    
    .vision-title {
        font-size: 2.2rem;
    }
    
    .vision-description {
        font-size: 1.1rem;
    }
    
    .vision-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-name {
        font-size: 1.6rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.8rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .mentee-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mentee-title {
        font-size: 2.2rem;
    }
    
    .mentee-subtitle {
        font-size: 1.1rem;
    }
    
    .mentee-btn {
        width: 100%;
    }
    
    .mentor-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mentor-title {
        font-size: 2.2rem;
    }
    
    .mentor-subtitle {
        font-size: 1.1rem;
    }
    
    .mentor-btn {
        width: 100%;
    }
    
    .team-title {
        font-size: 2.5rem;
    }
    
    .team-row {
        gap: 2rem;
    }

    .team-container .team-row {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

    .team-container .team-member {
        width: 100%;
        max-width: 320px;
    }
    
    .team-circle {
        width: 150px;
        height: 150px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-position {
        font-size: 1rem;
    }
    
    .member-credentials {
        font-size: 0.9rem;
    }
    
    .advisors-title {
        font-size: 2.5rem;
    }
    
    .advisors-container .team-row {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }
    
    .advisors-container .team-member {
        max-width: 100%;
        width: 100%;
    }
    
    .advisors-container .member-position {
        max-width: 100%;
    }
    
    .footer-title {
        font-size: 2rem;
    }
    
    .footer-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-item a {
        font-size: 0.95rem;
        word-break: break-all;
    }
    
    .footer-copyright {
        text-align: center;
    }
}
