/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo img {
    width: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #6C63FF;
}

.auth-buttons a {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sign-in {
    color: #6C63FF;
}

.sign-up {
    background-color: #6C63FF;
    color: white;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    gap: 2rem;
}

.text-content {
    flex: 1;
}

.text-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.text-content h1 span {
    color: #6C63FF;
}

.text-content p {
    margin-bottom: 2rem;
    color: #555;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid #6C63FF;
}

.btn-primary {
    background-color: #6C63FF;
    color: white;
}

.btn-primary:hover {
    background-color: #574BFF;
}

.btn-secondary {
    color: #6C63FF;
}

.btn-secondary:hover {
    background-color: #6C63FF;
    color: white;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Trusted Section */
.trusted-section {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff;
}

.trusted-section h2 {
    margin-bottom: 2rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.trusted-logos img {
    height: 40px;
}

/* Stats Section */
.stats-section {
    padding: 4rem 2rem;
    text-align: center;
}

.stats-section h2 {
    margin-bottom: 2rem;
}

.stats-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.stat-card h3 {
    font-size: 2rem;
    color: #6C63FF;
    margin: 0 0 0.5rem 0;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #fff;
}

.contact-section h2 {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-form input {
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 300px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    animation: slide-down 0.3s ease-out;
}

@keyframes slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content input {
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .cta-buttons {
        justify-content: center;
    }

    .contact-form {
        flex-direction: column;
        align-items: center;
    }
}