/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f0f5f9;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Header Styles */
.header {
    background: #d84040;
    color: white;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo {
    /* max-width: 150px; */
    /* margin-bottom: 20px; */
  
    height: 275px;
    width: 350px;
    top:100s;
    left:100s;
    margin-right:1000px;
     
    /* filter: drop-shadow(10px  10px 20px black); */
}

.header-content {
    position: relative;
}

/* Centered Navbar Styles */
.navbar {
    display: flex;
    justify-content: center;
    margin: 20px 250px;
    position: relative;
    background-color: transparent;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    background-color: transparent;

}

.navbar-nav .nav-item {
    margin: 0;
}

.navbar-nav .nav-link {
    color: white !important;
    font-size: 1.1rem;
    padding: 10px 20px;
    position: relative;
    transition: color 0.3s, transform 0.3s;
}

.navbar-nav .nav-link:hover {
    color: white!important;
    transform: scale(1.05);
}

/* Section Title Styles */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: #d84040;
    margin-bottom: 20px;
    position: relative;
    animation: fadeIn 1.5s ease-in-out;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #d84040;
    margin: 10px auto;
}

/* Section Styles */
section {
    padding: 40px 0;
}

/* Intro Section */
.intro, .why-choose-us, .how-it-works, .join-us {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
    animation: slideUp 1s ease-out;
}
/* Features Styles */
.features {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background: #ffffff;
    padding: 0;
    border-radius: 8px;
    text-align: center;
    width: 30%;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
    animation: cardAppear 0.6s ease-in-out;
    border: 1px solid #ddd; /* Clean border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Larger and more prominent image */
.feature-card img {
    width: 100%; /* Full width to maximize visibility */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover; /* Maintain aspect ratio without distortion */
    border-bottom: 1px solid #d84040; /* Add a divider */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-card img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.feature-card .content {
    padding: 20px;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin: 10px 0;
    color: #d84040; /* Emphasize the title */
}

.feature-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    padding: 0 10px;
}


/* Animation for cards appearing */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Steps Styles */
.steps {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.step-card {
    background:  #ffa7a7;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 30%;
    transition: transform 0.4s, box-shadow 0.4s;
    animation: cardAppear 0.6s ease-in-out;
}

.step-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.step-card img {
    width: 50px;
    margin-bottom: 10px;
}/* Right Sidebar for Terms and Conditions */
.terms-sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
}

.terms-sidebar .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: #d84040;
}

.terms-sidebar h2 {
    color: #d84040;
    padding: 0 32px;
}

.terms-sidebar p {
    padding: 0 32px;
    font-size: 14px;
}

/* Pop-Up Button */
.nav-link {
    cursor: pointer;
}

/* Button animation */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .terms-sidebar p {
        font-size: 12px;
    }
}/* Sidebar Styling */
.faq-sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    border-right: 2px solid #d84040;
}

.faq-sidebar.open {
    width: 350px;
}

/* Close Button */
.faq-sidebar .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    color: #d84040;
    transition: color 0.3s ease;
}

.faq-sidebar .close-btn:hover {
    color: #a61c1c;
}

/* Sidebar Heading */
.faq-sidebar h2 {
    color: #d84040;
    padding: 0 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

/* FAQ Cards */
.faq-cards {
    padding: 20px 30px;
}

.faq-cards .card {
    border: none;
    margin-bottom: 10px;
    border-radius: 5px;
    /* background-color:; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-cards .card-header {
    background-color: #d84040;
    padding: 10px;
    border-radius: 5px;
    color: white;
}

.faq-cards .card-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.faq-cards .card-body {
    background-color: #fff;
    padding: 15px;
    color: #333;
    font-size: 14px;
}
/* FAQ Section Styles */
#faqSidebar {
    max-width: 800px; /* Max width for the FAQ section */
    margin: 20px auto; /* Center the section with auto margins */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */
}

/* Card Styles */
.card {
    border: 1px solid #d84040; /* Light border for cards */
    border-radius: 8px; /* Rounded corners */
    margin-bottom: 20px; /* Space between cards */
    overflow: hidden; /* Prevent content overflow */
    transition: box-shadow 0.3s ease; /* Smooth shadow transition */
}

/* Card Header Styles */
.card-header {
    background-color: #d84040; /* Primary color for header */
    color: white; /* White text */
    padding: 15px; /* Padding for header */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 1.2em; /* Slightly larger font */
    text-align: left; /* Left align text */
    border-bottom: 1px solid #b02c2c; /* Darker border at bottom */
}

/* Card Link Styles */
.card-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from header */
}

/* Card Body Styles */
.card-body {
    padding: 20px; /* Padding for content */
    background-color:white;
    background-size: cover; /* Cover the entire card body */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image from repeating */
    color:darkred; /* Optional: change text color for better visibility */
}



/* Hover Effect for Cards */
.card:hover {
    box-shadow: 0 4px 15px rgba(216, 64, 64, 0.2); /* Subtle shadow on hover */
}

/* Responsive Design */
@media (max-width: 600px) {
    .card-header {
        font-size: 1.1em; /* Adjust font size on smaller screens */
    }

    .card-body {
        padding: 15px; /* Reduce padding for smaller screens */
    }
}

/* Pop-Up Button Styling */
.nav-link {
    cursor: pointer;
    color: #d84040;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: #a61c1c;
}

/* Bounce Animation */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* Button Styles */
.download-btn {
    display: inline-block;
    background-color: #ff6363;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: center;
    animation: bounce 2s infinite;
    transition: box-shadow 0.3s, transform 0.3s;
}

.download-btn:hover {
    box-shadow: 0 0 15px rgba(255, 99, 99, 0.8);
    transform: scale(1.1);
}

/* Footer Styles */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer p {
    margin: 0;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s;
}

.slide-up {
    animation: slideUp 1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        margin-top: 10px;
        flex-direction: column;
    }

    .navbar-nav .nav-item {
        margin: 0;
    }

    .features, .steps {
        flex-direction: column;
    }

    .feature-card, .step-card {
        width: 90%;
        margin: 10px auto;
    }
}