/* General Styles */
:root {
    --primary-color: #1a2539;
    --secondary-color: #d0b250;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--primary-color);
    color: #ffffff; overflow-x: hidden;
}
.quality-icon{max-width: 130px;}
.text-left{text-align: left !important;}
.ctbox{border: 1px solid #cccccc;
    border-radius: 5px;
    background: #1a2539;
    padding: 25px;}
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand .logo {
    height: 50px;
}

.nav-link {
    color: var(--primary-color) !important; text-transform: uppercase;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.hero-section {
    color: white;
    text-align: center;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

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

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5c636a;
    border-color: #5c636a;
}

.section-padding {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.bg-light {
    background-color: #2a3754 !important;
}

.card-service {
    transition: transform 0.3s;
    background-color: #ffffff;
    color: var(--primary-color);
}

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

.testimonial-slider .card,
.doctors-slider .card {
    border: none;
    background: #ffffff;
    color: var(--primary-color);
    margin: 10px;
}

.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
}

.footer a:hover {
    color: var(--secondary-color);
}

.text-primary {
    color: var(--secondary-color) !important;
}

/* Top Header Styles */
.top-header {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-header a {
    color: white;
    text-decoration: none;
}

.top-header a:hover {
    color: var(--secondary-color);
}

/* Offcanvas Menu */
.offcanvas {
    background-color: #ffffff;
}

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

.offcanvas-title {
    color: white;
}

/* Modal Styles */
.modal-content {
    background-color: #ffffff;
    color: var(--primary-color);
}

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

.modal-title {
    color: white;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    font-size: 2rem;
    color: var(--secondary-color);
    background: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-carousel .owl-nav button.owl-prev {
    left: -30px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -30px;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--secondary-color);
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

/* Mobile Devices (up to 576px) */
@media (max-width: 576px) {
    .hero-slide {
        padding: 50px 0;
        min-height: 400px;
    }

    .hero-slide h1 {
        font-size: 2rem;
    }

    .hero-slide h3 {
        font-size: 1.25rem;
    }

    .hero-slide .lead {
        font-size: 1rem;
    }

    .navbar-brand .logo {
        height: 40px;
    }

    .section-padding {
        padding: 30px 0;
    }

    .card-service {
        margin-bottom: 20px;
    }

    .row.align-items-center .col-md-6 {
        margin-bottom: 20px;
    }

    .row.align-items-center img {
        max-width: 100%;
        height: auto;
    }

    .footer .col-sm-6 {
        margin-bottom: 20px;
    }

    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        font-size: 1.5rem;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: -15px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: -15px;
    }

    .modal-dialog {
        margin: 1rem;
    }

    .doctors-slider .card img {
        width: 80px;
        height: 80px;
    }

    .top-header {
        font-size: 0.8rem;
        text-align: center;
    }

    .top-header .col-md-6 {
        margin-bottom: 5px;
    }

    .top-header .text-end {
        text-align: center !important;
    }
}

/* Tablet Devices (577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-slide {
        padding: 70px 0;
        min-height: 500px;
    }

    .hero-slide h1 {
        font-size: 2.5rem;
    }

    .hero-slide h3 {
        font-size: 1.5rem;
    }

    .navbar-brand .logo {
        height: 45px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .card-service {
        margin-bottom: 20px;
    }

    .row.align-items-center .col-md-6 {
        margin-bottom: 20px;
    }

    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        font-size: 1.8rem;
    }

    .modal-dialog {
        max-width: 90%;
    }

    .doctors-slider .card img {
        width: 90px;
        height: 90px;
    }

    .top-header {
        font-size: 0.85rem;
    }
}