:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: 'Montserrat', sans-serif !important;
}

p,
span,
small,
strong,
li,
button,
input,
textarea,
label,
div {
    font-family: 'Lato', sans-serif !important;
}

body {
    font-family: 'Lato', sans-serif !important;
    padding-top: 30px; /* strip + navbar */
}

.programs-section,
.modules-section {
    scroll-margin-top: 100px;
}

html {
    scroll-behavior: smooth;
}


.navbar-top-content {
    background-color: #f3f2f2;
    transition: transform 0.3s ease, height 0.3s ease, opacity 0.2s ease;
    transform: translateY(0);
    overflow: hidden;
}

/* Header wrapper logic stays unchanged */
.site-header {
    width: 100%;
    z-index: 1050;
}
.site-header.strip-hidden .navbar-top-content {
    transform: translateY(-100%);
    height: 0;
    opacity: 0;
}

/* Inner layout */
.strip-inner {
    flex-wrap: wrap; /* responsive */
}

/* Text body */
.strip-text {
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 400;
}



/* Countdown */
.count-down {
    font-size: 14px;
    font-weight: 700;
}

/* Button */
.header-strip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FF7C00 !important;
    color: #fff !important;
    padding: 4px 16px;
    font-size: 12px;
    border-radius: 7px;
    font-weight: 400;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    .strip-inner {
        flex-direction: column;
        gap: 8px;
    }

    .header-strip-btn {
        margin-left: 0;
    }
    body {
        padding-top: 100px; /* strip + navbar */
    }
}



.navbar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(22px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


.container-fluid {
    width: 94%;
    max-width: 1320px;
}

.navbar-brand {
    max-width: 97px;
    max-height: auto;
}

.nav-link {
    color: #fff;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}
.nav-link:hover {
    color: #fff;
}

.navbar-toggler {
    display: flex;
    align-items: flex-end !important;
    width: 50px;
    color: #2c2c2c;
    background-color: #FF7C00;
    border-radius: 7px;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}


.hero-section {
    position: relative;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)), url('../images/iph-training-hub-lucknow.png');
    height: auto;
    display: flex;
    align-items: center !important;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 0px;
    overflow: hidden;
}

.hero-section .container-fluid {
    margin-top: 6%;
    padding: 100px 0px !important;
    width: 100%;
    max-width: 92%;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-title {
    font-size: 34px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 253, 253, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.nav-btn-style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FF7C00 !important;
    color: rgb(255, 254, 254) !important;
    padding: 10px 25px !important;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 300;
    transition: all 0.5s ease;
    border: none;
    text-decoration: none;
}


.nav-btn-style:hover {
    color: rgb(255, 255, 255) !important;
}

.custome-btn-style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF7C00, #FF7C00);
    color: #fff !important;
    padding: 12px 28px !important;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 500;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    
}

.custome-btn-style:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 108, 3, 0.4);
    color: #fff !important;
}

.outline-btn-style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #2874fc !important;
    padding: 10px 28px !important;
    font-size: 16px;
    border-radius: 10px;
    font-weight: 500;
    border: 2px solid #2874fc;
    text-decoration: none;
    cursor: pointer;
}

.outline-btn-style:hover {
    background: #2874fc;
    color: #ffffff !important;
}


.hero-image {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}


.stat-card {
    text-align: center;
    transition: all 0.3s ease;
    padding: 20px 13px;
    box-shadow: 2px 2px 5px rgba(235, 235, 235, 0.25);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16.5px);
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 30px;
    font-weight: bold;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 7px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.programs-section {
    padding: 50px 0;
    background: var(--light-bg);
}

.section-title {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.section-sub-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.section-para {
    color: #2c2c2c;
    font-size: 16px;
}

.about-us-iphtech p {
    padding-bottom: 0px;
    margin-bottom: 0px;
    text-align: justify;
    width: 100%;
}

.program-card-wrapper {
    position: relative;
    width: 100%;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff, #f4f7ff);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e9ff;
    transition: all 0.3s ease;
}

.program-card-wrapper p {
    padding-bottom: 0px;
    margin-bottom: 0px;
    text-align: justify;
    width: 100%;
}

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

.program-front {
    position: relative;
    z-index: 1;
}


.program-back {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    padding: 25px;
    border-radius: 18px;
    z-index: 10;
    background: linear-gradient(135deg, #fff, #fff, #dfdede);
    backdrop-filter: blur(16px);
    transition: all 0.45s ease-out;
    display: flex;
    flex-direction: column;
}


.program-back::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    width: 10px;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    filter: blur(10px);
}

.program-card-wrapper:hover .program-back {
    right: 0;
}

.program-back h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px !important;
    position: relative;
    display: inline-block;
}

.program-back h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(70, 70, 70, 0.8);
    transition: width 0.3s ease;
}

.program-back ul {
    position: relative;
}

.program-back ul li {
    color: #2c2c2c;
    font-size: 14px;
    margin-bottom: 7px;
    list-style: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(244, 241, 241, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(213, 212, 212, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.program-back ul li:hover {
    background: rgba(230, 230, 230, 0.2);
    transform: translateX(3px);
    border-color: rgba(219, 218, 218, 0.3);
}

.program-back ul li i {
    color: #3c3c3c;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.program-back-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-right: 20px;
    margin-right: -20px;
    scrollbar-width: thin;
    scrollbar-color: #fc9738 transparent;
}

.program-back-content::-webkit-scrollbar {
    max-width: 1px !important;
    max-height: 10px !important;
}

.program-back-content::-webkit-scrollbar-track {
    background: transparent;
}

.program-back-content::-webkit-scrollbar-thumb {
    background-color: #858484 !important;
    border-radius: 10px;
}

.see-more-btn {
    display: inline-block;
    padding: 8px 22px;
    background: rgb(255, 255, 255);
    color: #fc9738 !important;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgb(211, 207, 207);
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;

}


.see-more-btn:hover {
    background: rgb(255, 255, 255);
    color: #fc9738 !important;
    transform: translateY(-2px);
    box-shadow: 0px 3px 7px rgba(68, 67, 67, 0.1);
    color: rgba(255, 254, 254, 0.0000001);

}

.modules-section {
    padding: 50px 0;
    background: #fff;
}

.module-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    transition: all 0.25s ease-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: auto;
    width: 100%;
}

.module-card:hover {
    transform: translateY(-3px) !important;
}


.module-card-learn-list {
    padding-left: 0;
    margin: 10px 0 40px 15px;
    line-height: 1.6;
}



.module-duration {
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.module-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.module-type {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #4e8efc;
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #387ef7;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
    }

    section {
        overflow-x: hidden !important;

    }


    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px !important;
    }

    .section-title {
        font-size: 22px;
    }

    .section-para {
        font-size: 13px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .program-card {
        padding: 30px;
    }

    .custome-btn-style {
        padding: 9px 20px !important;
        font-size: 15px;
    }
    .outline-btn-style{
        padding: 9px 20px !important;
        font-size: 15px;
    }
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* change carousel style  */
.students-carousel .item {
    display: flex;
    height: 100%;
    align-items: stretch;
    justify-content: center;
    padding: 10px;
    background-color: #fff;
}


.student-card {
    
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

@media (max-width: 767px) {
    .students-carousel .item {
        padding: 5px;
    }
    .student-card {
        width: 100%;
        max-width: 330px;
    }
    
}


/* --------- end ------- */


.student-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.25);
}

.student-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.student-card:hover .student-image img {
    transform: scale(1.1);
}

.student-info {
    padding: 20px;
    text-align: center;
}

.student-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark-bg);
    margin-bottom: 8px;
}

.student-role {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.student-tech {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    display: none;
    /* position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */
}

.owl-carousel .owl-nav button.owl-prev {
    left: -25px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -25px;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.owl-carousel .owl-nav button span {
    font-size: 2rem;
    line-height: 1;
}



/* Wrapper (bottom right position) */
.fab-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}


.fab-card {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #22a951, #1e9548);
    border-radius: 50%;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(34, 169, 81, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    animation: gentlePulse 2s ease-in-out 1s 2;
}

/* WAVE AROUND BUTTON (fixed visibility) */
.fab-card::before {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(34, 169, 81, 0.35);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0.7;
    animation: waveEffect 2.5s ease-out infinite;
    z-index: -1;
}

@keyframes waveEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 0.6;
    }

    70% {
        opacity: 0.25;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.7);
        opacity: 0;
    }
}

/* Circle shadow on hover */
.fab-card::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: 0.3s ease;
}

.fab-card:hover {
    height: 110px;
    border-radius: 28px;
    padding: 6px;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(34, 169, 81, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.fab-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* ICON BASE */
.fab-icon {
    width: 38px;
    height: 38px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffffd9, #ffffffcf);
    backdrop-filter: blur(10px);
    border: 2px solid #ffffffdd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    z-index: 2;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}


.call {
    top: 50%;
    transform: translate(-50%, -50%);
    color: #4285F4;
}


.whatsapp {
    top: 100%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
    color: #25D366;
}

.fab-card:hover .call {
    top: 30%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.fab-card:hover .whatsapp {
    top: 70%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.fab-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.fab-icon:hover::after {
    opacity: 1;
}
.tawk-min-container .tawk-button-circle.tawk-button-large {
    width: 60px;
    height: 60px;
}

@media (max-width: 768px) {
    .fab-wrapper {
        bottom: 15px;
        right: 15px;
    }
    .tawk-min-container .tawk-button-circle.tawk-button-large {
        width: 45px !important;
        height: 45px !important;
    }

    .fab-card {
        width: 45px;
        height: 45px;
    }

    .fab-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}



.enhanced-why-section {
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.why-card {
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 20px rgba(0, 0, 0, 0.12);
}

.why-icon {
    font-size: 3rem;
    color: #2874fc;
    margin-bottom: 15px;
}

.why-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}


.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    font-size: 0.9rem;
    color: #3b4554;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.why-list li::before {
    content: "✓";
    color: #2874fc;
    font-weight: bold;
    margin-right: 6px;
}

/* Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.9s ease forwards;
}

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

.faq-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #fafafa 0%, #f9f9f9 100%);
    position: relative;
    overflow: hidden;
}



.faq-container {
    position: relative;
    z-index: 1;
}

.accordion-item {
    background: #fff;
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    padding: 15px 20px;
    background: #fff;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #2c2c2c;
    background: #e1ecff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23667eea'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transform: scale(1.2);
}

.accordion-button:not(.collapsed)::after {
    transform: scale(1.2) rotate(-180deg);
}

.accordion-body {
    padding: 15px;
    font-size: 14px;
    line-height: 1.7;
    color: #4a5568;
    background: #f7fafc;
}
.faq-icon {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    background: #2874fc;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0; /* VERY IMPORTANT */
}

@media (max-width: 768px) {
    .faq-icon {
        width: 2.2rem;
        height: 2.2rem;
        min-width: 2.2rem;
        min-height: 2.2rem;
        font-size: 0.9rem;
    }

    .accordion-button {
        font-size: 14px;
    }

    .accordion-body {
        font-size: 13px;
    }
    .accordion-button::after {
        transform: scale(.8);
    }
    
    .accordion-button:not(.collapsed)::after {
        transform: scale(.8) rotate(-180deg);
    }
}

.btn-outline-primary {
    border: 1px solid #0d6efd;
    color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
}

/* Enhanced card-style with subtle hover effects */
.card-style {
    background-color: #ffff;
    border-radius: 16px;
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.java-page-card {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    /* Glass effect */
    border-radius: 22px;
    padding: 28px;
    margin: auto;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(20px);
}

.why-learn-section .card-style {
    background-color: #f9f9f9 !important;
}

.why-learn-section .icons {
    font-size: 24px;
    padding: 10px 15px;
    border-radius: 50% !important;
}

.hybrid-framework-section .icons {
    font-size: 24px;
    padding: 17px 15px;
    border-radius: 50% !important;
}

.traning-highlights .icons {
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 50%;
    background-color:#e1ecff;
}


.curriculum .card-style {
    background-color: #ffff !important;
}

.card-style:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15) !important;
}
.text-primary{
    color: #2874fc !important;
}



/*---------- Succes payment page css  ---------- */


/* Section */
.payment-success-section {
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    max-width: 750px;
}

.success-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    text-align: center;
}

/* Icon */
.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
    animation: pop 0.8s ease-in-out;
}

@keyframes pop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Title */
.success-title {
    font-size: 34px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}



.next-steps {
    text-align: left;
    background: #ffff;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.next-steps h4 {
    font-size: 20px;
    color: #111827;
    margin-bottom: 10px;
}

.next-steps ul {
    padding-left: 20px;
    margin: 0;
}

.next-steps li {
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
}


@media (max-width: 768px) {
    .success-card {
        padding: 35px 25px;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-icon {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .success-title {
        font-size: 1.7rem;
    }

    .next-steps {
        padding: 15px 18px;
    }
}


.payment-card {
    background: #2874fc;
    border-radius: 18px;
    padding: 35px 28px;
    text-align: center;
    color: #fff;
    box-shadow: 0 3px 7px rgba(26, 95, 180, .15);
}


/* ---------- popup style-start ----------- */

/* Overlay */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.01);
    display: none; 
    z-index: 9998;
}


.course-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);

    width: min(500px, 92vw);
    height: min(500px, 92vh);

    background-color: #111;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 2px 2px 8px rgba(255, 255, 255, 0.20);

    color: #fff;
    border-radius: 16px;
    padding: 24px;

    display: none; 
    z-index: 9999;
    transition: all 0.3s ease;
}

.course-popup.active {
    display: flex; 
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(1);
}
.course-popup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.0);
    border-radius: inherit;
    z-index: 1;
}

.popup-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    border: none;
    font-size: 28px;
    color: #2c2c2c;
    cursor: pointer;
    z-index: 3;
    border-radius: 5px;
    background: #f17c3a;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

/* Typography */
.popup-content h4 {
    font-size: 20px;
    color: #FF7C00;
    margin-bottom: 6px;
    font-weight: 600;
}

.popup-content h2 {
    font-size: clamp(24px, 4vw, 34px);
    margin: 0 0 10px;
    font-weight: 700;
}

.popup-sub {
    font-size: 16px;
    opacity: 0.95;
    padding: 7px 20px;
    background-color: #fff;
    color: #2c2c2c;
    font-weight: 700;
    border-radius: 20px;
}

/* Buttons */
.popup-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    justify-content: center;
    flex-wrap: wrap;
}
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.course-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
}

.course-popup.active {
    display: block;
}
@media (max-width: 576px) {
    .course-popup {
         height: min(340px, 100vh) !important;
     }
 }
 
 
 @media (min-width: 577px) and (max-width: 768px) {
     .course-popup {
         height: min(500px, 100vh) !important;
     }
 }
/* .popup-btn-outline-style{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:TRANSPARENT;
    padding:7px 17px;
    border-radius:20px;
    color: #fff !important;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    border:2px solid #fff;
    font-weight:600;
} *
.popup-btn-outline-style:hover{
    background:#fff;
    color: #2c2c2c !important;
    border:2px solid #fff;
}
.popup-btn-style{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:#FF7C00;
    padding:7px 17px;
    border-radius:20px;
    color: #fff !important;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    border:2px solid #FF7C00;
    font-weight:600;
}
.popup-btn-style:hover{
    background:#FF7C00;
    color: #fff !important;
   
}*/


/* @media (max-width: 576px) {
    .popup-content h4 {
        font-size: 18px;
    }
    .popup-sub {
        font-size: 14px;  
    }
    
    .popup-btn-outline-style{
        font-size: 14px;
    }
    .popup-btn-style{
        font-size: 14px;
    }
    
} */

