@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;
}


/* Main Section */
.main {
    background: radial-gradient(circle, #1C71B7 1%, #1964A5 8%, #165B98 20%, #051437 90%);
}
.bg{
    background: radial-gradient(circle, #1C71B7 1%, #1964A5 8%, #165B98 20%, #051437 90%);
}
/* mobile app */
.mob-app .below {
    display: flex;
    padding-top: 20px;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    /* Allows buttons to wrap on smaller screens */
}

.mob-app .below a {
    color: white;
    text-decoration: none;
    border: 3px solid #FA911A;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 3vh;
    transition: background-color 0.3s ease;
    /* Smooth hover effect */
}

.mob-app .below a:hover {
    background-color: #896138;
}

.mob-app .below2 a {
    color: white;
    text-decoration: none;
    border: 3px solid #51BCE2;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 3vh;
    transition: background-color 0.3s ease;
    /* Smooth hover effect */
}

.mob-app .below2 a:hover {
    background-color: #1070B1;
}
@media(max-width: 525px){
    .mob-app .below2 a{
        padding: 8px 93px;
    }
    .mob-app .below2 a{
        padding: 8px 109px;
    }
}
/* Protocols Section */
.protocols-section {
    /* background-color: #0c1836; */
    color: white;
    padding: 60px 20px;
    text-align: center;
}

/* Protocol Card */
.protocol-card {
    background-color: white;
    border-radius: 40px 15px 5px 6px;
    padding: 20px;
    color: black;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Specific colors for each card */
.protocol-card:nth-child(1) {
    background-color: #EF4056;
    width: 13rem;
}

.protocol-card:nth-child(2) {
    background-color: #f9c033;
    width: 13rem;
}

.protocol-card:nth-child(3) {
    background-color: #55C0EE;
    width: 13rem;
}

.protocol-card:nth-child(4) {
    background-color: #3b58cc;
    width: 13rem;
}

.protocol-card:nth-child(5) {
    background-color: #27b69b;
    width: 13rem;
}

/* Circular Numbering */
.card-header {
    font-size: 2rem;
    font-weight: bold;
    width: 60px;
    height: 60px;
    background-color: white;
    color: black;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Different colors for the text in numbered circles */
.protocol-card:nth-child(1) .card-header {
    color: #EF4056;
    border-radius: 30px;
}

.protocol-card:nth-child(2) .card-header {
    color: #f9c033;
    border-radius: 30px;
}

.protocol-card:nth-child(3) .card-header {
    color: #55C0EE;
    border-radius: 30px;
}

.protocol-card:nth-child(4) .card-header {
    color: #3b58cc;
    border-radius: 30px;
}

.protocol-card:nth-child(5) .card-header {
    color: #27b69b;
    border-radius: 30px;
}

.protocol-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
    text-shadow: 1px 1px 2px black;
    text-align: start;
}

.protocol-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: white;
}

@media (max-width:480px){
    .protocol-card:nth-child(1) {
        width: 24rem;
    }
    .protocol-card:nth-child(2) {
        width: 24rem;
    }
    .protocol-card:nth-child(3) {
        width: 24rem;
    }
    .protocol-card:nth-child(4) {
        width: 24rem;
    }
    .protocol-card:nth-child(5) {
        width: 24rem;
    }
}

/* resources section */
/* Card styling */
.tech-card {
    background-color: #052848;
    border: 1px solid #3a4a5b;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease;
    text-align: center; /* Center-align text for a cleaner look */
}
.tech-card:hover {
    transform: scale(1.05);
}

/* Icon styling */
.tech-icon img {
    height: 50px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
}

/* Title styling */
.tech-title {
    color: #00b8ff;
    font-size: 1.25rem;
    margin-top: 10px;
}

/* Responsive grid */
@media (min-width: 576px) {
    .col-md-6 {
        max-width: 50%;
    }
}
@media (min-width: 992px) {
    .col-lg-4 {
        max-width: 33.3333%;
    }
}



/* Projects we have done SECTION*/
/* Slider item styling */
.slide-item {
    position: relative;
    /* Ensure overlay positioning is relative to slide item */
    width: 29%;
    /* Show 3 items at a time */
    box-sizing: border-box;
    padding: 10px;
    overflow: hidden;
    /* Prevent overflow */
}

.slide-item img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    transition: transform 0.5s ease;
    /* Zoom effect on hover */
}

.slide-item:hover img {
    transform: scale(1.05);
}

.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 */
}

.project-info h3 {
    color: white;
}

.project-info p {
    color: white;
}

.info-overlay {
    position: absolute;
    bottom: 0;
    /* Start at the bottom of the card */
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, rgb(0, 0, 0) 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 */
}

.slide-item:hover .info-overlay {
    transform: translateY(0);
    /* Slide into view */
    opacity: 1;
    /* Make overlay visible */
}

.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;
}

@media (max-width: 1224px) {
    .slide-item {
        min-width: 50%;
        /* Show 2 items at a time */
    }

    .slide-item img {
        height: 350px;
        /* Reduce image height */
    }
}

@media (max-width: 768px) {
    .slide-item {
        min-width: 100%;
        /* Show 1 item at a time */
    }

    .slide-item img {
        height: 400px;
        /* Reduce image height further */
    }
}

@media (max-width: 425px) {
    .slide-item img {
        height: 250px;
        /* Smaller image height for mobile */
    }

    .project-info {
        margin-top: 5px;
        /* Reduce spacing for smaller screens */
    }
}

@media (max-width:768px){
    .projects-section{
        display: none;
    }
}
/* end of projects we have done */

/* 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;
}

.sli-item {
    min-width: 100%;
    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: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 100;
    font-size: 24px;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

@media (min-width: 769px) {
    .sl-container {
        display: none; /* Hide above 999px */
    }
}

@media(max-width: 768px) {
    .sl-container{
        display: block; /*start showing*/
    }
}

/* end of project slider */

/* Footer */
.footer {
    position: relative;
    background-image: url('/nexprosolution/img/footer.png');
    background-size: cover;
    background-position: center;
}

.footer-overlay {
    background-color: rgba(13, 27, 69, 0.47);
    /* Dark blue overlay */
}

.footer h5 {
    color: #FF8B00;
    /* 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: 20px 5px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(49 107 196 / 70%) 27%, rgb(181 134 38 / 79%) 74%);
}


/* -------------------------------- */
/* Css for Sectors page */
/* -------------------------------- */

/* 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-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;
}
/* Testimonial - section */
.testimonial-section {
    color: white;
    padding: 3rem 0;
    position: relative;
}

.testimonial-section h2 {
    color: #FA911A;
    font-weight: bold;
    margin-bottom: 2rem;
}

.testimonial-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;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial-card h5 {
    color: #FA911A;
    font-weight: bold;
}

.testimonial-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: 50%;
    padding: 10px;
}

/* Position buttons outside the cards */
.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1rem;
        flex: 0 0 100%; /* Ensure cards take full width */
        max-width: 100%; /* Prevent wrapping */
    }

    .testimonial-card img {
        width: 60px;
        height: 60px;
    }

    .testimonial-section h2 {
        font-size: 1.5rem;
    }

    .testimonial-section p {
        font-size: 0.9rem;
    }

    .carousel-inner {
        display: flex; /* Use flex to prevent wrapping */
    }

    /* Hide carousel control buttons on mobile and tablets */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 576px) {
    .testimonial-section {
        padding: 2rem 0;
    }

    .testimonial-card {
        margin-bottom: 1rem; /* Add margin between cards */
        flex: 0 0 100%; /* Ensure cards take full width */
    }

    .carousel-inner {
        display: flex; /* Prevent wrapping */
    }
}
@media (max-width:1000px) {
    .testimonial-section{
        display: none;
    }
}
/* end of testimonial section */
/* 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 */

/* contact section */
.contact-section {
    color: white;
}

.contact-section h2 {
    /* font-size: 1.75rem; */
    margin-bottom: 20px;
    text-shadow: 2px 3px 3px black;
}
.contact-section h2 span{
    color: #ff7e1f;
}

.contact-section .form-control {
    background-color: #5a5a5a;
    border: none;
    border-radius: 10px;
    color: white;
    padding: 12px;
}

.contact-section .form-control::placeholder {
    color: #ddd;
}

.contact-section .btn-warning {
    background-color: #ff7e1f;
    border: none;
    padding: 10px;
    font-weight: bold;
    color: white;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-section .btn-warning:hover {
    background-color: #ff9900;
}

.contact-section ul li i {
    color: #ff7e1f;
}

/* CSS for responsive iframe */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px; /* Optional: round the edges */
    margin-top: 70px;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* end */


/* sectors  */
.hos-section{
    background: url(/nexprosolution/img/hos-bg.png) center center / cover;
}

.in-section{
    background: url(/nexprosolution/img/insure-bg.png) center center / cover;
}

.loan-section{
    background: url(/nexprosolution/img/loan-bg.png) center center / cover;
}

.rs-section{
    background: url(/nexprosolution/img/rs-bg.png) center center / cover;
}

.ed-section{
    background: url(/nexprosolution/img/edu-bg.png) center center / cover;
}

.mp-section{
    background: url(/nexprosolution/img/mp-bg.png) center center / cover;
}

.fmcg-section{
    background: url(/nexprosolution/img/fmcg-bg.png) center center / cover;
}

.autoM-section{
    background: url(/nexprosolution/img/autoM-bg.png) center center / cover;
}

.photoG-section{
    background: url(/nexprosolution/img/photoG-bg.png) center center / cover;
}

.mach-section{
    background: url(/nexprosolution/img/machine-bg.png) center center / cover;
}

.politi-section{
    background: url(/nexprosolution/img/neta-bg.png) center center / cover;
}

.ngo-section{
    background: url(/nexprosolution/img/ngo-bg.png) center center / cover;
}

.news-section{
    background: url(/nexprosolution/img/news-bg.png) center center / cover;
}

.clean-section{
    background: url(/nexprosolution/img/clean-bg.png) center center / cover;
}

.construction-section{
    background: url(/nexprosolution/img/construction-bg.png) center center / cover;
}

.manu-section{
    background: url(/nexprosolution/img/manufacture-bg.png) center center / cover;
}

.wellness-section{
    background: url(/nexprosolution/img/wellness-bg.png) center center / cover;
}

.matrimony-section{
    background: url(/nexprosolution/img/matrimony-bg.png) center center / cover;
}

.astro-section{
    background: url(/nexprosolution/img/astro-bg.png) center center / cover;
}

.entertain-section{
    background: url(/nexprosolution/img/entertain-bg.png) center center / cover;
}

.hos-section p, .in-section p,
.loan-section p, .rs-section p,
.ed-section p, .mp-section p,
.fmcg-section p, .autoM-section p,
.photoG-section p, .mach-section p,
.politi-section p,.ngo-section p,
.news-section p, .clean-section p,
.construction-section p, .manu-section p,
.wellness-section p, .matrimony-section p,
.astro-section p, .entertain-section p{
    font-size: 1.8rem;
}

@media (max-width: 768px){
    .hos-section p, .in-section p,
    .loan-section p, .rs-section p,
    .ed-section p, .mp-section p,
    .fmcg-section p, .autoM-section p,
    .photoG-section p, .mach-section p,
    .politi-section p,.ngo-section p,
    .news-section p, .clean-section p,
    .construction-section p, .manu-section p,
    .wellness-section p, .matrimony-section p,
    .astro-section p, .entertain-section p{
        font-size: 1rem;
    }
    .hos-section img, .in-section img,
    .loan-section img, .rs-section img,
    .ed-section img, .mp-section img,
    .fmcg-section img, .autoM-section img,
    .photoG-section img, .mach-section img,
    .politi-section img,.ngo-section img,
    .news-section img, .clean-section img,
    .construction-section img, .manu-section img,
    .wellness-section img, .matrimony-section img,
    .astro-section img, .entertain-section img{
        height: 15rem !important;
    }
}