/* Base styles */
:root {
    --primary-color: #2A9D8F;
    --secondary-color: #264653;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --pill-radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 80px; 
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    display: flex;           /* Align logo and text in a row */
    align-items: center;     /* Vertically center both */
    gap: 0.75rem;            /* Space between logo and text */
    font-size: 1.8rem;       /* Increase text size to match a bigger logo */
    font-weight: bold;
    color: var(--primary-color);
}

.nav-logo a {
    color: var(--primary-color);  /* or any color you had before */
    text-decoration: none;        /* remove underline */
    display: flex;           /* Align logo and text in a row */
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    gap: 0.75rem;
  }
  .nav-logo a:hover {
    text-decoration: none;        /* keep it underline-free on hover */
    color: var(--primary-color);  /* or a hover color if you like */
  }
  

.logo-img {
    width: 80px;   /* Make the logo bigger */
    height: auto;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    color: var(--text-color) !important;
}

.nav-cta:hover {
    color: var(--primary-color) !important;
}


/* Hero Section */
.hero {
    padding: 8rem 5% 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e0f2f1 100%);
    padding-top: 8rem;
}

.hero h1 {
    font-size: 6rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--pill-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
    display: inline-block;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
}

.hero-buttons .btn:first-child {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3DB5A6 100%);
    color: white;
    border: none;
}

.hero-buttons .btn:last-child {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.hero-buttons .btn:last-child:hover {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.hero-buttons .btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.2);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 6rem 5%;
    text-align: center;
    background: var(--white);
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Carousel Container */
.carousel-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.slide {
    flex: 0 0 calc(33.333% - 1.33rem);
    display: flex;
    justify-content: center;
}

.feature-card {
    width: 100%;
    max-width: 400px;
    height: 320px;
    perspective: 1000px;
    margin: 0 auto;
    border: 2px solid var(--primary-color);
    border-radius: var(--pill-radius);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--pill-radius);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-front {
    background: var(--white);
}

.card-back {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
}

/* FAQ Section */
.faq {
    padding: 6rem 5%;
    background: var(--light-gray);
    text-align: center;
}

.faq-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.faq-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #666;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: #fff;
    border-radius: var(--pill-radius);
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    padding: 1.2rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.faq-answer {
    display: none;
    padding: 1.2rem 2rem;
    line-height: 1.6;
    color: #666;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-question:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.faq-answer {
    display: none;
    padding: 1.2rem 2rem;
    margin-top: 0.75rem;
    background: var(--white);
    border-radius: var(--pill-radius);
    color: #666;
    line-height: 1.6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question.active+.faq-answer {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 5%;
    background: white;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    display: block;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin: 1rem 0;
    font-size: 1.1rem;
}

.testimonial-card h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.testimonial-card .title {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-rating {
    display: inline-block;
    color: #f5c518;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--pill-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
    display: block;
    margin: 2rem auto 0;
    width: fit-content;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
}

.contact-form .btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.2);
    transform: translateY(-2px);
}

.success-message {
    text-align: center;
    padding: 3rem;
  }
  .success-message h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
  }
  .success-message p {
    font-size: 1.1rem;
    color: var(--text-color);
  }

/* Container for the about section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 6rem 5%;
    background-color: #f8f9fa;
}

.about-left {
    flex: 1;
    min-width: 300px;
}

.about-left h2 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.about-left p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.2rem;
}

.about-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-right h2 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.about-right p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #555;
}

.vision {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mission {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tagline {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1rem;
    color: #666;
}

.features h2,
.testimonials h2,
.faq h2,
.contact h2 {
    margin-bottom: 1rem;
}

.faq-ask {
    text-align: center;
    margin-top: 2rem;
}

.ask-question-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--pill-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
    display: inline-block;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
}

.ask-question-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.2);
    transform: translateY(-2px);
}

.ask-question-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    max-width: 600px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

#askQuestionForm .form-group {
    margin-bottom: 1.5rem;
}

#askQuestionForm label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

#askQuestionForm textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#askQuestionForm textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

#askQuestionForm button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3DB5A6 100%);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#askQuestionForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 157, 143, 0.2);
}

.menu-toggle {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--text-color);
}

/* Hero Animation Styles */
.animate-hero {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.highlight {
    position: relative;
    color: var(--primary-color);
    display: inline-block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add hover effect to cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Add hover effect to testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

/* Add animation to form inputs */
.form-group input,
.form-group textarea {
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features h2,
    .about-section h2,
    .faq-title,
    .testimonials h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .about-left h2 {
        font-size: 1.8rem;
    }

    .about-right h2 {
        font-size: 1.3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .slide {
        flex: 0 0 100%;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        min-width: 180px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 5%;
        flex-direction: column;
        background: var(--white);
        gap: 1rem;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        color: var(--text-color);
    }

    .carousel-container {
        padding: 0;
    }

    .slides {
        gap: 0;
    }

    .carousel-nav {
        width: 29px;
        height: 32px;
        font-size: 0.9rem;
    }

    .tagline,
    .faq-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .slide {
        flex: 0 0 100%;
    }

    .about-left p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }
}

@media (prefers-color-scheme: dark) {
    .faq {
        background: var(--light-gray) !important;
    }
}



/* Video Section - Updated */
.video-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e0f2f1 100%);
    margin-top: -1px; /* Removes any gap between sections */
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.video-item {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.video-item:nth-child(even) {
    flex-direction: row-reverse;
}

.video-wrapper {
    width: 100%;
    padding-bottom: 25%; 
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-content {
    flex: 0 0 45%;
}

.video-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.video-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .video-item {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .video-wrapper {
        flex: 0 0 100%;
        padding-bottom: 56.25%;
    }

    .video-content {
        flex: 0 0 100%;
        text-align: center;
    }
}

