/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Define color variables */
:root {
    --primary: #355EFC;
    --primary-rgb: 53, 94, 252;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #011A41;
}

/* Set font family for body */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    /* Light grey background */
    font-size: 14px;
    /* Base font size for smaller screens */
}



/* Set font weight for headings */
h1,
.h1,
h2,
.h2,
.fw-bold {
    font-family: 'Poppins', sans-serif;
    font-weight: 700 !important;
}

/* Set font weight for subheadings */
h3,
.h3,
h4,
.h4,
.fw-medium {
    font-family: 'Poppins', sans-serif;
    font-weight: 600 !important;
}

/* Set font weight for other headings */
h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-family: 'Poppins', sans-serif;
    font-weight: 500 !important;
}

/* Back to top button styling */
.back-to-top {
    position: fixed;
    display: none;
    right: 20px;
    /* Reduced from 30px */
    bottom: 20px;
    /* Reduced from 30px */
    z-index: 99;
}


/*** Spinner ***/
/* Define spinner styles */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

/* Show spinner on demand */
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
/* Define button styles */
/* Base button styles */
.btn {
    transition: .5s;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Set primary button color */
.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

/* Set button sizes for different screen sizes */
.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

/* Set button padding and alignment */
.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/* Set breadcrumb item styles */
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}


/* Set breadcrumb item before styles */
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--tertiary);
}

/*** Facts ***/
/* Set facts section styles */
.facts {
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0;
}



/*** Callback ***/
/* Set callback section styles */
.callback {
    position: relative;
    padding: 2rem 0;
}

/* Set callback section before styles */
.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    background-size: cover;
    background-position: center;
    z-index: -1;
}


/*** Feature ***/
/* Set feature section styles */
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
    padding: 1rem;
}

/* Set feature box hover styles */
.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
    transform: translateY(-5px);
}

/* Set feature box child element hover styles */
.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
/* Set service section styles */
.service .nav .nav-link {
    transition: .5s;
    margin-bottom: 15px;
    padding: 1rem;
}

/* Set service nav link hover styles */
.service .nav .nav-link:hover {
    background: var(--light);
    border-color: var(--primary) !important;
    transform: translateX(5px);
}

/* Set service nav link active styles */
.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

/* Set service nav link active h5 styles */
.service .nav .nav-link.active h5,
.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}

/* Set features list styles */
.features-list {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

/* Set features list p styles */
.features-list p {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Set features list last p styles */
.features-list p:last-child {
    margin-bottom: 0;
}



/* Set product image styles */
.product-image {
    transition: transform 0.5s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

/* Service Item Base Styles */
.service-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: all 0.4s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-item:hover .service-img img {
    transform: scale(1.05);
}

.service-item h4 {
    font-weight: 600;
    color: var(--primary);
}

.service-features {
    background: rgba(53, 94, 252, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.service-features ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.service-features ul li:last-child {
    margin-bottom: 0;
}

.service-features i {
    color: var(--primary);
    font-size: 14px;
}

/* Client logos grid styling */
.client-item {
    position: relative;

}

.client-logo {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-logo img {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.7;
    max-width: 95%;
    /* Increased max-width */
    max-height: 95%;
    /* Increased max-height */
    display: block;
    margin: auto;
}

.client-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 columns */
    grid-template-rows: repeat(2, 1fr);
    /* 2 rows */
    grid-gap: 20px;
    /* Increased grid gap */
}


.client-item {
    grid-column: span 1;
    /*each client should span 1 column */
    padding: 10px;
    /*Added more padding around clients*/

    border: 1px solid rgba(0, 0, 0, 0.1);

}


@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}



.service-block {
    padding: 1rem;
    /* Reduced padding */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

/* Hover effects */
.service-block:hover {
    transform: translateY(-3px);
    /* Reduced movement */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

/* Image container */
.service-block .col-lg-6:first-child {
    max-width: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.service-block img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    /* Reduced height */
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* Image zoom effect on hover */
.service-block:hover img {
    transform: scale(1.03);
    /* Reduced zoom */
}

/* Feature list hover effects */
.service-features {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 2px solid #0d6efd;
    transition: all 0.3s ease;
}

.service-block:hover .service-features {
    background: #f0f4ff;
    border-left-width: 3px;
}

/* List item hover effects */
.service-features ul li {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    /* Smaller font */
    transition: all 0.3s ease;
    padding-left: 1.25rem;
    position: relative;
}

.service-features ul li:hover {
    color: #0d6efd;
    transform: translateX(3px);
    /* Reduced movement */
}

/* Heading effects */
.service-block h2 {
    color: #0d6efd;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-size: 1.25rem;
    /* Smaller heading */
}

.service-block:hover h2 {
    transform: translateX(3px);
}

/* Add subtle accent */
.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: #0d6efd;
    transition: height 0.3s ease;
}

.service-block:hover::before {
    height: 100%;
}


.team-item {
    position: relative;
    padding: 1.5rem;
    width: 100%;
    max-width: 370px;
    margin: 1rem auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-item:hover {
    transform: translateY(-3px);
}

/* Image container to maintain aspect ratio */
.team-item .img-container {
    position: relative;
    width: 250px;  /* Fixed width */
    height: 250px; /* Fixed height to match width */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid #ebebeb91;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-item img {
    width: 83%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the container */
    border-radius: 50%;
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
    .team-item .img-container {
        width: 200px;  /* Smaller size for mobile */
        height: 200px;
    }
    
    .team-item {
        padding: 1rem;
        margin: 0.5rem auto;
    }
}

.team-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.75rem 0;
}

.team-item .team-social {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: #fff;
}



/*** Footer ***/
.footer {
    background-color: var(--dark);
    padding: 30px 15px;
    /* Base padding for mobile */
}

.footer h4 {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    font-size: 1.25rem;
    /* Base font size for mobile */
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer a {
    color: #ffffff;
    transition: all 0.3s ease-in-out;
    position: relative;
    padding: 5px 0;
    text-decoration: none;
    font-size: 0.9rem;
    /* Base font size for mobile */
}

.footer a:not(.btn) {
    position: relative;
}

.footer a:not(.btn):hover {
    color: var(--secondary);
    padding-left: 10px;
}

.footer a:not(.btn)::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease-in-out;
}

.footer a:not(.btn):hover::before {
    width: 100%;
}

.badge-img {
    width: 60px;
    /* Base width for mobile */
    margin: 5px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    filter: brightness(0.9);
}

.badge-img:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.logo-img {
    width: 90px;
    /* Base width for mobile */
    margin: 5px;
    border-radius: 10px;
    background-color: white;
    padding: 8px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Copyright section */
.copyright {
    background: var(--dark);
    padding: 12px 8px;
    margin: 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright a {
    color: var(--light);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.copyright a:hover {
    color: var(--secondary);
}

.copyright p {
    color: var(--light);
    font-size: 0.8rem;
    display: inline;
    margin-left: 5px;
    opacity: 0.8;
}


/* whatsapp button integration */

.clipboard-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 9999;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.btn-success {
    background-color: #25d366;
    border-color: #25d366;
}

.btn-success:hover {
    background-color: #128c7e;
    border-color: #128c7e;
}

.modal-footer .btn-success {
    display: flex;
    align-items: center;
    gap: 8px;
}
#productModal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

#productModal .modal-header {
    background: linear-gradient(145deg, #f8f8f8, #ffffff);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
}

#productModal .modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #ffffff;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(245, 245, 245, 0.1)), url('/imgs/back.png') center/cover no-repeat;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(2px);
}

#modalProductImage {
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transform: scale(1.02);
}

#modalProductImage:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.2));
}

.specifications p {
    background: white;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sizes .badge {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.modal .badge {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(145deg, #f8f8f8, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.modal .features-list {
    background: linear-gradient(145deg, #f8f8f8, #ffffff);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.modal .features-list p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.modal .features-list p i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.08);
    padding: 5px;
    border-radius: 50%;
}

.modal .features-list p:last-child {
    margin-bottom: 0;
}

.modal-title {
    color: var(--dark);
    font-weight: 700;
}

/* Close button styling */
.modal .btn-close {
    background-color: rgba(39, 39, 39, 0.308);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal .btn-close:hover {
    background-color: rgba(53, 94, 252, 0.2);
    transform: rotate(90deg);
}

@media (max-width: 767.98px) {
    #productModal .modal-dialog {
        margin: 10px;
    }
    
    #modalProductImage {
        max-height: 200px;
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .product-details {
        margin-top: 20px;
    }
    
    .product-image-container {
        padding: 15px;
        margin: 15px 0;
    }
}
/* Product Styles with grayish shadow effect */
.product-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    min-height: 300px;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(245, 245, 245, 0.1)), url('/imgs/back.png') center/cover no-repeat;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    background-size: cover;
    background-position: center;
}

.product-item .position-relative {
    position: relative;
    overflow: hidden;
    padding: 16px;
    min-height: 200px;
    backdrop-filter: blur(2px);
    height: 100%;
}

.product-item img {
    transition: all 0.6s ease;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transform: scale(1);
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.12);
}

.product-item:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.2));
}

.product-item .text-center {
    padding: 12px;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.product-item h5 {
    color: var(--dark);
    font-weight: 700 !important;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
}

.product-item .text-primary {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(53, 94, 252, 0.1);
}

@media (max-width: 767.98px) {
    .product-item {
        background-size: cover;
        background-position: center;
        margin-bottom: 15px;
        min-height: 300px;
    }
    
    .product-item img {
        max-height: 150px;
    }
    
    .product-item .position-relative {
        min-height: 200px;
        padding: 16px;
    }
}

/* CEO Message Styles */
.ceo-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.ceo-image img {
    transition: transform 0.5s;
    width: 100%;
    height: auto;
}

.ceo-image:hover img {
    transform: scale(1.05);
}

.ceo-info {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s;
}

.ceo-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.ceo-message p {
    line-height: 1.6;
    color: var(--tertiary);
    font-size: 0.95rem;
}

.ceo-signature {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

.ceo-signature img {
    height: 50px;
    margin-right: 15px;
    opacity: 0.9;
}


/* Boxed filter button styles with smooth edges */
.btn-group .btn {
    margin: 0 4px;
    border-radius: 12px;
    /* Smooth edges for a boxed look */
    padding: 10px 20px;
    /* Adjust padding for a boxed shape */
    transition: 220ms all ease-in-out;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    min-height: 48px;
    /* Minimum touch target size */
    min-width: 48px;
    /* Minimum touch target size */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    color: var(--primary);
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #0056b3;
    /* Darker shade on hover */
    color: white;
}

.btn-group .btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    background-color: #004494;
    /* Even darker shade when active */
}

.btn-group .btn.active {
    background-color: #0056b3;
    color: white;
    border-color: #004494;
}

.btn-group .btn:not(.active) {
    background-color: var(--light);
    color: var(--primary);
    border-color: var(--light);
}


/* Add hover effect for view button */
.product-overlay {
    opacity: 1;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(3px);
}

.product-item:hover .product-overlay {
    opacity: 1;
}

/* Ensure view button meets minimum touch target size */
.view-btn {
    background: white;
    color: var(--primary);
    width: 48px;
    /* Increased to meet minimum touch target size */
    height: 48px;
    /* Increased to meet minimum touch target size */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: var(--primary);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Ensure social icons have adequate touch targets */
.social-icon {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon[href*="whatsapp"]:hover .social-icon-img,
.social-icon[href*="facebook"]:hover .social-icon-img,
.social-icon[href*="instagram"]:hover .social-icon-img,
.social-icon[href*="youtube"]:hover .social-icon-img,
.social-icon[href*="linkedin"]:hover .social-icon-img,
.social-icon[href*="twitter"]:hover .social-icon-img {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hero Section Styling with improved mobile responsiveness */
.page-header {
    background: linear-gradient(rgb(3, 70, 158), rgba(21, 101, 207, 0.7)), url(../imgs/hero-bg.jpg) center center no-repeat;
    background-size: cover;
    padding: 80px 16px;
    /* Adjusted padding for better mobile spacing */
    position: relative;
    margin-top: 56px;
    /* Adjusted for mobile header height */
}

/* Responsive typography for different screen sizes */
.page-header h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    /* Responsive font sizing */
    line-height: 1.3;
}

.page-header .text-light {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    /* Responsive font sizing */
}

.page-header .breadcrumb-item {
    color: #ffffff;
    font-size: clamp(0.875rem, 2vw, 1rem);
    /* Responsive font sizing */
}

.page-header .breadcrumb-item a {
    color: var(--light);
    padding: 8px;
    /* Increased touch target */
    display: inline-block;
}

.page-header .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 500;
}

.product-preview {
    position: relative;
    z-index: 1;
    padding: 10px;
    /* adjusted*/
}

.product-preview img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.product-preview:hover img {
    transform: translateY(-10px);
}


/* Smooth Scroll with improved offset for fixed header */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    /* Accounts for fixed header */
}

#products-section {
    scroll-margin-top: 72px;
}

/* Improved scroll animation performance */
.scroll-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    will-change: opacity, transform;
}

.scroll-transition.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Products section styling with improved mobile layout */
.container-xxl.py-5 {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 240, 0.95));
    padding: 48px 16px;
    /* Adjusted padding for mobile */
}


/* Typography improvements */
h1,
h2,
h3 {
    font-weight: 600;
    line-height: 1.3;
}

/* Responsive typography */
h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

/* Enhanced image handling */
.product-item img,
.service-img img {
    transition: transform 0.3s ease;
    max-height: 80vh;
    /* Prevent images from being too tall on mobile */
    object-fit: contain;
}

.product-item:hover img,
.service-img:hover img {
    transform: scale(1.05);
}

/* Button styles with improved touch targets */
.btn-primary {
    background-color: var(--primary);
    border: none;
    min-height: 44px;
    /* Minimum touch target size */
    min-width: 44px;
    padding: 12px 24px;
}

.btn-secondary {
    background-color: var(--secondary);
    border: none;
    min-height: 44px;
    min-width: 44px;
    padding: 12px 24px;
}

/* Refined hover effects with smoother transitions */
.product-item:hover,
.service-item:hover {
    transform: scale(1.02);
    /* Reduced scale for better mobile experience */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced footer links with better contrast */
.footer .btn.btn-link {
    color: var(--light);
    transition: all 0.3s ease;
    padding: 8px 12px;
    display: inline-block;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer .btn.btn-link:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Optimized background for products section */
.bg-light {
    background-color: #f8f9fa;
}

/* Responsive video container with improved aspect ratios */
.intro-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 58.25%;
    overflow: hidden;
    margin: 0;
    /* Remove margin to prevent unwanted spacing */
}

.intro-video-container video {
    position: absolute;
    top: 52%;
    left: 50%;
    width: 100%;
    height: 81%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.owl-carousel .owl-nav {
    display: none; /* Hide navigation buttons on mobile */
}

/* Optimized event card styles for mobile */
.event-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin: 12px 0;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    position: relative;
    width: 100%;
    padding-top: 0;
    /* Remove aspect ratio padding to show full image */
    overflow: hidden;
}

.event-image img {
    position: relative;
    /* Change to relative to show the full image */
    width: 100%;
    height: auto;
    /* Maintain aspect ratio of the image */
    object-fit: contain;
    /* Ensure the entire image is shown */
    transition: transform 0.5s ease;
}

.event-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 12px;
}

.event-date {
    background: rgba(53, 94, 252, 0.9);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
}

.event-content {
    padding: 16px;
}


/* Navbar Styles */
/* Mobile-first approach - default styles for mobile */
.navbar {
    z-index: 1050;
    background-color: #d3d3d3;
    /* Changed to white for better contrast */
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 0;
    /* Increased padding for a bolder look */
    height: auto;
    /* Remove fixed height for flexibility */
    min-height: 60px;
    /* Increased minimum height for better visibility */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow for depth */
    transition: all 0.3s ease;
}

.navbar-brand {
    margin-right: 20px;
    padding: 0;
    margin-left: 15px;
}

.navbar-nav {
    margin: 0 10px;
    align-items: center;
    gap: 5px;
    /* Increased gap for better spacing */
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #333333 !important;
    /* Darker color for better visibility */
    font-weight: 700;
    font-size: 1.1rem;
    /* Increased font size for prominence */
    padding: 10px 12px !important;
    /* Adjusted padding for a bolder look */
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #000000 !important;
    /* Darker hover color for emphasis */
    transform: translateY(-2px);
}

/* Hover Effect */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* Increased height for a bolder underline */
    background: #000000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Logo Styles */
.navbar-brand img {
    height: 60px;
    /* Increased logo height for better visibility */
    width: auto;
    transition: all 0.3s ease;
    margin-left: -15px;
    padding-right: 5px;
}

/* Social Icons Strip */
.social-strip {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 5px 10px;
    /* Increased padding for better appearance */
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.3);
    /* Slightly more opaque for visibility */
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin: 12px auto;
    /* Centered margin */
    margin-left: 30px;
    /* Moved to the right */
    width: fit-content;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    /* Increased padding for better click area */
    transition: all 0.3s ease;
    min-width: 40px;
    /* Increased minimum width for better visibility */
    min-height: 40px;
    /* Increased minimum height for better visibility */
}

.social-icon img {
    height: 34px;
    /* Increased icon size for better visibility */
    width: auto;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px) scale(1.1);
    /* Slightly larger scale on hover */
}

/* Scrolled State */
.navbar.scrolled {
    padding: 20px 0;
    /* Increased padding for a bolder look */
    background-color: rgba(207, 205, 205, 0.95) !important;
    /* More opaque background */
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow for depth */
    margin-top: 35px;
}

.navbar.scrolled .navbar-brand img {
    height: 65px;
    /* Increased logo height when scrolled */
}

/* Active Link Style */
.navbar-nav .nav-link.active {
    font-weight: 700;
    /* Bold active link */
    background: rgba(0, 0, 0, 0.1);
    /* Slightly darker background for active link */
    border-radius: 6px;
}

/* Hover effect class */
.hover-effect {
    transition: transform 0.3s ease;
}

.hover-effect:hover {
    transform: scale(1.05);
    /* Slightly larger scale on hover */
}

/* Updated Video Section Styles */
.video-section {
    padding: 20px;
    background-color: rgba(249, 249, 249, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 55%;
    /* Match event card width */
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    /* Center the container */
}

.active-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.3s ease;
}

/* Volume control button - updated styles */
.volume-control {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.video-container:hover .volume-control {
    opacity: 1;
}

.volume-control:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.volume-control img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.up-next {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
    width: 100%;
    max-width: 800px;
}

.up-next video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    object-fit: cover;
    /* Ensure the video fills the container */
    object-position: top;
    /* Show the top part of the video */
}

.up-next video:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Adjust the modal z-index */
.modal {
    z-index: 1051;
    /* Ensure it's above the navbar */
}

/* New styles for the styled image */
.styled-image {
    border-radius: 15px;
    /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition for hover effects */
}

.styled-image:hover {
    transform: scale(1.05);
    /* Slightly enlarge on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    /* Increase shadow on hover */
}



.hidden {
    opacity: 0;
    /* Make the item invisible */
    transition: opacity 0.3s ease;
    /* Smooth transition */
    height: 0;
    /* Collapse height */
    overflow: hidden;
    /* Prevent overflow */
}

.fadeIn {
    animation: fadeIn 0.5s ease-in-out;
    /* Fade-in animation */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Footer Badge and Logo Styles */
.badge-img {
    width: 130px;
    /* Adjust size as needed */
    margin: 10px;
    /* Space around the badge */
}

.logo-img {
    width: 150px;
    /* Adjust size as needed */
    margin: 10px;
    /* Space around the logo */
}

/* Mobile Navigation Fixes */
@media (max-width: 767.98px) {

    /* Ensure navbar collapse stays within viewport */
    .navbar-collapse {
        background-color: #d3d3d3;
        padding: 1rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    /* Stack navigation items vertically */
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    /* Adjust social strip for mobile */
    .social-strip {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    /* Ensure navbar container is properly contained */
    .navbar>.container {
        position: relative;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Responsive Styles for Mobile Devices and Larger Screens - EXTENDED */

/* --- Mobile Devices (up to 767.98px) --- */
@media (max-width: 767.98px) {
    body {
        font-size: 16px;
        overflow-x: hidden;
        /* This line is important - prevents horizontal overflow by making any overflowing content hidden */
    }

    h1,
    .h1 {
        font-size: 2.5rem !important;
    }

    h2,
    .h2 {
        font-size: 2rem !important;
    }

    h3,
    .h3 {
        font-size: 1.75rem !important;
    }

    h4,
    .h4 {
        font-size: 1.5rem !important;
    }

    h5,
    .h5 {
        font-size: 1.25rem !important;
    }

    h6,
    .h6 {
        font-size: 1rem !important;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-square,
    .btn-sm-square,
    .btn-lg-square {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .back-to-top {
        right: 10px;
        bottom: 10px;
    }

    .page-header {
        padding: 60px 15px;
        text-align: center;
    }

    /* Center align text in page header on mobile */
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .text-light {
        font-size: 1rem;
    }

    .page-header .breadcrumb {
        justify-content: center !important;
    }

    /* Center breadcrumb on mobile */
    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 0.9rem;
    }

    .facts,
    .callback {
        padding: 2rem 0;
    }

    .callback::before {
        height: 30%;
    }

    .feature .feature-box,
    .feature .feature-box * {
        padding: 0.8rem;
    }

    .service .nav .nav-link {
        margin-bottom: 10px;
        padding: 0.8rem;
    }

    .features-list {
        padding: 15px;
        margin: 10px 0;
    }

    .features-list p {
        font-size: 0.9rem;
    }

    .client-item {
        border-right: none;
        text-align: center;
        padding: 10px;
    }

    /* Center and add padding to client items */
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        grid-gap: 5px;
    }

    .event-details {
        padding: 10px;
    }

    .event-highlights ul li {
        padding-left: 15px;
        margin-bottom: 6px;
        font-size: 0.85rem;
    }

    .event-highlights ul li:before {
        font-size: 0.85rem;
    }

    .service-block {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .service-block .col-lg-6:first-child {
        margin-bottom: 1rem;
    }

    /* Stack image and content */
    .service-block img {
        max-height: 150px;
    }

    .service-features {
        padding: 0.4rem;
        margin-top: 0.4rem;
    }

    .service-features ul li {
        margin-bottom: 0.2rem;
        font-size: 0.8rem;
        padding-left: 1rem;
    }

    .service-block h2 {
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .team-item {
        padding: 1rem;
        margin: 0.8rem auto;
        max-width: 100%;
    }

    .team-item img {
        max-height: 200px;
    }

    .team-item h4 {
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }

    .team-item .team-social {
        margin-top: 0.5rem;
        gap: 0.3rem;
        justify-content: center;
    }

    /* Center social icons */
    .team-item .team-social .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .footer {
        padding: 20px 10px;
        text-align: center;
    }

    .footer h4 {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .footer h4::after {
        bottom: -6px;
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    /* Center footer heading underline */
    .footer a {
        font-size: 0.85rem;
        padding: 3px 0;
    }

    .badge-img,
    .logo-img {
        width: 70px;
        margin: 3px;
    }

    .logo-img {
        width: 60px;
    }

    .copyright {
        padding: 10px 5px;
    }

    .copyright p {
        font-size: 0.75rem;
    }

    .modal-content {
        padding: 5px;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 0.8rem;
    }

    .modal-body img {
        max-width: 280px;
        margin-top: 80px;
    }

    .modal-footer {
        padding: 1rem;
    }

    #modalProductImage {
        padding: 15px;
    }

    .modal .badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .modal .features-list {
        padding: 1rem;
        margin: 1rem 0;
    }

    .modal .features-list p {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .modal .features-list p i {
        font-size: 1rem;
        padding: 4px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .product-item {
        margin-bottom: 15px;
        min-height: auto;
    }

    .product-item .position-relative {
        padding: 10px;
        min-height: auto;
    }

    .product-item img {
        max-height: 200px;
    }

    .product-item .text-center {
        padding: 10px;
    }

    .product-item h5 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .ceo-image {
        box-shadow: none;
        border-radius: 0;
    }

    .ceo-image:hover img {
        transform: scale(1);
    }

    .ceo-info {
        padding: 10px 12px;
        text-align: center;
    }

    /* Center CEO info text on mobile */
    .ceo-info h4 {
        font-size: 1rem;
        margin-bottom: 3px;
    }

    .ceo-message p {
        font-size: 0.9rem;
    }

    .ceo-signature {
        padding-top: 10px;
        margin-top: 10px;
        text-align: center;
    }

    /* Center CEO signature */
    .ceo-signature img {
        height: 40px;
        margin-right: 10px;
    }

    .ceo-signature div {
        display: inline-block;
    }

    /* Align signature items horizontally */


    .btn-group {
        display: flex;
        flex-direction: row;
        /* Changed to row to remove stacked style */
        align-items: center;
        justify-content: center;
        /* Center align buttons horizontally */
    }

    /* Boxed filter buttons with smooth edges, styled as individual elements */
    .btn-group .btn {
        margin: 6px 3px;
        /* Slightly adjusted margin for better spacing */
        padding: 10px 20px;
        /* Increased padding for a more substantial feel */
        font-size: 1rem;
        /* Increased font size for better readability */
        min-height: 44px;
        /* Adjusted min-height for consistency */
        min-width: 44px;
        /* Adjusted min-width for consistency */
        border-radius: 12px;
        /* Smooth edges for a boxed look */
        background-color: #007BFF;
        /* Blue background color for primary action */
        color: #fff;
        /* White text color for contrast */
        border: 2px solid transparent;
        /* Added border for a boxed look */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        /* Added subtle shadow for depth */
        transition: background-color 0.3s, transform 0.3s;
        /* Smooth transition for hover effects */
        display: inline-block;
        /* Ensure each button is treated as an individual element */
    }

    .btn-group .btn:hover {
        background-color: #0056b3;
        /* Darker blue on hover for emphasis */
        transform: translateY(-2px);
        /* Slight lift on hover for interactivity */
    }

    .btn-group .btn:active {
        background-color: #004494;
        /* Even darker blue when active */
        transform: translateY(0);
        /* Reset transform on active */
    }

    /* Adjust button styles for stacked layout */

    .view-btn {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        min-width: 50px;
        min-height: 50px;
    }

    .social-icon img {
        height: 30px;
    }

    .page-header {
        margin-top: 0px;
        padding: 40px 15px;
    }

    html {
        scroll-padding-top: 50px;
    }

    #products-section {
        scroll-margin-top: 50px;
    }

    .container-xxl.py-5 {
        padding: 30px 15px;
    }

    .product-item {
        margin-bottom: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 40px;
        min-width: 40px;
        padding: 10px 20px;
    }

    .footer .btn.btn-link {
        padding: 6px 10px;
        min-height: 40px;
    }

    .intro-video-container {
        padding-bottom: 74%;
    }

    /* Adjust video aspect ratio if needed */

    .event-card {
        margin: 8px 0;
    }

    .event-overlay {
        padding: 8px;
    }

    .event-date {
        padding: 8px;
    }

    .event-content {
        padding: 12px;
    }

    .navbar {
        padding: 5px 0;
        min-height: 50px;
    }

    .navbar-brand {
        margin-left: 5px;
    }

    /* Reduce brand margin */
    .navbar-brand img {
        height: 30px;
        margin-left: 0px;
        padding-right: 0px;
    }

    .navbar-nav {
        margin: 0 5px;
        gap: 2px;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 6px 8px !important;
    }

    .social-strip {
        padding: 2px 5px;
        margin: 5px auto;
    }

    .navbar.scrolled {
        padding: 10px 0;
        margin-top: 0px;
    }

    .navbar.scrolled .navbar-brand img {
        height: 42px;
    }

    .video-section {
        padding: 15px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .video-container {
        gap: 15px;
        margin: 0 5px;
    }

    .up-next video {
        max-width: 150px;
        margin: 0 5px;
    }

    .badge-img,
    .logo-img {
        width: 60px;
        margin: 2px;
    }

    .logo-img {
        width: 50px;
    }

    .intro-video-container video {
        height: 85%;
    }

    /* Adjust video height in container for mobile */
}


/* --- Tablets (768px to 991.98px) --- */
@media (min-width: 768px) and (max-width: 991.98px) {
    body {
        font-size: 15px;
    }

    h1,
    .h1 {
        font-size: 3rem !important;
    }

    h2,
    .h2 {
        font-size: 2.5rem !important;
    }

    h3,
    .h3 {
        font-size: 2rem !important;
    }

    h4,
    .h4 {
        font-size: 1.75rem !important;
    }

    .page-header {
        padding: 60px 20px;
        text-align: center;
    }

    /* Center align text in page header on tablet */
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .text-light {
        font-size: 1.1rem;
    }

    .product-item img {
        max-height: 220px;
    }

    .service-block img {
        max-height: 180px;
    }

    .team-item img {
        max-height: 230px;
    }

    .modal-body img {
        max-width: 300px;
    }

    .clients-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .client-item {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .client-item:hover {
        transform: translateY(-5px);
    }

    .navbar-nav .nav-link {
        font-size: 1.05rem;
        padding: 8px 12px !important;
    }

    .navbar-brand img {
        height: 45px;
    }

    .navbar.scrolled .navbar-brand img {
        height: 55px;
    }

    .intro-video-container video {
        margin-top: 5px;
        height: 85%;
    }

    /* Adjust video height in container for tablet */


    .btn-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Inline filter buttons for desktop */
    .btn-group {
        display: flex;
        flex-direction: row;
        /* Ensure buttons are in a line for desktop */
        align-items: center;
        justify-content: center;
        /* Center align buttons horizontally */
    }

    .btn-group .btn {
        margin: 6px 3px;
        /* Slightly adjusted margin for better spacing */
        padding: 10px 20px;
        /* Increased padding for a more substantial feel */
        font-size: 1rem;
        /* Increased font size for better readability */
        min-height: 44px;
        /* Adjusted min-height for consistency */
        min-width: 44px;
        /* Adjusted min-width for consistency */
        border-radius: 10px;
        /* More pronounced rounded corners */
        background-color: #007BFF;
        /* Blue background color for primary action */
        color: #fff;
        /* White text color for contrast */
        border: none;
        /* Removed border for a cleaner look */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* Added subtle shadow for depth */
        transition: background-color 0.3s, transform 0.3s;
        /* Smooth transition for hover effects */
    }

    .btn-group .btn:hover {
        background-color: #0056b3;
        /* Darker blue on hover for emphasis */
        transform: translateY(-2px);
        /* Slight lift on hover for interactivity */
    }

    .btn-group .btn:active {
        background-color: #004494;
        /* Even darker blue when active */
        transform: translateY(0);
        /* Reset transform on active */
    }

    /* Adjust button styles for horizontal layout */

    .ceo-info {
        text-align: center;
    }

    /* Center CEO info text on tablet */
    .ceo-signature {
        text-align: center;
    }

    /* Center CEO signature on tablet */
    .ceo-signature div {
        display: inline-block;
    }

    /* Align signature items horizontally */
}


/* --- Laptops (992px to 1199.98px) --- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    body {
        font-size: 14.5px;
    }

    h1,
    .h1 {
        font-size: 3.5rem !important;
    }

    h2,
    .h2 {
        font-size: 3rem !important;
    }

    h3,
    .h3 {
        font-size: 2.5rem !important;
    }

    h4,
    .h4 {
        font-size: 2rem !important;
    }


    .page-header {
        padding: 120px 30px;
    }

    .page-header h1 {
        font-size: 3.5rem;
    }

    .page-header .text-light {
        font-size: 1.2rem;
    }

    .product-item img {
        max-height: 240px;
    }

    .service-block img {
        max-height: 190px;
    }

    .team-item img {
        max-height: 240px;
    }

    .modal-body img {
        max-width: 320px;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
    }

    .navbar-brand img {
        height: 58px;
    }

    .navbar.scrolled .navbar-brand img {
        height: 68px;
    }

    .intro-video-container video {
        height: 70%;
    }

    /* Adjust video height in container for laptop */
}

@media (max-width: 767.98px) {
    body {
        font-size: 16px;
    }

    h1,
    .h1 {
        font-size: 2.5rem !important;
    }

    h2,
    .h2 {
        font-size: 2rem !important;
    }

    h3,
    .h3 {
        font-size: 1.75rem !important;
    }

    h4,
    .h4 {
        font-size: 1.5rem !important;
    }

    h5,
    .h5 {
        font-size: 1.25rem !important;
    }

    h6,
    .h6 {
        font-size: 1rem !important;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-square,
    .btn-sm-square,
    .btn-lg-square {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .back-to-top {
        right: 10px;
        bottom: 10px;
    }

    .page-header {
        margin-top: 40px;
        padding: 80px 15px;
        text-align: center;
    }

    /* Center align text in page header on mobile */
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .text-light {
        font-size: 1rem;
    }


    .page-header .breadcrumb {
        justify-content: center !important;
    }

    /* Center breadcrumb on mobile */
    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 0.9rem;
    }

    .facts,
    .callback {
        padding: 2rem 0;
    }

    .callback::before {
        height: 30%;
    }

    .feature .feature-box,
    .feature .feature-box * {
        padding: 0.8rem;
    }

    .service .nav .nav-link {
        margin-bottom: 10px;
        padding: 0.8rem;
    }

    .features-list {
        padding: 15px;
        margin: 10px 0;
    }

    .features-list p {
        font-size: 0.9rem;
    }

    .client-item {
        border-right: none;
        text-align: center;
        padding: 10px;
    }

    /* Center and add padding to client items */
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        grid-gap: 5px;
    }

    .event-details {
        padding: 10px;
    }

    .event-highlights ul li {
        padding-left: 15px;
        margin-bottom: 6px;
        font-size: 0.85rem;
    }

    .event-highlights ul li:before {
        font-size: 0.85rem;
    }

    .service-block {
        padding: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .service-block .col-lg-6:first-child {
        margin-bottom: 1rem;
    }

    /* Stack image and content */
    .service-block img {
        max-height: 150px;
    }

    .service-features {
        padding: 0.4rem;
        margin-top: 0.4rem;
    }

    .service-features ul li {
        margin-bottom: 0.2rem;
        font-size: 0.8rem;
        padding-left: 1rem;
    }

    .service-block h2 {
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .team-item {
        padding: 1rem;
        margin: 0.8rem auto;
        max-width: 100%;
    }

    .team-item img {
        max-height: 282px;
    }

    .team-item h4 {
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }

    .team-item .team-social {
        margin-top: 0.5rem;
        gap: 0.3rem;
        justify-content: center;
    }

    /* Center social icons */
    .team-item .team-social .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .footer {
        padding: 20px 10px;
        text-align: center;
    }

    .footer h4 {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .footer h4::after {
        bottom: -6px;
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    /* Center footer heading underline */
    .footer a {
        font-size: 0.85rem;
        padding: 3px 0;
    }

    .badge-img,
    .logo-img {
        width: 70px;
        margin: 3px;
    }

    .logo-img {
        width: 60px;
    }

    .copyright {
        padding: 10px 5px;
    }

    .copyright p {
        font-size: 0.75rem;
    }

    .modal-content {
        padding: 5px;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 0.8rem;
    }

    .modal-body img {
        max-width: 280px;
        margin-top: 80px;
    }

    .modal-footer {
        padding: 1rem;
    }

    #modalProductImage {
        padding: 15px;
    }

    .modal .badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .modal .features-list {
        padding: 1rem;
        margin: 1rem 0;
    }

    .modal .features-list p {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .modal .features-list p i {
        font-size: 1rem;
        padding: 4px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .product-item {
        margin-bottom: 20px;
        min-height: auto;
    }

    .product-item .position-relative {
        padding: 10px;
        min-height: auto;
    }

    .product-item img {
        max-height: 200px;
    }

    .product-item .text-center {
        padding: 10px;
    }

    .product-item h5 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .ceo-image {
        box-shadow: none;
        border-radius: 0;
    }

    .ceo-image:hover img {
        transform: scale(1);
    }

    .ceo-info {
        padding: 10px 12px;
        text-align: center;
    }

    /* Center CEO info text on mobile */
    .ceo-info h4 {
        font-size: 1rem;
        margin-bottom: 3px;
    }

    .ceo-message p {
        font-size: 0.9rem;
    }

    .ceo-signature {
        padding-top: 10px;
        margin-top: 10px;
        text-align: center;
    }

    /* Center CEO signature */
    .ceo-signature img {
        height: 40px;
        margin-right: 10px;
    }

    .ceo-signature div {
        display: inline-block;
    }

    /* Align signature items horizontally */

    .btn-group {
        display: flex;
        flex-direction: row;
        /* Ensure buttons are in a line for desktop */
        align-items: center;
        justify-content: center;
        /* Center align buttons horizontally */
        flex-wrap: wrap;
        /* Allow buttons to wrap to fit within the container */
    }

    /* Inline filter buttons for desktop */
    .btn-group .btn {
        margin: 6px 3px;
        /* Slightly adjusted margin for better spacing */
        padding: 10px 20px;
        /* Increased padding for a more substantial feel */
        font-size: 1rem;
        /* Increased font size for better readability */
        min-height: 44px;
        /* Adjusted min-height for consistency */
        min-width: 44px;
        /* Adjusted min-width for consistency */
        border-radius: 10px;
        /* More pronounced rounded corners */
        background-color: #007BFF;
        /* Blue background color for primary action */
        color: #fff;
        /* White text color for contrast */
        border: none;
        /* Removed border for a cleaner look */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* Added subtle shadow for depth */
        transition: background-color 0.3s, transform 0.3s;
        /* Smooth transition for hover effects */
    }

    .btn-group .btn:hover {
        background-color: #0056b3;
        /* Darker blue on hover for emphasis */
        transform: translateY(-2px);
        /* Slight lift on hover for interactivity */
    }

    .btn-group .btn:active {
        background-color: #004494;
        /* Even darker blue when active */
        transform: translateY(0);
        /* Reset transform on active */
    }

    /* Adjust button styles for stacked layout */

    .view-btn {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        min-width: 40px;
        min-height: 40px;
    }

    .social-icon img {
        height: 30px;
    }

    .page-header {
        margin-top: 0px;
        padding: 60px 15px;
    }

    html {
        scroll-padding-top: 50px;
    }

    #products-section {
        scroll-margin-top: 50px;
    }

    .container-xxl.py-5 {
        padding: 30px 15px;
    }

    .product-item {
        margin-bottom: 25px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 40px;
        min-width: 40px;
        padding: 10px 20px;
    }

    .footer .btn.btn-link {
        padding: 6px 10px;
        min-height: 40px;
    }

    .intro-video-container {
        padding-bottom: 75%;
    }

    /* Adjust video aspect ratio if needed */

    .event-card {
        margin: 15px 0;
    }

    .event-overlay {
        padding: 8px;
    }

    .event-date {
        padding: 8px;
    }

    .event-content {
        padding: 12px;
    }

    .navbar {
        padding: 5px 0;
        min-height: 50px;
    }

    .navbar-brand {
        margin-left: 5px;
    }

    /* Reduce brand margin */
    .navbar-brand img {
        height: 45px;
        margin-left: 0px;
        padding-right: 0px;
    }

    .navbar-nav {
        margin: 0 5px;
        gap: 2px;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 6px 8px !important;
    }

    .social-strip {
        padding: 2px 5px;
        margin: 5px auto;
    }

    .navbar.scrolled {
        padding: 15px 0;
        margin-top: 0px;
    }

    .navbar.scrolled .navbar-brand img {
        height: 50px;
    }

    .video-section {
        padding: 15px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .video-container {
        gap: 15px;
        margin: 0 5px;
    }

    .up-next video {
        max-width: 150px;
        margin: 0 5px;
    }

    .badge-img,
    .logo-img {
        width: 60px;
        margin: 2px;
    }

    .logo-img {
        width: 50px;
    }

    .intro-video-container video {
        height: 80%;
        margin-top: 1.5vh;
    }

    /* Adjust video height in container for mobile */
}

/* --- Larger Desktop Screens (1200px and up) --- */
/* Base styles in the original CSS file are sufficient for larger desktops.
   No additional media queries are needed unless specific adjustments for very large screens are desired. */

/* Shorts Container Styles (Updated) */
.shorts-container {
    height: 90vh;
    max-width: 400px;
    margin: 0 auto;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    background: #000;
    /* Fallback background color */
    border-radius: 15px;
    /* More pronounced rounded corners */
    position: relative;
    overflow: hidden;
    /* Ensure rounded corners clip inner content */
}

.shorts-item {
    height: 90vh;
    scroll-snap-align: start;
    position: relative;
    background: #000;
    /* In case iframe is transparent */
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    /* Rounded corners for video wrapper */
    overflow: hidden;
    /* Clip iframe to rounded corners */
}

.shorts-video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: inherit;
    /* Inherit rounded corners from wrapper */
}

/* Video Overlay */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    /* Gradient overlay */
    color: white;
    padding: 20px;
    text-align: left;
    transition: opacity 0.3s ease;
    opacity: 1;
    /* Initially visible, adjust as needed */
}

.video-overlay h5 {
    margin-bottom: 5px;
    font-weight: bold;
}

.video-overlay p {
    font-size: 0.9em;
    line-height: 1.4;
}


/* Mobile Optimization (No changes needed here, but ensure it's still effective) */
@media (max-width: 767.98px) {
    .shorts-container {
        height: 80vh;
    }

    .shorts-item {
        height: 80vh;
    }
}

.enhanced-section {
    background: #ffffff; /* Clean white background for simplicity */
    padding: 30px 15px; /* Balanced padding for a neat appearance */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.enhanced-section h1 {
    font-size: 2rem; /* Moderate font size for the heading */
    color: #333; /* Dark gray for good contrast */
    margin-bottom: 10px; /* Space below the heading */
    font-weight: 500; /* Medium weight for a clean look */
}

.enhanced-section p {
    font-size: 1rem; /* Standard font size for readability */
    line-height: 1.5; /* Comfortable line height */
    color: #666; /* Soft gray for the paragraph text */
    margin-bottom: 15px; /* Space below paragraphs */
}

.enhanced-section a.btn {
    background-color: #007bff; /* Simple blue for buttons */
    color: white; /* White text for contrast */
    padding: 10px 20px; /* Adequate padding for buttons */
    border-radius: 4px; /* Slightly rounded corners for buttons */
    text-decoration: none; /* Remove underline from links */
    transition: background-color 0.3s ease; /* Smooth transition for hover effects */
}

.enhanced-section a.btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .enhanced-section {
        padding: 20px 10px; /* Reduced padding for smaller screens */
    }

    .enhanced-section h1 {
        font-size: 1.5rem; /* Smaller font size for the heading */
    }

    .enhanced-section p {
        font-size: 0.9rem; /* Smaller font size for paragraphs */
    }

    .enhanced-section a.btn {
        padding: 8px 16px; /* Adjusted padding for buttons */
    }
}