/* ──────────────────────────────────────────────────────────
 * Sai Admission - Course Details Premium Styles
 * Matches the new premium, dark+orange branding system
 * ────────────────────────────────────────────────────────── */

/* Typography & Base */
.ve-h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--sa-text-main);
    margin: 0 0 10px;
    line-height: 1.3;
}

.ve-sub {
    font-size: 15px;
    color: var(--sa-text-muted);
    margin: 0 0 20px;
    line-height: 1.6;
    max-width: 800px;
}

.ve-muted {
    font-size: 14px;
    color: var(--sa-text-muted);
    line-height: 1.6;
}

/* ─── Sticky Back Bar ─── */
.ve-backbar {
    background: #fff;
    border: 1px solid var(--sa-gray-200);
    border-radius: 16px;
    padding: 12px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.ve-backbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ve-backbar .ve-mini {
    font-size: 16px;
    font-weight: 800;
    color: var(--sa-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ve-backbar .ve-mini i {
    color: #ff8a00;
}

/* ─── Buttons ─── */
.ve-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: var(--sa-transition);
    cursor: pointer;
    border: none;
    line-height: 1;
}

.ve-btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.ve-btn-primary {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff !important;
}

.ve-btn-primary:hover {
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
    transform: translateY(-2px);
}

.ve-btn-green {
    background: #25D366;
    color: #fff !important;
}

.ve-btn-green:hover {
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.ve-btn-blue {
    background: #0088cc;
    color: #fff !important;
}

.ve-btn-blue:hover {
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.3);
    transform: translateY(-2px);
}

.ve-btn[href="index.php"],
.ve-btn[href="#"] {
    /* Default button */
    background: #f1f5f9;
    color: #475569 !important;
}

.ve-btn[href="index.php"]:hover,
.ve-btn[href="#"]:hover {
    background: #e2e8f0;
    color: #1e293b !important;
}

/* ─── Hero Section ─── */
.ve-hero {
    margin-bottom: 40px;
}

.ve-hero-wrap {
    display: flex;
    gap: 40px;
    align-items: center;
}

.ve-hero-left {
    flex: 1;
}

.ve-hero-right {
    flex: 1;
    max-width: 500px;
}

.ve-kicker {
    font-size: 13px;
    font-weight: 800;
    color: #ff8a00;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ve-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--sa-text-main);
    line-height: 1.2;
    margin-bottom: 16px;
}

.ve-lead {
    font-size: 16px;
    color: var(--sa-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.ve-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.ve-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 138, 0, 0.1);
    color: #e67300;
    font-weight: 700;
    font-size: 13px;
}

.ve-badge-soft {
    background: #f1f5f9;
    color: #475569;
}

/* Hero Steps Strip */
.ve-strip {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.ve-strip-item {
    flex: 1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--sa-gray-200);
}

.ve-iconbox {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8a00;
    font-size: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ve-strip-item h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--sa-text-main);
    margin: 0 0 6px;
}

.ve-strip-item p {
    font-size: 12px;
    color: var(--sa-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Hero Actions */
.ve-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ve-note {
    font-size: 13px;
    color: var(--sa-text-muted);
    background: #fffbea;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
    line-height: 1.5;
}

/* Image Card */
.ve-imgcard {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.ve-imgcard img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.ve-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9), transparent);
}

.ve-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: #fff;
}

.ve-img-caption h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ff8a00;
    margin: 0 0 8px;
}

.ve-img-caption p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.ve-img-fallback {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.ve-img-fallback .box {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    width: 100%;
}

.ve-img-fallback h4 {
    font-size: 18px;
    font-weight: 800;
    color: #e11d48;
    margin: 0 0 10px;
}

.ve-img-fallback p {
    font-size: 14px;
    color: #475569;
    margin: 0;
}

/* ─── Content Sections ─── */
.ve-section {
    padding: 50px 0;
}

.ve-section-alt {
    background: #f8fafc;
    border-radius: 20px;
}

.ve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ve-card {
    background: #fff;
    border: 1px solid var(--sa-gray-200);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--sa-transition);
}

.ve-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.ve-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--sa-text-main);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ve-card h3 i {
    color: #ff8a00;
}

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

.ve-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--sa-text-muted);
    line-height: 1.5;
}

.ve-list li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 2px;
    color: #25d366;
    font-size: 12px;
}

/* Table */
.ve-table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--sa-gray-200);
}

.ve-table table {
    width: 100%;
    border-collapse: collapse;
}

.ve-table th {
    background: #f1f5f9;
    padding: 16px;
    font-size: 14px;
    font-weight: 800;
    color: var(--sa-text-main);
    text-align: left;
    border-bottom: 1px solid var(--sa-gray-200);
}

.ve-table td {
    padding: 16px;
    font-size: 14px;
    color: var(--sa-text-muted);
    border-bottom: 1px solid var(--sa-gray-100);
    line-height: 1.5;
}

.ve-table tr:last-child td {
    border-bottom: none;
}

/* FAQ Grid */
.ve-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.ve-faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--sa-gray-200);
}

.ve-faq-q {
    font-size: 16px;
    font-weight: 800;
    color: var(--sa-text-main);
    margin: 0 0 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ve-faq-q i {
    color: #0088cc;
    margin-top: 3px;
}

.ve-faq-a {
    font-size: 14px;
    color: var(--sa-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Contact Strip */
.ve-contact-strip {
    margin: 40px 0;
}

.ve-contact-card {
    background: linear-gradient(135deg, #0a1628 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ve-contact-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 138, 0, 0.15);
    filter: blur(30px);
}

.ve-contact-card .left h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}

.ve-contact-card .left p {
    font-size: 15px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.ve-contact-card .right {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .ve-hero-wrap {
        flex-direction: column-reverse;
    }

    .ve-hero-right {
        width: 100%;
        max-width: 100%;
    }

    .ve-imgcard img {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .ve-title {
        font-size: 32px;
    }

    .ve-strip {
        flex-direction: column;
        gap: 12px;
    }

    .ve-strip-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }

    .ve-strip-item .ve-iconbox {
        margin: 0;
        flex-shrink: 0;
    }

    .ve-strip-item>div:last-child {
        flex: 1;
    }

    .ve-actions {
        flex-direction: column;
    }

    .ve-btn {
        width: 100%;
        justify-content: center;
    }

    .ve-contact-card {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }

    .ve-contact-card .right {
        width: 100%;
        flex-direction: column;
    }
}