/* ===== Brand Colors ===== */
:root {
    --brand-blue: #06298c;
    --brand-orange: #fc3d04;
}

/* Utility classes for brand colors */
.bg-brand-blue {
    background-color: var(--brand-blue);
}
.bg-brand-blue-hover:hover {
    background-color: #051f6a; /* darker shade for hover */
}
.text-brand-blue {
    color: var(--brand-blue);
}
.border-brand-blue {
    border-color: var(--brand-blue);
}

.bg-brand-orange {
    background-color: var(--brand-orange);
}
.bg-brand-orange-hover:hover {
    background-color: #d43403; /* darker shade */
}
.text-brand-orange {
    color: var(--brand-orange);
}
.border-brand-orange {
    border-color: var(--brand-orange);
}

/* Keep existing animations, etc. */
.animation-delay-200 {
    animation-delay: 200ms;
}
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-bounce-slow {
    animation: bounce-slow 3s infinite ease-in-out;
}

/* ===== Modern Subject Cards - Larger Images ===== */
.subject-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    padding: 24px 16px !important;
}

.subject-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #06298c, #fc3d04, #06298c);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.subject-card:hover::before {
    opacity: 1;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subject-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 24px 48px -12px rgba(6, 41, 140, 0.35);
    background: rgba(255, 255, 255, 0.98);
}

/* Icon wrapper - larger */
.subject-card .icon-wrapper {
    width: 96px;           /* Increased from 72px */
    height: 96px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(6, 41, 140, 0.06), rgba(252, 61, 4, 0.06));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.subject-card:hover .icon-wrapper {
    background: linear-gradient(135deg, rgba(6, 41, 140, 0.12), rgba(252, 61, 4, 0.12));
    transform: scale(1.08) rotate(-3deg);
}

/* Larger image */
.subject-card img {
    width: 64px;           /* Increased from 48px */
    height: 64px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.subject-card:hover img {
    transform: scale(1.12) rotate(2deg);
}

.subject-card .name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a1a2e;
    margin-top: 14px;
    transition: color 0.3s ease;
}

.subject-card:hover .name {
    color: #06298c;
}

/* Staggered entrance */
.subject-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.subject-card:nth-child(1) { animation-delay: 0.05s; }
.subject-card:nth-child(2) { animation-delay: 0.10s; }
.subject-card:nth-child(3) { animation-delay: 0.15s; }
.subject-card:nth-child(4) { animation-delay: 0.20s; }
.subject-card:nth-child(5) { animation-delay: 0.25s; }
.subject-card:nth-child(6) { animation-delay: 0.30s; }
.subject-card:nth-child(7) { animation-delay: 0.35s; }
.subject-card:nth-child(8) { animation-delay: 0.40s; }
.subject-card:nth-child(9) { animation-delay: 0.45s; }
.subject-card:nth-child(10) { animation-delay: 0.50s; }
.subject-card:nth-child(11) { animation-delay: 0.55s; }
.subject-card:nth-child(12) { animation-delay: 0.60s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section header decorations */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #06298c, #fc3d04);
    color: white;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #06298c, #fc3d04);
    border-radius: 4px;
}

/* Grid spacing – adjust for larger cards */
@media (max-width: 640px) {
    .subject-card .icon-wrapper {
        width: 72px;
        height: 72px;
    }
    .subject-card img {
        width: 48px;
        height: 48px;
    }
    .subject-card {
        padding: 16px 12px !important;
    }
}

/* ===== How It Works - Modern Timeline ===== */
.how-it-works-section {
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.how-it-works-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6,41,140,0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Step cards */
.step-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 10px 30px -12px rgba(0,0,0,0.05);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(6,41,140,0.15);
    border-color: rgba(6,41,140,0.2);
    background: rgba(255, 255, 255, 0.9);
}

/* Step number circle */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06298c, #fc3d04);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.05) rotate(-2deg);
}

/* Step icon */
.step-icon {
    font-size: 2rem;
    color: #06298c;
    margin-bottom: 12px;
    display: block;
}

/* Step title */
.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.step-desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Connecting line (desktop) */
.timeline-line {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, #06298c, #fc3d04, #06298c);
    background-size: 200% 100%;
    border-radius: 4px;
    margin: 0 20px;
    animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile vertical line */
@media (max-width: 768px) {
    .step-card {
        padding: 20px 16px;
        border-left: 3px solid transparent;
        border-image: linear-gradient(180deg, #06298c, #fc3d04);
        border-image-slice: 1;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }
    .step-card:hover {
        transform: translateX(4px);
    }
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

/* Staggered entrance */
.step-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}
.step-card:nth-child(1) { animation-delay: 0.05s; }
.step-card:nth-child(2) { animation-delay: 0.15s; }
.step-card:nth-child(3) { animation-delay: 0.25s; }
.step-card:nth-child(4) { animation-delay: 0.35s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dot decoration on the line */
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    border: 3px solid #06298c;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.timeline-dot:nth-child(1) { left: 0; }
.timeline-dot:nth-child(2) { left: 33.33%; }
.timeline-dot:nth-child(3) { left: 66.66%; }
.timeline-dot:nth-child(4) { left: 100%; }
.timeline-dot:last-child { border-color: #fc3d04; }


