/* Global Styles */
:root {
    --primary-color: #004e92;
    --secondary-color: #ffba08;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --transition: all 0.3s ease;
}

/* Full Width Overrides */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container-fluid {
    width: 94% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}


body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Fixed Header System (Topbar + Navbar) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    transition: transform 0.3s ease;
}

.site-header.scrolled {
    transform: translateY(-45px);
    /* Height of topbar to hide it */
}


@media (max-width: 991px) {
    body {
        padding-top: 140px !important;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 120px !important;
    }
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

.text-secondary-color {
    color: var(--secondary-color) !important;
}

.stat-count-item h3 {
    text-shadow: 0 5px 15px rgba(0, 78, 146, 0.1);
    color: var(--primary-color);
}

.stat-count-item p {
    color: #888 !important;
}

.text-relaxed {
    line-height: 1.8 !important;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.animate-fade-up {
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
    /* Star hidden */
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

/* Topbar */
.site-topbar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 7px 0;
    font-size: 14px;
}

.topbar-item {
    margin-right: 20px;
    display: inline-block;
}

.topbar-item i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.social-icon {
    color: #fff;
    margin-left: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px) scale(1.1);
}

/* Navbar */
.site-navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--dark-color);
}

.brand-highlight {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin-left: 20px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 8px 12px !important;
    border-radius: 11px;
    white-space: nowrap;
    display: inline;
    float: right;
    margin-top: 10px;
}

.contact-btn:hover {
    background-color: var(--secondary-color);
    color: #ffffff !important;
}

.search-trigger {
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-trigger:hover {
    color: var(--primary-color) !important;
}

/* Search Popup Overlay */
.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.search-popup.active {
    opacity: 1;
    visibility: visible;
}

.search-popup-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-popup-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.search-popup-content {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.search-popup-form {
    position: relative;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.search-popup-form input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 15px 50px 15px 0;
    color: #fff;
    font-size: 1.5rem;
    outline: none;
}

.search-popup-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-popup-form button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-popup-form button:hover {
    color: var(--secondary-color);
}

.contact-btn::after {
    display: none;
}

/* Slider Section */
.slider-section {
    position: relative;
}

/*.carousel-item {*/
/*    height: 80vh;*/
/*    min-height: 500px;*/
/*    background-color: #000;*/
/*}*/

/* Slider Background Images */
.carousel-item:nth-child(1) .slider-bg {
    background-image: url('https://images.unsplash.com/photo-1487875961445-47a00398c267?q=80&w=2070&auto=format&fit=crop');
}

.carousel-item:nth-child(2) .slider-bg {
    background-image: url('https://images.unsplash.com/photo-1581094794329-cd1361daca69?q=80&w=2070&auto=format&fit=crop');
}

.carousel-item:nth-child(3) .slider-bg {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=2015&auto=format&fit=crop');
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    /* Overlay effect */
}

.carousel-caption {
    bottom: 30%;
    text-align: center;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.slider-btn {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 5px;
    background-color: var(--secondary-color);
    border: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: #157c93;
    transform: translateY(-2px);
}

/* Section Common */
.section-padding {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h3 {
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-line {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto;
}

.section-column {
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    margin-bottom: 25px;
}

/* About / Company Section */
.about-section {
    background-color: #fcfdfe;
    background-image: radial-gradient(var(--primary-color) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    background-position: center;
    opacity: 1;
    overflow: hidden;
    border-top: 1px solid #f0f4f8;
    border-bottom: 1px solid #f0f4f8;
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(252, 253, 254, 1) 0%, rgba(252, 253, 254, 0.8) 50%, rgba(252, 253, 254, 1) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-section .container-fluid {
    position: relative;
    z-index: 2;
}

.about-image-wrapper {
    position: relative;
    padding: 50px 30px;
}

/* Decorative background shape to fill empty space */
.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    animation: float-slow 10s infinite ease-in-out;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.image-one {
    width: 85%;
    position: relative;
    z-index: 1;
}

.image-one img {
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.image-two {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 60%;
    z-index: 2;
    border: 10px solid #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-two img {
    border-radius: 12px;
    width: 100%;
}

.experience-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    z-index: 3;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 78, 146, 0.4);
}

.experience-badge .number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--secondary-color);
}

.experience-badge .text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.section-label {
    background: rgba(0, 78, 146, 0.08);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
}

.about-content .subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.about-content .title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark-color);
    margin-bottom: 25px;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Feature Item Small Tiles */
.about-features-grid {
    position: relative;
    z-index: 5;
}

.feature-item-small {
    background: #fff;
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 78, 146, 0.04);
    transition: var(--transition);
    border: 1px solid #f0f4f8;
    height: 100%;
}

.feature-item-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 78, 146, 0.08);
    border-color: var(--primary-color);
}

.feature-item-small i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.feature-item-small h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.feature-item-small p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

.section-column {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin-bottom: 30px;
    border-radius: 2px;
}

.comprehensive-solutions h4 {
    font-size: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.about-commitment {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 78, 146, 0.05);
    border: 1px solid #f0f4f8;
}

.about-commitment p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.about-description .main-para {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-description p {
    margin-bottom: 18px;
    line-height: 1.8;
    color: #444;
}

.services-list-wrapper h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.power-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.power-services-list li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #444;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.power-services-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.power-services-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}



.stats-bar-wrapper {
    background: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 78, 146, 0.08);
    border: 1px solid #f0f4f8;
    position: relative;
    z-index: 10;
}

.stats-bar-wrapper .col-md-3:not(:last-child) {
    border-right: 1px solid #eee;
}

@media (max-width: 768px) {
    .stats-bar-wrapper .col-md-3 {
        border-right: none !important;
    }

    .stats-bar-wrapper .col-6:nth-child(odd) {
        border-right: 1px solid #eee !important;
    }

    .stats-bar-wrapper .col-6:nth-child(-n+2) {
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

.stat-count-item {
    transition: var(--transition);
}

.stat-count-item:hover {
    transform: translateY(-5px);
}

.cta-box {
    background: #fff;
    padding: 35px;
    border-left: 8px solid var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    opacity: 0.05;
    border-radius: 0 0 0 100%;
}

.cta-box h4 {
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cta-box p {
    color: #666;
    margin-bottom: 15px;
}

/* Products Section */
.products-section {
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #004e92;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 78, 146, 0.12) !important;
    border-color: var(--primary-color);
}

.product-img {
   
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-content h4 {
    color: var(--dark-color);
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-content h4 {
    color: var(--primary-color);
}

.product-desc-short {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    height: 0px;
    /* Ensure consistent spacing for 2 lines */
}

.view-more-link {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.view-more-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.view-more-link:hover {
    color: var(--secondary-color);
}

.view-more-link:hover i {
    transform: translateX(5px);
}

.section-description {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 800px;
}



.blog-btn {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
}

/* Services Detail Section */
.services-detail-section {
    background-color: #f8fbff;
}

.featured-brand-banner {
    background: #fff;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.featured-brand-banner::before {
    content: 'MINGCH';
    position: absolute;
    right: -20px;
    top: -10px;
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.03;
    color: var(--primary-color);
    pointer-events: none;
}

.service-detail-card {
    background: #fff;
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 78, 146, 0.1) !important;
}

.service-detail-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 78, 146, 0.05);
    border-radius: 12px;
}

.product-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-bullet-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.product-bullet-list li i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.italic {
    font-style: italic;
}

/* Gallery Section */
.gallery-item {
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: var(--transition);
    border-radius: 5px;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

/* Blog Section */
.blog-item {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-item:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-details {
    padding: 20px;
}

.blog-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-details p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-info {
    padding: 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    height: 100%;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-form {
    padding: 30px;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.form-control {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    border: none;
    padding: 12px;
}

.submit-btn:hover {
    background: var(--dark-color);
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #aaa;
    padding: 70px 0 20px;
    margin-top: 50px;
}

.footer-widget h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 10px 15px;
    border-radius: 30px;
    border: none;
    background: #222;
    color: #fff;
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--dark-color);
    cursor: pointer;
}

/* ... (existing footer styles) ... */
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    margin-top: 50px;
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE / MOBILE STYLES
   ========================================= */

@media (max-width: 991px) {

    /* ============================
       TOPBAR MOBILE LAYOUT
       ============================ */
    .site-topbar {
        padding: 6px 0;
        height: auto;
    }

    .site-topbar .row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    .topbar-left {
        text-align: left;
        flex: 1;
    }

    .topbar-time {
        display: none !important;
    }

    .topbar-right {
        text-align: right;
        flex: 0 0 auto;
    }

    .topbar-item {
        font-size: 11px;
        line-height: 1.3;
        margin: 0;
        white-space: nowrap;
    }

    .social-wrapper {
        display: flex;
        gap: 4px;
        justify-content: flex-end;
    }

    .social-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        flex-shrink: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50% !important;
        font-size: 13px;
        margin: 0;
        background: rgba(255, 255, 255, 0.2);
        padding: 0 !important;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 480px) {
    .topbar-item {
        font-size: 10px;
    }

    .social-icon {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        font-size: 11px;
    }



    .carousel-caption {
        bottom: 20% !important;
    }

    .carousel-caption h2 {
        font-size: 1.4rem !important;
    }

    .carousel-caption p {
        font-size: 0.8rem !important;
        margin-bottom: 15px !important;
    }
}



@media (max-width: 991px) {

    /* ============================
           MOBILE SIDE DRAWER NAV
           ============================ */
    .navbar-toggler {
        z-index: 1051;
        border: none;
        padding: 0;
        color: var(--dark-color);
        font-size: 1.5rem;
        transition: opacity 0.3s ease;
    }

    /* Hide hamburger when menu is open */
    .navbar-toggler[aria-expanded="true"] {
        opacity: 0;
        pointer-events: none;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }

    /* Side Drawer Container */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -320px;
        /* Start further off-screen */
        width: 300px;
        height: 100vh;
        background-color: #fff;
        padding: 0;
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        display: flex !important;
        flex-direction: column;
        visibility: hidden;
        /* Hide when closed */
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1050;
    }

    .navbar-collapse.show {
        right: 0;
        visibility: visible;
    }

    /* Offcanvas Header */
    .offcanvas-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: #f8f9fa;
        border-bottom: 1px solid #ebebeb;
    }

    .offcanvas-header img {
        height: 35px;
        width: auto;
    }

    .btn-close {
        font-size: 1rem;
        opacity: 0.5;
        transition: opacity 0.3s;
        cursor: pointer;
    }

    .btn-close:hover {
        opacity: 1;
    }



    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        color: #333 !important;
        font-size: 15px;
        font-weight: 500;
        padding: 15px 25px;
        display: block;
        transition: background-color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: #f9f9f9;
        color: var(--primary-color) !important;
        padding-left: 30px;
        /* Slide effect */
    }

    .nav-link::after {
        display: none;
        /* Remove bottom line animation on mobile */
    }

    /* Mobile Contact Button */
    .contact-btn {
        margin: 20px 25px;
        display: block;
        width: calc(100% - 100px);
        text-align: center;
        background-color: var(--primary-color);
        color: #fff !important;
        padding: 12px 0;
        border-radius: 5px;
    }

    /* Responsive Spacing & Typography */
    .section-padding {
        padding: 50px 0;
    }

    .section-header h3 {
        font-size: 1.8rem;
    }

    .carousel-caption h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    body {
        padding-top: 100px;
    }



    .container-fluid {
        width: 100% !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    /* Backdrop Overlay */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 1;
        transition: opacity 0.4s ease;
        pointer-events: none;
        transform: translateX(-100%);
    }

    /* About Section Mobile */
    .about-content .title {
        font-size: 1.8rem;
    }

    .about-image-wrapper {
        padding: 0;
        margin-bottom: 40px;
    }

    .experience-badge {
        padding: 15px;
    }

    .experience-badge .number {
        font-size: 2rem;
    }

    .power-services-list {
        grid-template-columns: 1fr;
    }

    .custom-about-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 15px;
    }

    .custom-about-tabs .nav-link {
        padding: 8px 15px !important;
        font-size: 0.8rem !important;
    }
}

/* Professional Banner CTA Section */
.banner-cta-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(rgba(0, 78, 146, 0.85), rgba(0, 0, 0, 0.8)), url('../img/Generator.webp') no-repeat center center / cover;
    background-attachment: fixed;
}

.banner-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: var(--secondary-color);
    opacity: 0.1;
    pointer-events: none;
}

.banner-cta-content h2 {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
    .banner-cta-content h2 {
        font-size: 2.2rem !important;
    }
}

/* Optimized Product Cards for 2-per-row Mobile View */
@media (max-width: 576px) {
    .product-img {
        height: 140px;
        /* Shorter image for better ratio in small column */
    }

    .product-content {
        padding: 15px !important;
        /* Less padding to save space */
    }

    .product-content h4 {
        font-size: 1rem;
        /* Smaller heading */
        margin-bottom: 10px !important;
    }

    .product-desc-short {
        font-size: 0.8rem;
        /* Smaller description */
        line-height: 1.4;
        height: 2.8em;
        margin-bottom: 15px;
    }

    .view-more-link {
        font-size: 0.85rem;
    }

    .products-section .section-header h3 {
        font-size: 1.6rem !important;
    }
}

/* Why Choose Us Section Styles */
.why-choose-section {
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.why-choose-section .section-label {
    background: rgba(255, 186, 8, 0.2) !important;
    color: var(--secondary-color) !important;
}

.choose-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 40px 30px !important;
}

.choose-card:hover {
    background: #ffffff;
    transform: translateY(-15px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.choose-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

.choose-card:hover .choose-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color);
}

.choose-card h4 {
    font-size: 1.35rem;
    color: #000000;
    font-weight: 700;
}

.choose-card p {
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .why-choose-section {
        padding: 70px 0;
    }

    .choose-card {
        padding: 30px 20px !important;
    }
}

@media (max-width: 576px) {
    .why-choose-section .section-header h3 {
        font-size: 1.8rem !important;
    }

    .why-choose-section .row.g-4 {
        --bs-gutter-x: 0.8rem;
        --bs-gutter-y: 0.8rem;
    }

    .choose-card {
        padding: 20px 10px !important;
    }

    .choose-card h4 {
        font-size: 0.95rem;
        margin-bottom: 8px !important;
    }

    .choose-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .choose-icon i {
        font-size: 1.8rem !important;
    }

    .choose-icon {
        margin-bottom: 12px !important;
    }
}

/* Products Grid Section Styles */
.products-grid-section {
    background-color: #f8f9fa;
}

.product-detail-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.product-detail-link:hover {
    color: inherit !important;
}

.product-grid-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #004e92;
    transition: var(--transition);
}

.product-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.product-grid-img {
    
    overflow: hidden;
}

.product-grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-grid-card:hover .product-grid-img img {
    transform: scale(1.1);
}

.product-grid-content {
    padding: 20px;
}

.product-grid-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.product-short-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    /* Force 2 lines height */
}

.product-btns {
    display: flex;
    gap: 10px;
}

.btn-call {
    background-color: var(--primary-color);
    color: #fff !important;
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 5px;
    border-radius: 5px;
    transition: var(--transition);
    text-align: center;
}

.btn-call:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color) !important;
}

.btn-details {
    background-color: #fff;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    flex: 1.4;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 5px;
    border-radius: 5px;
    transition: var(--transition);
    text-align: center;
}

.btn-details:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

@media (max-width: 576px) {
    .product-grid-img {
        height: 140px;
    }

    .product-grid-content {
        padding: 12px;
    }

    .product-grid-content h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .product-short-desc {
        font-size: 0.75rem;
        margin-bottom: 12px;
        height: 3em;
    }

    .product-btns {
        flex-direction: column;
        gap: 5px;
    }

    .btn-call,
    .btn-details {
        font-size: 0.7rem;
        padding: 6px 2px;
    }
}

/* Appointment Banner Section Styles - Dark Solid Refined */
.appointment-banner-section {
    background-color: #25343F;
    padding: 70px 0;
    position: relative;
    border-top: none;
    border-bottom: none;
}

.appointment-content h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.appointment-number-info h3 {
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1;
}

.appointment-number-info i {
    color: var(--secondary-color);
    font-size: 2rem !important;
}

.btn-get-started {
    background-color: var(--secondary-color);
    color: var(--dark-color) !important;
    padding: 16px 45px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 5px;
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-get-started:hover {
    background-color: #ffffff;
    color: var(--primary-color) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
    .appointment-banner-section {
        padding: 60px 0;
        text-align: center;
    }

    .appointment-content h2 {
        font-size: 1.2rem;
    }

    .appointment-number-info h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .appointment-banner-section {
        padding: 50px 15px;
    }

    .appointment-number-info h3 {
        font-size: 1.8rem;
    }

    .appointment-number-info i {
        font-size: 1.5rem !important;
    }

    .btn-get-started {
        width: 100%;
        margin-top: 25px;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Categories Section Styles */
.categories-section {
    background-color: #ffffff;
}

.category-card {
    background: #fcfdfe;
    border: 1px solid #004e92;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 78, 146, 0.08);
}

.category-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 78, 146, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotateY(180deg);
}

.category-card h5 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-top: 15px;
    transition: var(--transition);
}

.category-card:hover h5 {
    color: var(--primary-color);
}

@media (max-width: 576px) {
    .category-card {
        padding: 20px 10px !important;
    }

    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .category-card h5 {
        font-size: 0.9rem;
    }
}

/* Client Logo Slider Section - Premium Upgrade */
.client-slider-section {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    /* Deep Professional Navy */
    padding: 20px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Lighten the section titles for dark background */
.client-slider-section .section-label {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.client-slider-section h3 {
    color: #ffffff !important;
}

.client-slider-section .section-line {
    background-color: var(--secondary-color);
}

.client-logo-item {
    text-align: center;
    padding: 5px;
    /* Significantly reduced to close the gap */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-item img {
    max-height: 100px;
    width: 155px;
    /* Wider logos to bridge the horizontal gap */
    height: 100px;
    object-fit: contain;
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 78, 146, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    filter: grayscale(100%);
    opacity: 0.95;
    /* High visibility as requested */
    transition: all 0.4s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 78, 146, 0.12);
}

.client-carousel .carousel-item {
    min-height: auto !important;
    height: auto !important;
    background-color: transparent !important;
}

.client-carousel .carousel-inner {
    padding: 40px 0;
}

/* Contact Section Refinements - Premium Professional Look */
.section-contact {
    background-color: #ffffff;
    padding: 100px 0 !important;
}

.contact-info {
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(0, 78, 146, 0.06);
    height: 100%;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.03);
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 24px 0 0 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 78, 146, 0.05) 0%, rgba(0, 78, 146, 0.1) 100%);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.contact-item:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(10deg);
}

.contact-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-item p {
    margin-bottom: 0;
    color: #666;
    font-size: 0.95rem;
}

.contact-form {
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 78, 146, 0.08);
    /* Deep professional shadow */
    border: 1px solid rgba(0, 78, 146, 0.06);
}

.contact-form .form-control {
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #fcfdfe;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 78, 146, 0.05);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003a6e 100%);
    border: none;
    color: #fff;
    transition: all 0.4s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 78, 146, 0.25);
}

/* FAQ Section Styling - Balanced Professional Minimalist */
.faq-section {
    background-color: #f9fcff;
    /* Very subtle blue-tinted white for section distinction */
    padding: 80px 0;
}

.premium-accordion .accordion-item {
    border: 1px solid #d1d9e6;
    /* Slightly stronger border for visibility */
    margin-bottom: 12px;
    background: #ffffff;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
}

.premium-accordion .accordion-item:hover {
    border-color: var(--primary-color);
}

.premium-accordion .accordion-button {
    padding: 22px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-color);
    background-color: #eef6fe;
    /* More visible professional blue background */
    box-shadow: none !important;
    border-radius: 0 !important;
    border-left: 5px solid transparent;
    transition: all 0.3s ease;
}

.premium-accordion .accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: var(--primary-color);
    border-left: 5px solid var(--secondary-color);
}

.premium-accordion .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(21%) sepia(85%) saturate(1512%) hue-rotate(190deg) brightness(98%) contrast(105%);
}

.premium-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.premium-accordion .accordion-body {
    padding: 30px 40px;
    color: #444;
    line-height: 1.8;
    font-size: 1rem;
    background: #ffffff;
    border: none;
    position: relative;
}

.faq-number {
    display: none;
    /* Removed for minimalist look */
}

/* Global Utilities */
.text-primary-color {
    color: var(--primary-color) !important;
}

/* Services Page Header Overrides (Dark Design) */
.services-page-header,
.products-page-header {
    background-color: #1c1e21;
}

.services-page-header .text-primary-color,
.products-page-header .text-primary-color {
    color: #ffffff !important;
}

.services-page-header .breadcrumb-item.active,
.clients-page-header .breadcrumb-item.active,
.products-page-header .breadcrumb-item.active {
    color: #ffffff;
}

/* Services Main Section Overrides */
.services-main-section {
    background-color: #eff5fa;
}

.service-item-card {
    border: none !important;
    background: #ffffff;
    transition: all 0.4s ease;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Page Header Base style (light) */
.page-header {
    background-color: #242a30;
}

/* Home Page Section-Specific Overrides */
.index-hero-slider {
    position: relative;
}

.index-about-section {
    position: relative;
}

.index-products-featured {
    position: relative;
}

.index-promotion-banner {
    position: relative;
}

.index-services-breakdown {
    position: relative;
}

.index-value-props {
    position: relative;
}

.index-products-inventory {
    position: relative;
}

.index-cta-appointment {
    position: relative;
}

.index-product-categories {
    position: relative;
}

.index-client-showcase {
    position: relative;
}

.index-faq-section {
    position: relative;
}

/* Clients Page Styles */
.clients-page-header {
    background-color: #242a30;
}

.clients-grid-section,
.products-page-main {
    background-color: #eff5fa;
}

.client-logo-card {
    transition: all 0.3s ease;
    border: none !important;
    background: #fff;
    min-height: 120px;
}

.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.client-logo-img {
    max-height: 60px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-card:hover .client-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}


.breadcrumb-item a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.services-page-header .breadcrumb-item a,
.clients-page-header .breadcrumb-item a,
.products-page-header .breadcrumb-item a {
    color: #ffffff;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary-color);
    font-weight: bold;
}

.service-item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 78, 146, 0.1) !important;
    border-color: rgba(0, 78, 146, 0.2) !important;
}

.service-item-card .icon-box {
    height: 80px;
    width: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 78, 146, 0.05);
    transition: all 0.4s ease;
}

.service-item-card:hover .icon-box {
    background: var(--primary-color);
    color: #ffffff !important;
}

.service-item-card:hover .icon-box i {
    color: #ffffff !important;
}

/* Footer Enhancements */
.footer-factory-title {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.footer-bottom-border {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* About Page Styles */
.about-page-header {
    background-color: #242a30;
}

.about-page-main {
    background-color: #ffffff;
}

.about-viz-wrapper {
    position: relative;
    padding-right: 30px;
}

.experience-years-badge {
    position: absolute;
    bottom: -30px;
    right: 0;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 25px 35px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(255, 186, 8, 0.3);
    text-align: center;
}

.about-feature-box {
    background: #ffffff;
    border: 1px solid #eef2f6;
    transition: all 0.4s ease;
}

.about-feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05) !important;
    border-color: var(--primary-color);
}

.tech-deep-dive {
    border-left: 5px solid var(--primary-color);
}

.about-story-text p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Product Details Page Styles */
.product-details-page-header {
    background-color: #1c1e21;
}

.product-details-page-header .text-primary-color {
    color: #ffffff !important;
}

.product-details-page-header .breadcrumb-item.active {
    color: #ffffff;
}

.product-details-page-header .breadcrumb-item a {
    color: #ffffff;
}

.product-details-section {
    background-color: #ffffff;
}

/* Main Product Image */
.main-product-image {
    position: relative;
    overflow: hidden;
}

.main-product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.main-product-image:hover img {
    transform: scale(1.02);
}

/* Product Thumbnail Grid */
.product-thumbnail-grid {
    position: relative;
}

.thumbnail-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 3px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.thumbnail-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.product-category-badge {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.product-title {
    font-size: 2.5rem;
    line-height: 1.2;
}

.product-short-description .lead {
    color: #555;
    font-size: 1.1rem;
}

.product-meta-info .meta-item {
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-meta-info .meta-item:hover {
    background: var(--primary-color) !important;
    color: #ffffff;
    transform: translateY(-3px);
}

.product-meta-info .meta-item:hover i {
    color: #ffffff !important;
}

.product-contact-actions .btn {
    padding: 12px 30px;
    font-weight: 600;
}

/* Ensure equal width buttons on desktop */
@media (min-width: 992px) {
    .product-contact-actions .row>div {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .product-contact-actions .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
    }

    .product-contact-actions .btn i {
        font-size: 1rem;
    }
}

.product-contact-info {
    border-left: 4px solid var(--primary-color);
}

.product-contact-info a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.product-contact-info a:hover {
    color: var(--primary-color);
}

.product-full-description {
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
}

.product-full-description h3 {
    font-size: 2rem;
}

.product-full-description h5 {
    color: var(--dark-color);
    margin-top: 30px;
}

.product-full-description p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.product-full-description .feature-list {
    list-style: none;
    padding: 0;
}

.product-full-description .feature-list li {
    padding: 10px 0;
    color: #555;
    font-size: 1rem;
}

.product-full-description .table {
    background: #ffffff;
    margin-top: 20px;
    width: 100% !important;

}

.product-full-description .table td {
    padding: 15px;
    vertical-align: middle;
}

.product-full-description .table .fw-bold {
    background: #f8f9fa;
    color: var(--primary-color);
    width: 30%;
}

@media (max-width: 768px) {
    .premium-accordion .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .premium-accordion .accordion-body {
        padding: 20px;
    }

    /* Product Details Mobile Responsive */
    .product-title {
        font-size: 1.5rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }

    .product-short-description .lead {
        font-size: 0.95rem;
    }

    .product-contact-actions h5 {
        font-size: 1.1rem;
    }

    .product-contact-actions .btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .product-contact-actions .btn i {
        font-size: 0.9rem;
    }

    .main-product-image {
        margin-bottom: 20px;
    }

    .thumbnail-item img {
        height: 80px;
    }

    .product-meta-info .meta-item {
        font-size: 12px;
        padding: 10px !important;
    }

    .product-contact-info {
        font-size: 14px;
    }

    .product-full-description {
        padding: 25px;
    }

    .product-full-description h3 {
        font-size: 1.5rem;
    }

    .product-full-description h5 {
        font-size: 1.1rem;
    }
}

/* ========================================
   Blog Page Styles
======================================== */

.blog-page-header {
    background: linear-gradient(135deg, #1c1e21 0%, #2c3e50 100%);
    position: relative;
}

.blog-page-header .breadcrumb-item a {
    color: #ffffff;
}

.blog-page-header .breadcrumb-item.active {
    color: #e0e0e0;
}

.blog-page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #ffffff;
}

.blog-section {
    background-color: #f8f9fa;
}

/* Blog Card Styles */
.blog-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.blog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: #1c1e21;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    margin-bottom: 12px;
    align-items: center;
}

.blog-meta span {
    color: #6c757d;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.blog-meta i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.blog-excerpt {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.btn-read-more {
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-read-more:hover {
    transform: translateX(5px);
}

/* Pagination Styles */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 10px 18px;
    margin: 0 3px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

/* Recent Posts Widget */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.recent-post-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
}

.recent-post-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
}

.recent-post-content h6 a {
    color: #1c1e21;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-content h6 a:hover {
    color: var(--primary-color);
}

.recent-post-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.recent-post-date i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Support Widget */
.support-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.support-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.support-widget-content {
    position: relative;
    z-index: 2;
}

.support-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.support-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.support-widget .widget-title {
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.support-widget .widget-title::after {
    background: #ffffff;
}

.support-contact a {
    font-weight: 500;
    transition: all 0.3s ease;
}

.support-contact a:hover {
    text-decoration: underline;
    transform: translateX(5px);
    display: inline-block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-card-image {
        height: 180px;
    }

    .blog-card-content {
        padding: 15px;
    }

    .blog-card-title {
        font-size: 1rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .blog-meta {
        margin-bottom: 10px;
    }

    .blog-meta span {
        font-size: 0.8rem;
    }

    .blog-meta i {
        font-size: 0.8rem;
    }

    .blog-excerpt {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .btn-read-more {
        padding: 7px 15px;
        font-size: 0.85rem;
    }

    .blog-sidebar {
        margin-top: 40px;
        position: static;
    }

    .sidebar-widget {
        margin-bottom: 20px;
    }

    .recent-post-thumb {
        width: 70px;
        height: 70px;
    }
}

/* Extra Small Screens (Mobile) */
@media (max-width: 576px) {
    .blog-card-image {
        height: 120px;
    }

    .blog-card-content {
        padding: 10px;
    }

    .blog-card-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-meta {
        margin-bottom: 8px;
        flex-wrap: nowrap;
    }

    .blog-meta span {
        font-size: 0.7rem;
    }

    .blog-meta i {
        font-size: 0.7rem;
    }

    .blog-excerpt {
        display: none;
    }

    .btn-read-more {
        padding: 4px 10px;
        font-size: 0.75rem;
        margin-top: auto;
    }

    .btn-read-more i {
        display: none;
    }

    .page-header {
        padding: 30px 0 !important;
    }

    .page-header h1 {
        font-size: 1.5rem !important;
    }
}/* ========================================
   Contact Page Styles
======================================== */

.contact-page-header {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    position: relative;
}

.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    color: #fff;
    font-size: 28px;
    margin: 0 auto 20px;
    display: inline-block;
    transition: transform 0.5s ease;
}

.contact-info-card:hover .contact-icon {
    transform: rotateY(180deg);
}

.contact-info-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.contact-info-card p,
.contact-info-card a {
    color: #666;
    margin-bottom: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper,
.map-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--dark-color);
}

.contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 78, 146, 0.1);
}

.map-container {
    overflow: hidden;
    border-radius: 5px;
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}
/* ========================================
   Modern Contact Page Redesign
======================================== */

.contact-box {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info-sidebar {
    background: linear-gradient(135deg, #004e92 0%, #000428 100%);
    color: #fff;
    min-height: 100%;
}

.contact-info-content {
    position: relative;
    z-index: 2;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.circle-1,
.circle-2 {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
}

.contact-form .form-floating .form-control {
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.contact-form .form-floating .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.contact-form .form-floating label {
    padding-left: 0;
    color: #999;
}

.contact-form textarea.form-control {
    min-height: 150px;
}
/* Contact Page Responsive */
@media (max-width: 991px) {
    .contact-info-sidebar {
        min-height: auto;
        padding-bottom: 60px !important;
        /* Ensure circles fit */
    }

    .circle-1 {
        width: 150px;
        height: 150px;
        top: -30px;
        right: -30px;
    }

    .circle-2 {
        width: 200px;
        height: 200px;
        bottom: -50px;
        left: -50px;
    }
}

@media (max-width: 576px) {

    .contact-info-sidebar,
    .contact-box .bg-white {
        padding: 30px 20px !important;
        /* Proper mobile padding */
    }

    .circle-1 {
        width: 100px;
        height: 100px;
    }

    .circle-2 {
        display: none;
        /* Hide roughly to save space */
    }

    .contact-info-sidebar h3,
    .contact-box h3 {
        font-size: 1.5rem;
        /* Smaller headings */
    }
}
/* Final Professional Touches for Contact Mobile */
@media (max-width: 576px) {
    .contact-form .btn-primary {
        width: 100%;
        /* Full width button on mobile */
        padding: 12px 20px;
    }

    .contact-form .form-floating .form-control {
        font-size: 14px;
        /* Slightly smaller for mobile */
    }

    .map-container-full iframe {
        height: 300px;
        /* Shorter map for mobile */
    }

    .contact-info-content h3 {
        margin-bottom: 20px !important;
    }

    .info-item {
        margin-bottom: 25px !important;
    }
}
