/* Footer Styles */
.site-footer {
    background: linear-gradient(#1067be, #06315c 2%,#094583 10%, #094583 20%, #094583 100%);
    color: #fff;
    font-size: 0.8rem;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #43c06d;
}

.footer-social {
    margin-top: 1.5rem;
    gap: 1.2rem;
}

.footer-social-icon {
    font-size: 0.8rem;
    color: #1b2733 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}

.footer-social-icon:hover {
    background: #43c06d;
    color: #fff;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #fff;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #43c06d;
}

.footer-contact {
    font-size: 0.98rem;
    color: #e0e0e0;
}

.footer-newsletter .form-control {
    border-radius: 0.3rem 0 0 0.3rem;
    border: none;
    min-width: 0;
    font-size: 1rem;
}

.footer-newsletter .btn {
    border-radius: 0 0.3rem 0.3rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.site-footer .btn-success {
    background: #43c06d;
    border: none;
}

.site-footer .btn-success:hover {
    background: #2ea95a;
}

.site-footer .btn {
    box-shadow: none;
}

.site-footer .btn:focus {
    outline: none;
    box-shadow: none;
}

.site-footer .small {
    color: #e0e0e0;
    font-size: 0.97rem;
}

@media (max-width: 767.98px) {
    .site-footer .row>[class^='col-'] {
        text-align: center !important;
        margin-bottom: 2rem;
    }

    .footer-newsletter {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-newsletter .form-control,
    .footer-newsletter .btn {
        width: 100%;
        border-radius: 0.3rem !important;
    }
}

/* Ensure contact form and image columns are the same height */
.contact-row-equal {
    display: flex;
    flex-wrap: wrap;
}

.contacts-container,
.contact-img-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.contact-img-container {
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.contact-img-container .contact-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Contact/Appointment Section - Remove inline styles and equal height columns */
.contact-row-equal>[class^='col-'] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-appoint-label {
    font-size: 1rem;
    font-weight: 700;
}

.contact-title {
    font-size: 2.4rem;
    font-weight: 700;
}

.contact-input {
    background: transparent !important;
}

.contact-btn {
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
}

/* Contact/Appointment Section */
.contact-section {
    background: #fff;
}

.contact-form-box {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.06);
}

.contact-form-box .text-success {
    font-size: 1rem;
    font-weight: 700;
}

.contact-form-box h2 {
    font-size: 2.4rem;
    font-weight: 700;
}

.contact-form-box .form-control {
    background: transparent;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 0;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
}

.contact-form-box .form-control:focus {
    border-bottom: 2px solid #43c06d;
    box-shadow: none;
}

.contact-form-box textarea.form-control {
    min-height: 90px;
}

.contact-form-box button[type="submit"] {
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
}

.contact-img {}

.contact-img-container {
    overflow: hidden;
    height: 100%;
}

/* Fixed height for product images in products section */
.product-img-fixed {
    max-height: 260px;
}

/* Products Section Title */
.products-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #1cb0f6;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
}

/* Products Section */
.products-section {
    background: #fff;
}

.products-section h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5vw;
    color: #030000;
}

.products-section .img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.products-btn {
    background: #43c06d;
    border: none;
    border-radius: 15px;
    padding: 0.9rem 2.5rem;
    font-size: .8rem;
    color: #fff;
    margin-top: 0rem;
    margin-bottom: 1rem;
    transition: background 0.2s;
}

.products-btn:hover,
.products-btn:focus {
    background: #2ea95a;
    color: #fff;
}

.products-section .col-md-4 {
    text-align: center;
}

/* Why Choose Us Card Icon Left Layout */
.why-card-body {
    text-align: left;
}

.why-card-body .why-icon {
    margin-bottom: 0;
    margin-right: 1.5rem;
}

.why-card-body h5 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1cb0f6;
}

.why-card-body .text-muted {
    font-size: 0.97rem;
}

/* Why Choose Us Section Responsive Cards */
.why-choose-us-section {
    background: #f8f8f8;
}

.why-subtitle {
    color: #888;
    font-size: 1.1rem;
}

@media (min-width: 992px) {
    .why-choose-us-section .row>[class*='col-'] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 991.98px) {
    .why-choose-us-section .row>[class*='col-'] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Icon shadow bottom right */
.why-icon {
    position: relative;
}

.why-icon svg {
    filter: drop-shadow(6px 6px 10px rgba(28, 176, 246, 0.18));
    border-radius: 12px;
    background: #fff;
}

/* Why Choose Us Section Title Styling */
.why-title {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0.5rem;
}

.why-title-text {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    padding: 0 2.5rem;
}

.why-title-text::before,
.why-title-text::after {
    content: '';
    display: inline-block;
    width: 100px;
    height: 50px;
    background: url('../images/title-side.png') no-repeat center/contain;
    vertical-align: middle;
    margin: 0 10px;
}

.why-title-text::before {
    margin-right: 10px;
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
}

.why-title-text::after {
    margin-left: 20px;
    position: absolute;
    right: -80px;
    top: 7px;
    rotate: -180deg;

}

/* Breadcrumb Styles */
.breadcrumb-wrapper {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-wrapper .breadcrumb {
    padding: 0.75rem 0;
    margin-bottom: 0;
    background-color: transparent;
}

.breadcrumb-wrapper .breadcrumb-item a {
    color: #43c06d;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-wrapper .breadcrumb-item a:hover {
    color: #2ea95a;
}

.breadcrumb-wrapper .breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-wrapper .breadcrumb-item+.breadcrumb-item::before {
    color: #6c757d;
}

body {
    background: #fff;
}

.navbar-brand img {
    height: 48px;
}

.navbar-nav .nav-link{
    font-size: 1rem !important;
}
.navbar-nav .nav-link.active {
    color: #4cd964 !important;
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0.5rem;
}

/* News Items Styling */
.cursor-pointer {
    cursor: pointer;
}

.line-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news_grid_item_box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news_grid_item_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news_item_img {
    object-fit: cover;
    width: 100%;
    height: 180px;
    transition: transform 0.5s ease;
}

.news_grid_item_box:hover .news_item_img {
    transform: scale(1.05);
}

.news_grid_item_time {
    color: #72767c;
    margin-bottom: 8px;
}

.news_item_title {
    color: #252627;
    font-weight: 600;
    font-size: 1.1rem;
    min-height: 2.8rem;
}

.news_item_abstract {
    color: #72767c;
    min-height: 3rem;
}

/* News Article Page Styling */
.news-article {
    font-size: 1.05rem;
    line-height: 1.7;
}

.news-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #252627;
}

.news-meta {
    color: #72767c;
    font-size: 0.95rem;
}

.news-meta a {
    color: #43c06d;
    transition: color 0.2s ease;
}

.news-meta a:hover {
    color: #2ea95a;
}

.news-content {
    color: #444;
}

.news-content p {
    margin-bottom: 1.2rem;
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.navbar .form-control {
    border-radius: 2rem;
}

.swiper {
    width: 100%;
    /* height: 420px; */
    margin-bottom: 2rem;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.hero-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    text-align: center;
    color: #222;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.product-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-img {
    object-fit: contain;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-section img {
    height: 60px;
}

.precision-probe {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.yellow-box {
    position: absolute;
    right: 2rem;
    top: 2rem;
    background: #ffe600;
    border-radius: 8px;
    padding: 1.2rem;
}

.yellow-box i {
    font-size: 2rem;
    color: #fff;
}

@media (max-width: 991px) {
    .product-row {
        flex-wrap: wrap;
    }

    .swiper {
        /* height: 320px; */
    }
}
