:root {
    /* Primary & secondary colors */
    --primary: #007bff;
    --primary-dark: #0d2b72;
    --secondary: #1963e9;

    /* Text colors */
    --black: #000;
    --white: #fff;
    --gray-dark: #333;
    --gray-medium: #777;
    --gray-light: #f9f9f9;
    --border-gray: #ddd;

    /* Backgrounds */
    --hero-card-bg: #f9f9f9;
    --hero-gradient: linear-gradient(to bottom, #0b0d62, #040414);
    --banner-bg: black;

    /* Ratings */
    --star-yellow: #ffb400;

    /* Shadows */
    --shadow-card: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.25);

    /* Social colors */
    --google: #DB4437;
    --facebook: #1877F2;
    --instagram: #E4405F;
    --linkedin: #000;
    --youtube: #FF0000;
    --twitter: #000;
}
h1 {
  font-size: clamp(24px, 4vw, 48px);
}

h2 {
  font-size: clamp(20px, 3vw, 36px);
}

p {
  font-size: clamp(14px, 2vw, 18px);
}


/* Make all text inside hero black */
.hero-gradient h1,
.hero-gradient h4,
.hero-gradient p,
.hero-gradient span,
.hero-gradient li,
.hero-gradient strong,
.hero-gradient .rating-number {
    color: var(--black) !important;
}

/* remove white text class */
.hero-gradient .text-white {
    color: #000000 !important;
}

/* Icons color (you can change if needed) */
.hero-gradient .bi-check-circle-fill {
    color: var(--primary) !important;
    /* Blue check icon */
}

/* Fix form card - make visible on white background */
.hero-gradient .col-lg-4 .p-4 {
    background: var(--hero-card-bg) !important;
    border: 1px solid var(--border-gray) !important;

}

.course-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 10px;
}

.social-icon {
    font-size: 20px;
}

/* social colors */
.fa-google {
    color: var(--google);
}

.fa-facebook {
    color: var(--facebook);
}

.fa-instagram {
    color: var(--instagram);
}

.fa-linkedin {
    color: var(--linkedin);
}

.fa-youtube {
    color: var(--youtube);
}

.fa-x-twitter {
    color: var(--twitter);
}

/* Number color */
.rating-number {
    color: var(--white);

    font-size: 18px;
}

/* Horizontal alignment fixes */
.rating-box {

    margin-top: 10px;
}

.play-btn-container a {
    text-decoration: none;
}

/* Fix broken layout in small screens */
/* brouchure button */
@media (max-width: 576px) {
    .btn.btn-primary.btn-lg {
        padding: 8px 14px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 576px) {

    .rating-box {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        overflow-x: auto !important;
        white-space: nowrap;
        gap: 12px;
    }

    .rating-box>div {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px;
        flex-shrink: 0 !important;
        min-width: max-content !important;
    }

    /* Stop icons and text from breaking */
    .rating-box i,
    .rating-box span {
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {

    /* Force row */
    .rating-box {
        display: flex !important;
        align-items: center;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        gap: 10px;
        padding: 8px 0;
    }

    /* First rating block (stars + reviews) shrink */
    .rating-box>div:first-child {
        transform: scale(0.85);
        /* Make smaller */
        transform-origin: left center;
        min-width: max-content;
        /* Prevent breaking */
    }

    /* All rating items */
    .rating-box>div {
        flex-shrink: 0 !important;
        min-width: max-content;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    /* Icons small */
    .social-icon {
        font-size: 16px !important;
    }

    .rating-number {
        font-size: 14px !important;
    }

    #ratingNumber {
        font-size: 18px !important;
    }

    .bi-star-fill {
        font-size: 15px !important;
    }
}


.play-btn-container {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.06);
    /* Darker ring for visibility */
    position: relative;
    animation: pulseGlow 2.2s infinite ease-in-out;
}

.play-btn {
    width: 50px;
    height: 50px;
    background: var(--white);
    /* White inner button */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px var(--shadow-hover);
    /* Black soft shadow */
}

.play-btn i {
    font-size: 28px;
    color: orange;
    /* Your original icon color */
}

/* 🔥 Black Glow Animation (visible on white) */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0px 0px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow: 0 0 35px 15px rgba(0, 0, 0, 0.20);
    }

    100% {
        box-shadow: 0 0 0px 0px rgba(0, 0, 0, 0.15);
    }
}

/* Responsive fix for Download button */
@media (max-width: 576px) {

    .btn.btn-dark.btn-lg {
        font-size: 14px !important;
        padding: 8px 14px !important;
        border-radius: 8px;
        white-space: nowrap;
    }
    .play-btn-container {
        margin-left: 20px;
        width: 45px !important;
        height: 45px !important;
        background: var(--white);
        box-shadow: 0 0 15px var(--shadow-hover);
    }

    /* Fix play button size on mobile */
    .play-btn {
        width: 20px !important;
        height: 20px !important;
        font-size: 14px !important;
    }
    .play-btn i {
    font-size: 8px;
    color: orange;
    /* Your original icon color */
}

    /* Fix text size */
    .mt-4 small {
        font-size: 11px;
    }

    .mt-4 strong {
        font-size: 13px;
    }

    /* Prevent wrapping */
    .mt-4.d-flex {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }
}
/* Default desktop - show full text */
.mobile-accordion {
    overflow: visible;
    display: block;
}

/* Mobile - limit text */
@media (max-width: 767px) {
    .mobile-accordion {
        display: -webkit-box;
        -webkit-line-clamp: 2; /* show only 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}


/* Extra small screens (320px) */
@media (max-width: 320px) {
    .btn.btn-dark.btn-lg {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }

    .play-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 12px !important;
    }
}

/* impact section */

.impact-section {
    background: var(--hero-gradient);
    padding: 15px 15px;
}

.impact-title {
    font-size: clamp(20px, 2vw, 28px);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 1px;
    /* margin-bottom: 25px; */
    position: relative;
    display: inline-block;
}

.impact-title::after {
    content: "";
    width: 40%;
    height: 2px;
    background: var(--white);
    display: block;
    margin: 5px auto 0;
}

.impact-row {
    width: 100%;
}

.impact-item {
    flex: 1 1 20%;
    min-width: 150px;
    margin: 10px 0;
}

.impact-item h5 {
    font-size: clamp(12px, 1.2vw, 16px);
    margin-bottom: 5px;
    font-weight: 500;
}

.impact-number {
    font-size: clamp(20px, 2.5vw, 36px);
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.divider-line {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    margin: auto 15px;
}

@media (max-width: 768px) {
    .impact-item h5 {
        font-size: 14px;
    }

    .impact-number {
        font-size: 22px;
    }
}

.faq-card {
    padding: 15px;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.faq-card:hover {
    background: #f3f5ff;
    border-color: var(--secondary);
}

.faq-question {
    font-weight: 600;
    font-size: 16px;
}

.faq-icon {
    font-weight: 700;
    font-size: 20px;
}

.faq-filter.active {
    background: var(--secondary) !important;
    color: var(--white) !important;
    border-color: var(--white) !important;
}

.location-card {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 20px;
    transition: 0.4s ease;
    filter: grayscale(100%) brightness(70%);
    box-shadow: 0 5px 20px var(--shadow-card);
}

.location-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    transition: 0.5s ease;
}

/* Hover Effect */
.location-card:hover {
    filter: grayscale(0%) brightness(100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.location-card:hover iframe {
    transform: scale(1.07);
}

/* Sap training section */
.lead-form {
    background: var(--white);
    border-radius: 20px;
    animation: fadeInForm 1s ease forwards;
}

.lead-form input,
.lead-form select {
    border-radius: 10px;
    padding: 10px;
}

.lead-form button {
    font-size: 16px;
    background: var(--secondary);
    border: none;
    transition: 0.3s;
}

.lead-form button:hover {
    background: var(--primary-dark);
    transform: scale(1.03);
}

/* Form Animation */
@keyframes fadeInForm {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion Smooth Animation */
.accordion-button {
    transition: 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--secondary);
    color: var(--white);
}

.social-icons i {
    font-size: 20px;
    margin: 0 8px;
    cursor: pointer;
    transition: 0.3s;
}

.social-icons i:hover {
    color: var(--primary);
}

/* Smart Form Styling */
.smart-form {
    border-radius: 50px;
    background: var(--white);
    transition: all 0.4s ease;
}

.smart-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.form-floating label {
    color: var(--gray-medium) !important;
}

/* Button Animation */
.btn-animate {
    transition: 0.3s ease;
}

.btn-animate:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.blue-section {
    background: var(--secondary);
    border-radius: 20px;
    overflow: hidden;
    animation: fadeIn 1.2s ease forwards;
}

/* Text Animation */
.main-text {
    font-size: clamp(10px, 5vw, 32px);
    ;
    animation: slideUp 1.2s ease forwards;
}

/* Button Animation */
.curriculum-btn {
    font-size: clamp(10px, 3vw, 16px);
    /* scales between 14px and 16px */
    padding: clamp(8px, 2vw, 12px) clamp(15px, 4vw, 25px);
    animation: fadeIn 1.5s ease forwards;
}


/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sap-card {
    background: var(--white);
    border-radius: 18px;
    padding: 25px;
    animation: fadeInCard 0.8s ease-out forwards;
}

.accordion-item {
    border-radius: 12px !important;
    overflow: hidden;
    border: 1px solid var(--border-gray);
}

/* Smooth Animation */
@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modern-input {
    height: 48px;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.25) !important;
    color: var(--white) !important;
}

.modern-input::placeholder {
    color: #eee !important;
}

#faqAccordion .faq-item {
    transition: all 0.3s ease;
}

/* no use this code */
.my-white-section {
    color: var(--black);
}

/* Title */
.subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: var(--gray-dark);
}

/* no use this code end */
/* Mobile image height control */
@media(max-width:767px) {
    .intro-video-text {
        display: none !important;
    }
}
/* footer section */
/* desktop */
.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .5);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

/* Footer links without underline */
.footer .btn.btn-link,
.footer .footer-menu a,
.footer .copyright a {
    text-decoration: none !important;
    /* remove underline */
}

.footer .btn.btn-link:hover,
.footer .footer-menu a:hover,
.footer .copyright a:hover {
    text-decoration: none !important;
    /* ensure hover also has no underline */
}


.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;

}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, .5);
    text-decoration: none;

}

.footer .copyright a:hover {
    color: #FFFFFF
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
/* hover animation effect */
.tool-card-light {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-gray);
    position: relative;
    min-height: 180px;
}

/* Lift effect + shadow */
.tool-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.1);
}

/* Icon */
.tool-icon-light {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: 0.3s ease;
}

/* Title */
.tool-name-light {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
}

/* Hover info text (hidden by default) */
.tool-info-light {
    font-size: 13px;
    color: var(--gray-dark);
    opacity: 0;
    margin-top: 10px;
    transition: 0.3s ease;
}
.tool-card-light:hover .tool-info-light { opacity: 1; }
.tool-card-light:hover .tool-icon-light { opacity: 0.6; }

.recruiter-card {
    background: var(--white);
    border-radius: 14px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
}

.recruiter-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}
.recruiter-card img {
    height: 70px;
    width: 100%;
    object-fit: contain;
    filter: brightness(1) contrast(1.1);
    transition: 0.3s ease;
}

.recruiter-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.15);
}

.recruiters-title {
    font-weight: 800;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rating-box {
    background: #fff;
    border-radius: 20px;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    gap: 20px;
}

.rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rating-logo {
    height: 40px;
    margin-bottom: 10px;
}

.rating-text {
    font-size: 16px;
}

.rating-text .star {
    color: #ffb400;
    font-size: 18px;
}

.rating-text strong {
    margin-left: 5px;
    margin-right: 5px;
}

.rating-text .reviews {
    color: #777;
    font-size: 14px;
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .rating-box {
        flex-direction: column;
        text-align: center;
    }
}

.smart-form-container {
    position: sticky;
    top: 20px;
    /* Distance from top when scrolling */
    z-index: 10;
    /* Stay above other content if needed */
}

@media (max-width: 991px) {

    /* Disable sticky on tablets & mobiles for better UX */
    .smart-form-container {
        position: relative;
        top: auto;
    }
}

/* this is mobile responsive code */
@media (max-width: 767px) {
    #recruiters .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 10px;
    }

    #recruiters .col-6 {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    .recruiter-card {
        min-width: 90px;
        max-width: 90px;
        height: 70px;
        scroll-snap-align: center;
    }

    /* Hide scrollbar */
    #recruiters .row::-webkit-scrollbar {
        display: none;
    }
}