* {
    font-family: outfit;
}


.imageBannerContainer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    flex-direction: row;
    margin-top: 20px;
   
}

.showingimage {
    flex: 1 1 60%;
    max-width: 60%;
}

.showingimage img {
    width: 100%;
    height: auto;
    
}

.showingbanners {
    flex: 1 1 40%;
    max-width: 40%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    
}

.showingbanners img {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .imageBannerContainer {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap:7%;
    }

    .showingimage {
        max-width: 60%;
    }

    .showingbanners {
        max-width: 40%;
        flex-direction: row;
        gap: 25%;
    }

    .showingbanners img {
        width: 100%;
    }
}

@media (max-width: 576px) {

    .hero-section .highlight{
        font-size: 13px;
    }



    .program-card {
        position: relative;
        overflow: hidden;
        height: 100%;
        min-height: 370px;

    }

    .program-card .image-wrapper {
        position: relative;
        height: 100%;
    }

    .program-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .program-body {
        position: absolute;
        width: 100%;
        transition: all 0.3s ease-in-out;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 1rem;
    
    }

    .program-card:hover .program-body {
        top: 0 !important;
        height: 100%;
        overflow-y: auto;
        
    }

    .row .col-md-5:nth-of-type(1) .program-body {
        bottom: 0;
        top: auto;
    }

    .row .col-md-5:nth-of-type(2) .program-body {
        top: 5%;
    }

    .row .col-md-5:nth-of-type(2):hover .program-body {
        overflow-y: auto;
        height: 100%;
        /* max-height: max-content; */
    }
    

    .program-body .details {
        margin-top: 1rem;
    }

        .program-body .details p {
            margin-bottom: 0.3rem;
            /* Reduced spacing between lines */
            font-size: 0.9rem;
        }

    .program-body .title {
        bottom: 0;
        font-size: 1.25rem;
        font-weight: bold;
    }
}





@media (max-width: 767px) {
    .imageBannerContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* width: 100%; */
        box-sizing: border-box;
        
        }

        .showingimage {
            width: 100%;
            max-width: 100%;
            display: flex;
            margin-left: -50px;
        }
        .program-body .title{
            font-size: 18px !important;
        }
    }
    
    .showingimage img {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .showingbanners {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-left: -50px;
    }

    .showingbanners img {
    width: 40%;
    }

    .showingbanners .banner-img-2{
        margin-left: -60px;
    }





.navbar-nav .nav-link {
    font-weight: 600;
    color: #000;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #00aef0;
}

.navbar-brand img {
    max-width: 250px;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background-color: #fff;
}

@media (max-width: 991.98px) {
    .offcanvas.offcanvas-end {
        width: 280px;
    }
}



.hero-section {
    background: url('/assets/gallery/15.png') no-repeat center center/cover;
    position: relative;
    min-height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
}

.hero-section .lead{
    color: #FFD037;
}

@media (max-width: 991.98px) {

    .hero-section{
        padding-top: 50px;
        text-align: center;
    }
    .hero-section img{
        padding-left: 50px;
    }
   
}




.overlay {
    background: rgba(0, 0, 0, 0.65);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.highlight {
    color: #FFFFFF;
    font-weight: 700;
}

.form-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    color: #000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.form-box input,
.form-box select {
    margin-bottom: 15px;
}

.form-check-label {
    font-size: 0.85rem;
}

.custom-btn {
    background-color: #3b6eb6;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.custom-btn:hover {
    background-color: #2e5aa3;
    color: white;
}





.logo-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.2s;
    background-color: #fff;
}

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

.logo-img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s;
}

@media (max-width: 600px) {

    .showingimage,
    .showingbanners {
        flex: 1 1 50%;
    }

    .showingbanners img {
        width: 50%;
    } 
}



.program-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    height: 100%;
}
.image-wrapper {
    position: relative;
    height: 100%;
}

.program-card img {
    border-radius: 1.5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease;
}

.program-body {
    position:absolute;
    bottom: 0;
    left: 0;
    width: 100%;
        height: 100%;
        padding: 1rem 1rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        color: #000;
        transform: translateY(80%);
        transition: transform 0.5s ease,
            background-color 0.3s ease,
            padding-bottom 0.4s ease;
        
        background-color: transparent;
        z-index: 2;
        text-align: center;
}
.program-body .title {
    background-color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: auto;
    width: 100%;
    text-align: center;
}

.program-body .details,
.program-body .apply-now {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover img {
    opacity: 0.1;
}

.program-card:hover .program-body {

    transform: translateY(0);
    padding-bottom: 4rem;
}

.program-card:hover .program-body .details,
.program-card:hover .program-body .apply-now {
    opacity: 1;
    color: white;
}

.apply-now {
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.program-card:hover .apply-now {
    opacity: 1;
    transform: translateY(0);
}

.btn-danger {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    border-radius: 8px;
    background-color: #3b6eb6;
    color: white;
    transition: background-color 0.3s ease;
}

.btn-danger:hover {
    background-color: #2e5aa3;
    color: white;

}


.programs-section {
    background: linear-gradient(to bottom, #fff, #f9e6b3);
    padding: 50px 0;
}

.programs-section .tab-content {
    background: #005b96;
    color: white;
    padding: 30px;
    border-radius: 8px;
}

.programs-section .img-fluid {
    max-width: 100%;
    border-radius: 8px;

}


.stats-box {
    background-color: #2196f3;
    color: white;
    padding: 50px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.stats-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stats-box p {
    font-size: 1.1rem;
    margin: 0;
}

.stats-box:hover {
    transform: scale(1.05);
}


.why-dbit-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #081C3A;
}

.why-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #2196f3;
    color: #fff;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #081C3A;
}

.why-card p {
    font-size: 0.95rem;
    color: #4a4a4a;
}



.dual-image-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.image-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.image-box {
    flex: 1;
    text-align: center;
}

.image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .image-flex {
        flex-direction: column;
    }
}

.carousel-item img {
    height: 300px;
    object-fit: cover;
}



.partners {
    padding: 70px 0px 0px 0px;
}

.partners h1 {
    text-align: center;
    color: #000000;
    font-size: 36px;
    margin: 0;
    padding-bottom: 30px;
    font-weight: bold;
}

.stat-number {
    font-size: 3rem;
    color: #0d6efd; /* Bootstrap primary blue */
    font-weight: bold;
  }
  .stat-caption {
    font-size: 1rem;
    font-weight: 500;
    color: #212529;
  }

.partners .rpscroller {
    padding: 70px 30px;
    background-color: #04062a;
}

.scroller-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px;
}

.scroller-track {
    display: flex;
    width: max-content;
    animation: scroll-left 110s linear infinite;
}

.scroller-track.reverse {
    animation: scroll-right 110s linear infinite;
}

.logo-card {
    background-color: white;
    border-radius: 8px;
    padding: 10px 20px;
    margin: 0 15px;
    min-width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-card img {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

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

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

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

@media (max-width: 767.98px) {
    .partners .rpscroller {
        padding: 40px 0;
    }

    .logo-card {
        width: 100px;
        padding: 5px 10px;
    }
}



.testimonial-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.testimonial-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}

.testimonial-scroll {
    display: inline-flex;
    gap: 20px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    min-width: 300px;
    max-width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    white-space: normal;
}

.testimonial-card h4 {
    margin-top: 15px;
    font-size: 1rem;
    color: #333;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
}

/* Optional scrollbar styling */
.testimonial-container::-webkit-scrollbar {
    height: 8px;
}

.testimonial-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}


.form-box {
    background-color: #e3e3e4;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  .custom-btn {
    background-color: #3b6eb6;
    color: #fff;
    font-weight: bold;
  }
  iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 10px;
  }



.footer {
    background-color: #3b6eb6;
    color: white;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .footer .cta {
    text-align: center;
    padding: 50px 20px 20px;
  }
  
  .footer .cta h2 {
    color: #ffc107;
    font-size: 2.2rem;
    font-weight: bold;
  }
  
  .footer .cta button {
    background-color: white;
    color: #0077b6;
    font-weight: 600;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    margin-top: 20px;
  }
  
  .footer .divider {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    margin: 40px 0;
  }

@media (max-width: 767px) {
    #con {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #con>div {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px; }
    }

.footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer .footer-logo img {
    max-width: 100%;

}
.social-icons a {
margin: 0 8px; }

.footer .footer-links a,
.footer .footer-bottom a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer .footer-links a:hover,
.footer .footer-bottom a:hover {
    text-decoration: underline;
}

.footer .social-icons a {
    display: inline-block;
    font-size: 20px;
    color: white;
    background-color: transparent;
    padding: 6px 10px;
    margin-right: 5px;
    border-radius: 5px;
  }
  
  .footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 20px;
    font-size: 14px;
  }
  
  @media (max-width: 767px) {
    .footer .cta h2 {
        font-size: 1.5rem;
    }
  }

  .carousel-item img {
    height: 300px;
    object-fit: cover;
  }