:root {
    --primary-color: #0071c5;
    --secondary-color: #004c8c;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --background: #f5f7fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

/* Header */
.header {
    background: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container h1 {
    color: var(--white);
    font-size: 1.5rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section with Carousel */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 0; /* Removed spacing */
}


.carousel {
    height: 100%;
    width: 300%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 45%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&q=80&w=2000');
}

.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1531403009284-440f080d1e12?auto=format&fit=crop&q=80&w=2000');
}

.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&q=80&w=2000');
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.carousel-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.carousel-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.carousel-content.active h2,
.carousel-content.active p {
    opacity: 1;
    transform: translateY(0);
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.carousel-arrow {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

.carousel-content.active .cta-button {
    opacity: 1;
    transform: translateY(0);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Features */
.features-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    flex: 1 1 280px;
    max-width: 320px;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Help */
.help-section {
    padding: 5rem 2rem;
    background: var(--background);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    grid-auto-flow: dense;
    align-items: stretch;
}

.help-card {
    background: #0071c5;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

.help-card:nth-child(3n) {
    align-self: end;
}

.help-card:hover {
    transform: translateY(-5px);
}

.help-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Blog */
.blog-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: #FAFAFA;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.blog-card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Contact */
.contact-section {
    padding: 5rem 2rem;
    background: var(--background);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--secondary-color);
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between logo and title */
}

.logo {
    height: 60px; /* Adjust as needed */
    width: auto;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Community */
.community-section {
    padding: 80px 0;
    background: #0071c5;
    color: white;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
}

.community-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.community-text h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.community-text p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.community-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.community-benefits li {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.community-benefits i {
    margin-right: 15px;
    font-size: 1.2em;
}

.join-button {
    background: white;
    color: #4f46e5;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.join-button:hover {
    transform: translateY(-2px);
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-card i {
    font-size: 2em;
    margin-bottom: 10px;
}

.stat-card h4 {
    font-size: 1.8em;
    margin: 10px 0;
}

.stat-card p {
    opacity: 0.9;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .community-content {
        grid-template-columns: 1fr;
    }

    .community-stats {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .carousel-content h2 {
        font-size: 2.2rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--primary-color);
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        padding: 1rem 2rem;
    }

    .nav-links.active {
        display: flex;
    }
}
