:root {
    --primary-orange: #FF5722;
    --text-dark: #1d1d1f;
    --text-gray: #6e6e73;
    --glass-white: rgba(255, 255, 255, 0.8);
    --border-light: rgba(0, 0, 0, 0.08);
}

body {
    background-color: #f5f5f7;
    /* Apple style light gray background */
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    margin: 0;
}

/* --- PREMIUM WHITE FLOATING NAVBAR --- */
.premium-nav {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    margin: 20px auto;
    width: 95%;
    border-radius: 100px;
    padding: 10px 25px;
    z-index: 1050;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for depth */
    transition: all 0.4s ease;
}

.navbar-brand img {
    height: 38px;
}

.brand-name {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.tagline {
    font-size: 0.6rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- NAV LINKS (WHITE THEME) --- */
.nav-link-custom {
    color: var(--text-dark) !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 12px;
    padding: 5px 0;
    position: relative;
    transition: 0.3s ease;
    opacity: 0.8;
}

.nav-link-custom:hover {
    opacity: 1;
    color: var(--primary-orange) !important;
}

/* Animated Underline */
.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: var(--primary-orange);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link-custom:hover::after {
    width: 100%;
}

/* Language Button White Mode */
.lang-btn {
    border: 2px solid var(--border-light);
    color: var(--primary-orange);
    border-radius: 50px;
    padding: 6px 18px;
    /* margin-top: 30px; */
    background: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.05);
}

.lang-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

/* Sidebar Toggle Icon */
.menu-toggle {
    color: var(--text-dark);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- WHITE SIDEBAR (OFFCANVAS) --- */
.offcanvas {
    background-color: #ffffff !important;
    width: 300px !important;
    border-left: 1px solid var(--border-light) !important;
    z-index: 99999 !important;
}

.offcanvas-backdrop {
    z-index: 9999 !important;
}



.offcanvas-body {
    padding: 15px;
}

/* Sidebar Nav */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
    list-style: none;
}

/* Remove old li styling */
.sidebar-nav li {
    padding: 0;
    border-bottom: none;
}

/* Premium Mobile Links */
.sidebar-nav .nav-link-custom,
.sidebar-nav li a {

    width: 100%;
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: 12px;
    background: #f7f7f7;
    color: var(--text-dark) !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    transition: all .3s ease;
}

/* Hover Effect */
.sidebar-nav .nav-link-custom:hover,
.sidebar-nav li a:hover {
    background: var(--primary-orange);
    color: #ffffff !important;
    padding-left: 24px;
}

/* Remove underline animation */
.sidebar-nav .nav-link-custom::after {
    display: none !important;
}



/* --- Hero Layout --- */
:root {
    --orange-accent: #FF5722;
    --dark-text: #1d1d1f;
    --gray-text: #6e6e73;
    --white-bg: #ffffff;
}

/* --- TEXT ROTATOR INFINITE LOOP --- */
.text-rotator {
    height: 75px;
    overflow: hidden;
}

.rotator-list {
    display: flex;
    flex-direction: column;
    /* 5 items hain toh total animation timing adjust ki hai */
    animation: infinite-slide 12s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
}

.rotator-item {
    height: 75px;
    /* Box ki height ke barabar */
    line-height: 75px;
    color: var(--orange-accent);
    font-size: 58px;
    font-weight: 700;
}

@keyframes infinite-slide {

    /* Item 1: Coding */
    0%,
    15% {
        transform: translateY(0);
    }

    /* Item 2: Robotics */
    20%,
    35% {
        transform: translateY(-75px);
    }

    /* Item 3: Artificial Intelligence */
    40%,
    55% {
        transform: translateY(-150px);
    }

    /* Item 4: IoT */
    60%,
    75% {
        transform: translateY(-225px);
    }

    /* Item 5: Coding (Duplicate) - Ye 100% par wapas 0 par transition karega */
    80%,
    95% {
        transform: translateY(-300px);
    }

    100% {
        transform: translateY(-300px);
    }
}

/* --- OTHER STYLES (Clean White) --- */
.hero-premium-white {
    background: var(--white-bg);
    padding: 120px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-main-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 50px;
}

.hero-headline {
    display: flex;
    flex-direction: column;
}

.static-txt {
    font-size: 58px;
    font-weight: 400;
    color: var(--gray-text);
}

.hero-subtext {
    font-size: 18px;
    color: var(--gray-text);
    margin: 25px 0 35px;
    max-width: 480px;
}

.btn-premium-dark {
    background: var(--dark-text);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.robot-main-img {

    width: 100%;
    /* max-width: 450px; */
    /* filter: drop-shadow(0 120px 40px rgba(0, 0, 0, 0.05)); */
}

@media (max-width: 991px) {
    .hero-main-row {
        flex-direction: column;
        text-align: center;
    }

    .static-txt,
    .rotator-item {
        font-size: 28px;
    }

    .text-rotator,
    .rotator-item {
        height: 50px;
        line-height: 50px;
    }


    @keyframes infinite-slide {

        0%,
        15% {
            transform: translateY(0);
        }

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

        40%,
        55% {
            transform: translateY(-100px);
        }

        60%,
        75% {
            transform: translateY(-150px);
        }

        80%,
        95% {
            transform: translateY(-200px);
        }

        100% {
            transform: translateY(-200px);
        }
    }
}

@media (max-width: 485px) {
    .static-txt {
        font-size: 28px;

    }


}





/* --- ABOUT & VIDEO SECTION --- */
.stem-about-video {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}

.section-top-header h2 {
    font-size: 32px;
    color: #1d1d1f;
    font-weight: 700;
}

.about-description {
    font-size: 17px;
    line-height: 1.8;
    color: #6e6e73;
    margin-bottom: 20px;
}

.badge-premium {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 87, 34, 0.05);
    color: #FF5722;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    border: 1px solid rgba(255, 87, 34, 0.1);
}

/* Video Wrapper */
.video-container-premium {
    position: relative;
    z-index: 1;
}

.video-container-premium .ratio {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Subtle Glow behind the video */
.video-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .stem-about-video {
        padding: 60px 0;
    }

    .section-top-header h2 {
        font-size: 26px;
    }

    .about-description {
        text-align: center;
    }

    .feature-tag {
        text-align: center;
    }
}

/* =====================Course=============== */

.premium-flip-grid {
    padding: 80px 0;
    background-color: #ffffff;
}

/* image_05918c.png Header Style */
.section-header-wrap {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.header-icon {
    font-size: 45px;
    color: #FF5722;
    /* Orange icon from image */
}

.header-text {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.4;
    margin: 0;
}

/* Compact Card Styling */
.stem-flip-card {
    height: 450px;
    /* height: auto; */
    perspective: 1500px;
}

.stem-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.stem-flip-card:hover .stem-card-inner {
    transform: rotateY(180deg);
}

.stem-card-front,
.stem-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}



.card-icon-circle img {
    width: 100px;
}


.stem-card-front {
    background: #ffffff;
    text-align: center;
}

.stem-card-front p {
    font-size: 15px;
}

.card-heading {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
}

.card-target {
    color: #FF5722;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 10px;
}

.card-text {
    font-size: 13px;
    color: #6e6e73;
    line-height: 1.5;
}

/* Back Side Styling (image_fab2eb.png) */
.stem-card-back {
    background: #1d1d1f;
    color: #ffffff;
    transform: rotateY(180deg);
    text-align: left;
}

.list-title {
    color: #FF5722;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

.back-list ul li {
    font-size: 12.5px;
    margin-bottom: 5px;
    padding-left: 18px;
    position: relative;
    color: #d1d1d1;
}

.back-list ul li::before {
    content: "•";
    color: #FF5722;
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* Premium Button Styling for Back Card */
.btn-premium-learn {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 87, 34, 0.1);
    /* Subtle Orange Tint */
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid #FF5722;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn-premium-learn i {
    transition: transform 0.3s ease;
}

/* Hover Effects */
.btn-premium-learn:hover {
    color: #ffffff;
    background: #FF5722;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
    transform: translateY(-2px);
}

.btn-premium-learn:hover i {
    transform: translateX(5px);
    /* Arrow move forward */
}

/* Shine Animation Effect */
.btn-premium-learn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: all 0.6s;
    z-index: -1;
}

.btn-premium-learn:hover::before {
    left: 100%;
}



/* Card Back adjustment for button spacing */
.stem-card-back {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Isse content aur button manage rahenge */
    padding-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-text {
        font-size: 18px;
    }

    .header-icon {
        font-size: 35px;
    }

    .stem-flip-card {
        height: 470px;
    }
}




/* ================= model form======== */

/* Premium Modal Styling */
.premium-modal .modal-content {
    background: #1d1d1f;
    /* Dark background to match back of card */
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: 20px;
    color: #ffffff;
}

.premium-modal .modal-header .modal-title {
    color: #FF5722;
}

.premium-modal .form-label {
    font-size: 13px;
    font-weight: 500;
    color: #d1d1d1;
}

.premium-modal .form-control,
.premium-modal .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 15px;
}

.premium-modal .form-control:focus,
.premium-modal .form-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FF5722;
    box-shadow: 0 0 0 0.25rem rgba(255, 87, 34, 0.25);
    color: #ffffff;
}

/* Modal Submit Button */
.btn-submit-inquiry {
    background: #FF5722;
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    border: none;
    transition: 0.3s all ease;
}

.btn-submit-inquiry:hover {
    background: #e64a19;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* placeholder color adjustment */
.premium-modal input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* slide card ================= */


/* Card Container */
.course-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f1f1;
    margin: 10px;

    display: flex;
    flex-direction: column;
    height: 400px;/
}

/* Image Section - Fixed Height */
.course-img {
    height: 180px;
    background: #f8f9fa;
    /* Image na hone par light background dikhega */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Image puri fit hogi */
}

/* Body Section - Pushes buttons to bottom */
.course-body {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    /* Ye bachi hui jagah le lega */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-body h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.course-body p {
    font-size: 13px;
    color: #6e6e73;
    margin-bottom: 15px;
}

/* Buttons Section */
.course-btns{

    display:flex;

    gap:10px;

    margin-top:auto;

    width:100%;
}

.btn-detail,
.btn-pay {
    flex: 1;
    padding: 10px 5px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid transparent;
}

/* Buttons */
.btn-detail,
.btn-chat{

    flex:1;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:8px;

    width:100%;

    padding:11px 12px;

    border-radius:10px;

    text-decoration:none;

    font-size:13px;
    font-weight:600;

    transition:.3s ease;
}

.btn-detail {
    border:1px solid #FF5722;
    background:#ffffff;
    color:#FF5722;
}

.btn-detail:hover {
    background: #FF5722;
    color: #fff;
}

.btn-pay {
    background: #1d1d1f;
    color: #fff;
}

.btn-pay:hover {
    background: #000;
}


/* WhatsApp Button */
.btn-chat{
    background:#25D366;
    color:#ffffff;
    border:1px solid #25D366;
}

.btn-chat:hover{
    background:#1eb954;
    color:#ffffff;
    transform:translateY(-2px);
}


.courseSwiper {
    padding-bottom: 50px !important;
    /* Card ke niche space banayega */
    position: relative;
}




.swiper-pagination {
    margin-top: 30px;
    bottom: 5px !important;
    /* Container ke bottom se thoda upar */
    position: absolute;
    width: 100%;
}

.swiper-pagination-bullet {
    margin: 0 5px !important;
}



@media (max-width:1250px){

    .course-btns{

        flex-direction:column !important;

        width:100%;
    }

    .btn-detail,
    .btn-chat{

        width:100%;
    }

}
@media (max-width:991px){

    .course-btns{

        flex-direction:column !important;

        align-items:stretch;

        width:100%;
    }

    .btn-detail,
    .btn-chat{

        width:100%;

        justify-content:center;
    }

}
/* Small Mobile */
@media (max-width:576px){

    .course-btns{

        flex-direction:column !important;

        align-items:stretch;

        width:100%;
    }

    .btn-detail,
    .btn-chat{

        width:100%;

        justify-content:center;
    }

}


/* ===================================
   PREMIUM CONTACT SECTION
=================================== */

.premium-contact-section {

    background: #ffffff;
}

/* Contact Card */
.contact-info-card {

    height: 100%;

    background: #ffffff;

    border-radius: 24px;

    padding: 40px;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.contact-info-card h3 {

    font-size: 32px;
    font-weight: 700;

    margin-bottom: 15px;

    color: #1d1d1f;
}

.contact-desc {

    color: #6e6e73;

    line-height: 1.8;

    margin-bottom: 35px;
}

/* Contact Item */
.contact-item {

    display: flex;

    gap: 18px;

    margin-bottom: 25px;
}

.contact-icon {

    width: 55px;
    height: 55px;

    min-width: 55px;

    border-radius: 16px;

    background: rgba(255, 87, 34, 0.08);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;

    color: #FF5722;
}

.contact-item h6 {

    margin-bottom: 6px;

    font-size: 16px;
    font-weight: 700;
}

.contact-item a,
.contact-item p {

    margin: 0;

    text-decoration: none;

    color: #6e6e73;

    line-height: 1.7;
}

/* WhatsApp Button */
.btn-contact-whatsapp {

    margin-top: 15px;

    display: inline-flex;

    align-items: center;
    gap: 10px;

    background: #25D366;

    color: #ffffff;

    text-decoration: none;

    padding: 14px 28px;

    border-radius: 50px;

    font-weight: 600;

    transition: .35s ease;
}

.btn-contact-whatsapp:hover {

    background: #1eb954;

    color: #ffffff;

    transform: translateY(-3px);
}

/* Map */
.map-card {

    height: 100%;

    overflow: hidden;

    border-radius: 24px;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.map-card iframe {

    width: 100%;
    height: 100%;

    min-height: 500px;

    border: 0;
}

/* Mobile */
@media(max-width:768px) {

    .contact-info-card {

        padding: 30px 22px;
    }

    .contact-info-card h3 {

        font-size: 26px;
    }

    .map-card iframe {

        min-height: 350px;
    }

}



/* =========footer=================== */
.premium-footer {
    background-color: #ffffff;
    border-top: 1px solid #eeeeee;
    color: #1d1d1f;
    font-family: 'Inter', sans-serif;
}

.footer-logo {
    max-height: 50px;
}

.brand-contact a {
    color: #6e6e73;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.brand-contact a:hover {
    color: #FF5722;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #6e6e73;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

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

/* Social Tiles Style */
.social-tile {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f5f5f7;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.social-tile:hover {
    background: #FF5722;
    color: #fff;
    transform: translateY(-3px);
}

/* WhatsApp Button */
.btn-whatsapp-chat {
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
}

.btn-whatsapp-chat:hover {
    transform: scale(1.05);
    background-color: #1eb954;
    color: white;
}

.footer-divider {
    margin: 40px 0 25px 0;
    opacity: 0.1;
}

.footer-bottom p {
    font-size: 13px;
    color: #86868b;
}

.text-orange {
    color: #FF5722;
}


/* ===================divider============== */


section,
footer {
    position: relative;
}

/* Bottom Divider */
section::after,
footer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 88%;
    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.12),
            transparent);
}

/* Extra Premium Feel */
section,
footer {
    padding-top: 100px;
    padding-bottom: 100px;
}



/* ===============================
   CONTACT BUTTON
================================ */

.btn-premium-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 20px;

    background: #FF5722;
    color: #fff;

    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    border-radius: 50px;

    border: 1px solid #FF5722;

    transition: .35s ease;
}

.btn-premium-contact:hover {
    background: #fff;
    color: #FF5722;

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(255, 87, 34, .25);
}

/* ===============================
   CHAT WITH US BUTTON
================================ */

.btn-chat {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 5px;

    background: #25D366;
    color: #fff;

    border-radius: 8px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: .3s ease;
}

.btn-chat:hover {
    background: #1eb954;
    color: #fff;

    transform: translateY(-2px);
}







.footer-bottom{
    /* background: #0f172a; */
    /* border-top: 1px solid rgba(255,255,255,0.08); */
}

.footer-bottom p{
    font-size: 15px;
    color: #000000;
}

.text-orange{
    color: #ff6a00;
    font-weight: 600;
}

.developer-link{
    color: #ff6a00;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.developer-link:hover{
    color: #000000;
    text-decoration: underline;
}
