/* General Styles */
:root {
    --primary-color: #18B9B0;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --accent-color: #0ABBB2;
    --hover-color: #08BCB1;

    /* Override Bootstrap CSS Variables */
    --bs-primary: #18B9B0;
    --bs-primary-rgb: 24, 185, 176;
    --bs-link-color: #18B9B0;
    --bs-link-hover-color: #08BCB1;
}


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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background-color: #18B9B0 !important;
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    color: #FFFFFF !important;
}

.nav-link:hover {
    color: #e9ecef !important;
}

.nav-link.active {
    color: #FFFFFF !important;
    font-weight: 600;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
/* Hero Section */
.hero-section {
    padding-top: 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, #f8f9fa 100%);
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* About Section */
.about-image-wrapper {
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.feature-box {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(24, 185, 176, 0.15);
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(24, 185, 176, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--secondary-color);
}

.service-card ul li i {
    margin-right: 0.5rem;
}

/* Contact Section */
.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-control, .form-select {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(24, 185, 176, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 185, 176, 0.4);
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
}

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

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 185, 176, 0.3);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

footer h5,
footer h6 {
    color: #FFFFFF !important;
}

footer p,
footer li,
footer span,
footer div {
    color: #e9ecef !important;
}

footer .text-muted {
    color: #e9ecef !important;
}

footer a {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #18B9B0 !important;
}
.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
    color: #FFFFFF !important;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #18B9B0 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .service-card {
        margin-bottom: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

/* Section Spacing */
section {
    position: relative;
}

/* Stats Animation */
.hero-section h3 {
    counter-reset: count;
    animation: countUp 2s ease-out;
}

/* Loading Animation for Images */
.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Bootstrap Utility Class Overrides */
.text-primary {
    color: #18B9B0 !important;
}

.bg-primary {
    background-color: #18B9B0 !important;
}

.border-primary {
    border-color: #18B9B0 !important;
}

.btn-primary {
    background-color: #18B9B0 !important;
    border-color: #18B9B0 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #08BCB1 !important;
    border-color: #08BCB1 !important;
}

.btn-outline-primary {
    color: #18B9B0 !important;
    border-color: #18B9B0 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #18B9B0 !important;
    border-color: #18B9B0 !important;
    color: #FFFFFF !important;
}

.link-primary {
    color: #18B9B0 !important;
}

.link-primary:hover,
.link-primary:focus {
    color: #08BCB1 !important;
}

a {
    color: #18B9B0;
}

a:hover {
    color: #08BCB1;
}

/* Gallery Styles */
#gallery {
    background: #f8f9fa;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 250px;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(24, 185, 176, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(24, 185, 176, 0.9), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#lightbox-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    background: rgba(24, 185, 176, 0.9);
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-lightbox:hover {
    color: #18B9B0;
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(24, 185, 176, 0.9);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-arrow:hover {
    background: #18B9B0;
    transform: translateY(-50%) scale(1.1);
}

.left-arrow {
    left: 30px;
}

.right-arrow {
    right: 30px;
}

.lightbox-counter {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: none;
   /* background: rgba(24, 185, 176, 0.9);*/
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        height: 200px;
        margin-bottom: 1rem;
    }

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-arrow {
        padding: 0.75rem 1rem;
        font-size: 1.5rem;
    }

    .left-arrow {
        left: 10px;
    }

    .right-arrow {
        right: 10px;
    }

    .close-lightbox {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .gallery-item {
        height: 220px;
    }
}











/* Branch Section Styles with Sea Green Theme */

.branch-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.branch-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.branch-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.branch-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #18B9B0;
}

.branch-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #18B9B0, #0ABBB2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.85rem;
    flex-shrink: 0;
}

.branch-icon i {
    font-size: 1.5rem;
    color: white;
}

.branch-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.branch-info {
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.65rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row:hover {
    background: #e9ecef;
}

.info-icon {
    width: 32px;
    height: 32px;
    background: #18B9B0;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.85rem;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 0.85rem;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.info-text {
    color: #2c3e50;
    font-weight: 500;
    margin: 0;
    word-break: break-word;
    font-size: 0.95rem;
    line-height: 1.4;
}

.info-text a {
    color: #18B9B0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #0ABBB2;
    text-decoration: underline;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

@media (max-width: 768px) {
    .map-container {
        min-height: 300px;
        margin-top: 1.5rem;
    }

    .branch-content {
        padding: 1.5rem;
    }

    .branch-name {
        font-size: 1.25rem;
    }
}









/* Hero Section with Slider */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

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

.hero-section h1,
.hero-section .lead {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image {
    position: relative;
    z-index: 4;
}

.hero-image img {
    border: 5px solid rgba(255, 255, 255, 0.3);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    transform: translateY(50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
    pointer-events: none;
}

.slider-btn {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #18B9B0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: #18B9B0;
    color: white;
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #18B9B0;
    border-color: white;
    transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-indicators {
        bottom: 20px;
    }

    .hero-image {
        margin-top: 2rem;
    }
}

@media (max-width: 991px) {
    .hero-content .col-lg-6:first-child {
        text-align: center;
    }

    .hero-content .d-flex {
        justify-content: center;
    }
}}
















/* Service Card Theme Update - Change from Blue to Sea Green */

:root {
    --primary-color: #18B9B0;
    --secondary-color: #6c757d;
    --accent-color: #0ABBB2;
    --hover-color: #08BCB1;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #18B9B0, #0ABBB2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(24, 185, 176, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #18B9B0, #0ABBB2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-grow: 1;
}

.service-card ul {
    margin-bottom: 1rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: #495057;
}

.service-card ul li i {
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.modal-header {
    background: linear-gradient(135deg, #18B9B0, #0ABBB2);
    color: white;
    border-radius: 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.detail-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section h5 {
    color: #18B9B0;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.detail-section h5 i {
    margin-right: 0.5rem;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.detail-list li i {
    color: #18B9B0;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.price-tag {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
}

.info-badge {
    display: inline-block;
    background: #e8f7f6;
    color: #18B9B0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}


.price-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: fit-content;
    margin: 0 auto;
}

.original-price {
    text-decoration: line-through;
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

.offer-price {
    color: #ff6b35;
    font-weight: bold;
    font-size: 20px;
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
    letter-spacing: 0.5px;
}

/* Marquee Styles */
.marquee-container {
    background: #800020;
    padding: 8px 0;
    overflow: hidden;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 1020;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.marquee-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
    padding: 0 60px;
    font-size: 13px;
}

.marquee-item i {
    margin-right: 8px;
    color: #ffffff;
    font-size: 16px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}


.specialty-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.specialty-item.animate {
    opacity: 1 !important;
    transform: translateX(0) !important;
}
footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #17a2b8 !important;
}
.microlabs-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
}




.service-card {
            background: #fff;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid #e9ecef;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(13,110,253,0.05), rgba(13,202,240,0.05));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-card:hover::before {
            opacity: 1;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(13,110,253,0.15);
        }

        .service-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: white;
            font-size: 1.8rem;
            position: relative;
        }

        .service-card h4 {
            color: #212529;
            font-weight: 700;
            margin-bottom: 1rem;
            font-size: 1.4rem;
            position: relative;
        }

        .service-card p {
            color: #6c757d;
            margin-bottom: 1rem;
            line-height: 1.6;
            position: relative;
        }

        .click-hint {
            color: var(--primary-color);
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1rem;
            position: relative;
        }

        .click-hint i {
            font-size: 1rem;
        }

        #services {
            background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
        }

        .section-title {
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            border-radius: 2px;
        }

        /* Modal Styles */
        .modal-content {
            border-radius: 20px;
            border: none;
            overflow: hidden;
        }

        .modal-header {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            border: none;
            padding: 2rem;
        }

        .modal-header .modal-title {
            font-weight: 700;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .modal-header .btn-close {
            filter: brightness(0) invert(1);
            opacity: 0.8;
        }

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

        .modal-body {
            padding: 2rem;
            max-height: 70vh;
            overflow-y: auto;
        }

        .modal-icon {
            width: 60px;
            height: 60px;
            background: rgba(255,255,255,0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .test-category {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border-left: 4px solid var(--primary-color);
        }

        .test-category h5 {
            color: #212529;
            font-weight: 700;
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .test-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 0.75rem;
        }

        .test-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem;
            background: white;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .test-item:hover {
            background: #e7f1ff;
            transform: translateX(5px);
        }

        .test-item i {
            color: var(--primary-color);
            font-size: 0.8rem;
        }

        .test-item span {
            color: #495057;
            font-size: 0.95rem;
        }

        .modal-footer {
            border: none;
            padding: 1.5rem 2rem;
            background: #f8f9fa;
        }

        .modal-body::-webkit-scrollbar {
            width: 8px;
        }

        .modal-body::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .modal-body::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
        }

        .modal-body::-webkit-scrollbar-thumb:hover {
            background: #0b5ed7;
        }
