body {
    font-family: 'Poppins', sans-serif;
    color: #495057;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
    line-height: 1.7;
}

html {
    scroll-padding-top: 200px;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    width: 150px;
    height: 100px;
}

.navbar-nav .nav-link {
    color: #343a40;
    font-weight: 500;
    margin-left: 1.3rem;
    padding: 0.9rem 0;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0056b3;
}

#hero-carousel {
    margin-bottom: 5rem;
}

.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 85%;
    padding: 0;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease, slideInLeft 0.7s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #eee;
    animation: fadeInUp 1s ease, slideInRight 0.7s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-caption .btn {
    margin: 0 0.5rem;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    padding: 1.1rem 2.2rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 7px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    padding: 1.1rem 2.2rem;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 7px 12px rgba(0, 0, 0, 0.2);
}

.about-us {
    margin-bottom: 5rem;
}

.about-us h2 {
    font-size: 3rem;
    color: #343a40;
    margin-bottom: 4rem;
    text-align: center;
    animation: fadeIn 1s ease;
}

.about-us .row {
    align-items: center;
}

.about-us-image img {
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(1, 114, 185, 0.545);
    transition: transform 0.3s ease-in-out;
    padding: 10px;
    width: 100%;
    height: auto;
}

.about-us-image img:hover {
    transform: scale(1.04);
}

.about-us-text h2 {
    font-size: 3rem;
    color: #343a40;
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease;
}

.about-us-text p {
    font-size: 1.15rem;
    color: #6c757d;
    margin-bottom: 1.8rem;
    animation: slideInRight 1s ease;
}

.about-us h2::after {
    content: '';
    display: block;
    width: 0;
    height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #007BFF, #00C6FF);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s ease;
}

.about-us h2:hover::after,
.about-us:hover h2::after {
    width: 50%;
    opacity: 1;
    transform: scaleX(1);
}

.products {
    margin-bottom: 5rem;
    background-color: #f8f9fa;
}

.products h2 {
    font-size: 3rem;
    color: #343a40;
    margin-bottom: 4rem;
    text-align: center;
    animation: fadeIn 1s ease;
}

.products h2::after {
    content: '';
    display: block;
    width: 0;
    height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #007BFF, #00C6FF);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s ease;
}

.products h2:hover::after,
.products:hover h2::after {
    width: 50%;
    opacity: 1;
    transform: scaleX(1);
}

.widget {
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.widget:hover {
    transform: translateY(-10px);
}

.widget-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #e0f2f7;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.widget-circle img {
    width: 65%;
    height: auto;
    opacity: 0.85;
}

.widget h3 {
    font-size: 2rem;
    color: #343a40;
    margin-bottom: 1.2rem;
}

.widget p {
    color: #6c757d;
    font-size: 1.05rem;
}

.products .row {
    display: flex;
    flex-wrap: wrap;
}

.products .col-lg-3 {
    display: flex;
}

.products .widget {
    border: 1px solid #e0e0e0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.product-widget {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    padding: 1rem;
}

.widget-anti-inflammatory {
    background: linear-gradient(135deg, #FFCEAA, #FFE5D0);
}

.widget-anti-hypertensive {
    background: linear-gradient(135deg, #B2EBF2, #E0F7FA);
}

.widget-anti-diabetic {
    background: linear-gradient(135deg, #FFF59D, #FFFDE7);
}

.widget-histaminic {
    background: linear-gradient(135deg, #a8e6cf, #d1f7d1ea);
}

.widget-gastroenterology {
    background: linear-gradient(135deg, #ffbb3e, #f6fbbb);
}

.widget-gynaecology {
    background: linear-gradient(135deg, #ff9a9e, #f7bbc966);
}

.widget-orthopedics {
    background: linear-gradient(135deg, #b4b0e6, #e3a9e285);
}

.widget-others {
    background: linear-gradient(135deg, #ff70437a, #ffd9a0c5);
}

.widget-circle {
    width: 120px;
    height: 120px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.widget-img {
    width: 70%;
    height: auto;
}

.product-title-anti-inflammatory {
    color: #D17C4D;
    font-weight: bold;
}

.product-title-anti-hypertensive {
    color: #00838F;
    font-weight: bold;
}

.product-title-anti-diabetic {
    color: #F9A825;
    font-weight: bold;
}

.product-title-histaminic {
    color: #388e3c;
    font-weight: bold;
}

.product-title-gastroenterology {
    color: #ff6600;
    font-weight: bold;
}

.product-title-gynaecology {
    color: #f44336ce;
    font-weight: bold;
}

.product-title-orthopedics {
    color: #736cd2;
    font-weight: bold;
}

.product-title-others {
    color: #d32f2f;
    font-weight: bold;
}

.product-subtext {
    font-size: 0.95rem;
}

.product-list {
    display: none;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.product-list-anti-inflammatory {
    background-color: #ffe3d2ef;
}

.product-list-anti-hypertensive {
    background-color: #d6f5f9e5;
}

.product-list-anti-diabetic {
    background-color: #FFFACD;
}

.product-list-histaminic {
    background-color: #D2F4E5;
}

.product-list-gastroenterology {
    background-color: #FFD88C;
}

.product-list-gynaecology {
    background-color: #FFC2C4;
}

.product-list-orthopedics {
    background-color: #D3D1F2;
}

.product-list-others {
    background-color: #FFAD99B3;
}

.card-title-bold {
    font-weight: bold;
}

.testimonial-section {
    margin-bottom: 5rem;
    background-color: #f8f9fa;
}

.testimonial-section h2 {
    font-size: 3rem;
    color: #343a40;
    text-align: center;
}

.testimonial-item {
    padding: 3rem;
    border-radius: 15px;
    background-color: #f8f9fa;
    margin: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 240px;
}

.testimonial-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgb(1, 114, 185, 0.545);
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.15rem;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
    color: #007bff;
}

.testimonial-author-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 0.7rem;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-author-info h5 {
    margin-bottom: 0.3rem;
    color: #343a40;
    font-size: 1.1rem;
}

.testimonial-author-info p {
    font-size: 0.95rem;
    font-weight: normal;
    color: #6c757d;
}

.testimonial-section h2::after {
    content: '';
    display: block;
    width: 0;
    height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #007BFF, #00C6FF);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s ease;
}

.testimonial-section h2:hover::after,
.testimonial-section:hover h2::after {
    width: 50%;
    opacity: 1;
    transform: scaleX(1);
}

.contact-section {
    margin-bottom: 5rem;
    background-color: #f8f9fa;
}

.contact-section h2 {
    font-size: 3rem;
    color: #343a40;
    text-align: center;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: #6c757d;
    font-size: 1.2rem;
}

.contact-details {
    max-width: 100%;
    padding: 3rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
    margin-bottom: 2rem;
    color: #007bff;
    font-size: 2rem;
}

.contact-details p {
    margin-bottom: 1.5rem;
    color: #6c757d;
    font-size: 1.05rem;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 0;
    height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, #007BFF, #00C6FF);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s ease;
}

.contact-section h2:hover::after,
.contact-section:hover h2::after {
    width: 50%;
    opacity: 1;
    transform: scaleX(1);
}

form {
    background-color: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

form .form-label {
    font-weight: 500;
    color: #343a40;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}

form .form-control,
form .form-select,
form textarea {
    margin-bottom: 2rem;
    border-radius: 10px;
    border: 1px solid #ced4da;
    padding: 1rem;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

form .form-control:focus,
form .form-select:focus,
form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

form button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

form button[type="submit"]:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 7px 12px rgba(0, 0, 0, 0.2);
}

.form-message {
    margin-top: 2rem;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
    font-size: 1.05rem;
}

footer.footer-section {
    background-color: #343a40;
    color: #fff;
    padding: 5rem 0;
    text-align: left;
}

footer.footer-section h2.footer-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

footer.footer-section .footer-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

footer.footer-section .footer-divider {
    width: 140px;
    height: 5px;
    background-color: #007bff;
    margin: 0 0 2rem 0;
}

footer.footer-section .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

footer.footer-section .footer-column {
    flex: 1 1 30%;
    min-width: 280px;
}

footer.footer-section .about-us-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    margin-right: 2rem;
}

footer.footer-section .about-us-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

footer.footer-section .footer-icon-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

footer.footer-section .footer-icon-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

footer.footer-section .footer-icon-list i {
    margin-right: 0.8rem;
    color: #007bff;
    font-size: 1.4rem;
}

footer.footer-section .footer-icon-list a {
    color: #fff;
    text-decoration: none;
}

footer.footer-section .footer-social-icons {
    margin-bottom: 2.5rem;
}

footer.footer-section .footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    color: #343a40;
    margin: 0 0.7rem;
    font-size: 1.4rem;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.2s ease-in-out;
    text-decoration: none;
}

footer.footer-section .footer-social-icons a:hover {
    background-color: #007bff;
    color: #fff;
    transform: scale(1.1);
}

footer.footer-section .footer-contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

footer.footer-section .footer-contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

footer.footer-section .footer-contact-list i {
    margin-right: 0.8rem;
    color: #007bff;
    font-size: 1.3rem;
}

footer.footer-section .footer-bottom {
    font-size: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 3.5rem;
    }

    .carousel-caption p {
        font-size: 1.3rem;
    }

    .carousel-item {
        height: 500px;
    }

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

    .about-us-text {
        padding: 1rem;
    }

    .about-us-text h2 {
        font-size: 2.7rem;
    }

    .about-us-text p {
        font-size: 1.1rem;
    }

    .products h2,
    .testimonial-section h2,
    .contact-section h2 {
        font-size: 2.7rem;
    }
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 3rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

    .carousel-item {
        height: 400px;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.7rem 0;
    }

    .about-us .row {
        flex-direction: column;
    }

    .about-us-image {
        margin-bottom: 2rem;
    }

    .about-us-text {
        padding: 1rem;
    }

    .about-us-text h2 {
        font-size: 2.4rem;
    }

    .about-us-text p {
        font-size: 1rem;
    }

    .testimonial-item {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        padding: 0 1.5rem;
    }

    .carousel-item {
        height: 350px;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.5rem;
    }

    .contact-details {
        padding: 2rem;
    }

    form {
        padding: 2rem;
    }

    .widget {
        padding: 2.5rem;
    }

    .widget h3 {
        font-size: 1.8rem;
    }

    .products h2,
    .about-us-text h2,
    .testimonial-section h2,
    .contact-section h2,
    footer.footer-section h2.footer-title {
        font-size: 2.2rem;
    }

    .contact-intro {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    footer.footer-section .footer-column {
        flex: 1 1 100%;
    }
}
