@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow-accent: #FFD700;
    --red-box: #DC2626;
    --blue-primary: #2563eb;
    --gray-light: #f3f4f6;
}

body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Utility Classes - Removed initial opacity for immediate visibility */
.fade-in-up {
    opacity: 1;
}

.fade-in {
    opacity: 1;
}

.slide-in-left {
    opacity: 1;
}

.slide-in-right {
    opacity: 1;
}

.scale-in {
    opacity: 1;
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Button Animations */
.btn-animate {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-animate:hover::before {
    width: 300px;
    height: 300px;
}

/* Sticky Header */
.sticky-header {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.sticky-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Batch Label */
.batch-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    animation: slideInLeft 0.8s ease-out;
}

/* Card Animations - Removed initial hidden state */
.card-animate {
    opacity: 1;
    transform: none;
}

/* Process Steps Animation - Removed initial hidden state */
.process-step {
    opacity: 1;
    transform: none;
}

/* Process Connector Line */
.process-connector {
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--blue-primary), transparent);
    transform: translateX(-50%);
    animation: fadeIn 1s ease-out;
}

/* Process Step Animation */
.process-step {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step:nth-child(1) { transition-delay: 0.1s; }
.process-step:nth-child(2) { transition-delay: 0.2s; }
.process-step:nth-child(3) { transition-delay: 0.3s; }
.process-step:nth-child(4) { transition-delay: 0.4s; }
.process-step:nth-child(5) { transition-delay: 0.5s; }

/* Red Box Animation */
.red-box {
    background-color: var(--red-box);
    color: white;
    animation: fadeInUp 0.6s ease-out;
}

.yellow-accent {
    background-color: var(--yellow-accent);
    animation: pulse 2s ease-in-out infinite;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .batch-label {
        display: none;
    }
    
    .process-connector::after {
        display: none;
    }
    
    .card-animate {
        margin-bottom: 0.75rem;
    }
    
    /* Better spacing for mobile */
    section {
        padding: 1.5rem 0.75rem !important;
    }
    
    /* Smaller headings on mobile */
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.125rem !important;
        line-height: 1.4 !important;
    }
    
    /* Better button sizing */
    button, a.btn-animate {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Better list spacing */
    ul, ol {
        padding-left: 1rem !important;
    }
    
    /* Reduce card padding on mobile */
    .bg-white, .bg-gray-50, .bg-green-50, .bg-red-50, .bg-blue-50 {
        padding: 1rem !important;
    }
}

@media (max-width: 768px) {
    /* Tablet optimizations */
    section {
        padding: 2rem 1rem !important;
    }
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, var(--blue-primary), var(--red-box));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, #f0f0f0 0%, #e0e0e0 20%, #f0f0f0 40%, #f0f0f0 100%);
    background-size: 1000px 100%;
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: revealText 0.6s ease forwards;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--blue-primary), var(--red-box));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Spacing */
section {
    padding: 4rem 1rem;
}

@media (max-width: 768px) {
    section {
        padding: 2rem 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--blue-primary), var(--red-box));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--red-box), var(--blue-primary));
}

/* Program Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.module-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.module-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

/* Tablet */
@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}


/* FAQ Accordion */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 16px 18px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 18px;
}

.faq-answer p,
.faq-answer ul {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 12px;
}

.faq-answer ul li {
    margin-bottom: 6px;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 18px 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Mobile */
@media (max-width: 640px) {
    .faq-question {
        font-size: 14px;
        padding: 14px;
    }

    .faq-answer p,
    .faq-answer ul {
        font-size: 13px;
    }
}


/* Payment Section */
.payment-section {
    background: #07385b;
    padding: 60px 0;
    color: #ffffff;
}

.payment-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.payment-box {
    text-align: center;
}

.payment-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.payment-box p {
    font-size: 15px;
    line-height: 1.6;
    color: #e5e7eb;
}

.pay-btn {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pay-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.payment-divider {
    margin-top: 40px;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

/* Tablet */
@media (max-width: 1024px) {
    .payment-title {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .payment-title {
        font-size: 24px;
    }

    .payment-box h3 {
        font-size: 20px;
    }
}


/* Certificate Section */
.certificate-section {
    background: #ffffff;
    padding: 80px 0;
}

.certificate-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #07385b;
    margin-bottom: 50px;
}

.certificate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.certificate-content ul {
    list-style: disc;
    padding-left: 20px;
}

.certificate-content li {
    font-size: 16px;
    color: #374151;
    margin-bottom: 18px;
    line-height: 1.6;
}

.certificate-content strong {
    color: #07385b;
    font-weight: 600;
}

.certificate-content span {
    display: block;
    margin-top: 4px;
}

.certificate-image img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}

.certificate-divider {
    margin-top: 60px;
    height: 1px;
    background: #d1d5db;
}

/* Tablet */
@media (max-width: 1024px) {
    .certificate-title {
        font-size: 30px;
    }

    .certificate-grid {
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .certificate-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .certificate-content ul {
        padding-left: 0;
        list-style-position: inside;
    }

    .certificate-title {
        font-size: 26px;
    }

    .certificate-content li {
        font-size: 14px;
    }

    .certificate-divider {
        margin-top: 40px;
    }
}


/* Mobile CTA Buttons */
.mobile-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

/* Apply Now */
.cta-apply {
    background: #facc15;
    color: #000000;
}

/* Call Button */
.cta-call {
    background: #2563eb;
    color: #ffffff;
}

/* Download */
.cta-download {
    background: #2563eb;
    color: #ffffff;
}

/* Icons */
.cta-btn i {
    font-size: 16px;
}

/* Hover / Tap */
.cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Desktop tweak */
@media (min-width: 768px) {
    .mobile-cta-wrapper {
        flex-direction: row;
        justify-content: center;
    }

    .cta-btn {
        width: auto;
        min-width: 220px;
    }
}
