/* Hero styles */
.hero-svc {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Right-side art uses your PNG as a contained background */
.hero-art {
    min-height: 420px;
    background: url('assets/img/hero-banner.png') no-repeat right center;
    background-size: contain;
    width: 100%;
}

/* Tighten spacing on small screens */
@media (max-width: 575.98px) {
    .hero-svc {
        padding: 56px 0;
    }
}


/* Curriculum Section */
.curriculum {
    background: #f9fbff;
}

.curriculum-card {
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.curriculum-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.curriculum-card .icon-img {
    width: 64px;
    height: 64px;
}


.curriculum {
    background: #f9fbff;
}

.curriculum-card {
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: #fff;
    padding: 20px;
}

.curriculum-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.icon-img {
    width: 64px;
    height: 64px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bg-purple {
    background: #6f42c1 !important;
}

.info-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-text span {
    font-size: 0.9rem;
    color: #6c757d;
}


.highlight {
    font-weight: 700;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #0d6efd, #20c997);
    /* blue → green */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s infinite linear;
}

@keyframes shine {
    0% {
        background-position: -100px;
    }

    100% {
        background-position: 300px;
    }
}

.highlight-bg {
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    background: linear-gradient(90deg, #0d6efd, #20c997);
    padding: 2px 6px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}



.timeline-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 900px;
}

.timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: repeating-linear-gradient(to bottom,
            #007bff,
            #007bff 12px,
            transparent 12px,
            transparent 24px);
}

/* Timeline Base */
.timeline-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 900px;
}

/* Animated Line */
.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0;
    background: repeating-linear-gradient(to bottom,
            #007bff,
            #007bff 12px,
            transparent 12px,
            transparent 24px);
    animation: growLine 2.5s ease forwards;
    animation-play-state: paused;
}

@keyframes growLine {
    from {
        height: 0;
    }

    to {
        height: 100%;
    }
}

/* Timeline Step */
.timeline-step {
    position: relative;
    width: 50%;
    padding: 20px 30px;
}

.timeline-step.left {
    left: 0;
    text-align: right;
}

.timeline-step.right {
    left: 50%;
    text-align: left;
}

/* Connector dot */
.timeline-step::before {
    content: "";
    position: absolute;
    top: 35px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #007bff;
    border-radius: 50%;
    z-index: 2;
}

.timeline-step.left::before {
    right: -12px;
}

.timeline-step.right::before {
    left: -12px;
}

/* Icon Circle */
.icon-circle {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    margin: 0 auto 15px auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.step-number {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: #fff;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Gradient Colors */
.gradient-blue {
    background: linear-gradient(135deg, #007bff, #00c6ff);
}

.gradient-green {
    background: linear-gradient(135deg, #28a745, #90ee90);
}

.gradient-orange {
    background: linear-gradient(135deg, #ff7f50, #ffb347);
}

.gradient-red {
    background: linear-gradient(135deg, #dc3545, #ff6f91);
}

.gradient-purple {
    background: linear-gradient(135deg, #6f42c1, #c77dff);
}

/* Content Box */
.content-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.timeline-step:hover .content-box {
    transform: translateY(-6px);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-line {
        left: 8px;
    }

    .timeline-step {
        width: 100%;
        padding-left: 50px;
        text-align: left;
    }

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

    .timeline-step::before {
        left: 0;
    }
}

/* Support Card Styling */
.support-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Icon Styling */
.support-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Gradient Colors */
.bg-gradient-blue {
    background: linear-gradient(135deg, #007bff, #00c6ff);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #28a745, #90ee90);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #6f42c1, #c77dff);
}

/* Connector Line */
.support-wrapper {
    position: relative;
}

.connector-line {
    position: absolute;
    top: 35px;
    /* aligns with icons */
    left: 12%;
    right: 12%;
    height: 2px;
    border-top: 2px dashed #ccc;
    z-index: 0;
}

.feedback-btn {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    /* gradient blue */
    color: #fff;
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 12px 14px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    overflow: hidden;
    width: 55px;
    /* default icon only */
    transition: all 0.35s ease;
    font-weight: 500;
}

.feedback-btn i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feedback-btn .btn-text {
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.25s ease;
    font-size: 1rem;
}

/* Hover effect on desktop */
.feedback-btn:hover {
    width: 160px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    /* color shift */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feedback-btn:hover .btn-text {
    opacity: 1;
}

/* Ripple effect on click */
.feedback-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* 📱 Mobile view: Floating circular button */
@media (max-width: 768px) {
    .feedback-btn {
        border-radius: 50%;
        width: 55px !important;
        height: 55px;
        justify-content: center;
        padding: 0;
    }

    .feedback-btn .btn-text {
        display: none;
    }
}

.star-rating {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    display: flex;
    gap: 5px;
}

.star {
    transition: color 0.2s;
    user-select: none;
}

.star.hover,
.star.selected {
    color: gold;
    text-shadow: 0 0 5px rgba(243, 228, 14, 0.8);
}

/* pop up stylesheet */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease-in-out;
}

/* Glass popup box */
.popup {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 25px;
    width:35%;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: zoomIn 0.5s ease-in-out;
}

.popup h2 {
    margin-bottom: 12px;
    font-size: 24px;
    color: #ffeb3b;
}

/* Achievement image */
.popup img {
    max-width: 90%;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff4757;
    border: none;
    color: #fff;
    font-size: 18px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.close-btn:hover {
    background: #e84118;
    transform: rotate(90deg);
}

/* Responsive popup */
@media (max-width: 768px) {
    .popup {
        width: 80%;
        padding: 18px;
    }
    .popup h2 {
        font-size: 20px;
    }
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

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

@keyframes float {

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

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

/* Confetti */
.confetti {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff0;
    top: -10px;
    animation: fall 3s linear infinite;
    border-radius: 50%;
}

@keyframes fall {
    to {
        transform: translateY(500px) rotate(360deg);
    }
}