body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f4f7fb;
}

.college-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.header-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 3px;
}

.step-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    position: relative;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #111827;
}

.step-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .college-logo {
        width: 56px;
        height: 56px;
    }
}

#results .result-item {
    border: 1px solid #d9e2f3;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #ffffff;
}

.hero-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16) 0, transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.12) 0, transparent 24%),
        linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0ea5e9 100%);
    color: #ffffff;
    padding: 3rem 0;
    margin-bottom: 0;
    width: 100%;
}

.hero-section .container {
    max-width: 1320px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.navbar-light .navbar-brand,
.navbar-light .nav-link {
    color: #1e3a8a;
}

.navbar-light .navbar-brand small {
    color: #2563eb;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link:focus {
    color: #1d4ed8;
}

.navbar-light .navbar-toggler {
    border-color: rgba(30, 58, 138, 0.25);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.75rem;
}

.hero-text {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-description {
    max-width: 640px;
    opacity: 0.92;
    margin-bottom: 1.5rem;
}

.hero-actions .btn {
    margin: 0.25rem 0.5rem 0.25rem 0;
}

.hero-card {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(6px);
}

.hero-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-card-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    opacity: 0.95;
}

.hero-card-list li {
    margin-bottom: 0.4rem;
}

.search-section {
    padding: 2rem 0;
}

.search-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.12);
    padding: 2rem;
}

.section-title {
    font-weight: 800;
    color: #1e3a8a;
}

.section-text {
    color: #4b5563;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.stats-section,
.features-section,
.info-section {
    padding: 3rem 0;
}

.stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.stat-icon {
    font-size: 1.75rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}

.stat-label {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.feature-card {
    display: block;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem;
    text-decoration: none;
    color: #111827;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #2563eb;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    color: #111827;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #6b7280;
    margin-bottom: 0;
}

.info-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.info-list {
    padding-left: 1.25rem;
    color: #374151;
}

.info-list li {
    margin-bottom: 0.5rem;
}

.site-footer {
    background: #111827;
    color: #d1d5db;
}

.site-footer a {
    color: #93c5fd;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.btn {
    border-radius: 8px;
}

.form-control,
.form-select {
    border-radius: 8px;
}

.footer-bottom {
    background: #030712;
    color: #9ca3af;
}

.step-flow {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    padding: 1.25rem 0 0.5rem;
}

.step-flow::before {
    content: '';
    position: absolute;
    top: 1.0625rem;
    left: calc((100% - 3rem) / 8);
    right: calc((100% - 3rem) / 8);
    height: 2px;
    background: #bfdbfe;
    z-index: 0;
}

.step-flow-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
}

.step-flow-item .step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
    position: relative;
    z-index: 2;
}

.step-flow-item .step-icon {
    font-size: 1.6rem;
    color: #2563eb;
    margin-bottom: 0.65rem;
}

.step-flow-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
}

.step-flow-item p {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 0;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.info-card-horizontal {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    height: 100%;
}

.info-card-horizontal .info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-card-horizontal h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #111827;
}

.info-card-horizontal p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.step-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    position: relative;
}

.step-card .step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.step-card .step-icon {
    font-size: 2rem;
    margin-bottom: 0.65rem;
    line-height: 1;
}

.step-card-blue .step-icon {
    color: #2563eb;
}

.step-card-green .step-icon {
    color: #16a34a;
}

.step-card-orange .step-icon {
    color: #ea580c;
}

.step-card-purple .step-icon {
    color: #7c3aed;
}

.step-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
    padding-right: 2.25rem;
}

.step-card p {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .step-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .step-flow::before {
        display: none;
    }

    .step-flow-item p {
        max-width: none;
    }

    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .btn {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .search-card,
    .info-card {
        padding: 1.25rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}