/********** Template CSS **********/
html {
    overflow-x: hidden;
}

:root {
    --primary: #0F52BA;
    --light: #acd7e2;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
   
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.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;
    display: none;
}

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

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

.btn.btn-primary,
.btn.btn-secondary {
    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;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
    border: none;
}

/* Topbar */

.bg-light-blue {
    background-color: #E6F1F7 !important; /* Light blue background */
}



.text-secondary {
    color: #000000 !important; /* Black for icons */
}

/* Generic button styling */
.btn-outline-body {
    border-color: #000000 !important;
    color: #000000 !important;
}

.btn-outline-body:hover {
    background-color: #000000;
    color: #E6F1F7 !important;
}

/* Light topbar (header) social icons */
.topbar .btn-outline-body {
    border-color: #000 !important;
    color: #000 !important;
}
.topbar .btn-outline-body:hover {
    background-color: #000 !important;
    color: #E6F1F7 !important;
}

/* Dark footer social icons */
.footer .btn-outline-body {
    border-color: #E6F1F7 !important;
    color: #E6F1F7 !important;
}
.footer .btn-outline-body:hover {
    background-color: #E6F1F7 !important;
    color: #000 !important;
}


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

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 667px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        font-size: 14px;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .page-header {
        width: auto;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .page-header {
        width: auto;
    }
}

/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 99%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/About/mainimg.jpg) center center no-repeat;
    background-size: cover;
}

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

/*** Section Title ***/
.section-title {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}

/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 80%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 60%;
    max-height: 70%;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}

/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Ensure it stays behind the text */
}

.service-item .service-text {
    position: relative;
    /* background: rgba(255, 255, 255, 0.9); Slightly transparent background for readability */
    transition: background 0.5s ease-in-out; /* Smooth transition for the background */
    z-index: 1; /* Place it above the image */
}

.service-item:hover .service-text {
     background: rgba(255, 255, 255, 0.7); /* Slightly more transparent on hover  */
}

.service-item * {
    transition: color 0.5s ease-in-out; /* Smooth transition for text color */
}

.service-item:hover * {
    color: var(--primary); /* Change text color on hover */
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center the content */
    color: var(--dark);
    background: #FFFFFF;
    border-radius: 20px; /* Optional: Rounded button */
    white-space: nowrap;
    overflow: hidden;
    transition: width 0.5s ease-in-out, background 0.5s ease-in-out;
}

.service-item:hover .btn {
    width: 140px;
    background: var(--primary); /* Optional: Change button background on hover */
    color: #FFFFFF;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}

/* Team Items Container */
/* Team Items Container */
.team-item {
    display: flex;
    gap: 20px; /* Space between image and content */
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.team-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2); /* Add glow on hover */
}

.image-container {
    flex-shrink: 0;
    display: flex;
    flex-direction: column; /* Stack image and icons */
    align-items: center;
    justify-content: center;
    margin-bottom: 15px; /* Space between image and social icons */
}

.image-container img {
    width: 200px; /* Set fixed width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.team-item:hover .image-container img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.content {
    flex-grow: 1;
    text-align: left;
}

.content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.content span {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
    color: #007bff; /* Primary color for title */
}

.content p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.team-social {
    margin-top: 10px;
    display: flex;
    gap: 10px; /* Space between buttons */
    justify-content: center; /* Center the social icons below the image */
}

.team-social .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Button size */
    height: 40px;
    font-size: 1.25rem; /* Icon size */
    color: #007bff; /* Primary color */
    background: #f8f9fa; /* Light background */
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-social .btn:hover {
    background: #007bff; /* Primary color on hover */
    color: #fff; /* White icon on hover */
}

/* Testimonial Section */

.testimonial-carousel {
    position: relative;
    padding: 50px 0;
    background-color: #f9f9f9;
}

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

.testimonial-carousel .owl-dots .owl-dot {
    width: 80px; /* Set a fixed size for the profile icons */
    height: 80px;
    margin: 0 10px; /* Space between dots */
    border-radius: 50%; /* Make them circular */
    overflow: hidden; /* Ensure the image stays within the circle */
    transition: border 0.3s ease;
    border: 2px solid transparent; /* Default border */
}

.testimonial-carousel .owl-dots .owl-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image fits the circle */
}

.testimonial-carousel .owl-dots .owl-dot.active {
    border: 2px solid var(--primary); /* Highlight active profile icon */
}

.testimonial-carousel .testimonial-item {
    text-align: center;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-carousel .testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.testimonial-carousel .testimonial-item .client-name {
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
}

.testimonial-carousel .testimonial-item .client-role {
    font-size: 14px;
    color: #777;
}

.testimonial-carousel .testimonial-item p {
    font-size: 16px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-carousel .testimonial-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.testimonial-carousel .testimonial-item img:hover {
    transform: scale(1.1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    background-color: var(--primary);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background-color: var(--dark);
}
/* testimonial end */

/* client start */

/*** About pg Client's section start ***/

/* General Client Logo Section Styles */
.client-logo-section {
    margin: 30px auto;
    text-align: center;
    max-width: 1200px;
    padding: 2em;
}

.client-logo-section h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    /* color: ; */
}

/* Grid Layout */
.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2em;
    justify-items: center;
    align-items: center;
    padding: 1em;
}

/* Client Logo Styling */
.client-logo {
    position: relative;
    overflow: hidden;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.client-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.client-logo:hover img {
    transform: scale(1.2);
}

/* Mobile Layout Adjustments */
@media (max-width: 768px) {
    .client-logo-section {
        padding: 1em;
    }

    .client-logo img {
        max-width: 80px;
    }

    .client-logo-grid {
        gap: 1em;
    }
}

/* Animation */
.client-logo {
    border: 2px solid transparent;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.client-logo:hover {
    transform: scale(1.2);
    border-color: #04171d;
    box-shadow: 0 8px 15px rgba(0, 195, 255, 0.6);
}


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* About pg client section end */

/* Home Page Client's Section Start */
/* Container for the slider */
.client-logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: #f9f9f9;
    padding: 20px 0;
}

/* Track for scrolling logos */
.slider-track {
    display: flex;
    gap: 20px; /* Adjust spacing between logos */
    animation: scrollEffect 30s linear infinite; /* Infinite scroll effect */
}

/* Individual logos */
.slider-logo {
    flex: 0 0 auto; /* Prevent shrinking or growing */
    width: 120px; /* Adjust logo size */
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.slider-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Animation for infinite scrolling */
@keyframes scrollEffect {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-200%);
    }
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .slider-logo {
        width: 80px; /* Smaller logos for mobile */
        height: 60px;
    }
    .slider-track {
        gap: 10px; /* Reduce spacing between logos */
    }
}


/* Home Page Client's Section End */



/* home pg client's section end*/

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: #cccccc;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 14px;
    transition: 0.3s;
}

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

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

.footer .form-control {
    border-color: #999999;
    background-color: transparent;
    color: #ffffff;
}

.footer .form-control::placeholder {
    color: #aaaaaa;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaaaaa;
}

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

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

/* Social Icons in Footer */
.footer .social-icons-dark .btn-outline-body {
    color: #ffffff;
    border-color: #cccccc;
    transition: 0.3s;
}

.footer .social-icons-dark .btn-outline-body:hover {
    background-color: #ffffff;
    color: #0b0c10;
}

.footer .contact-info p {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer .contact-info i {
    color: var(--primary);
    font-size: 16px;
    margin-right: 10px;
}

/* ------------background blure------------- */
/* Container to position the background image and content */
.blur-container {
    position: relative; /* Ensures child elements (content) are positioned relative to this container */
    width: 100%;
    height: 100vh; /* Full screen height */
    overflow: hidden; /* Ensures no overflow */
}

/* Background image with blur */
.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    filter: blur(8px); /* Apply the blur effect */
    z-index: 1; /* Keeps it behind the content */
}

/* Content on top of the blurred image */
.content {
    position: relative; /* Place it above the blurred image */
    z-index: 2; /* Ensures it is above the image */
    text-align: left; /* Aligns text to the left */
    padding: 50px; /* Adds some space inside the content */
}



/* about section our strength */

/*----facility------*/

.facilities-section .facilities-img {
    background-image: url(../img/About/abtbbg2.webp);
    background-position: center center;
    background-size: cover;
    height: 500px;
}

.facilities-section {
    background: linear-gradient(rgba(34, 1, 1, 0.5), rgba(34, 1, 1, 0.5)), url('../img/About/abtbbg2.webp');
    background-position: center center;
    background-size: cover;
    font-size: small;
    overflow: hidden;
    position: relative;
    height: 500px;
    z-index: 0;
}

.facilities-section::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.facilities-section .facilities-text ul {
    padding-left: 0;
    margin-bottom: 0;
}

.facilities-section .facilities-text ul li {
    list-style: none;
    display: inline-block;
    width: 250px;
    margin-bottom: 5px;
    color: #ffffff;
    position: relative;
    padding-left: 15px;
}

.facilities-section .facilities-text ul li::before {
    position: absolute;
    content: '';
    background: #2192FF;
    width: 8px;
    height: 8px;
    top: 6px;
    left: 0px;
}

.facilities-section .facilities-text .theme-btn {
    margin-top: 25px;
}

.theme-btn {
    display: inline-block;
}

.facilities-section .facilities-text .section-title {
    margin-bottom: 25px !important;
}

.theme-btn .default-btn {
    font-weight: 500;
    z-index: 0;
    position: relative;
    padding: 15px 25px;
    border-radius: 5px;
    color: #ffffff;
    display: inline-block;
    border: 1px solid #ffffff;
}

.facilities-section .facilities-text .section-title h2,
.facilities-section .facilities-text .section-title p {
    color: navy;
}

.facilities-section .facilities-text .section-title span {
    padding-left: 10px;
    color: #ffffff;
}

.facilities-section .facilities-text .section-title span::before {
    left: 0;
    background: #fff;
}

.facilities-section .facilities-text .section-title h2,
.facilities-section .facilities-text .section-title p {
    color: #fff;
}

.facilities-img img {
    max-width: 100%;  /* Ensures the image scales responsively */
    height: auto;     /* Prevents image from stretching */
    object-fit: cover; /* Maintains aspect ratio while covering the container */
}

/* about sec os end */

/* Mission & Vision Section */
.mission-vision {
    padding: 50px 15px;
    background-color: #f0f8ff; /* Light background */
}

.mission-vision .container {
    text-align: center;
}

.mission-vision h4 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: #007bff;
}

.mission-vision .content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

/* Mission and Vision box styling */
.mission-vision .mission,
.mission-vision .vision {
    padding: 40px;
    background: linear-gradient(to right, #6fa3ef, #b1d8fc); /* Gradient background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Softer shadow for depth */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: white;
    text-align: left;
}

.mission-vision .mission:hover,
.mission-vision .vision:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.3);
}

.icon-container {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.mission-vision .mission i,
.mission-vision .vision i {
    font-size: 4rem;
}

.mission-vision h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.mission-vision p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* CTA Button Styling */
.cta-button {
    display: inline-block;
    background-color: #007bff;
    padding: 10px 20px;
    color: white;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Hover effect on icons */
.icon-container:hover {
    color: #0a212f; /* Icon color change on hover */
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .mission-vision .content {
        flex-direction: column;
    }
}

/* comp project start */

.container-gall {
    margin: 0 5%;
    box-sizing: border-box;
    width: auto;
    margin-bottom: 10%;
    -webkit-box-shadow: 0px 4px 5px 0px rgba(120, 204, 204, 0.98);
    -moz-box-shadow: 0px 4px 5px 0px rgba(120, 204, 204, 0.98);
    box-shadow: 0px 4px 5px 0px rgba(120, 204, 204, 0.98);
}

.box {
    background: #46a6e2;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 5%;
}

.box img {
    width: 429px;
    height: 282px;
    transition: all 0.5s;
}

.box:hover img {
    opacity: 0.2;
    filter: blur(3px);
    transform: scale(1.1);
}

.box-content {
    color: #fff;
    width: 100%;
    opacity: 0;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 0;
    transition: all 0.4s ease 0s;
}

.box:hover .box-content {
    opacity: 1;
}

.box .title {
    font-size: 23px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin: 0 0 8px;
}

.box .title:after {
    content: '';
    height: 7px;
    width: 130px;
    margin: 8px auto 0;
    border: 2px solid #fff;
    border-left: none;
    border-right: none;
    clear: both;
    display: block;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease 0s;
}

.box:hover .title:after {
    opacity: 0.5;
    transform: scale(1);
}

.box .post {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: capitalize;
    display: block;
}

.box .icon {
    padding: 0;
    margin: 0;
    list-style: none;
    transform: translateX(-50%) scale(0);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transition: all 0.5s linear;
}

.box:hover .icon {
    transform: translateX(-50%) scale(1);
}

.box .icon li {
    margin: 0 2px;
    display: inline-block;
}

.box .icon li a {
    color: #fff;
    font-size: 14px;
    line-height: 33px;
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: block;
    transition: all 0.4s ease 0s;
}

.box .icon li a:hover {
    color: #fff;
    background-color: #f83600;
    text-shadow: 2px 2px 4px #0a212f;
}




/* additional */


/* more addn video */

/* Video Card Styling */
.video-card {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.video-card:hover video {
    opacity: 0.7;
}

/* Overlay Styling */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

/* Play Button Styling */
.play-button {
    font-size: 3rem;
    color: #ffcc00;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 20px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.video-card:hover .play-button {
    transform: scale(1.2);
}

/* Video Details */
.video-details {
    padding: 0 15px;
}

.video-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.video-description {
    font-size: 1rem;
    color: #f0f4f8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-card {
        height: 250px;
    }
    .play-button {
        font-size: 2.5rem;
        padding: 15px;
    }
    .video-title {
        font-size: 1.2rem;
    }
    .video-description {
        font-size: 0.9rem;
    }
}


/* more addn video */


/* General Styling */
/* body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f4f8;
} */

/* Project Card Styling */
.project-card {
    perspective: 1000px;
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.6s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: scale(1.05);
}

/* Card Front and Back */
.project-card-front,
.project-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.6s ease;
}

/* Front Side */
.project-card-front {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.project-card-front img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card-front img {
    transform: scale(1.1);
}

.project-details {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 15px;
    color: #fff;
    text-align: center;
}

.project-title {
    font-size: 1.4rem;
    font-weight: bold;
}

.project-type {
    font-size: 1rem;
    color: #ffcc00;
}

/* Back Side */
.project-card-back {
    background: #2c3e50;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: rotateY(180deg);
}

.back-content {
    padding: 20px;
}

.project-card:hover .project-card-front {
    transform: rotateY(180deg);
}

.project-card:hover .project-card-back {
    transform: rotateY(0deg);
}

/* Animations */
.project-card-front img,
.project-card-back {
    animation: smoothFade 0.6s ease-in-out;
}

/* Keyframes for Fade */
@keyframes smoothFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-card {
        height: 250px;
    }
    .project-title {
        font-size: 1.2rem;
    }
}

/* additional */


.card {
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: scale(1.05);
  }
  
  .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #f0f0f0;
  }
  
  .card-content {
    padding: 16px;
  }
  
  .read-more-btn {
    padding: 12px 24px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .read-more-btn:hover {
    background-color: #0056b3;
    transform: translateY(-4px);
  }
  
  .floating-box-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    animation: fadeInOverlay 0.5s forwards;
  }
  
  .floating-box {
    position: relative;
    max-width: 600px;
    width: 80%;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 100px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s ease-out;
  }
  
  .floating-box h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
  }
  
  .floating-box p {
    font-size: 16px;
    color: #555;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    transition: background-color 0.3s ease;
  }
  
  .close-btn:hover {
    background-color: #0F52BA;
  }
  
  @keyframes fadeInOverlay {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideIn {
    from {
      transform: translateY(-30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  

/* comp project end*/


/* new latest */

/* Base styles (desktop) */
.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row on desktop */
    gap: 30px; /* Space between cards */
    padding: 30px;
    justify-items: center;
}
  
.card {
    width: 380px; /* Card width */
    height: 460px; /* Card height */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    position: relative; /* Position relative to overlay the button */
    background-color: #fff; /* Add background for better contrast */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Add more depth */
}
  
.card-img {
    width: 100%; /* Ensure the image covers the full width */
    height: 100%; /* Make the image cover the entire container */
    object-fit: cover; /* Ensures the image covers the space without distortion */
    transition: filter 0.3s ease; /* Smooth transition for blur effect */
}
  
.card:hover .card-img {
    filter: blur(5px); /* Apply blur on hover */
}
  
.read-more-btn {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust to perfectly center */
    padding: 12px 24px; /* Button size */
    background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent blue */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    font-size: 16px;
    opacity: 0; /* Initially hidden */
    pointer-events: none; /* Prevent interaction when not visible */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
}
  
.card:hover .read-more-btn {
    opacity: 1; /* Show the button on hover */
    pointer-events: auto; /* Enable interaction */
    transform: translate(-50%, -50%) scale(1.1); /* Slight scaling effect on hover */
}
  
.read-more-btn:hover {
    background-color: rgba(0, 123, 255, 1); /* Darker blue when hovered */
    transform: translate(-50%, -50%) scale(1.15); /* Slightly larger on hover */
}
  
.card-content {
    padding: 20px; /* Padding for content */
    background-color: rgba(255, 255, 255, 0.8); /* Slight transparency */
}
  
.read-more-btn:focus {
    outline: 2px solid #0056b3;
    outline-offset: 4px;
}

/* Floating Box with Overlay */
.floating-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    display: none; /* Hide by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInOverlay 0.5s forwards; /* Fade-in effect */
}

.floating-box {
    position: relative;
    max-width: 700px;
    width: 85%;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
    max-height: 600px;
    overflow-y: auto;
}

.floating-box h2.project-name {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.floating-box p {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
}

.floating-box p strong {
    font-weight: bold;
    color: #333;
}

.floating-box .project-type, 
.floating-box .project-location {
    font-size: 16px;
    color: #444;
}

.floating-box .project-description {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
}

.floating-box .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    font-size: 24px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    transition: background-color 0.3s ease;
}

.floating-box .close-btn:hover {
    background-color: black;
}

/* Animations */
@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr; /* 1 card per row on small screens */
        gap: 20px; /* Space between cards */
        padding: 20px;
    }
    .card {
        width: 100%; /* Make card width 100% */
        height: 400px; /* Adjust height */
        margin: 0 auto;
    }
    .card-img {
        object-position: center center; /* Ensure the image stays centered */
    }
    .read-more-btn {
        font-size: 14px; /* Smaller button text on mobile */
        padding: 10px 18px; /* Adjust button size */
    }
    .floating-box {
        width: 90%; /* Make floating box width smaller on mobile */
        padding: 20px; /* Adjust padding */
    }
}

@media (max-width: 768px) {
    .floating-box {
        width: 90%; /* Make floating box width smaller on mobile */
        padding: 20px; /* Adjust padding */
    }

    .floating-box h2.project-name {
        font-size: 24px; /* Smaller heading for mobile */
    }

    .floating-box p {
        font-size: 16px; /* Adjust text size for readability */
    }
}
  
  

/* new end */



/* Completed proj upd */

/* Container for all the projects */
.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row on desktop */
    gap: 30px;
    padding: 30px;
    justify-items: center;
    transition: all 0.3s ease;
}

/* Individual project card */
.project-card {
    position: relative;
    text-align: center;
    width: 300px;
    height: 350px;
    border-radius: 15px;
    background-color: #f7f7f7;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for the project card */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Icon container (centered icon inside a circle) */
.icon-container {
    width: 80px;
    height: 80px;
    background-color: #007bff;
    border-radius: 50%; /* Circular shape */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 36px;
    color: white;
    transition: transform 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.2); /* Slightly scale the icon on hover */
}

/* Hidden info section */
.info {
    display: none; /* Initially hidden */
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover effect to reveal info section */
.project-card:hover .info {
    display: block;
    opacity: 1;
}

/* Styling for project title and description */
.info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.info p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .projects-container {
        grid-template-columns: 1fr; /* 1 card per row on small screens */
        gap: 20px;
        padding: 20px;
    }

    .project-card {
        width: 100%; /* Full width on mobile */
        height: 300px; /* Adjust height */
    }

    .icon-container {
        font-size: 30px; /* Adjust icon size */
    }

    .info h3 {
        font-size: 16px; /* Adjust title size for mobile */
    }

    .info p {
        font-size: 12px; /* Adjust text size */
    }
}


/* comp proj end */

/* Ensure images are responsive */
img {
    max-width: 100%; /* Ensure images never exceed their container width */
    height: auto;
}

/* Mobile-friendly text and layout adjustments */
@media (max-width: 767px) {
    /* Adjust header font size */
    .page-header h1 {
        font-size: 2.5rem;
    }

    /* Adjust text for the about us section */
    .facilities-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Ensure text blocks don't overflow */
    .facilities-section .row {
        flex-direction: column;
    }

    /* Adjust padding and margins for small screens */
    .facilities-img {
        padding: 0;
    }

    .facilities-text {
        padding: 20px;
    }

    /* Navbar adjustments */
    .navbar-nav {
        text-align: center;
        margin-top: 10px;
    }

    /* Adjust the strength section */
    .strength .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .strength h4, .strength h1 {
        text-align: center;
    }

    .strength .col-lg-6 {
        margin-bottom: 30px;
    }

    /* Add some margin to the mission and vision section */
    .mission-vision {
        padding: 20px;
    }

    .mission, .vision {
        margin-bottom: 20px;
    }

    .icon-container {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Ensure team images are responsive */
.team-item img {
    max-width: 100%;
    height: auto;
}

/* Adjust layout for team section on smaller screens */
@media (max-width: 767px) {
    /* Adjust team section layout */
    .team-item {
        flex-direction: column;
        text-align: center;
    }

    .team-item .image-container {
        margin-bottom: 20px;
    }

    .team-item .content {
        padding: 20px;
    }

    /* Social media icons below the images for mobile */
    .team-social {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    /* Resize client logos for smaller screens */
    .client-logo-slider .slider-logo img {
        max-width: 80%; /* Adjust logo size */
        height: auto;
    }
}

/* Responsive certificates section */
.director-msg {
    text-align: center;
}

.director-msg img {
    max-width: 100%;
    height: auto;
}

/* Footer adjustment for mobile */
.footer {
    padding: 40px 20px;
}

.footer .col-md-6 {
    margin-bottom: 20px;
}

.footer .text-md-start {
    text-align: center;
}

.client-logo img {
    width: 100%;
    height: auto;
    max-width: 130px; /* Adjust this value as needed */
    object-fit: contain;
    margin: 10px;
}

/* Slider adjustments */
.client-logo-slider .slider-logo {
    flex: 0 0 auto;
    padding: 10px;
}

/* Additional media query for mobile client logo slider adjustments */
@media (max-width: 768px) {
    .client-logo img {
        max-width: 100px; /* Adjust size for mobile */
    }

    .client-logo-slider .slider-track {
        flex-wrap: wrap;
        justify-content: center;
    }

    .facilities-img img {
        width: 100%; /* Ensures the image takes full width on smaller screens */
        height: auto; /* Maintain the aspect ratio */
    }
}

/* Paragraph adjustments */
p {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 20px;
}

/* Responsive image adjustments for facilities section */
@media (max-width: 768px) {
    .facilities-img img {
        max-width: 100%;
        height: auto;
        padding: 0;
    }
}

.facilities-img img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Facilities section adjustments */
@media (max-width: 768px) {
    .facilities-img {
        padding: 0; /* Remove padding for smaller screens */
    }
    .facilities-img img {
        max-width: 100%;
        height: auto;
    }
}
