:root {
    --primary: #3359a4;
    /* Navy blue from the logo */
    --primary-dark: #1e325a;
    /* Darker navy for hover states */
    --secondary: #4f81bd;
    /* Lighter blue accent color */
    --secondary-light: #d9e2f3;
    /* Very light blue for backgrounds */
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 75, 129, 0.15);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: #3a6da9;
    box-shadow: 0 10px 25px rgba(79, 129, 189, 0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-8 {
    margin-top: 2rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    /* Use viewport height instead of fixed padding */
    display: flex;
    align-items: center;
    padding: 0;
    /* Remove fixed padding */
    margin-top: 70px;
    /* Account for the fixed header height */
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(241, 236, 236, 0.5);
    /* Text shadow for better readability */
    padding: 4rem 1rem;
    Add padding to the content instead
}

.hero-description {
    color: var(--gray);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px #FFF;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    /* Adjust vertical position of the video */
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(241, 236, 236, 0.5);
    /* Semi-transparent black overlay */
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

.hero-highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary);
}

.section-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--gray);
}

.values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--secondary-light);
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary);
}

/* Features */
.features {
    padding: 5rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--secondary-light);
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--secondary-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-author .author-info h4 {
    margin-bottom: 0;
    color: var(--primary);
}

.testimonial-author .author-info p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Contact */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.contact-item h4 {
    color: var(--primary);
}

.contact-form {
    background: var(--secondary-light);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-status {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: none;
}

.form-status.success {
    background-color: rgba(52, 211, 153, 0.2);
    color: #065f46;
    border: 1px solid #34d399;
    display: block;
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.2);
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

.form-status.loading {
    display: block;
    text-align: center;
}

.form-status.loading::after {
    content: "...";
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        content: ".";
    }

    40% {
        content: "..";
    }

    60%,
    100% {
        content: "...";
    }
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d8e6;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: #a0aece;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s;
    }

    .nav-links.active {
        height: auto;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-links a {
        padding: 1rem 2rem;
        display: block;
        border-bottom: 1px solid var(--gray-light);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
    }

    /* Add this to your existing CSS in the style tag */
    .success-message {
        text-align: center;
        padding: 30px;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .success-icon {
        font-size: 60px;
        color: var(--primary);
        margin-bottom: 20px;
    }

    .success-message h3 {
        color: var(--primary);
        margin-bottom: 15px;
        font-size: 24px;
    }

    .success-message p {
        color: var(--gray);
        margin-bottom: 25px;
    }

    .success-message .btn {
        margin-top: 15px;
    }
}

.investor {
    background-color: #f7f7f7;
    padding: 40px 20px;
    text-align: center;
}

.investor a {
    display: inline-block;
    margin-top: 10px;
    background-color: #2957a4;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--light);
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 3rem auto;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 650px;
    /* Limit the height */
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
}

.slide img {
    max-height: 550px;
    /* Control the image height */
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.slide-caption {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--dark);
    font-size: 1.1rem;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background: var(--primary);
    color: white;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .slide img {
        max-height: 450px;
    }

    .slider-wrapper {
        max-height: 500px;
    }

    .slide-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .slide img {
        max-height: 350px;
    }

    .slider-wrapper {
        max-height: 400px;
    }

    .slide-caption {
        font-size: 0.9rem;
    }

    .slide-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

.app-store-badges {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-store-badges p {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.badge-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.store-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 6px 10px;
    width: 180px;
    height: 60px;
    transition: all 0.3s ease;
}

.store-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.store-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.store-badge:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .store-badge img {
        height: 40px;
    }
}