/********** Template CSS **********/
:root {
    --primary: #1656a5;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Modern Navbar - Matches Screenshot ***/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
	 z-index: 1000; /* Lower than lightbox */
}

/* Logo Styling */
.navbar .navbar-brand img {
    max-height: 180px;
    transition: all 0.3s ease-in-out;
	padding-top:20px;
}

/* Menu Links */
.navbar .navbar-nav .nav-link {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    padding: 12px 16px;
    margin: 0 10px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

/* Rounded Effect for Active Menu */
.navbar .navbar-nav .nav-link.active {
    background: #0695D8; /* Dark Red */
    padding: 10px 16px;
    border-radius: 20px;
}

/* Hover Effect */
.navbar .navbar-nav .nav-link:hover {
    color: #f9c74f; /* Light Red */
}

/* Dropdown Styling */
.navbar .navbar-nav .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    border: none;
    animation: fadeIn 0.3s ease-in-out;
}

.navbar .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    color: #333;
	font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
	text-align:left;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: #1656A5;
    color: white;
	border-radius: 25px;
}

/* Dropdown Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* MOBILE NAVIGATION FIX */
@media (max-width: 991.98px) {
    .navbar {
        padding: 10px 15px;
    }
    .navbar .navbar-nav {
        text-align: center;
        background: #0C4DA2; /* Adjust as per design */
        padding: 10px 0;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar .navbar-nav .nav-link {
        padding: 12px;
        margin: 5px 0;
        display: block;
        word-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }

    /* Dropdown Menu */
    .navbar .dropdown {
        position: relative;
        width: 100%;
    }

    .navbar .dropdown-menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        max-width: 320px;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
        text-align: left;
        padding: 10px 0;
        z-index: 1050;
        display: none;
        word-wrap: break-word;
    }

    .navbar .dropdown-menu .dropdown-item {
        padding: 10px;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
    }

    /* Open Dropdown on Click (Mobile) */
    .navbar .dropdown-menu.show {
        display: block;
        opacity: 1;
        transition: all 0.3s ease-in-out;
    }

    /* Hover effect */
    .navbar .dropdown-menu .dropdown-item:hover {
        background: #A02621;
        color: white;
    }
}

/* ENABLE HOVER FOR DESKTOP */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        transition: all 0.3s ease-in-out;
    }
}
/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 530px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
         height: 100%;
        object-fit: cover; 
     }
} 


#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    height: 300px; /* Adjust height to match your banner design */
    width: 100%; /* Ensure the banner spans the full width of the page */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url(../img/carousel-1.webp) center center no-repeat;
    background-size: cover; /* Ensures the image covers the entire banner */
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
}



.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header h1 {
    font-size: 3rem; /* Adjust as needed for larger screens */
}

/* Media query for mobile view */
@media (max-width: 540px) {
    .page-header h1 {
        font-size: 1.5rem; /* Adjust the font size for mobile view */
    }
}

@media (max-width: 412px) {
    .page-header h1 {
        font-size: 1rem; /* Adjust the font size for mobile view */
    }
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
	font-family: 'Poppins', sans-serif;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}
.ms-about-text {
        font-size: 1.1rem;
        line-height: 1.6;
		font-family: 'Poppins', sans-serif;
        color: #333;
    }
 .ms-company-name {
     background: linear-gradient(45deg, #1B61AD, #0695D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
     font-weight: 800;
     display: inline-block;
    }


/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border video {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}

/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

 .logo {
    width: 35%; 
    height:35%; 
	margin-top: -30px;
	margin-left: -50px;
} 

      
@media (min-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.5rem; /* Adjust as needed for tablets */
    } 


    .carousel-caption .display-1 {
        font-size: 3rem; /* Adjust as needed for tablets */
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 1rem; /* Adjust as needed for mobile phones */
    }

    .carousel-caption .display-1 {
        font-size: 1rem; /* Adjust as needed for mobile phones */
    }
}


/* Filter Buttons */

.filter-buttons {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-buttons button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    cursor: pointer;
    background-color: #811f16;
    color: #ffffff;
    font-size: 1.2em;
	font-weight:300;
}

.filter-buttons button:hover{
    background-color: #00aa7f;
    color: white;
}

.filter-buttons button.active {
    background-color: #000352;
    color: white;
}

/* Grid Layout */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Dark shadow around the image */
	border-radius: 8px; /* Optional rounding */
}

.grid-item {
    position: relative;
    width: 400px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
	box-shadow: 0px 20px 10px rgba(0, 0, 0, 0.5); /* Dark shadow around the image */
	background-color: #f9f9f9; /* Subtle background for better readability */
    border-radius: 8px; /* Adds rounded corners */
	border: 3px solid;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.grid-item:hover {
    transform: scale(1);
}

/* Overlay */
.grid-item .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1.1em;
}
.grid-item:hover .overlay {
    opacity: 1;
}
.grid-item .overlay span {
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    font-weight: bold;
}

.grid-item-title {
    font-size: 1.5em;
    text-align: center;
    color: #1B61AD;
    margin-top: 10px;
	font-weight :600;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    background-color: #fff;
    max-width: 1200px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.lightbox-body {
    display: flex;
    width: 100%;
    padding: 20px;
    text-align: left;
    flex-wrap: wrap;
	border: 3px solid #1656A5;
	border-radius: 8px; /* Adds rounded corners */
}

.lightbox-content img {
    width: 50%;
    object-fit: cover;
}

.lightbox-text {
    padding: 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.lightbox-text h3 {
    color: #2E66AD;
    font-size: 24px;
	margin-bottom: 10px; /* Adds space below the title */
    font-weight: bold;
}

.lightbox-text h6 {
    font-size: 1.3em;
    color: #6A0DAD;
    text-align: center;
	margin-bottom: 10px; /* Adds space below the title */
    font-weight: bold;
}

.lightbox-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

.lightbox .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #333;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
	z-index: 9999 !important;/* Ensure it's clickable */
	pointer-events: auto;
}

.testimonial-text {
    font-style: italic;
    color: #888;
    margin-top: 15px;
}

.testimonial-author {
    font-weight: bold;
}

.btn-details, .btn-close {
    margin-top: 20px;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    width: 100px;
}

.btn-details {
    background-color: #00aa7f;
    color: white;
}

.btn-close {
    background-color: #ddd;
    color: #333;
}

/* Lightbox Button Container */
.button-container {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 20px;
}

.button-container .btn {
    padding: 10px 20px;
    font-size: 1em;
}

/* Responsive Adjustments for Mobile Devices */
@media (max-width: 768px) {
    /* Stack buttons vertically on smaller screens */
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .button-container .btn {
        width: 100%; /* Full width on smaller screens */
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Smaller font and padding on very small screens */
    .button-container .btn {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Lightbox content becomes stacked vertically on mobile */
    .lightbox-content {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .lightbox-content img {
        width: 100%;
        max-height: 300px;
    }

    .lightbox-text {
        width: 100%;
        padding: 15px;
    }

    .lightbox-text h3 {
        font-size: 20px;
    }

    .lightbox-text p, .testimonial-text {
        font-size: 14px;
    }

    .btn-details, .btn-close {
        font-size: 14px;
        padding: 8px;
        width: 100%;
        max-width: 150px;
        margin: 10px auto;
    }

    .close-button {
        font-size: 18px;
        padding: 5px;
    }
}

@media (max-width: 576px) {
    .lightbox-content img {
        max-height: 200px;
    }

    .lightbox-text h3 {
        font-size: 18px;
    }

    .lightbox-text p {
        font-size: 13px;
    }
    
    .btn-details, .btn-close {
        font-size: 13px;
        width: 100%;
        max-width: 120px;
    }
}

/* Scrollable Content */
.scrollable-content {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: #1B61AD #ddd;
}

/* Scrollbar Styling for Webkit */
.scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background-color: #1B61AD;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .scrollable-content {
        max-height: 180px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .scrollable-content {
        max-height: 180px;
    }
}


/* Responsive Styles */
@media (max-width: 992px) {
    .grid-item {
        width: calc(50% - 10px); /* Two items per row for tablets */
    }
}

@media (max-width: 768px) {
    .grid-item {
        width: calc(50% - 10px); /* Two items per row for larger mobile screens */
    }
    .filter-buttons button {
        padding: 8px 10px;
        font-size: 0.9em;
    }
    .lightbox-content {
        flex-direction: column;
    }
    .lightbox-content img, .lightbox-text {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .grid-item {
        width: calc(50% - 10px); 
    }
    .filter-buttons button {
        padding: 8px 8px;
        font-size: 0.8em;
    }
    .grid-item-title {
        font-size: 1em;
    }
    .lightbox-text h3 {
        font-size: 20px;
    }
    .lightbox-text p, .testimonial-text {
        font-size: 14px;
    }
    .btn-details, .btn-close {
        font-size: 14px;
        padding: 8px;
    }
}

/* Responsive Adjustments */

/* Tablets & Medium Screens (2 items per row) */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr)); /* Two items per row */
    }
    .grid-item {
        flex-basis: calc(50% - 10px);
    }
}

/* Small Mobile Devices (1 item per row) */
@media (max-width: 576px) {
    .grid {
        grid-template-columns: repeat(1, minmax(100px, 1fr)); /* Single column layout */
    }
    .grid-item {
        flex-basis: 100%;
    }
    .grid-item-title {
        font-size: 1em;
    }
}


.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0; 
    margin-bottom: -35px; 
}

/* Quote Pop up Modal Start */
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 3, 82, 0.7); /* Navy Blue overlay with transparency */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 10px; /* Added padding to prevent modal from touching edges */
}

/* Modal Content */
.modal-content {
    background-color: #ffffff; /* White background */
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px; /* Reduced max-width for better mobile usability */
    position: relative;
    color: #000352; /* Navy Blue text */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #811f16; /* Red close button */
}

/* Form Styling */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Form Group */
.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Inputs, Select, and Textarea */
input, select, textarea {
    flex: 1;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #c5c7c6; /* Grey border */
    outline: none;
    font-size: 16px;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.btn-submit {
    background-color: #1656a5; /* Navy Blue */
    color: #ffffff; /* White text */
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    width: 100%;
}

.btn-submit:hover {
    background-color: #000352; /* Darker Navy Blue on hover */
}

/* RESPONSIVE MODAL DESIGN */

/* Tablets & Small Laptops */
@media (max-width: 768px) {
    .modal-content {
        width: 85%; /* Adjust width for tablets */
        padding: 15px;
    }
    .btn-submit {
        font-size: 16px;
        padding: 10px;
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
    .modal-content {
        width: 95%; /* Full width for small mobiles */
        padding: 15px;
    }
    .quote-form {
        gap: 10px;
    }
    input, select, textarea {
        font-size: 14px;
        padding: 10px;
    }
    .btn-submit {
        font-size: 14px;
        padding: 10px;
    }
}

/* Quote Pop up Modal End */


/* Accordion for Testing Pages and Aboutus */

.accordion-container {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  line-height: 1.6;
  box-sizing: border-box;
}

.accordion {
  border: 1px solid #c5c7c6;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #c5c7c6;
}

.accordion-header {
  background-color: #1656A5;
  color: #ffffff;
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header h3 {
  margin: 0;
  color:#A7FFEB
}

.accordion-content {
  display: none;
  padding: 15px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.accordion-content img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 10px;
}

.icon {
  font-size: 30px;
  color: #FFFFFF;
}

.accordion-item:last-child {
  border-bottom: none;
}

@media (max-width: 600px) {
  .accordion-header {
    font-size: 14px;
  }

  .accordion-content p {
    font-size: 14px;
  }
}

/* Ensure container scrolls when content exceeds height */
.custom-scroll-container {
  max-height: 500px; /* Adjust as needed */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px; /* Prevents clipping of scroll bar */
}

/* Custom scroll bar styles */
.custom-scroll-container::-webkit-scrollbar {
  width: 10px;
}

.custom-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.custom-scroll-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.custom-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-scroll-container {
    max-height: 550px; /* Adjust height for smaller screens */
  }
}
/* Accordion for TEsting End Pages */

/* Product Page Side bar Content */

		.ms-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        .ms-sidebar {
            flex: 1;
            min-width: 300px;
            background-color: #f4f4f4;
            padding: 20px;
            border-radius: 8px;
			box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
			position: sticky;
            top: 20px;
            height: fit-content;
        }
        .ms-sidebar ul {
            list-style: none;
            padding: 0;
        }
        .ms-sidebar li {
            padding: 10px;
            border-bottom: 1px solid #ddd;
            border: 2px solid #1656A5;
            border-radius: 8px;
            margin-bottom: 10px;
            text-align: center;
            font-weight: bold;
            position: relative;
            transition: background-color 0.3s, transform 0.2s;
            background: white;
        }
		.ms-sidebar li::after {
            content: "\00bb"; /* Double arrow mark */
            position: absolute;
            right: 15px;
            font-size: 1.2em;
            color: #1656A5;
        }
        .ms-sidebar li:hover {
            background-color: cyan;
            cursor: pointer;
            transform: scale(1.05);
        }
        .ms-sidebar a {
            text-decoration: none;
            color: #1656A5;
            font-weight: bold;
        }
		.ms-sidebar h3 {
            text-decoration: none;
            color: #1656A5;
            font-weight: bold;
			text-align: center;
        }
        .ms-content {
            flex: 3;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
		.ms-sidebar li.active {
		background: linear-gradient(45deg, #1B61AD, #0695D8);
		color: #fff;
		box-shadow: 0 4px 8px rgba(6, 149, 216, 0.2);
		transform: scale(1.05);
		}

		.ms-sidebar li.active a {
			color: #fff;
		}
		.ms-download {
            display: block;
            text-align: center;
            padding: 12px;
            margin-top: 20px;
            background-color: #1656A5;
            color: white !important;
            font-weight: bold;
            border-radius: 8px;
            text-decoration: none;
            transition: background-color 0.3s, transform 0.2s;
			 text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
			font-size: 1rem;
        }
		.ms-download a {
			text-decoration: none;
            color: #fff;
            font-weight: bold;
		}
        .ms-download:hover {
            background-color: cyan;
            color: #1656A5;
            transform: scale(1.05);
        }
		
/* End of Product Page Side bar Content */

.ms-contact-info {
    margin-right: 15px;
    color: #555;
}

/* Popup Banner Styles */
.popup-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
    background-color: #fff;
  width: 90%;
  max-width: 900px;
  max-height: 500px;
  position: relative;
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 20px;
  background: #fff;
  border-radius: 8px;
  font-size: 30px;
  cursor: pointer;
}

.popup-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.caro {
   width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.caro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}

.caro-image.active {
  opacity: 1;
}

.offer-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color:#c0392b;
  font-weight:500;
}

.offer-text p {
  font-size: 18px;
  margin: 5px 0;
  color:#966f0a;
}
