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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    padding-top: 80px;
}

/* Header Section */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

.main-header .navbar {
    padding: 0;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: #4a4a4a;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 20px;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #590a44;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #590a44;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-nav .nav-link.active {
    color: #590a44;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Banner Section */
.banner-section {
    width: 100%;
    margin-bottom: 60px;
}

.banner-container {
    width: 100%;
    min-height: 500px;
}

.banner-left {
    background-color: #590a44;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.lab-image {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-right {
    background-color: #590a44;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    min-height: 500px;
}

.company-name h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 2px;
}

.company-description {
    margin-top: 30px;
    margin-bottom: 40px;
}

.company-description p {
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
}

.cta-button {
    background-color: #fff;
    color: #6d0d54;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(89, 10, 68, 0.3);
}

.cta-button:hover {
    background-color: #6d0d54;
    color: #fff;
    /* transform: translateY(-2px); */
    box-shadow: 0 6px 20px rgba(89, 10, 68, 0.4);
}

.contact-info {
    margin-top: 40px;
}

.contact-info p {
    font-size: 22px;
    color: #ffffff;
}

/* About Section */
.about-section {
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-size: 42px;
    font-weight: 700;
    color: #590a44;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.scientist-image {
    width: 100%;
    height: 400px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.about-content {
    flex: 1;
}

.about-subheading {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
}

/* Online Appointments Section */
.appointments-section {
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 300px;
}

/* Chat Icon */
.chat-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #590a44;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(89, 10, 68, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(89, 10, 68, 0.6);
}

.chat-icon svg {
    color: #ffffff;
    width: 28px;
    height: 28px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.testimonial-content {
    text-align: center;
    width: 100%;
}

.quote-icon {
    font-size: 48px;
    color: #590a44;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author h5 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    margin: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: #590a44;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #590a44;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

/* Contact Us Section */
.contact-section {
    background-color: #590a44;
    position: relative;
    padding-bottom: 60px;
    padding-top: 60px;
}

.contact-heading {
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
}

.contact-content {
    padding: 20px 0;
}

.contact-subheading {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.contact-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.lab-name {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.contact-phone {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.hours-section {
    margin-top: 30px;
}

.hours-heading {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.hours-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.hours-text i {
    font-size: 14px;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    border-radius: 8px;
}

.site-footer {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-copy {
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #e91e63;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .header-logo {
        height: 50px;
    }

    .main-header {
        padding: 8px 0;
    }

    .navbar-nav {
        text-align: center;
        padding: 20px 0;
        background: #ffffff;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 12px 20px;
        margin: 5px 0;
        color: #4a4a4a;
    }

    .navbar-nav .nav-link:hover {
        color: #590a44;
        background-color: rgba(89, 10, 68, 0.1);
        border-radius: 4px;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .banner-right {
        padding: 40px 30px;
    }

    .company-name h1 {
        font-size: 36px;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        margin-bottom: 30px;
    }

    .scientist-image {
        height: 300px;
        min-height: 300px;
    }

    .about-content {
        width: 100%;
    }

    .section-heading {
        font-size: 32px;
    }

    .about-section,
    .appointments-section {
        padding: 40px 20px;
    }

    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 40px 30px;
        min-height: 250px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .contact-heading {
        font-size: 32px;
    }

    .contact-subheading {
        font-size: 20px;
    }

    .lab-name {
        font-size: 24px;
    }

    .contact-phone {
        font-size: 18px;
    }

    .map-wrapper {
        margin-top: 30px;
        min-height: 300px;
    }

    .map-wrapper iframe {
        min-height: 300px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Modal Styling */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #590a44;
    color: #ffffff;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 600;
    font-size: 24px;
}

.btn-close {
    filter: invert(1);
    opacity: 0.9;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px 25px;
}

.form-label {
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #590a44;
    box-shadow: 0 0 0 0.2rem rgba(89, 10, 68, 0.15);
}

.modal-footer {
    border-top: 1px solid #e0e0e0;
    padding: 20px 25px;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.modal-footer .btn-primary {
    background-color: #590a44;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary:hover {
    background-color: #6d0d54;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(89, 10, 68, 0.3);
}

@media (max-width: 576px) {
    .scientist-image {
        height: 250px;
        min-height: 250px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .quote-icon {
        font-size: 36px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px 20px;
    }
}

