/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary: #FF7E1D;
    --primary-dark: #D35400;
    --secondary: #9B59B6;
    --accent: #F1C40F;
    --dark: #2C3E50;
    --light: #ECF0F1;
    --white: #FFFFFF;
    --success: #27AE60;
}

body {
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: #8E44AD;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 1rem 0; */
    padding: 10px 20px;

}

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

.logo span {
    color: var(--secondary);
}

.logo-icon {
    /* margin-right: 10px;
    font-size: 2rem; */
    width: 50px;
    /* Adjust as needed */
    height: auto;
    /* Maintains aspect ratio */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FFF6E9, #FFF0F0);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('/api/placeholder/1200/800'); */
    /* background-image: url('/Aaraadhya LP/background\ 1.jpg'); */
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.822) 40%, rgba(255, 255, 255, 0.548) 70%, rgba(255, 255, 255, 0) 100%), url('../assets/images/background 1.jpg');
    background-size: cover;
    background-position: center;
    /* opacity: 0.1; */
    opacity: 01;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 50%;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 50%;
    text-align: center;
}

.hero-image img {
    max-width: 80%;
    /* animation: float 6s ease-in-out infinite; */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark);
    max-width: 90%;
}

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

/* Features Section */
.features {
    background-color: var(--white);
}

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

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
}

/* Benefits Section */
.benefits {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 126, 29, 0.1);
    z-index: 0;
}

.benefits::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(155, 89, 182, 0.1);
    z-index: 0;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    background-color: rgba(255, 126, 29, 0.1);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Why Join Section */
.why-join {
    background-color: var(--white);
}

.why-join-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.why-join-content {
    flex: 1;
}

.why-join-image {
    flex: 1;
    position: relative;
}

.why-join-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.why-join-list {
    list-style: none;
    margin-top: 2rem;
}

.why-join-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.check-icon {
    color: var(--success);
    margin-right: 10px;
    font-size: 1.25rem;
}

/* How It Works Section */
.how-it-works {
    background-color: #f8f9fa;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 25%;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step h3 {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.2rem;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.cta-input {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #8E44AD;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 2rem;
    background-color: var(--light);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.1);
    font-family: Georgia, serif;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

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

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: #666;
    font-size: 0.9rem;
}

.slider-arrows {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    padding: 1.5rem;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: #f8f9fa;
}

.accordion-content {
    background-color: var(--white);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-content-inner {
    padding: 0.5rem 0 1.5rem 0;
}

.accordion-item.active .accordion-header {
    background-color: var(--primary);
    color: var(--white);
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}

.contact-section {
    background-color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: auto;
}

.contact-container h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-details p {
    margin: 5px 0;
    font-size: 16px;
    color: #555;
}

.contact-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form textarea {
    resize: none;
    height: 100px;
}

.contact-form button {
    background-color: orange;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

.contact-form button:hover {
    background-color: darkorange;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 10px 0;
}

.error {
    color: red;
    font-size: 12px;
    display: block;
    margin-top: 5px;
    text-align: left;
}


/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 5rem 0 2rem 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Logo & Quick Links */
.footer-logo-container {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;

}

.footer-text {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-links ul {
    list-style: none;
    margin-top: 1rem;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Center Column - Legal Links */
.footer-legal {
    text-align: center;
}

.footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-legal li {
    margin-bottom: 0.8rem;
}

/* Right Column - Social Links & Contact */

.contact-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Adds spacing between icon and text */
}

.footer-contact a {
    font-weight: bold;
    /* Makes the font bold */
    color: black !important;
    /* Ensures the text color is black */
    text-decoration: none !important;
    /* Removes underline */
    font-size: 1rem;
    /* Adjusts font size */
}

.footer-contact a:hover {
    color: var(--primary) !important;
    /* Changes color on hover (Optional) */
}

.footer-contact p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-right a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-right a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
}


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

.social-icon:hover {
    background-color: var(--primary);
    color: white !important;
    /* Ensures icon turns white */

    transform: translateY(-3px);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Default styling for desktop */
.popup-container {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 350px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

/* Mobile view: Center at the bottom */
@media (max-width: 768px) {
    .popup-container {
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        right: auto;
    }
}

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

.popup-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.popup-content p {
    font-size: 14px;
    color: #666;
}

.popup-content input,
.popup-content textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.popup-content textarea {
    height: 80px;
}

.popup-content .btn-primary {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-content,
    .hero-image {
        width: 100%;
        text-align: center;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .why-join-container {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .steps-container::before {
        display: none;
    }

    .step {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .body-scroll-lock {
        overflow: hidden;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .cta-button {
        position: static;
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
    }

    .cta-input {
        padding: 1rem;
    }
}
