@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@font-face {
    font-family: 'RoReg';
    src: url('../../fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: 'RoLight';
    src: url('../../fonts/Roboto-Light.ttf');
}

@font-face {
    font-family: 'RoMed';
    src: url('../../fonts/Roboto-Medium.ttf');
}

@font-face {
    font-family: 'RoBold';
    src: url('../../fonts/Roboto-Bold.ttf');
}
.home-slider {
    /* background-color: #22539e; */
    position: relative;
}
.home-slider .owl-nav img {
    filter: brightness(0) saturate(100%) invert(56%) sepia(85%) saturate(1200%) hue-rotate(
326deg) brightness(100%) contrast(100%);
}
.home-slider .golden-gradient img {
    width: 100%;
    border-radius: 16px;
}
.home-slider .owl-nav a {
    position: absolute;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px !important;
    color: white !important;
}
.home-slider .owl-nav a img {
    width: 16px;
}
.home-slider .owl-prev {
    left: 60px;
}
.home-slider .owl-next {
    right: 60px;
}

.home-banner {
    /* padding: 1.5rem 0; */
    padding: 1.5rem 0 6rem;
    /* background-color: #22539e; */
}
.home-banner .gradient-button {
    width: -moz-fit-content;
    width: fit-content;
}
.home-banner .gradient-button a {
    font-weight: 300;
}
.home-banner .banner-img {
    position: relative;
    padding: 2px; /* border thickness */
    border-radius: 20px;
    background: #ea5421;
    overflow: hidden;

   box-shadow: 
    6px 6px 12px rgba(0, 0, 0, 0.7), 
    0px 2px 4px rgba(0, 0, 0, 2.5);
}

.home-banner .banner-img img {
    width: 100%;
    height: auto;
    object-fit: cover; /* IMPORTANT */
    object-position: right center; /* push image to right */
    border-radius: 16px;
    display: block;
}

/* White left fade overlay */
.home-banner .banner-img::after {
    content: "";
    position: absolute;
    inset: 4px; /* perfect inner spacing */
    border-radius: 16px;
    background: linear-gradient(
        to right,
        rgb(255, 255, 255) 0%,
        rgb(255, 255, 255) 50%,
        transparent 85%
    );
    z-index: -1;
    pointer-events: none;
}

/* Content styling */
.home-banner .content {
    position: absolute;
    width: 45%;
    bottom: 5rem;
    left: 5rem;
    z-index: 5;
}
.home-banner .content h1 {
    font-size: 2.55vw;
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}
.home-banner .content p {
    font-size: 1.3vw;
    margin-bottom: 1.5rem;
    color: white;
}

.about-program-section {
    background: linear-gradient(90deg, #f05323 0%, #f47c33 50%, #f7933f 100%);
    padding: 50px 0;
    color: #fff;
}

/* Title */
.about-title {
    text-align: start;
    font-size: 42px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4rem;
    font-family: 'RoBold';
}

/* Image Card */
.about-img-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 10px 18px 25px rgba(20,21,0,0.55);
    display: inline-block;
    border: 3px solid #fff;
}

.about-img-box img {
    width: auto;
    height: 400px;
    display: block;
}

/* Text */
.about-text {
    font-size: 21px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #fffcf0; 
    font-family: 'RoLight';
}

/* Highlight */
.highlight {
    font-weight: 700;
    color: #ffffff;
}

/* Logo */
.sacc-logo {
    width: 220px;
    /* opacity: 0.9; */
}
.modules-section {
    padding: 60px 0;
    background: #fff;
    font-family: sans-serif; /* Use your project font */
}

.modules-title {
    text-align: start;
    font-size: 42px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px; 
    margin-left: 15px;
    font-family: 'RoBold';
}

/* Card Styling */
.module-card {
    position: relative;
    border-radius: 25px; 
    overflow: hidden;
    height: 430px;
    background-size: cover;
    background-position: center;
    border: 1px solid #ea5421; /* Dark blue border seen in image */
    display: flex;
    flex-direction: column;
}

.module-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%); */
    z-index: 1;
}

/* Content Layout */
.module-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    color: #fff;
}

.module-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0; 
    font-family: 'RoLight';
}
.my-module-desc{
    max-width: 300px;
}

.module-btn {
    display: inline-block;
    width: 85%; 
    padding: 12px 0;
    border: 2px solid #ea5421;
    border-radius: 12px; 
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    position: relative; 
    overflow: hidden;    
    z-index: 1; 
    background-color: transparent;
    transition: color 0.4s ease; 
    font-family: 'RoBold';
}

.module-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, #f12711, #f5af19);
    transition: all 0.4s ease;
    transform: translateX(-50%); 
    z-index: -1;
}
.module-btn:hover {
    color: #fff;
}

.module-btn:hover::before {
    width: 105%;    
}

.category-tag {
    font-size: 20px;
    font-weight: 600;
    margin: 0; 
    font-family: 'RoLight';
}
.login-form {
    position: relative;
    margin-top: 30px;
}

/* INPUT BOX */
.CS-input {
    position: relative;
    border: 1.5px solid #2b388f;
    border-radius: 8px;
    padding: 0.7rem 1.5rem 0.7rem;
    background: #fff;
    transition: 0.2s;
}

/* INPUT */
.login-form-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background: transparent;
}

/* HIDE PLACEHOLDER */
.login-form-input::placeholder {
    opacity: 0;
}

.login-form-label {
    position: absolute;
    top: 50%;
    left: 20px; 
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
    color: #000;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #fff;
    padding: 0 5px;
}

/* FLOAT EFFECT */
.login-form-input:focus ~ .login-form-label,
.login-form-input:not(:placeholder-shown) ~ .login-form-label {
    top: -15px;
    left: 0px;
    color: #000;
    font-weight: 500;
    transform: translateY(-50%);
}

/* ICON */
.CS-input i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    font-size: 14px;
}

.modal-footer-login span{
    font-size: 14px; 
    color: #000;
}
.modal-footer-login a{
    font-size: 14px; 
    color: #000;
    font-weight: 700;
}
.my-footer-sec-link2{
    display: none !important;
}
.my-footer-sec-link1{
    display: flex !important;
}
@media (max-width: 1504px) {
    .home-banner .banner-img img{
        /* height: 60vh !important; */
    }
}
@media (max-width: 1300px) {
    /* .home-banner .banner-img img{
        height: 50vh !important;
    } */
}
@media (max-width: 1100px) {
    /* .home-banner .banner-img img{
        height: auto !important;
    } */
}
@media (max-width: 1050px) {
    /* .home-banner .banner-img img{
        height: 28vh !important;
    } */
    .about-text{
        font-size: 18px;
    }
    .sacc-logo{
        width: 180px;
    }
}
@media (max-width: 950px) {
    /* .home-banner .banner-img img{
        height: 25vh !important;
    } */
}
@media (max-width: 850px) {
    /* .home-banner .banner-img img{
        height: 26vh !important;
    } */
}

/* Responsive */
@media (max-width: 768px) {
    .about-title {
        font-size: 35px;
        /* text-align: center; */
    }

    .about-text {
        /* font-size: 16px; */
    }

    .sacc-logo {
        width: 140px;
    }
    .module-card img {
        height: 250px;
    }
     .home-banner .banner-img img {
        /* height: 50vh; */
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
    }
    .about-img-box{
        width: 20rem;
    }
}
@media (max-width: 700px) {
    /* .home-banner .banner-img img{
        height: 25vh !important;
    } */
}
@media (max-width: 576px) {
    .home-slider .owl-prev {
        left: 13px;
    }
    .home-slider .owl-next {
        right: 13px;
    }
}
@media (max-width: 500px) {
    .home-slider .owl-nav a{
        top: 50%;
    }
    .home-banner{
        padding: 0px;
    }
}

@media (max-width: 450px) {
    /* .home-banner .banner-img img{
        height: 17vh !important;
    } */
}
@media (max-width: 400px) {
    /* .home-banner .banner-img img{
        height: 18vh !important;
    } */
}