@import url('https://fonts.googleapis.com/css2?family=Teachers:ital,wght@0,400..800;1,400..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Teachers", sans-serif;
    color: white;
    background-color: #051437;
}

/* ::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(0deg, rgba(2, 9, 40, 0.9753151260504201) 20%, rgba(28, 111, 180, 1) 84%);
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgb(10, 192, 247);
    background: rgb(255, 174, 0);
} */

.tophead {
    background: #051437;
}

/* Main Section */
.main {
    background: radial-gradient(circle, #1C71B7 1%, #1964A5 8%, #165B98 20%, #051437 90%);
}

/* .homtxt h1{
    font-size: 56px;
} */
.homtxt h1 span {
    color: #FA911A;
}

.homtxt p {
    font-size: 27px;
}

.homtxt .below a {
    color: white;
    text-decoration: none;
    border: 3px solid #FA911A;
    padding: 8px 17px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.homtxt .below a:hover {
    background-color: #896138;
}

.homtxt .below2 a {
    color: white;
    text-decoration: none;
    border: 3px solid #51BCE2;
    padding: 8px 20px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.homtxt .below2 a:hover {
    background-color: #1070B1;
}
.ht{
    margin-top: 50px;
}
@media(max-width: 525px){
    .homtxt .below2 a{
        padding: 8px 90px;
    }
    .homtxt .below{
        justify-content: center;
    }
    .ht{
        margin-top: 10px;
    }
}

/* Updated logo gallery Section */
@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 20px 0;
    margin-top: 20px;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

/* .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), black);
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), black);
} */

/* .logos:hover .logos-slide {
    animation-play-state: paused;
  } */

.logos-slide img {
    transition: transform 0.3s ease;
    /* background-color: white; */
    /* padding: 20px 10px; */
}

.logos-slide img:hover {
    transform: scale(1.20);
}

.logos-slide {
    display: inline-block;
    animation: 100s slide infinite linear;
}

.logos-slide img {
    height: 3.5rem;
    margin: 0 40px;
}

/* end of logo gallery section */

.feature h3 {
    color: #51BCE2;
}

.services h2 {
    font-size: 36px;
    font-weight: 800;
    color: #ff8b00;
}

.services h2 span {
    font-size: 36px;
    font-weight: 800;
    color: white;
}

.services .p {
    font-size: 33px;
    font-weight: 500;
}
.services p {
    margin: 0px 165px;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem !important;
}

.card {
    background: radial-gradient(circle at top, #1C71B7 1%, #1964A5 3%, #165B98 8%, #051437 90%);
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
}

.card img {
    height: 10rem;
    margin-bottom: 20px;
}

.card:hover {
    box-shadow: 1px -10px 35px 0px #4F90AD;
    transform: translateY(-10px);
}

.card h3 {
    color: #ff8b00;
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
    text-shadow: 0 0 10px #41556F, 0 0 10px #41556F, 0 0 15px #41556F, 3px 1px 3px black;
}

.card p {
    color: #c9d6e2;
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 10px;
    text-align: start;
    font-weight: 600;
}




.learn-more {
    background-color: transparent;
    border: 2px solid #ff8b00;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 700;
    text-shadow: 0px 1px 1px black;
    width: 80%;
    margin: 10px auto;
    text-decoration: none;
}


/* .learn {
    background-color: transparent;
    color: #ff8b00;
  
    display: inline-block;
    margin-top: 0;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 700;
    text-shadow: 0px 1px 1px black;
    width: 80%;
    margin: 0 auto; 
    text-decoration: none;
} */

.learn-more:hover {
    background-color: #896138;
}

/* Responsive adjustments */
@media (max-width: 700px) {
    .services h2 {
        font-size: 24px;
    }

    .services h2 span {
        font-size: 24px;
    }

    .services .p {
        font-size: 20px;
    }
    
    .service-cards {
        padding: 30px;
    }

    .card {
        width: auto;
    }

    .learn-more {
        width: 100%;
    }
}
@media (max-width: 1000px){
    .services p {
        margin: auto;
    }
}

/*  Expertise in industries */
/* .industry-expertise {
    background: radial-gradient(circle at top, #1C71B7 1%, #1964A5 5%, #165B98 9%, #051437 89%);
} */

.industry-expertise h1 {
    font-size: 36px;
    text-shadow: 3px 1px 3px black;
    font-weight: 700;
}

.industry-expertise h1 span {
    color: #FA911A;
    font-size: 36px;
    text-shadow: 3px 1px 3px black;
}

.industry-expertise .subtitle {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 3px 1px 3px black;
}

.scard {
    background: radial-gradient(circle, rgba(27,109,177,1) 0%, rgba(5,20,55,1) 85%);
    border-radius: 15px;
    text-align: center;
    border: 1px solid transparent;
}

.scard img {
    height: 50px;
}

.scard h3 {
    color: white;
    font-weight: 500;
    margin-bottom: 10px;
    text-shadow: 1px 1px 1px black;
}

.scard p {
    color: white;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.scard:hover {
    background: #051437;
}

.btn-outline-primary {
    border: 1px solid #00b4ff;
    border-radius: 20px;
    color: #ffffff;
    transition: background-color 0.3s ease;
    padding: 8px 25px;
}

.btn-outline-primary:hover {
    background-color: #007acc;
}

@media (max-width: 1000px) {
    .row {
        display: flex;
        flex-wrap: wrap;
    }
}
@media (max-width: 768px) {
    .industry-expertise{
        margin-top: -60px
    }
    .industry-expertise h1 {
        font-size: 26px;
    }
    
    .industry-expertise h1 span {
        font-size: 26px;
    }
    
    .industry-expertise .subtitle {
        font-size: 20px;
    }
}

/* end of  Expertise in industries */

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    }
.bg {
    background: radial-gradient(circle, #1C71B7 1%, #1964A5 8%, #165B98 20%, #051437 90%);
}

/* Achievements */
.achievements .highlight {
    color: #FA911A;
}

.a-card {
    background-color: #0D3361;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border: 1px solid #969696;
    height: 100%;
}

.a-card:hover {
    transform: scale(1.03);
}

.acard {
    padding-bottom: 10px;
    border-bottom: 1px solid #969696;
}

.acard img {
    height: 70px;
}

.acard h3 {
    color: #FA911A;
    text-shadow: 3px 1px 3px black;
}

.acard h3 span {
    color: white;
}

.about-btn {
    margin-top: 30px;
    background-color: #FA911A;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.about-btn:hover {
    background-color: #ffa641;
}

@media (max-width: 992px) {
    .grid-con {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .achievements h2 {
        font-size: 1.5rem;
    }

    .achievements p {
        font-size: 0.9rem;
    }

    .a-card {
        margin-bottom: 15px;
    }

    .about-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* end of achievements */


/*Approach to Work Section */
.work {
    margin-top: -50px; /* Adjust if there’s extra space added by margin */
}
.work .highlight {
    color: #FA911A;
}

.work .subtitle {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

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

.process-box {
    background: radial-gradient(circle at top, #1C71B7 2%, #1964A5 6%, #165B98 15%, #051437 70%);
    color: white;
    position: relative;
    height: 300px;
    /* Fixed height for all boxes */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    /* Ensure space for the circle */
    border-radius: 60px !important;
}
.process-box2 {
    background: radial-gradient(circle at top, #1C71B7 2%, #1964A5 6%, #165B98 15%, #051437 70%);
    color: white;
    position: relative;
    height: 300px;
    /* Fixed height for all boxes */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    /* Ensure space for the circle */
    border-radius: 60px !important;
}

.circle img {
    top: -40px;
    left: 100px;
    position: absolute;
}

.process-box h5 {
    font-weight: bold;
    color: #FA911A;
    text-align: center;
}

.process-box p {
    font-size: 14px;
    color: #f5f5f5;
    text-align: center;
}
.process-box2 h5 {
    font-weight: bold;
    color: #FA911A;
    text-align: center;
}

.process-box2 p {
    font-size: 14px;
    color: #f5f5f5;
    text-align: center;
}
@media (min-width: 786px){
    .work-r{
        margin-top: 100px;
    }
}
@media (max-width: 768px) {
    .process-box {
        height: 320px;
        /* Adjust height for smaller screens */
        margin-top: 60px;
    }
    .process-box2 {
        height: 320px;
        /* Adjust height for smaller screens */
        margin-top: 60px;
    }
}

@media (max-width: 576px) {
    .process-box p {
        font-size: 12px;
    }
    .process-box2 p {
        font-size: 12px;
    }
    .process-box2 {
        margin-top: -20px;
    }
}

/* end of Approach to work section */


/* technology */
/* techstack */
.techno {
    text-align: center;
    padding: 60px 20px;
}

.techno h1 {
    font-size: 36px;
    font-weight: bold;
}

.techno .highlight {
    color: #FA911A;
}

.techno .subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    color: #ffffff;
}

/* Tabs Styling */
.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    /* Prevent wrapping */
    margin: 0px 170px;
    gap: 5rem;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 3px solid white;
    /* White line */
}

/* Orange active line for the clicked tab with smooth movement */
.line {
    position: absolute;
    bottom: -3px;
    /* Keep the orange line below the tabs */
    left: 0;
    height: 3px;
    background-color: #FA911A;
    transition: left 0.4s ease, width 0.4s ease;
    /* Smooth transition */
}

/* Smooth transitions for the orange line */
.tab-button {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    /* Default font-size */
    cursor: pointer;
    padding-bottom: 10px;
    position: relative;
    transition: color 0.3s ease;
}

.tab-button:hover,
.tab-button.active {
    color: #FA911A;
}

/* Orange active line for the clicked tab with smooth movement */
.tab-button:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 3px;
    background-color: #ff8b00;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tab-button.active:after {
    transform: scaleX(1);
}

/* Tab Content Styling */
.tab-content {
    display: none;
    text-align: center;
}

.tab-content.active {
    display: block;
}

/* Tech Grid Styling */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
    padding: 20px 16rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    background-color: white;
    border-radius: 15px;
    padding: 5px 5px;
}

.tech-item p {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

@media (min-width:1600px) {
    .tabs {
        /* margin: 0 48rem; */
        border: none;
    }

    .tech-grid {
        margin: 20px 25rem;
        gap: 10px;
    }
}

/* Responsive Adjustments for 1420px to 1024px */
@media (max-width: 1420px) {
    .tabs {
        margin: 0 230px;
        /* Reduce margin to make the white line visible */
        gap: 3rem;
        /* Adjust gap for mid-sized screens */
    }
}

@media (max-width: 1300px) {
    .tabs {
        margin: 0 205px;
        /* Further reduce margin */
        gap: 2.5rem;
        /* Reduce gap to ensure proper alignment */
    }
}

@media (max-width: 1200px) {
    .tabs {
        margin: 0 165px;
        /* Adjust margin for smaller screens */
        gap: 2rem;
        /* Ensure tabs fit well on mid-size screens */
    }
}

@media (max-width: 1024px) {
    .tabs {
        margin: 0 90px;
        /* Reduce margin for tablet-sized screens */
        justify-content: flex-start;
        /* Align tabs to the left */
        overflow-x: auto;
        /* Horizontal scroll for smaller screens */
    }
}

/* Scrollable Tabs for Tablets & Mobiles */
@media (max-width: 1024px) {
    .tabs {
        gap: 2rem;
        /* Adjust gap between tabs for smaller screens */
        scroll-snap-type: x mandatory;
        /* Ensure smooth snapping */
    }

    .tab-button {
        scroll-snap-align: start;
        /* Snap each tab to the start */
    }
}

/* Media Query for smaller screens (Hide the line) */
@media (max-width: 768px) {
    .line {
        display: none;
        /* Hide the orange line on mobile devices */
    }
    .techno h1 {
        font-size: 26px;
    }
}

/* Responsive font-size for tab buttons */
@media (max-width: 1200px) {
    .tab-button {
        font-size: 16px;
        /* Adjust font-size for medium screens */
    }
}

@media (max-width: 992px) {
    .tab-button {
        font-size: 14px;
        /* Adjust font-size for smaller screens */
    }
}

@media (max-width: 768px) {
    .tab-button {
        font-size: 12px;
        /* Adjust font-size for mobile devices */
    }
}

@media (max-width: 576px) {
    .tab-button {
        font-size: 10px;
        /* Adjust font-size for very small devices */
    }
}

/* Media Query for Responsiveness */
@media (max-width: 1200px) {
    .tech-grid {
        padding: 20px 10rem;
        /* Adjust padding for medium screens */
    }
}

@media (max-width: 992px) {
    .tech-grid {
        padding: 20px 5rem;
        /* Further reduce padding for smaller screens */
    }
}

@media (max-width: 768px) {
    .tech-grid {
        padding: 20px 0rem;
        /* Reduce padding for mobile */
    }
}

@media (max-width: 576px) {
    .tabs {
        margin: 0 -15px;
        /* Adjust tab margins for small screens */
        gap: 2rem;
        /* Adjust gap for smaller screens */
    }

    .tab-button {
        font-size: 16px;
        /* Reduce font size for mobile */
    }

    .tech-item img {
        width: 60px;
        /* Adjust image size for mobile */
        height: 60px;
        /* Adjust image size for mobile */
    }

    .tech-item p {
        font-size: 14px;
        /* Adjust text size for mobile */
    }
    .tech-grid{
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }
}

/* For tablets and screens below 1024px */
@media (max-width: 1024px) {
    .tech-item img {
        width: 60px;
        /* Reduce image size for tablets */
        height: 60px;
    }
}

/* For mobile devices (576px and below) */
@media (max-width: 576px) {
    .tech-item img {
        width: 50px;
        /* Further reduce image size for mobile */
        height: 50px;
    }
}

/* For very small mobile devices (320px and below) */
@media (max-width: 320px) {
    .tech-item img {
        width: 40px;
        /* Smallest image size for very small devices */
        height: 40px;
    }
}

/* end of teachnology section */


/* world map */
/* global-section */
.map-icons {
    position: relative;
}

.map-icons img {
    max-width: 100%;
}

/* Flags styling */
.flags .flag {
    width: 30px;
    height: auto;
    margin: 0 5px;
}
.btn-warning {
    background-color: #FA911A;
    color: white;
    border: none;
    padding: 10px 20px;
}

.btn-warning:hover {
    background-color: #e67500;
    color: white;
}

/* end of world map */


/* gallery carousel */

/* .gallery-carousel{
    text-align: center;
} */
.gallery-carousel h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.gallery-carousel p {
    font-size: 18px;
    margin-bottom: 30px;
}

.gallery-carousel h1 span {
    color: #FA911A;
}

#slider {
    position: relative;
    width: 50%;
    /* You can adjust this width as needed */
    height: 30vw;
    /* Adjust as needed, this determines the height based on the width */
    margin: 40px auto;
    font-family: 'Helvetica Neue', sans-serif;
    perspective: 1400px;
    transform-style: preserve-3d;
}

input[type=radio] {
    position: relative;
    top: 108%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: 0 15px 0 0;
    opacity: 0.4;
    transform: translateX(-83px);
    cursor: pointer;
}

input[type=radio]:nth-child(5) {
    margin-right: 0px;
}

input[type=radio]:checked {
    opacity: 1;
}

#slider label {
    position: absolute;
    width: 100%;
    /* Full width of the slider */
    height: 100%;
    /* Full height of the slider */
    left: 0;
    top: 0;
    color: white;
    font-size: 70px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 400ms ease;
    background-size: cover;
    /* Ensure the background image covers the area */
    background-position: center;
    /* Center the image */
    border-radius: 10px;
}

#slide1 {
    background-image: url("/build/images/pic1.svg");
}

#slide2 {
    background-image: url("/build/images/pic2.svg");
}

#slide3 {
    background-image: url("/build/images/pic3.svg");
}

#slide4 {
    background-image: url("/build/images/pic1.svg");
}

#slide5 {
    background-image: url("/build/images/pic2.svg");
}

/* Slider Functionality */

/* Active Slide */
#s1:checked~#slide1,
#s2:checked~#slide2,
#s3:checked~#slide3,
#s4:checked~#slide4,
#s5:checked~#slide5 {
    /* box-shadow: 0 13px 26px rgba(0,0,0, 0.3), 0 12px 6px rgba(0,0,0, 0.2); */
    transform: translate3d(0%, 0, 0px);
}

/* Next Slide */
#s1:checked~#slide2,
#s2:checked~#slide3,
#s3:checked~#slide4,
#s4:checked~#slide5,
#s5:checked~#slide1 {
    /* box-shadow: 0 6px 10px rgba(0,0,0, 0.3), 0 2px 2px rgba(0,0,0, 0.2); */
    transform: translate3d(15%, 0, -100px);
}

/* Next to Next Slide */
#s1:checked~#slide3,
#s2:checked~#slide4,
#s3:checked~#slide5,
#s4:checked~#slide1,
#s5:checked~#slide2 {
    /* box-shadow: 0 1px 4px rgba(0,0,0, 0.4); */
    transform: translate3d(30%, 0, -250px);
}

/* Previous to Previous Slide */
#s1:checked~#slide4,
#s2:checked~#slide5,
#s3:checked~#slide1,
#s4:checked~#slide2,
#s5:checked~#slide3 {
    /* box-shadow: 0 1px 4px rgba(0,0,0, 0.4); */
    transform: translate3d(-30%, 0, -250px);
}

/* Previous Slide */
#s1:checked~#slide5,
#s2:checked~#slide1,
#s3:checked~#slide2,
#s4:checked~#slide3,
#s5:checked~#slide4 {
    /* box-shadow: 0 6px 10px rgba(0,0,0, 0.3), 0 2px 2px rgba(0,0,0, 0.2); */
    transform: translate3d(-15%, 0, -100px);
}
@media (max-width: 768px){
    .gallery-carousel h1 {
        font-size: 26px;
    }
}
@media (max-width: 500px){
    #slider{
        width: 85%;
        height: 45vw;
    }
}
/* end of gallery carousel */


/* Testimonial */
.testimonial-section {
    text-align: center;
    padding: 60px 85px;
}

.testimonial-section h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FA911A;
}

.testimonial-section h1 span {
    color: white;
}

.testimonial-section .subtitle {
    font-size: 19px;
    margin-bottom: 5rem;
    color: #d9f0ff;
}

/* Testimonial Grid Layout */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    /* background: linear-gradient(transparent, #051437 90%); */
}

/* Common Card Styles */
.testimonial-card {
    background: linear-gradient(#2169a7 25%, #051437 90%);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
    transition: transform 0.3s ease;
    position: relative;
}

/* .testimonial-card:hover {
    transform: translateY(-10px);
  } */

/* Row 1 - Lift 2nd card slightly */
.testimonial-grid> :nth-child(2) {
    transform: translateY(-30px);
    /* Adjust this value as needed */
}

/* Larger middle card in row 2 */
.larger-card {
    grid-column: span 1;
    padding: 30px;
    /* transform: scale(1.1); */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 126%;
    top: -35px;
}

/* Row 3 - Lower 2nd card slightly */
.testimonial-grid> :nth-child(8) {
    transform: translateY(30px);
    /* Adjust this value as needed */
}

/* Increase height of all cards except the 5th one for desktop */
.testimonial-grid>*:not(:nth-child(5)) {
    height: 270px;
    /* Set the desired height */
}

/* Assuming each block has a specific identifier like .testimonial-item or similar */
.testimonial-item {
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

/* Set the default size for all testimonial items */
.testimonial-item {
    height: 250px;
    width: 250px;
}

/* Adjustments for the larger 2nd block in the 2nd row */
.testimonial-item:nth-child(5) {
    transform: translateY(-30px);
    /* Move the 2nd block up a bit */
    height: 320px;
    /* Make the 2nd block in the 2nd row larger */
    width: 320px;
}

/* Reset 2nd block in the 3rd row to match the other blocks */
.testimonial-item:nth-child(8) {
    transform: none;
    /* Remove any position adjustments */
    height: 250px;
    /* Same size as the other testimonial blocks */
    width: 250px;
}

/* Image and Content */
#card-content {
    display: flex;
    gap: 20px;
}

#card-content2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

}

.card-content {
    text-align: left;
}

.card-content .customer-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    /* margin-bottom: 10px;*/
}

.card-content h3 {
    margin: 10px 0 5px 0;
    font-size: 18px;
}

.card-content .rating {
    color: #FA911A;
    font-size: 18px;
    margin-bottom: 10px;
}

.card-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #FA911A;
}

.card-content p {
    font-size: 13px;
    color: white;
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 1100px){
    .card-content h3,
    .card-content h4 {
        font-size: 15px;
        /* Control the font size for mobile */
    }
    .card-content p {
        font-size: 10px;
    }
}
@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        /* Single column layout for mobile */
        grid-gap: 20px;
        /* Ensure consistent gap between cards */
    }
    .testimonial-section h1 {
        font-size: 26px;
    }
    .testimonial-card {
        width: 100%;
        /* Ensure full width for each card */
        padding: 15px;
        /* Adjust padding for mobile */
        box-sizing: border-box;
        /* Include padding in width calculation */
        margin: 0;
        /* Reset any margins */
    }

    .testimonial-item {
        height: auto;
        /* Allow height to adjust for content */
        display: flex;
        /* Use flexbox for alignment */
        flex-direction: column;
        /* Align items in a column */
        justify-content: center;
        /* Center items */
        padding: 10px;
        /* Add padding for content */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        /* Ensure uniform shadow */
        border-radius: 10px;
        /* Maintain rounded corners */
        overflow: hidden;
        /* Prevent overflow */
    }

    .card-content h3,
    .card-content h4 {
        margin: 5px 0;
        /* Adjust margins for titles */
        font-size: 16px;
        /* Control the font size for mobile */
    }

    .card-content p {
        margin: 0;
        /* Remove margins to prevent overflow */
        font-size: 10px;
        /* Set a specific size for text */
        overflow: hidden;
        /* Prevent overflow */
        text-overflow: ellipsis;
        /* Add ellipsis if needed */
        white-space: normal;
        /* Allow text to wrap */
    }
}

/* Mobile responsiveness from 375px to 320px */
@media (max-width: 380px) {

    /* Testimonial section adjustments */
    .testimonial-section {
        padding: 10px;
        /* Ensure proper spacing */
        text-align: center;
        /* Center content */
    }

    .testimonial-card {
        width: 90%;
        /* Use 90% width */
        max-width: 350px;
        /* Limit max width */
        margin: 5px auto;
        /* Centering with margin */
        padding: 10px;
        /* Card padding */
    }

    /* Image adjustments */
    .testimonial-card img {
        width: 60px;
        /* Circular images */
        height: 60px;
        border-radius: 50%;
        /* Make images round */
        margin-bottom: 10px;
        /* Space below */
    }

    /* Adjust text sizes */
    .testimonial-card h3,
    .testimonial-card p {
        font-size: 10px;
        /* Adjust as necessary */
        margin: 5px 0;
        /* Space between elements */
    }
}

/* Further adjustments for 320px and below */
@media (max-width: 320px) {
    .testimonial-card {
        padding: 5px;
        /* Reduce padding for smaller screens */
    }
}

/* Adjust for Mobile Devices */
@media (max-width: 420px) {
    .testimonial-card {
        width: 90%;
        /* Make testimonial cards responsive */
        margin: 5px auto;
        /* Centering */
        padding: 10px;
        /* Adjust padding */
    }

    img {
        max-width: 100%;
        /* Responsive images */
        height: auto;
        /* Maintain aspect ratio */
    }
    .testimonial-section .subtitle {
        margin-bottom: 1rem;
    }
}
@media (max-width:500px){
    .testimonial-section {
        padding: 0 25px;
    }
}
@media (max-width:1000px){
    .testimonial-section{
        display: none;
    }
}
/* End of testimonial */

/* Testimonial - section 2.0 */
.tes-section {
    color: white;
    padding: 3rem 0;
    position: relative;
}

.tes-section h2 {
    color: #FA911A;
    font-weight: bold;
    margin-bottom: 2rem;
}

.tes-card {
    background: linear-gradient(#2169a7 25%, #051437 90%);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tes img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.tes h5 {
    color: #FA911A;
    font-weight: bold;
}

.tes-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.carousel-indicators [data-bs-target] {
    background-color: #FA911A;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    height: 100%;
    top: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #FA911A;
    border-radius: 6px;
    padding: 20px 0px;
}

/* Position buttons outside the cards */
.carousel-control-prev {
    left: -40px;
}

.carousel-control-next {
    right: -40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .tes-card {
        padding: 1rem;
        flex: 0 0 100%; /* Ensure cards take full width */
        max-width: 100%; /* Prevent wrapping */
    }

    .tes-card img {
        width: 60px;
        height: 60px;
    }

    .tes-section h2 {
        font-size: 1.5rem;
    }

    .tes-section p {
        font-size: 0.9rem;
    }

    .carousel-inner {
        display: flex; /* Use flex to prevent wrapping */
    }
    .carousel-control-prev {
        left: -15px;
    }
    
    .carousel-control-next {
        right: -15px;
    }
}

@media (max-width: 576px) {
    .tes-section {
        padding: 2rem 0;
    }

    .tes-card {
        margin-bottom: 1rem; /* Add margin between cards */
        flex: 0 0 100%; /* Ensure cards take full width */
    }

    .carousel-inner {
        display: flex; /* Prevent wrapping */
    }
    .carousel-control-prev {
        left: -12px;
    }
    
    .carousel-control-next {
        right: -12px;
    }
}

@media (min-width: 1000px) {
    .tes-section {
      display: none; /* Hide it */
    }
  }
@media(max-width: 999) {
    .tes-section{
        display: block; /*start showing*/
    }
    .tes-card img {
        width: 40px;
        height: 40px;
    }
}
/* end of tes section 2.0 */

/* Project slider */

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 60px 0px;
}

/* Wrapper for all slides */
.slider-wrapper {
    display: flex;
    transition: none;
    /* Remove transition for continuous scroll */
    animation: scroll 35s linear infinite;
    /* Continuous scroll */
}

/* Individual Slide Item */
.slide-item {
    position: relative;
    /* Ensure overlay positioning is relative to slide item */
    min-width: 33.33%;
    /* Show 3 items at a time for larger screens */
    box-sizing: border-box;
    padding: 10px;
    overflow: hidden;
    /* Prevent overflow */
}

/* Images */
.slide-item img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    /* Zoom effect on hover */
}

/* Hover zoom effect */
.slide-item:hover img {
    transform: scale(1.05);
}

/* Continuous Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Project info styling */
.project-info {
    text-align: center;
    margin-top: 10px;
    /* Space below the image */
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* Smooth transition */
    opacity: 1;
    /* Fully visible initially */
}

/* Overlay styles */
.info-overlay {
    position: absolute;
    bottom: 0;
    /* Start at the bottom of the card */
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9360994397759104) 33%, transparent 93%);
    /* Semi-transparent background */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    /* Start below the card */
    opacity: 0;
    /* Hidden by default */
    transition: transform 0.6s ease, opacity 0.3s ease;
    /* Smooth transition for transform and opacity */
}

/* On hover, show the overlay and slide it up */
.slide-item:hover .info-overlay {
    transform: translateY(0);
    /* Slide into view */
    opacity: 1;
    /* Make overlay visible */
}

/* Style for the text in the overlay */
.info-overlay h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.info-overlay p {
    margin: 0 0 15px;
    font-size: 16px;
}

.info-overlay a {
    color: #00bcd4;
    text-decoration: none;
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.info-overlay a:hover {
    background-color: #00bcd4;
    color: #fff;
}

/* On hover, project info expands */
.slide-item:hover .project-info {
    transform: translateY(-50%);
    /* Move project info up */
    opacity: 0;
    /* Fade out */
}

/* Disable animation while dragging */
.slider-wrapper.dragging {
    animation: none;
    cursor: grabbing;
}

/* Media Query for mobile devices */
@media (max-width: 768px) {
    .slider-wrapper {
        animation: scroll 45s linear infinite;
        /* Slow down for smaller screens */
    }

    .slide-item {
        min-width: 50%;
        /* Show 2 items at a time */
        padding: 5px;
    }

    .slide-item img {
        height: 300px;
        /* Reduce image height */
    }

    .info-overlay h3 {
        font-size: 18px;
    }

    .info-overlay p {
        font-size: 14px;
    }

    .info-overlay a {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .slider-wrapper {
        animation: scroll 55s linear infinite;
        /* Further slow down for smaller screens */
    }

    .slide-item {
        min-width: 100%;
        /* Show 1 item at a time */
        padding: 0;
    }

    .slide-item img {
        height: 250px;
        /* Further reduce image height */
    }

    .info-overlay h3 {
        font-size: 16px;
    }

    .info-overlay p {
        font-size: 12px;
    }

    .info-overlay a {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* project-slider 2.0 */
.sl-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    /* Adjust as needed */
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    /* background-color: #f9f9f9; */
}

.sl-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: calc(100% * 6); /* Adjust '6' to the number of .sli-item elements */
}

.sli-item {
    min-width: 67%;
    position: relative;
    box-sizing: border-box;
}

.sli-item img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    /* Zoom effect on hover */
}

.proj-info {
    text-align: center;
    margin-top: 10px;
    /* Space below the image */
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* Smooth transition */
    opacity: 1;
    /* Fully visible initially */
}

.sli-item:hover .proj-info {
    transform: translateY(-50%);
    /* Move project info up */
    opacity: 0;
    /* Fade out */
}

/* Overlay Styling */
.in-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    padding: 10px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9360994397759104) 33%, transparent 93%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sli-item:hover .in-overlay {
    transform: translateY(0);
    opacity: 1;
}

.in-overlay h3 {
    margin: 5px 0;
    font-size: 18px;
}

.in-overlay p {
    font-size: 14px;
    margin: 5px 0 10px;
}

.in-overlay a {
    color: #00bcd4;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
}

.in-overlay a:hover {
    background-color: #03cce7;
    color: #fff;
}

/* Navigation Button Styling */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(221 221 221 / 75%);
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 100;
    font-size: 24px;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

@media (max-width: 1000px) {
    .slider-container {
      display: none; /* Hide it */
    }
  }
  @media (min-width: 1000px) {
    .sl-container {
        display: none; /* Hide above 999px */
    }
}

@media(max-width: 999) {
    .sl-container{
        display: block; /*start showing*/
    }
}

/* end of project slider */


/* Contact-form section */
/* Background and Overlay */
.cf {
    background-image: url(/build/images/contact-form.avif);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 40px;
}

.cf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 27, 69, 0.47);
    z-index: 1;
}

/* Container */
.container {
    position: relative;
    z-index: 2;
}

/* Text Section */
.contact-text{
    padding: 10px 76px;
}
.contact-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.contact-text h3 {
    font-size: 1.75rem;
    color: #FA911A;
    margin: 15px 0 25px;
    line-height: 1.4;
}

.contact-text ul {
    list-style: none;
    padding-left: 0;
}

.contact-text li {
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #a8c7e0;
}

/* Form Section */
.contact-form .form-control,
.contact-form .form-select {
    border-radius: 8px;
    border: 1px solid #FA911A;
    background: rgba(40, 43, 51, 0.6);
    color: #ffffff;
}

.contact-form .form-control::placeholder,
.contact-form .form-select::placeholder {
    color: #cec69f;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #FA911A;
    box-shadow: none;
}

.contact-form label {
    font-size: 0.9rem;
    color: #a8c7e0;
}

.contact-form button {
    background-color: #3d54ff;
    color: #ffffff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 12px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #1956b2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-text{
        padding:9px 10px;
    }
    .contact-text h2 {
        font-size: 1.25rem;
    }
    .contact-text h3 {
        font-size: 1.5rem;
    }
    .contact-text ul {
        font-size: 0.9rem;
    }
}


/* end of contact form */

/* Footer */
.footer {
    position: relative;
    background-image: url('/build/images/footer.png');
    background-size: cover;
    background-position: center;
}

.footer-overlay {
    background-color: rgba(13, 27, 69, 0.47);
    /* Dark blue overlay */
}

.footer h5 {
    color: #FA911A;
    /* Orange color for titles */
}

.list-unstyled a {
    color: white;
    text-decoration: none;
}

.list-unstyled a:hover {
    color: #FF8B00;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.subscribe-form input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 200px;
    background-color: #1f3f817a;
}

.subscribe-form button {
    background-color: #0a87f4;
    /* color: white; */
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
}

.subscribe-form button:hover {
    background-color: #3395eb;
}

.social-media {
    text-align: center;
    margin-top: 20px;
    margin: 5px 0px;
    padding: 10px 5px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(49 107 196 / 70%) 27%, rgb(181 134 38 / 79%) 74%);
}

/* end of footer */

@media only screen and (max-width:800px) {

    .navbar,
    .homtxt .subhead,
    .homtxt p,
    .homtxt .below,
    .ht .feature .services h2,
    .services p,
    .services .p,
    .service-cards .card .industry-expertise .h1,
    .industry-expertise p,
    .industry-expertise .subtitle {
        animation: none !important;
        transition: none !important;
    }
}

