/* General body styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #F4F4F4;
    color: #333333;
    padding-top: 60px; /* Adjust for fixed navbar height */
}

/* Navbar adjustments */
.navbar {
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff; /* Changed to white for consistency */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo-container {
    display: flex;
    align-items: center;
}

.navbar-brand .logo-text {
    font-size: 24px;
    font-weight: bold;
    margin-left: 5px;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
}

.navbar-nav {
    margin-left: auto;
    align-items: center;
}

.navbar-nav .nav-link {
    color: #333333;
    font-size: 1rem;
    padding: 1rem;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-nav .dropdown-menu {
    background-color: #ffffff;
}

.navbar-nav .btn {
    margin-left: 1rem;
}

/* Responsive Navbar */
@media (max-width: 992px) {
    .navbar-nav {
        margin-left: 0;
    }
}
/* Hero Section styles */
.hero-section {
    position: relative;
    background: url("../images/generecovery/gel.png") no-repeat center center/cover;
    min-height: 70vh;
    color: #fff;
    padding: 150px 0 100px 0; /* Adjusted padding for better spacing */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-section .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    border-radius: 50px;
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
}

/* How It Works Section styles */
.how-it-works-section {
    background-color: #f9fafb;
    padding: 60px 0;
}

.how-it-works-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.how-it-works-section .step-icon {
    margin-bottom: 20px;
}

.how-it-works-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.how-it-works-section p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .how-it-works-section h2 {
        font-size: 2rem;
    }
    .how-it-works-section h3 {
        font-size: 1.25rem;
    }
}

/* Services Section styles */
#services {
    background-color: #fff;
    padding: 60px 0;
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.service-box {
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-box .icon {
    color: #007bff;
}

.service-box h4 {
    font-size: 1.5rem;
    margin-top: 15px;
    margin-bottom: 15px;
}

.service-box p {
    color: #666;
}

/* DNA Upload Section Styles */
#dna-upload {
    background-color: #f9fafb;
    padding: 60px 0;
}

#dna-upload h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#dna-upload .dna-step {
    padding: 20px;
}

#dna-upload .dna-img {
    width: 100px;
    height: auto;
}

#dna-upload .dna-font {
    font-size: 1.1rem;
    color: #333;
}

#dna-upload .dna-font-small {
    font-size: 0.9rem;
    color: #666;
}

#dna-upload a.btn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 25px;
}

#dna-upload #dna-details {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
}

#dna-upload #dna-details p {
    font-size: 1rem;
    color: #555;
}

#dna-upload a.text-primary {
    cursor: pointer;
    text-decoration: none;
}

#dna-upload a.text-primary:hover {
    text-decoration: underline;
}


@media (max-width: 767px) {
    #services h2 {
        font-size: 2rem;
    }
    .service-box {
        margin-bottom: 30px;
    }
}

/* CTA Section styles */
.cta-section {
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.cta-section .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    border-radius: 50px;
}

@media (max-width: 767px) {
    .cta-section h2 {
        font-size: 2rem;
    }
    .cta-section p {
        font-size: 1rem;
    }
}

/* FAQ Section styles */
.faq-section {
    background-color: #f9fafb;
    padding: 60px 0;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.faq-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.faq-item p {
    color: #666;
}

@media (max-width: 767px) {
    .faq-section h2 {
        font-size: 2rem;
    }
}

/* SNP Explanation Section styles */
#snp-explanation {
    background-color: #fff;
    padding: 60px 0;
}

#snp-explanation h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#snp-explanation h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

#snp-explanation p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    #snp-explanation h2 {
        font-size: 2rem;
    }
    #snp-explanation h3 {
        font-size: 1.5rem;
    }
    #snp-explanation p {
        font-size: 0.9rem;
    }
}


/* Carousel item styles */
.carousel-inner .carousel-item {
    display: none; /* Ensure all items are hidden initially */
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.carousel-inner .carousel-item.active {
    display: flex; /* Display only the active item */
}

.carousel-inner .carousel-item img {
    border-radius: 15px; /* Make edges more rounded */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card {
    border: none;
    border-radius: 15px; /* Make card edges more rounded */
    overflow: hidden;
}

.card-img-top {
    border-radius: 15px 15px 0 0; /* Ensure image edges are rounded */
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* Add gap between carousel items */
.carousel-item .row {
    gap: 1rem;
}

/* Ensure carousel items are full width on small screens */
@media (max-width: 768px) {
    .carousel-item .row {
        flex-direction: column;
        gap: 1rem;
    }

    .carousel-item .col-md-4 {
        width: 100%;
    }

    .carousel-item .col-md-4 {
        margin-bottom: 1rem; /* Add gap between vertically stacked items */
    }
}

/* Ensure three images in a row with gaps on larger screens */
@media (min-width: 769px) {
    .carousel-item .col-md-4 {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }

    .carousel-item .col-md-4:nth-child(3n+1) {
        margin-right: 0;
    }
}

/* Telehealth Info Section styles */
.telehealth-info {
    background-color: #fff;
    padding: 60px 0;
}

.telehealth-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.telehealth-info h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

.telehealth-info .steps-list {
    list-style: decimal;
    padding-left: 20px;
    font-size: 1rem;
    color: #666;
}

.telehealth-info .steps-list li {
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .telehealth-info h2 {
        font-size: 2rem;
    }
    .telehealth-info h3 {
        font-size: 1.5rem;
    }
    .telehealth-info .steps-list {
        font-size: 0.9rem;
    }
}

/* Footer styles */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0;
}

footer h5 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

footer p, footer ul {
    font-size: 0.9rem;
    color: #ccc;
}

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

footer ul li {
    margin-bottom: 10px;
}

.footer-social a {
    color: white;
    margin-right: 10px;
    font-size: 1.5rem;
}

.footer-social a:hover {
    color: #007bff;
}

.newsletter-section .form-control {
    border-radius: 30px;
}

.newsletter-section .btn {
    border-radius: 30px;
}

@media (max-width: 767px) {
    footer {
        text-align: center;
    }
}

/* Buttons */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

/* Adjustments for better readability */
p {
    font-size: 1rem;
    line-height: 1.8;
}

/* Ensure images are responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}
