.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    background:
        linear-gradient(to right,
            rgba(255, 255, 255, 0.95) 45%,
            rgba(255, 255, 255, 0.6)),
        url("../img/lab1.jpg") center right / cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #0d4aa8;
    line-height: 1.2;
}

.hero-title span {
    color: #2e9b45;
}

.hero-text {
    max-width: 520px;
    margin-top: 1rem;
    color: #444;
    font-size: 1rem;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.hero-title,
.hero-text,
.hero-actions {
    animation: fadeUp 0.8s ease forwards;
}

.hero-text {
    animation-delay: 0.15s;
}

.hero-actions {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
        background:
            linear-gradient(rgba(255, 255, 255, 0.88),
                rgba(255, 255, 255, 0.88)),
            url("../images/lab_2img.jpg") center / cover no-repeat;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-title span {
        display: block;
    }

    .hero-text {
        max-width: 100%;
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }
}




/*services-section*/
.services-section {
    background-color: #f8fbff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0d4aa8;
}

.section-subtitle {
    max-width: 720px;
    margin: 0.75rem auto 0;
    color: #555;
}

.services-description {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}



.service-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.4rem;
    color: var(--green);
    margin-bottom: 15px;
}

.service-card h5 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: #555;
}

.service-btn {
    margin-top: 15px;
    border-radius: 20px;
    padding: 6px 18px;
}


/*why-choose-us*/
.why-choose-us {
    background-color: #f8fbff;
}

.section-title {
    font-weight: 700;
    color: #0d4aa8;
}

.section-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: #555;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 36px;
    color: #2e9b45;
    margin-bottom: 15px;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #0d4aa8;
}

.feature-card p {
    font-size: 14.5px;
    color: #666;
}

.stats-row {
    border-top: 1px solid #e6eef7;
    padding-top: 30px;
}

.stat-box h3 {
    font-size: 32px;
    font-weight: 700;
    color: #0d4aa8;
}

.stat-box p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/*about us*/
.about-preview {
    background-color: #ffffff;
}

.about-text {
    font-size: 15.5px;
    color: #555;
    max-width: 600px;
}

/*team-section preview*/
.team-section {
    background-color: #f8fbff;
}

.team-card {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-card h5 {
    font-weight: 600;
    color: #0d4aa8;
    margin-bottom: 5px;
}

.degree {
    font-size: 14px;
    color: #2e9b45;
    margin-bottom: 8px;
}

.position {
    font-size: 14px;
    color: #555;
}

.position i {
    color: #0d4aa8;
    margin-right: 6px;
}


.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/*news&blogs preview*/
.news-section {
    background-color: #ffffff;
}

.news-card {
    background: #f8fbff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.news-date {
    font-size: 13px;
    color: #2e9b45;
    display: inline-block;
    margin-bottom: 8px;
}

.news-card h5 {
    color: #0d4aa8;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 14.5px;
    color: #555;
    margin-bottom: 15px;
}

.news-link {
    font-weight: 600;
    color: #0d4aa8;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}

/* CTA SECTION */
.contact-services-cta {
    padding: 80px 0 100px;
    background-color: #f4f8ff;
}

/* CTA Card */
.cta-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 42px 40px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

/* Text */
.cta-box h3 {
    color: #0d4aa8;
    font-weight: 600;
    margin-bottom: 8px;
}

.cta-box p {
    color: #555;
    margin: 0;
    max-width: 620px;
}

/* Button wrapper */
.cta-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

/* Buttons */
.cta-btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .contact-services-cta {
        padding: 60px 0 80px;
    }

    .cta-box {
        padding: 32px 24px;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn {
        width: 100%;
    }
}


/* Mobile polish */
@media (max-width: 768px) {
    .home-cta {
        padding: 40px 25px;
        margin-bottom: 100px;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }
}

:root {
    --primary-green: #48A948;
    --primary-blue: #0087AD;
    --light-green: #E8F5E8;
    --light-blue: #E6F4F8;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #F8F9FA;
    --border-color: #E0E0E0;
    --admin-bar-bg: #1D2327;
    /* Dark admin bar similar to WordPress */
    --admin-bar-text: #F0F0F1;
    --admin-bar-hover: #2C3338;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-gray);
    line-height: 1.7;
    padding-top: 0;
    /* Will be adjusted by JS for admin bar */
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Admin/Toolbar for authenticated users */
.admin-toolbar {
    background-color: var(--admin-bar-bg);
    color: var(--admin-bar-text);
    padding: 0;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    height: 46px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    /* Hidden by default, shown when logged in */
}

.admin-toolbar.visible {
    display: flex;
}

.admin-toolbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.admin-toolbar-left {
    display: flex;
    align-items: center;
}

.admin-toolbar-right {
    display: flex;
    align-items: center;
}

.admin-toolbar a {
    color: var(--admin-bar-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    height: 46px;
    transition: background-color 0.2s;
}

.admin-toolbar a:hover {
    background-color: var(--admin-bar-hover);
    color: white;
}

.admin-toolbar i {
    margin-right: 6px;
    font-size: 16px;
}

.admin-toolbar .site-name {
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 15px;
    margin-right: 10px;
    color: var(--admin-bar-text);
}

.admin-toolbar .site-name i {
    color: var(--primary-green);
}

.admin-toolbar .user-info {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.admin-toolbar .user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.admin-toolbar .logout-btn {
    color: #F0F0F1;
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-toolbar .logout-btn:hover {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
}

.admin-toolbar .dashboard-btn {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 500;
}

.admin-toolbar .dashboard-btn:hover {
    background-color: #007195;
}

/* Adjust body padding when admin bar is visible */
body.has-admin-bar {
    padding-top: 46px;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    /* Admin toolbar responsive */
    .admin-toolbar .site-name span {
        display: none;
    }

    .admin-toolbar .user-info span {
        display: none;
    }

    .admin-toolbar a {
        padding: 0 10px;
    }

    .admin-toolbar a span {
        display: none;
    }

    .admin-toolbar a i {
        margin-right: 0;
    }
}


:root {
    --primary-green: #48A948;
    --primary-blue: #0087AD;
    --light-green: #E8F5E8;
    --light-blue: #E6F4F8;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #F8F9FA;
    --border-color: #E0E0E0;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-gray);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--light-gray);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-green);
    font-weight: 600;
}

/* Service Header */
.service-header {
    padding: 60px 0 40px;
    background: linear-gradient(to right, rgba(230, 244, 248, 0.8), rgba(232, 245, 232, 0.8));
}

.service-title-row {
    align-items: center;
    margin-bottom: 30px;
}

.service-title {
    color: var(--primary-blue);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.service-status {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--primary-green);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    color: var(--medium-gray);
}

.meta-item i {
    color: var(--primary-blue);
    margin-right: 8px;
    font-size: 1.1rem;
}

.service-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
}

.service-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image-container:hover .service-image {
    transform: scale(1.03);
}

/* Service Content */
.service-content-section {
    padding: 60px 0;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--dark-gray);
}

.service-features {
    background-color: var(--light-blue);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-blue);
}

.service-features h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.features-list {
    list-style-type: none;
    padding-left: 0;
}

.features-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.service-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #007195;
    color: white;
    transform: translateY(-3px);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Tests Section */
.tests-section {
    background-color: var(--light-gray);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.section-title {
    color: var(--primary-blue);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-green);
    border-radius: 2px;
}

.tests-count {
    background-color: var(--light-green);
    color: var(--primary-green);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Tests Table */
.tests-table-container {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.tests-table {
    width: 100%;
    margin-bottom: 0;
}

.tests-table thead {
    background-color: var(--primary-blue);
    color: white;
}

.tests-table th {
    padding: 20px 25px;
    font-weight: 600;
    border: none;
}

.tests-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.tests-table tbody tr:hover {
    background-color: var(--light-blue);
}

.tests-table td {
    padding: 20px 25px;
    vertical-align: middle;
}

.test-name {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.test-description {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-top: 5px;
}

.test-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.test-status.active {
    background-color: var(--light-green);
    color: var(--primary-green);
}

.test-status.inactive {
    background-color: #FFEBEE;
    color: #F44336;
}

.test-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.test-action-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--medium-gray);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.test-action-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* No Tests Message */
.no-tests-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--medium-gray);
}

.no-tests-message i {
    font-size: 4rem;
    color: var(--light-blue);
    margin-bottom: 20px;
}

/* Test Detail Modal */
.modal-header {
    background-color: var(--primary-blue);
    color: white;
    border-bottom: none;
    padding: 25px;
}

.modal-title {
    font-size: 1.8rem;
}

.modal-body {
    padding: 30px;
}

.test-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.test-icon {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.8rem;
}

.test-detail-title {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.test-detail-meta {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.test-detail-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.test-detail-info {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--medium-gray);
    font-weight: 600;
}

.info-value {
    color: var(--dark-gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.cta-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-title {
        font-size: 2.2rem;
    }

    .tests-table {
        display: block;
        overflow-x: auto;
    }

    .test-actions {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .test-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .test-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .service-actions {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        justify-content: center;
    }
}

.slider-container {
    max-width: 100%;
    margin: 0 auto;
}

.slider-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
}

.slider-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
    border-radius: 2px;
}

/* Custom carousel styling */
.carousel {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    transition: transform var(--transition-speed) ease-in-out;
}

.carousel-item img {
    height: 500px;
    width: 100%;
}

/* Caption styling */
.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 20px;
    bottom: 40px;
    left: 10%;
    right: 10%;
}

.carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Control buttons */
.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

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

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

.carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: var(--secondary-color);
    opacity: 1;
}

/* Indicators styling */
.carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    border: 2px solid white;
    background-color: transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .carousel-item img {
        height: 350px;
    }

    .carousel-caption {
        bottom: 20px;
        padding: 15px;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .carousel-control-prev, .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 280px;
    }

    .carousel-caption {
        bottom: 10px;
        padding: 10px;
        left: 5%;
        right: 5%;
    }

    .carousel-caption h5 {
        font-size: 1rem;
    }

    .carousel-caption p {
        display: none;
    }

    .carousel-control-prev, .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}
span.brand-heading-green {
    color: #25d366;
}

