@font-face {
    font-family: 'Comfortaa';
    src: url('../assets/fonts/comfortaa-regular.woff2') format('woff2'),
        url('../assets/fonts/comfortaa-regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('../assets/fonts/comfortaa-bold.woff2') format('woff2'),
        url('../assets/fonts/comfortaa-bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

body {
    color: white;
    font-family: 'Comfortaa', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme {
    color: #1a1a2e;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf0 50%, #d4d8e8 100%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: rgba(10, 13, 24, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #5638E5;
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .navbar {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid #7c5cef;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 45px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .nav-links a {
    color: #1a1a2e;
}

.nav-links a:hover {
    color: #543fce;
}

body.light-theme .nav-links a:hover {
    color: #5638E5;
}

.nav-links a.active {
    color: #543fce;
    font-weight: bold;
}

body.light-theme .nav-links a.active {
    color: #5638E5;
}

.signup-hamburger {
    display: flex;
    align-items: center;
    gap: 30px;
}

.signup-btn {
    background-color: #0E0634;
    border: 2px solid #5638E5;
    border-radius: 7px;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

body.light-theme .signup-btn {
    background-color: #5638E5;
    border-color: #4325c2;
    color: white;
}

.signup-btn:hover {
    background-color: #5638E5;
}

body.light-theme .signup-btn:hover {
    background-color: #4325c2;
}

.hamburger {
    width: 25px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger div {
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

body.light-theme .hamburger div {
    background-color: #1a1a2e;
}

.container {
    padding: 60px 50px;
    position: relative;
    z-index: 5;
}

.title {
    font-size: 40px;
    color: white;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

body.light-theme .title {
    color: #1a1a2e;
}

.subtitle {
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 30px;
    color: white;
    transition: color 0.3s ease;
}

body.light-theme .subtitle {
    color: #1a1a2e;
}

.description {
    font-size: 18px;
    margin-top: 10px;
    max-width: 700px;
    color: white;
    line-height: 1.4;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

body.light-theme .description {
    color: #1a1a2e;
}

.projects-btn {
    margin-top: 15px;
    background-color: #0E0634;
    border: 2px solid #5638E5;
    border-radius: 7px;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.1s ease;
}

.projects-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #5638E5;
    transition: left 0.3s ease;
    z-index: -1;
}

.projects-btn:hover::before {
    left: 0;
}

.projects-btn:active {
    transform: scale(0.96);
}

.divider {
    width: 100%;
    height: 1px;
    margin-top: 70px;
    background-color: #2C2F45;
    position: relative;
    z-index: 5;
    transition: background-color 0.3s ease;
}

body.light-theme .divider {
    background-color: #d4d8e8;
}

.testimonials-section {
    text-align: center;
    padding: 40px 50px;
    position: relative;
    z-index: 5;
}

.testimonials-title {
    font-size: 36px;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

body.light-theme .testimonials-title {
    color: #1a1a2e;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: rgba(14, 15, 29, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    width: 250px;
    box-shadow: 0 0 0 transparent;
    border: 2px solid #5638E5;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

body.light-theme .testimonial-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: #7c5cef;
}

.testimonial-card:hover {
    box-shadow: 0 0 20px #5638E5;
    transform: translateY(-5px);
}

body.light-theme .testimonial-card:hover {
    box-shadow: 0 0 20px rgba(124, 92, 239, 0.3);
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

body.light-theme .testimonial-quote {
    color: #1a1a2e;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

body.light-theme .testimonial-author {
    color: #1a1a2e;
}

.main-content {
    flex: 1;
    position: relative;
    z-index: 5;
}

footer {
    background-color: rgba(10, 13, 24, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid #2C2F45;
    padding: 40px 50px;
    font-family: 'Comfortaa', sans-serif;
    color: white;
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body.light-theme footer {
    background-color: rgba(255, 255, 255, 0.9);
    border-top-color: #d4d8e8;
    color: #1a1a2e;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-section {
    margin-bottom: 20px;
    flex: 1;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #6f54f8;
    transition: color 0.3s ease;
}

body.light-theme .footer-section h3 {
    color: #5638E5;
}

.footer-section p {
    margin: 8px 0;
    line-height: 1.5;
}

.footer-section a {
    color: #5638E5;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: none;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    padding: 2px 0;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
}

body.light-theme .footer-links a {
    color: #1a1a2e;
}

.footer-links a:hover {
    color: #5638E5;
    text-decoration: none;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background-color: #1A1F36;
    margin: 20px 0;
    transition: background-color 0.3s ease;
}

body.light-theme .footer-separator {
    background-color: #d4d8e8;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #888;
    transition: color 0.3s ease;
}

body.light-theme .copyright {
    color: #6b6b7f;
}

.donate-btn {
    background-color: #5638E5;
    border: none;
    border-radius: 7px;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.donate-btn:hover {
    background-color: #4325c2;
    transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .signup-hamburger {
        flex-direction: column;
        gap: 10px;
    }

    .container {
        padding: 30px 20px;
    }

    .title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .description {
        font-size: 16px;
    }

    .projects-btn {
        font-size: 16px;
    }

    .testimonials-container {
        flex-direction: column;
        gap: 10px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        width: 100%;
    }
}