p,
h2,
h3,
label,
input {
    color: #2f2f2f;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #000000;
    caret-color: #000000;
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}
li {
    list-style: none;
}
input:autofill {
    background-color: transparent !important;
}
.container {
    max-width: 90%;
}
.container h2 {
    font-size: 1.6rem;
    color: #1a1d25;
    /* font-size: 41px; */
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.3em;
    margin-top: 8px;
    margin-bottom: 6%;
}
/* .text-color {
    color: #2f2f2f;
} */
.apply-btn {
    background: white;
    border: none;
    width: 250px;
    padding: 8px 10px;
    border-radius: 25px;
    font-size: 0.7rem;
    font-family: poppins;
    font-weight: 500;
    transition: 0.3s;
}
.apply-btn:hover {
    transform: scale(1.05);
}
.prg-center .apply-btn {
    width: 235px;
}
.image-wrapper.bg-overlay:before {
    background: rgb(30 34 40 / 0%);
}
.img-text h2 {
    font-size: 1.5rem;
    font-weight: 500;
}
p {
    font-family: "Poppins";
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-align: justify;
}
.imp-card {
    box-shadow: rgba(149, 157, 165, 0.383) 0px 8px 24px;
    width: 48%;
    /* padding: 20px; */
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.imp-card p {
    font-size: 14px;
}
.imp-card h3 {
    font-size: 1rem;
    font-family: "Inter";
    font-weight: 500;
}
.img-card-text {
    padding: 0px 25px;
}
.imp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wf-img img {
    width: 90%;
    position: relative;
    box-shadow: rgb(0 0 0 / 18%) 0px 1px 15px;
}
.wf-img p {
    position: absolute;
    top: 33%;
    left: 46%;
    transform: translate(-50%, -50%);
    color: white;
    width: 45%;
    text-align: center;
    font-weight: 500;
}
.imp-text p {
    font-weight: 500;
    text-align: center;
}
.user-icon {
    position: absolute;
    bottom: -8%;
    left: -8%;
    width: 220px;
    border-radius: 35px;
    box-shadow: rgb(0 0 0 / 25%) 0px 1px 15px;
    animation: moveLeftToRight 2s linear infinite;
}
.prg-img {
    position: relative;
    box-shadow: rgb(0 0 0 / 42%) 0px 1px 15px;
    border-radius: 10px;
    /* overflow: hidden; */
}
@keyframes moveLeftToRight {
    0% {
        transform: translateY(-5px);
    }
    50% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(-5px);
    }
}
.course-tag p {
    font-size: 12px;
    margin-top: -8px;
    font-weight: 500;
}
.course-tag h2 {
    /* font-size: 1.7rem;
    font-weight: 700; */
    color: #1a1d25;
    font-size: 41px;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.3em;
    margin-top: 8px;
    margin-bottom: 6%;
}
.subheading {
    color: #126e64;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    /* font-size: 12px;
    background: #7b6848;
    padding: 5px 30px;
    border-radius: 30px;
    font-weight: 600;
    color: white; 
    margin-bottom: 15px;*/
}

.contactApplyBtn {
    width: 200px;
    height: 47px;
    background: linear-gradient(164deg, #830bc6, #0834aa);
    color: white;
    font-weith: 500;
    border-radius: 7px;
    margin-left: 18%;
    border: none;
    margin-bottom: 17px;
    font-weight: 600;
    font-size: 0.87rem;
    transition: all 400ms ease-in-out;
    font-family: Urbanist, sans-serif;
}

.contactApplyBtn:hover {
    background: linear-gradient(164deg, #382046, #344c8a);
    transform: scale(1.1);
}
.modal-title {
    padding: 0px !important;
    color: #282828 !important;
    font-family: "Poppins";
    font-weight: 500;
}
.modal-header {
    background: #ffffff;
    padding: 10px 20px;
}
.modal-dialog {
    position: relative;
    height: 89vh;
}
.modal-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}
form label {
    color: #292b2c;
    font-family: "Poppins";
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}
form input,
form select {
    padding: 6px 15px !important;
    color: #292b2c !important;
    font-family: "Poppins";
    font-size: 14px !important;
    font-weight: 400 !important;
    border: 1px solid rgb(0 0 0 / 16%) !important;
}
.future-text p,
.future-text-reverse p {
    margin-bottom: 7px;
    margin-left: 5px;
}
.future-text .col-8 {
    padding-right: 70px;
}
.future-text-reverse .col-8 {
    padding-left: 50px;
    padding-right: 50px;
}
.best-left1 {
    margin-bottom: 5px;
    text-align: end;
    margin-right: -10px;
}
.best-left2 {
    margin-bottom: 5px;
    margin-right: 20px;
    text-align: end;
}
.best-left3 {
    margin-bottom: 5px;
    margin-right: 30px;
    text-align: end;
}
.best-left4 {
    margin-bottom: 5px;
    margin-right: 40px;
    text-align: end;
}
.best-left p , .best-right p{
    font-size: 15px;
}
.best-right1 {
    margin-bottom: 5px;
    margin-left: -10px;
    text-align: start;
}
.best-right2 {
    margin-bottom: 5px;
    margin-left: 10px;
    text-align: start;
}
.best-right3 {
    margin-bottom: 5px;
    margin-left: 26px;
    text-align: start;
}
.best-right4 {
    margin-bottom: 5px;
    margin-left: 30px;
    text-align: start;
}
.prg-left .img-fluid {
    width: 200px;
    height: 100%;
    position: absolute;
    bottom: 10%;
    object-fit: cover;
    overflow: visible;
    right: 3%;
}
.prg-right .img-fluid {
    width: 200px;
    height: 100%;
    position: absolute;
    bottom: 10%;
    object-fit: cover;
    overflow: visible;
    left: 3%;
}
.prg-section {
    height: 250px;
    overflow: visible;
    margin-bottom: 70px !important;
    margin-top: 70px !important;
}
.prg-left {
    overflow-y: visible;
    position: relative;
    height: 100%;
    background: #93acbe;
    border-radius: 142px 0px 0px 142px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.prg-right {
    overflow-y: visible;
    position: relative;
    height: 100%;
    background: #c9756b;
    border-radius: 0px 142px 142px 0px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.prg-center {
    box-shadow: rgb(149 157 165 / 38%) 0px 3px 24px;
}
.prg-center h3 {
    font-size: 1.1rem;
    font-family: "Poppins";
}
.prg-center p {
    font-size: 0.7rem;
    text-align: center;
}
.why-wf , .prg-text{
    padding-right: 40px !important;
}
.btn-close:before {
    background: #ffffff;
    padding-bottom: 5px;
    color: #191e23;
    border: 1px solid #bebebe;
    width: 1.6rem;
    height: 1.6rem;
}
.btn-close:hover:before {
    background: #171c21;
    color: #ffffff;
}
.gallery-card {
    max-width: 100%;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: clamp(140px, 20vw, 300px);
    gap: var(--gap);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px !important;
    border: 4px solid white;
    cursor: pointer;
}

/* Column spans — row 1: 3 / 5 / 4  —  row 2: 5 / 4 / 3 */
.item-1 {
    grid-column: span 3;
}
.item-2 {
    grid-column: span 5;
}
.item-3 {
    grid-column: span 4;
}
.item-4 {
    grid-column: span 5;
}
.item-5 {
    grid-column: span 4;
}
.item-6 {
    grid-column: span 3;
}

.gallery-item .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .bg {
    transform: scale(1.06);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 55%,
        rgba(0, 0, 0, 0.35) 100%
    );
    pointer-events: none;
}

/* Hover overlay — centered caption + See more button */
.gallery-item .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
    text-align: center;
    padding: 16px;
    z-index: 1;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transform: translateY(10px);
    opacity: 0;
    transition:
        transform 0.35s ease 0.05s,
        opacity 0.35s ease 0.05s;
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
    opacity: 1;
}

.view-more {
    background: #fff;
    color: #111 !important;
    border: none;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(10px);
    opacity: 0;
    transition:
        transform 0.35s ease 0.1s,
        opacity 0.35s ease 0.1s;
}

.gallery-item:hover .view-more {
    transform: translateY(0);
    opacity: 1;
}

.view-more:hover {
    background: #f0f0f0;
}

/* Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 90vw;
    max-width: 1000px;
    height: 80vh;
    scrollbar-width: none;
}

.lightbox-track::-webkit-scrollbar {
    display: none;
}

.lightbox-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    scroll-snap-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-prev {
    left: 20px;
}
.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.overlay span.bg {
    background: rgb(30 34 40 / 0%) !important;
}
.expert-card {
    width: 6%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 20px 10px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}
.expert-card h3 {
    font-size: 16px;
    font-weight: 600;
    font-family: poppins;
}
.expert-card p {
    font-size: 14px;
    text-align: center;
}
.expert-card img {
    width: 120px;
    border-radius: 50%;
}
.exp-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 0px;
    height: 0px;
    border-top: 40px solid #126e64;
    border-right: 40px solid transparent;
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}
@keyframes floatInvert {
    0% {
        transform: translateY(-15px);
    }
    50% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-15px);
    }
}
.exp-card-2,
.exp-card-4,
.exp-card-6,
.exp-card-8,
.exp-card-10 {
    margin-top: 80px;
    animation: floatInvert 3s ease-in-out infinite;
}

.expert-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 5%,
        #000 95%,
        transparent
    );
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 5%,
        #000 95%,
        transparent
    );
}

.expert-section {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content;
    gap: 24px;
    animation: expertSlide 25s linear infinite;
}
.expert-section:hover {
    animation-play-state: paused;
}

.expert-slider:hover .expert-section {
    animation-play-state: paused;
}

.expert-card {
    flex: 0 0 auto;
}
.gallery-section {
    padding: 0px 20px;
}
.best-right,
.best-left {
    display: block;
}
.best-right-small,
.best-left-small {
    display: none;
}
.gallery-text {
    padding: 0;
}

@keyframes expertSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .expert-section {
        animation: none;
    }
    .gallery-item .bg,
    .gallery-item .overlay,
    .overlay-text,
    .view-more {
        transition: none;
    }
}
@media (max-width:1300px) and (min-width:992px){
    .prg-center .apply-btn {
        width: 234px;
    }
    .apply-btn-section{
        gap: 10px;
        justify-content: center !important;
        flex-wrap: wrap;
    }
}

@media (max-width:992px) and (min-width:640px){
    .apply-btn-section{
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 10px
    }
    .prg-center .apply-btn {
        width: 250px;
    }
    .prg-section{
        width: 100%;
    }
    .prg-right .img-fluid{
        left: -18%;
    }
    .prg-left .img-fluid{
        width: 190px;
        right: -17%;
        bottom: 7%;
    }
}

@media (max-width: 640px) {
    .lightbox-track {
        width: 100vw;
        height: 70vh;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .item-1,
    .item-2,
    .item-3,
    .item-4,
    .item-5,
    .item-6 {
        grid-column: span 1;
    }
    .gallery-item .overlay {
        opacity: 1;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 40%,
            rgba(0, 0, 0, 0.6) 100%
        );
        justify-content: flex-end;
        padding-bottom: 16px;
    }
    .overlay-text,
    .view-more {
        opacity: 1;
        transform: none;
    }
    .image-wrapper {
        padding-top: 7rem;
        font-size: 14.5px !important;
        text-align: justify;
    }
    .image-wrapper.bg-overlay:not(.bg-content) p {
        font-size: 14.5px !important;
    }
    .image-wrapper.bg-overlay:not(.bg-content) h3 {
        font-size: 18px !important;
    }
    .image-wrapper.bg-overlay:not(.bg-content) button {
        font-size: 0.7rem !important;
    }
    .apply-btn {
        width: 200px;
        font-size: 0.7rem !important;
    }
    .container {
        text-align: justify !important;
        padding-left: 0;
        padding-right: 0;
    }
    .container .text-center {
        text-align: justify !important;
        padding-left: 0;
    }
    .nsdc-section .col-8 {
        padding: 0 !important;
        width: 100% !important;
    }
    .col-lg-7 {
        padding: 0;
    }
    .imp-card {
        width: 100%;
    }
    .img-card-text {
        padding: 15px 15px;
    }
    .imp-card h3 {
        font-size: 0.9rem;
    }
    .wf-img p{
        left: 50%;
        width: 70%;
    }
    .imp-card p {
        font-size: 11px;
    }
    .wf-img img {
        width: 100%;
    }
    .col-12 {
        flex-wrap: wrap;
    }
    .col-7,
    .col-5 {
        width: 100% !important;
        padding: 0 !important;
    }
    .container h2 {
        font-size: 1.1rem;
    }
    .img-card-img {
        width: 30% !important;
    }
    .img-card-text {
        width: 70%;
    }
    .prg-left,
    .prg-right {
        display: none;
    }
    .prg-section {
        padding: 0;
        height: auto;
    }
    .prg-center .apply-btn {
        width: 250px;
    }
    .apply-btn-section {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center !important;
    }
    .prg-section {
        padding: 10px;
        height: 350px;
    }
    .prg-center {
        padding: 15px !important;
        width: 100% !important;
    }
    .col-11 {
        padding: 0px;
    }
    .expert-card {
        text-align: center;
    }
    .future-text .col-8, .future-text-reverse .col-8 {
        padding-right: 0px;
        padding-left: 0;
        width: 100%;
    }
    .future-text,
    .future-text-reverse {
        gap: 20px;
    }
    .future-text h3,
    .future-text-reverse h3 {
        font-size: 1.1rem;
    }
    .future-text p,
    .future-text-reverse p {
        margin-left: 0;
    }
    .col-4 {
        width: 100%;
    }
    .expert-text {
        width: 100%;
    }
    .gallery-section {
        padding: 0px;
        flex-wrap: wrap;
    }
    .gallery-section .col-3,
    .gallery-section .col-9 {
        width: 100%;
        text-align: left !important;
    }
    .gallery-card {
        padding: 0px;
    }
    .best-left1,
    .best-left2,
    .best-left3,
    .best-left4,
    .best-right1,
    .best-right2,
    .best-right3,
    .best-right4 {
        text-align: left;
        margin: auto;
    }
    .best-right,
    .best-left {
        display: none;
    }
    .best-right-small,
    .best-left-small {
        display: block;
    }
    .best-center {
        padding: 20px;
    }
    .gallery-text {
        padding: 0;
    }
    .best-text {
        padding: 0px;
    }
    .user-icon {
        left: 2%;
    }
    .modal-dialog {
        height: 97vh;
    }
    .imp-text p{
        text-align: justify;
    }
    .gallery-section p{
        text-align: justify !important;
    }
    .prg-center p{
        text-align: justify !important;
    }
    P{
        font-size: 14px !important;
    }
}
