.products-grid .singel-products {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.products-grid .singel-products:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.products-grid .products-image {
    position: relative;
    overflow: hidden;
}

.products-grid .products-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.products-grid .singel-products:hover .products-image img {
    transform: scale(1.05);
}

.products-grid .products-contant {
    padding: 15px 18px 20px;
}

.products-grid .products-title a {
    color: #222;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.products-grid .products-title a:hover {
    color: #007bff;
}

.products-grid .text {
    color: #555;
    font-size: 14px;
    margin: 10px 0 15px;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.products-grid .cart-add {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.products-grid .cart-add:hover {
    background: #0056b3;
}

.blog-thum {
    width: 100%;
    height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.blog-thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    object-fit: contain;
    background-color: #fff;
}

.singel-blog:hover .blog-thum img {
    transform: scale(1.05);
}

body .contact-form .singel-form textarea {
    height: 150px;
}

.bg-none {
    background-color: transparent !important;
}

.product-detail-modern {
    background: #fff;
}

.product-detail-img {
    transition: transform .2s;
}

.product-detail-img:hover {
    transform: scale(1.04);
}



.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    background-color: #2e4db9;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 6px rgba(46, 77, 185, 0.3);
}

.primary-btn:hover,
.primary-btn:focus {
    background-color: #2742a3;
    box-shadow: 0 4px 10px rgba(46, 77, 185, 0.4);
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.primary-btn:active {
    background-color: #223a8f;
    box-shadow: 0 2px 4px rgba(46, 77, 185, 0.4);
    transform: translateY(0);
}

.primary-btn:disabled,
.primary-btn[disabled] {
    background-color: #a5b4e1;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.primary-btn.small {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
}

/* Contact info strip */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px 40px;
}

.info-item {
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.25s ease;
}

.info-item:hover {
    transform: translateY(-3px);
}

.info-icon {
    font-size: 28px;
    color: #2e4db9;
    flex-shrink: 0;
}

.info-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1f1f1f;
}

.info-text {
    font-size: 16px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.info-text a {
    color: #2e4db9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-text a:hover {
    color: #1d2f7f;
    text-decoration: underline;
}



/* Navbar active link styles */
.navbar-nav .nav-item>a {
    color: #2b3446;
    padding: 8px 12px;
    font-weight: 600;
}

.navbar-nav .nav-item.active>a,
.navbar-nav .nav-item>a.active,
.navbar-nav .nav-item.active>.nav-link {
    color: #2e4db9;
}

.navbar-nav .nav-item.active>a::after {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    margin: 3px auto 0;
    background: linear-gradient(90deg, #2e4db9, #2e4db9);
    border-radius: 3px;
}

/* News detail page improvements */
.page-banner-content h3 {
    font-size: 34px;
    font-weight: 700;
    color: #0f1724;
    margin: 0;
    letter-spacing: -0.5px;
}

.news-detail-container time {
    display: block;
    color: #8b96a8;
    font-size: 14px;
    margin-bottom: 6px;
}

.news-detail-container .heading {
    font-size: 28px;
    margin: 6px 0 18px;
}

.news-detail.p-section {
    padding: 28px 0;
}

.news-detail img.img-fluid {
    max-height: 480px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
    margin-bottom: 18px;
}

.news-detail .carousel-item img {
    max-height: 480px;
    width: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.45);
    padding: 10px 14px;
    border-radius: 6px;
}

.news-detail p,
.news-detail .news-text {
    color: #334155;
    font-size: 16px;
    line-height: 1.8;
}

#footer-part {
    margin-top: 20px;
}

.article-image {
    float: left;
    width: 40%;
    margin-right: 20px;
    border-radius: 4px;
}

#blog-part .singel-blog {
    padding: 16px;
    border: 1px solid #d0e3ff;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    transition: all 0.25s ease;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

#blog-part .singel-blog:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.15);
    /* hover depth */
}

.contact-form > h6{
    color: #2e4db9;
    font-weight: 400;
}


/**----------Responsive adjustments------- **/

@media (max-width: 992px) {
    .page-banner-content h3 {
        font-size: 26px;
    }

    .news-detail img.img-fluid,
    .news-detail .carousel-item img {
        max-height: 360px;
    }
}

@media (max-width: 576px) {
    .page-banner-content h3 {
        font-size: 20px;
    }

    .news-detail-container .heading {
        font-size: 20px;
    }

    .news-detail img.img-fluid,
    .news-detail .carousel-item img {
        max-height: 240px;
    }
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        padding: 20px;
    }

    .info-item {
        flex: 1 1 100%;
    }

    .info-icon {
        font-size: 24px;
    }

    .info-title {
        font-size: 17px;
    }

    .info-text {
        font-size: 15px;
    }

    .article-image {
        width: 100%;
        margin-bottom: 20px !important;
    }
}


#contactForm{
    position: relative;
    overflow: hidden;
}
.form-success-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e6f6ff 0%, #b3e5fc 100%);
    /* soft light aqua gradient */
    color: #004b7f;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    border-radius: 8px;
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.checkmark-wrapper {
    text-align: center;
    animation: fadeIn 0.6s ease forwards;
}

.checkmark-wrapper i {
    font-size: 70px;
    color: #00a0ff;
    background: rgba(0, 160, 255, 0.08);
    border: 3px solid #00a0ff;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    line-height: 100px;
    display: inline-block;
    animation: popIn 0.6s ease, rotateCheck 1s ease 0.2s;
}

.checkmark-wrapper p {
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    letter-spacing: 0.5px;
    color: #005b99;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotateCheck {
    0% {
        transform: rotate(0deg) scale(1);
    }

    30% {
        transform: rotate(15deg) scale(1.1);
    }

    60% {
        transform: rotate(-10deg) scale(1.05);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}