:root {
    --bg-dark-1: #191e1e;
    --bg-dark-2: #000808;
    --bg-dark-3: #1d2121;
    --bg-card: #151921;
    --primary-teal: rgb(255,116,37);
    --primary-gradient: linear-gradient(100deg, rgb(255,116,37), rgb(222, 100, 29));
    --text-muted: #6b7c98;
    --border-color: #1E293B;
}

.mern-stack-hero-section {
    background-color: #080c18;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    color: #f8fafc;
    background-size: 50px 50px,
        50px 50px,
        cover;
    background-position: center;
    background-repeat: repeat, repeat, no-repeat;
    padding: 160px 40px 60px;
}


.section-style {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.badge-header {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 116, 37, 0.1);
    color: var(--primary-teal);
    border-radius: 25px;
    padding: 7px 24px;
    border: 1px solid rgb(125, 56, 15);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.badge-header svg {
    display: inline-block;
    transform-origin: center; /* rotate around its center */
    animation: rotate-icon 2s ease-in-out infinite;
}

@keyframes rotate-icon {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(30deg);
    }
    100% {
        transform: rotate(0deg);
    }
}



.mern-stack-hero-section h1 {
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.mern-stack-hero-section p {
    color: #8490a3;
    font-size: clamp(14px, 2vw, 18px);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.counter-row {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.counter-box {
    background: #090e1d;
    border: 1px solid rgb(42, 19, 5);
    border-radius: 14px;
    padding: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    align-items: flex-start;
}

.counter-box .small {
    color: #6b7c98;
}

.counter-box i {
    font-size: 22px;
    font-weight: 700;
}


.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.section-heading {
    font-size: clamp(24px, 4vw, 34px);
    color: #fff;
    font-weight: 600;

}

.section-para {
    font-size: clamp(14px, 2vw, 18px);
    color: #8490a3;
    font-weight: 300;
}

.card-para {
    font-size: clamp(13px, 2vw, 15px);
    color: #8490a3;
    font-weight: 300;
}

.section-style h5 {
    font-size: clamp(17px, 2vw, 20px);
    color: #fff;
    font-weight: 600;

}

.text-teal {
    color: var(--primary-teal) !important;
}

.bg-teal-subtle {
    background-color: rgba(45, 212, 191, 0.1);
    color: var(--primary-teal);
}

/* ================= COMMON ================= */
.custom-btn-style {
    height: 53px;
    padding: 0 30px;
    font-size:clamp(13px, 1.5vw, 16px);
    font-weight: 600;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

/* ================= PRIMARY BUTTON ================= */
.btn-primary-teal {
    background: linear-gradient(135deg, rgb(255,116,37), rgb(233, 107, 34));
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 116, 37, 0.35);
}

.btn-primary-teal:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 116, 37, 0.45);
}



/* 👉 Arrow icon animation */
.btn-primary-teal i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary-teal i {
    animation: arrowMove 0.9s ease-in-out infinite alternate;
}

@keyframes arrowMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(8px);
    }
}

/* ================= OUTLINE BUTTON ================= */
.btn-outline-custom {
    background: rgba(255, 116, 37, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 116, 37, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline-custom:hover {
    background: rgba(255, 116, 37, 0.2);
    border-color: rgb(255,116,37);
}

/* 👉 Play icon zoom animation */
.btn-outline-custom i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-outline-custom i {
    animation: playPulse 1.4s ease-in-out infinite;
}

@keyframes playPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}


.section-tag {
    color: var(--primary-teal);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

/* ================= CARD BASE ================= */
.custom-card {
    background: linear-gradient(180deg, #0f1629, #0b1020);
    border: 1px solid rgba(148, 163, 184, 0.15); /* ALWAYS 1px */
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;

    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease;
}

/* Lift only — NO border width change */
.custom-card:hover {
    box-shadow: 0 0 0 0.021rem rgba(255, 116, 37, 01.0);
    transform: translateY(-5px) scale(1.04);
}

/* ================= ICON ================= */
.card-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;

    transition: transform 0.4s ease;
}

.custom-card:hover .card-icon-box {
    transform: scale(1.15);
}

/* ================= TAGS ================= */
.tag-pill {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    margin-right: 6px;

    transition: transform 0.3s ease;
}

.custom-card:hover .tag-pill {
    transform: translateY(-2px);
}

/* ================= FOOTER ================= */
.card-footer-line {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #161c28;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.card-link {
    text-decoration: none;
}

.card-link i {
    transition: transform 0.35s ease;
}

.custom-card:hover .card-link i {
    transform: translateX(6px);
}

/* ================= TOP LIGHT BASE (NO COLOR) ================= */
.custom-card::before {
    content: "";
    position: absolute;
    top: -45%;
    left: 50%;
    transform: translateX(-50%);
    width: 160%;
    height: 120%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

/* ================= COLOR VARIANTS ================= */

/* ---------- GREEN (MongoDB / Node) ---------- */
.icon-green {
    color: #27a83c;
    background: rgba(39, 168, 60, 0.15);
}



.card-green::before {
    background: radial-gradient(
        ellipse at top center,
        rgba(39, 168, 60, 0.35),
        rgba(39, 168, 60, 0.15),
        transparent 70%
    );
}

.card-green:hover::before {
    opacity: 1;
}

/* ---------- BLUE (React) ---------- */
.icon-blue {
    color: #57d3f9;
    background: rgba(87, 211, 249, 0.15);
}


.card-blue::before {
    background: radial-gradient(
        ellipse at top center,
        rgba(87, 211, 249, 0.35),
        rgba(87, 211, 249, 0.15),
        transparent 70%
    );
}

.card-blue:hover::before {
    opacity: 1;
}

/* ---------- WHITE (Express) ---------- */
.icon-light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.card-light::before {
    background: radial-gradient(
        ellipse at top center,
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0.15),
        transparent 70%
    );
}

.card-light:hover::before {
    opacity: 1;
}



.feature-section{
    background:#09121b;
}

.feature-section .feature-custom-card {
    color: #fff;
    background-color: #0c0f1e;
    border: 1px solid #141b2e;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;

    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease;
}
.feature-section .feature-custom-card:hover {
    color: rgba(255, 116, 37, 01.0) !important;
    box-shadow: 0 0 0 0.021rem rgba(255, 116, 37, 01.0);
    transform: translateY(-4px) scale(1.04);
}

.feature-custom-card-1:hover{
    background-color: rgb(16,28,37);
}
.feature-custom-card-2:hover{
    background-color: rgb(23,21,36);;
}
.feature-custom-card-3:hover{
    background-color: rgb(26,22,27);;
}
.feature-custom-card-4:hover{
    background-color: rgb(15,19,29);;
}
.feature-custom-card-5:hover{
    background-color: rgb(25,25,27);;
}
.feature-custom-card-6:hover{
    background-color: rgb(18,23,37);;
}
.feature-custom-card-7:hover{
    background-color: rgb(14,25,33);;
}
.feature-custom-card-8:hover{
    background-color: rgb(22,24,40);;
}


.feature-section .feature-custom-card i{
   font-size: 20px;
   font-weight: 600;
   color:#fff;
}

.card-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.card-icon-box i {
    font-size: 20px;
    font-weight: 600;
}

.tag-pill {
    background: #1E293B;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #E2E8F0;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

.code-window {
    background: rgb(12, 19, 36);
    border: 1px solid #141d30;
    border-radius: 12px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    text-align: left;
    position: relative;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: 0px 0px 15px rgba(255, 116, 37, 0.30);

    /* 🔥 Smooth bounce curve */
    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease;
}

.code-window:hover {
    transform: scale(1.05) !important;
}


.window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red {
    background: #EF4444;
}

.dot-yellow {
    background: #F59E0B;
}

.dot-green {
    background: #10B981;
}

.code-content {
    color: #A5B4FC;
    font-size: 0.9rem;
    line-height: 1.6;
}

.c-kw {
    color: #C084FC;
}

.c-fn {
    color: #60A5FA;
}

.c-str {
    color: #34D399;
}

/* String */
.c-cm {
    color: #4B5563;
}
 /* ================= SCROLL INDICATOR WRAPPER ================= */
 .scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatY 3s ease-in-out infinite;
}

/* ================= MOUSE BODY ================= */
.mouse {
    width: 23px;
    height: 40px;
    border: 2px solid rgba(255, 116, 37, 0.30);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

/* ================= SCROLL DOT ================= */
.scroll-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 116, 37, 01.0); /* primary teal */
    border-radius: 50%;
    animation: scrollDot 1.5s ease-in-out infinite;
}

/* ================= DOT ANIMATION ================= */
@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.6;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================= FLOATING EFFECT ================= */
@keyframes floatY {
    0% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 6px);
    }
    100% {
        transform: translate(-50%, 0);
    }
}

/* ================= TIMELINE BASE ================= */
.timeline {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(255, 116, 37, 0.20);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 9999;
}

/* ================= ITEM ================= */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

/* ================= LEFT ================= */
.timeline-item.left {
    left: 0;
    text-align: right;
}

/* Badge inner alignment */
.timeline-item.left .d-flex {
    justify-content: flex-end;
}

.timeline-item.left .badge {
    text-align: right;
}

/* ================= RIGHT ================= */
.timeline-item.right {
    left: 50%;
}

/* Badge inner alignment */
.timeline-item.right .d-flex {
    justify-content: flex-start;
}

.timeline-item.right .badge {
    text-align: left;
}

/* ================= DOT FIX ================= */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--bg-dark);
    border: 2px solid var(--primary-teal);
    top: 25px;
    border-radius: 50%;
    z-index:0;
}

.timeline-item.left::after {
    right: -6px;
}

.timeline-item.right::after {
    left: -6px;
}

/* ================= CONTENT ================= */
.timeline-content {
    color: #fff;
    padding: 20px;
    background-color: #0a101f;
    border: 1px solid #141d30;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth animation */
}

.timeline-content:hover {
    color:rgba(255, 116, 37, 1.0) !important;
    box-shadow: 0 0 0 0.021rem rgba(255, 116, 37, 1.0);
    transform: scale(1.05); /* slightly zoom in */
   
}


.timeline-content .icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding:7px;
    background-color: rgba(255, 116, 37, 0.20);
    border-radius: 7px;
    flex-shrink: 0;
}
.timeline .timeline-content h6{
    font-size: clamp(14px 1.5vh 16px);
    color: #6b7c98;

}

.timeline-content .icon-box i{
    color: rgba(255, 116, 37, 01.0);
    font-size: 18px;
    font-weight: 800 !important;
}
    .timeline-content .badge{
        color:rgba(255, 116, 37, 01.0);
    }
    .timeline-content .card-para i{
        color:rgba(255, 116, 37, 01.0);
    }

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {

    .mern-stack-hero-section {
        padding: 130px 0px 50px;
    }
    .custom-btn-style {
        height: 45px;
        padding: 0 15px;
        font-size: clamp(13px, 1.6vw, 16px);
        border-radius: 10px;
    }
 

    .timeline::after {
        left: 1px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 20px;
        padding-right: 0px;
        text-align: left;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item::after {
        left: -5px;
        right: auto;
    }
    
    
    .timeline-item.right::after {
        left: -5px;
    }

  
}

.inverted-comma-icon{
    position: absolute;
    z-index: 2;
    top:7px !important;
    right:5px !important;                          
}
.inverted-comma-icon img{
    width: 50px;
    height: 40px;                        
}

/* ================= CTA BOX ================= */
.cta-box {
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(180deg, #020617 0%, #030712 100%);

    border-radius: 20px;
    border: 1px solid #141d30;

    box-shadow: 0px 0px 15px rgba(255, 116, 37, 0.38);
}

/* ================= TOP TEAL GLOW ================= */
.cta-box::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 80%;

    background:
        radial-gradient(circle,
            rgba(255, 116, 37, 0.30),
            rgba(120, 55, 18, 0.15),
            transparent 70%);

    filter: blur(70px);
    z-index: 0;
}

/* ================= CONTENT LAYER ================= */
.cta-content {
    position: relative;
    z-index: 2;
}
/* ================= FEATURE LIST ================= */
.feature-list span {
    color: #6b7c98;
}

.feature-list i {
    color: rgba(255, 116, 37, 1.0);
    font-weight: bolder;
}



/* Responsive Timeline Fix */
@media screen and (max-width: 768px) {
   

    .navbar-nav {
        background: var(--bg-card);
        padding: 1rem;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        margin-top: 10px;
    }
}

.curriculum-modal-style{
    background: linear-gradient(180deg, #0f1629, #0b1020);
    border: 1px solid rgba(255, 116, 37, 0.25);
    box-shadow: 0px 0px 15px rgba(255, 116, 37, 0.30);
    border-radius: 16px;
    padding: 2px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(5px); 
}




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

.end-bullet li {
    position: relative;
    padding-right: 14px;
    text-align: right;
}

.end-bullet li::after {
    content: "•";
    font-size:3px;
    position: absolute;
    right: 0;
    top: 3px;
    font-size: 18px;
    line-height: 1;
}