@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; */
    background: linear-gradient(90deg, #f05323 0%, #f47c33 50%, #f7933f 100%);
    position: relative;
}
.home-slider .owl-nav img {
    filter: brightness(0) invert(1);
}
.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: #6a349c; */
    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: 75vh ;
    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: 2rem;
    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;
    position: relative;
    /* border: 3px solid #fff; */
}

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

/* --- Global / Section Settings --- */
.about-program-section {
    /* Use the bright orange from your reference image */
    background-color: #f05323; 
    /* Remove the old gradient for a solid look, or adjust as needed */
    /* background: linear-gradient(90deg, #f05323 0%, #f47c33 50%, #f7933f 100%); */
    
    /* Increase padding to accommodate the overlapping image */
    padding: 100px 0 60px 0; 
    color: #fff;
    position: relative; /* Essential for containing the overlapping image */
}

/* --- Title and Text --- */
.about-title {
    text-align: start;
    font-size: 48px; /* Slightly larger, matching RoBold feel */
    font-weight: 700; /* Bolder font weight */
    color: #ffffff;
    margin-bottom: 2.5rem;
    font-family: 'RoBold', sans-serif; /* Fallback added */
}

.about-text {
    font-size: 19px;
    line-height: 1.8; /* Increased line height for better readability */
    margin-bottom: 25px;
    color: #fffcf0; /* Off-white color */
    font-family: 'RoLight', sans-serif;
    max-width: 650px; /* Optional: limits text width on wide screens */
}

/* --- The Magical Image Container --- */
.about-img-box {
    /* This container must be position: relative for the inner elements */
    position: relative; 
    display: inline-block;
    width: 100%; /* Fill the Bootstrap column */
    
    margin-top: -160px; 
    
    aspect-ratio: 1 / 1.1; 
    
}


.about-img-box img {
    width: 100%; 
    height: 570px; 
    display: block;
    object-fit: contain; 
    
    position: absolute;
    /* The image starts at the very top of the padding area */
    top: 0; 
    left: 0;
    
}


/* Text */
.about-text {
    font-size: 19px;
    line-height: 1.5;
    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 #6a349c; /* 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 #6a349c;
    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: #623493;
    transition: all 0.4s ease;
    transform: translateX(-50%); 
    z-index: -1;
}
.module-btn:hover {
    color: #fff;
}

/* .module-overlay-custom{
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.55) 28%,
        rgba(0,0,0,0.22) 55%,
        rgba(0,0,0,0.05) 100%
    ) !important;
} */

.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: 400;
    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: 400;
    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: 400;
    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: 12px; 
    color: #000;
    font-weight: 700;
}
.my-footer-sec-link2{
    display: none !important;
}
.my-footer-sec-link1{
    display: flex !important;
}

/* Section & Background Styling */
.modules-section {
    padding: 60px 0 80px 0;
    /* background-color: #faf9fc; Light background */
    font-family: 'RoLight', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Abstract geometric background shapes (mimicking the image) */
.modules-section::before,
.modules-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    opacity: 0.6;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* or 'cover', depending on how you want the image to fill the box */
}

.modules-section::before {
    width: 500px;
    height: 400px;
    top: -180px;
    left: -30px;
    background-image: url("../../newImages/kidney-37.png");
}

.modules-section::after {
    width: 1000px;
    height: 1000px;
    bottom: -400px;
    right: -100px;
    background-image: url("../../newImages/kidney-38.png");
}

.modules-title {
    text-align: start;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px; 
    font-family: 'RoBold', sans-serif;
}

/* Program Card Styling */
.program-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    height: 370px;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.card-img-wrap {
    position: relative;
    height: 370px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark gradient overlay on images */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.card-category-title {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    z-index: 2;
    margin: 0;
    font-family: 'RoReg', sans-serif;
}

/* Purple Button at the bottom of the card */
.card-bottom-btn {
    background-color: #663996;
    color: #ffffff !important;
    text-align: center;
    padding: 15px 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    font-family: 'RoBold', sans-serif;
    transition: background-color 0.3s ease;
    border: none;
    width: 100%;
    display: block;
}

.card-bottom-btn:hover {
    background-color: #fff;
    color: #663996 !important;
}

/* Download Certificate Button */
.download-cert-btn {
    background-color: #663996;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    font-family: 'RoBold', sans-serif;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(102, 57, 150, 0.3);
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid #663996;
}
.download-cert-btn img{
    height: 20px;
    margin-right: 15px;
}

.download-cert-btn:hover img {
    filter: brightness(0) saturate(100%) invert(28%) sepia(33%) saturate(2223%) hue-rotate(245deg) brightness(93%) contrast(92%);
}

.download-cert-btn:hover {
    background-color: #fff;
    color: #663996;
    transform: translateY(-2px);
}

.webinar-section{
    position:relative;
    min-height:70vh;
    overflow:hidden;
}

.webinar-section::before{
    content:"";
    position:absolute;
    inset:0;

    background:
        url("../../newImages/kidney-31.png") left center/140px 100% no-repeat,
        linear-gradient(
            90deg,
            #f7a656 0%,
            rgba(245,140,58,.95) 35%,
            rgba(245,140,58,.65) 60%,
            rgba(245,140,58,0) 100%
        );

    z-index:1;
}

.webinar-section::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        url("../../newImages/kidney-32.png") right center/850px 100% no-repeat;

    z-index:1;
}
.calendar-icon{
    height: 80px;
    width: auto;
}
.date-time-text p{
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 35px;
}
.webinar-section .lead{
    font-size: 2rem;
}
.webinar-section .container-lg{
    position:relative;
    z-index:2;
}

/* Base styles and coloring */
.webinar-heading {
  color: white;
  font-weight: 600;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}
.webinar-section .text-white-75{
    color: #fff;
}

.date-time-block {
  color: white;
}

/* Button Styling (Custom Purple) */
.btn-join {
  background-color: #6a1b9a;
  border-radius: 8px;
  border: none;
  font-size: 1.2rem;
  font-weight: 500;
  border: 1px solid #6a1b9a;
  color: #fff;
  transition: background-color 0.2s ease;
}

.btn-join:hover {
  background-color: #fff;
  color: #6a1b9a;
  border: 1px solid #6a1b9a;
}

.btn-join .login-arrow {
  transition: filter 0.2s ease;
}

/* On hover: force exact dark purple (#6a1b9a) matching the text */
.btn-join:hover .login-arrow {
  filter: brightness(0) saturate(100%) invert(18%) sepia(88%) saturate(3033%) hue-rotate(272deg) brightness(82%) contrast(105%);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .webinar-section {
        background-position: center right; /* To keep faces in view on small screens */
    }
    .card-img-wrap {
        height: 370px;
    }
    .modules-title {
        font-size: 28px;
        text-align: center;
    }
    .webinar-heading{
        font-size: 28px;
    }
    .webinar-section .lead{
        font-size: 1.5rem;
    }
    .date-time-text p{
        font-size: 1.5rem;
    }
    .calendar-icon{
        height: 70px;
    }
}

@media (max-width: 768px) {
    .home-banner{
        padding: 1.5rem 0 1.5rem;
    }
    .modules-section::before,
    .modules-section::after {
        /* display: none; */
    }
    .modules-section::after {
        width: 400px;
        height: 400px;
        bottom: -110px;
        right: -40px;
    }
    .modules-section::before {
        width: 300px;
        height: 400px;
        top: -180px;
        left: -25px;
    }
    .card-img-wrap {
        height: 370px;
    }
}

@media (max-width: 767px) {
  .webinar-section {
    text-align: center; /* Center everything on mobile */
  }

  .webinar-section .container-lg {
    justify-content: center !important;
  }

  .date-time-block {
    justify-content: center;
  }

  .btn-join {
    margin: 0 auto;
  }
  /* .webinar-section::before {
    background: linear-gradient(
        90deg,
        #f7a656 0%,
        #f58c3a 100%
    );
}

.webinar-section::after {
    background: linear-gradient(
        90deg,
        #f7a656 0%,
        #f58c3a 100%
    );
} */

.webinar-section::before{
    background: linear-gradient(
            90deg,
            #f7a656 0%,
            rgba(245,140,58,.95) 35%,
            rgba(245,140,58,.65) 60%,
            rgba(245,140,58,0) 100%
        );;
  }

  .webinar-section::after{
    background: url("../../newImages/kidney-32.png") right center/300px 100% no-repeat,
    linear-gradient(
            90deg,
            #f7a656 0%,
            rgba(245,140,58,.95) 85%,
            rgba(245,140,58,.65) 60%,
            rgba(245,140,58,0) 100%
        );;
  }

  .webinar-section .text-white-75{
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  }
}


@media (max-width: 1300px) {
    /* .home-banner .banner-img img{
        height: 50vh !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: auto !important;
    }
    /* .home-banner .banner-img img{
        height: 25vh !important;
    } */
     .about-img-box {
        margin-top: 0; /* Reset negative margin on mobile */
        max-width: 400px; /* Limits size on smaller screens */
        margin-bottom: 30px;
    }
    .about-img-box img{
        height: auto;
        width: 280px;
    }
}
@media (max-width: 850px) {
    /* .home-banner .banner-img img{
        height: 26vh !important;
    } */

    /* .home-slider .owl-nav a{
        top: 45%;
    } */
}

/* Responsive */
@media (max-width: 768px) {
    .about-program-section {
        padding: 10px 0 10px 0;
    }
    .about-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 0rem;
    }

    .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: 15rem;
    }
}
@media (max-width: 700px) {
    /* .home-banner .banner-img img{
        height: 25vh !important;
    } */
    
}
@media (max-width: 576px) {
    .modules-section{
        padding: 25px 0 25px 0 !important;
    }
    .modules-title{
        margin-bottom: 8px;
    }
    .home-slider .owl-prev {
        left: 22px;
    }
    .home-slider .owl-next {
        right: 22px;
    }
    .home-slider .owl-nav a img{
        width: 12px;
    }
}
@media (max-width: 500px) {
    .home-slider .owl-nav a{
        top: 50%;
    }
    .home-banner{
        padding: 1.5rem 0 1.5rem;
    }
}

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