/*
 * Course page redesign (single.php).
 * Loaded after single-page.css; restyles existing markup only, so ACF fields
 * and the scroll/accordion/modal JS keep working. Remove the <link> in
 * single.php to roll back.
 */
body {
    --c-blue: #0000ff;
    --c-navy: #14124a;
    --c-indigo: #282568;
    --c-cyan: #1ddbff;
    --c-ink: #1c1c3a;
    --c-muted: #62667a;
    --c-line: #e6e8f0;
    --c-soft: #f5f6fd;
    --c-shadow: 0 8px 28px rgba(20, 18, 74, .08);
}

/* ---------- Shared ---------- */
body .main-heading {
    font-size: 32px;
    line-height: 42px;
    font-weight: 600;
    color: var(--c-ink);
    letter-spacing: -.01em;
}
body .main-heading.text-center::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--c-blue), var(--c-cyan));
    margin: 12px auto 0;
}
body .theme-btn,
body .theme-btn-2,
body .theme-btn-4 {
    padding: 13px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s, background-color .2s;
}
body .theme-btn {
    background: var(--c-blue);
    box-shadow: 0 8px 20px rgba(0, 0, 255, .25);
}
body .theme-btn:hover {
    transform: translateY(-2px);
    background: var(--c-indigo);
}
body .theme-btn-2,
body .theme-btn-4 {
    background: var(--c-cyan);
    color: var(--c-navy);
    box-shadow: 0 8px 20px rgba(29, 219, 255, .3);
}
body .theme-btn-2:hover,
body .theme-btn-4:hover {
    transform: translateY(-2px);
    background: #fff;
    color: var(--c-navy);
}

/* ---------- Hero ---------- */
body #hero-section {
    background: radial-gradient(900px 400px at 85% 0%, rgba(29, 219, 255, .25), transparent 60%),
        linear-gradient(135deg, var(--c-navy) 0%, #1a1a8f 60%, var(--c-blue) 130%);
    color: #dfe2ff;
    padding: 28px 0 70px;
    border-top: 0;
}
body #hero-section:before {
    display: none;
}
body #hero-section:after {
    left: 0;
    opacity: .35;
}
body #hero-section h1 {
    color: #fff;
    font-size: 42px;
    line-height: 52px;
    font-weight: 600;
    letter-spacing: -.01em;
}
body #hero-section .breadcrumbs,
body #hero-section .breadcrumbs a,
body #hero-section .breadcrumbs span {
    color: rgba(255, 255, 255, .75);
}
body #hero-section .breadcrumbs .active-bread {
    color: #fff;
}
body #hero-section .hero-reviews-count,
body #hero-section .hero-description,
body #hero-section .hero-description p,
body #hero-section .hero-description li {
    color: #dfe2ff;
}
body #hero-section .hero-description {
    font-size: 16px;
    line-height: 28px;
}
body #hero-section .hero-description a,
body #hero-section .hero-description .read-more {
    color: var(--c-cyan);
}
body #hero-section .hero-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
body #hero-section .theme-btn {
    background: var(--c-cyan);
    color: var(--c-navy);
    box-shadow: 0 10px 24px rgba(29, 219, 255, .35);
}
body #hero-section .theme-btn:hover {
    background: #fff;
}
body .hero-download-btn {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .45);
    color: #fff;
    border-radius: 12px;
    padding: 13px 26px;
    backdrop-filter: blur(4px);
}
body .hero-download-btn:hover {
    background: #fff;
    color: var(--c-navy);
}
body #hero-section .hero-left-seat-section {
    display: inline-block;
    margin-top: 22px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
}
body .hero-right-video img {
    border-radius: 20px;
    border: 6px solid rgba(255, 255, 255, .18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

/* ---------- Key highlights (floats over the hero) ---------- */
body #key-highlights {
    padding: 0 0 20px;
    margin-top: -36px;
    position: relative;
    z-index: 5;
}
body #key-highlights > .container > .main-heading {
    display: none;
}
body .key-highlights-main-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 24px 24px 0;
    box-shadow: var(--c-shadow);
    border: 1px solid var(--c-line);
}
body .key-highlights-item {
    box-shadow: none;
    background: var(--c-soft);
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 16px 18px;
    transition: border-color .2s, transform .2s;
}
body .key-highlights-item:hover {
    border-color: #c9ccf5;
    transform: translateY(-3px);
}
body .key-highlights-text {
    font-weight: 600;
    font-size: 15px;
    color: var(--c-ink);
}

/* ---------- Section nav (pill tabs) ---------- */
body #second-nav {
    box-shadow: 0 6px 18px rgba(20, 18, 74, .08);
    border-bottom: 1px solid var(--c-line);
}
body #nav-list li.active,
body #nav-list li:hover {
    border-bottom: 3px solid var(--c-blue);
}
body #nav-list li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--c-muted);
}
body #nav-list li.active a,
body #nav-list li:hover a {
    color: var(--c-blue);
    font-weight: 600;
}
body #nav-list li:last-child .theme-btn {
    padding: 10px 22px;
}

/* ---------- Overview + side form ---------- */
body #about-section {
    padding: 70px 0;
}
body .about-accordian-item {
    border: 1px solid var(--c-line);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
}
body .about-accordian-title.active {
    color: var(--c-blue);
}
body .about-section-form-wrapper {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--c-shadow);
}
body .about-section-form-header {
    background: linear-gradient(135deg, var(--c-navy), var(--c-blue));
}
body .about-section-form-body .form-control {
    border-radius: 10px;
    border-color: var(--c-line);
    min-height: 44px;
}
body .about-section-form-body .form-control:focus {
    border-color: var(--c-blue);
    box-shadow: 0 0 0 3px rgba(0, 0, 255, .12);
}
body .form-submit {
    background: var(--c-blue);
    border-radius: 12px;
    font-weight: 600;
}

/* ---------- Career outcomes ---------- */
body #career-transition-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--c-navy) 0%, #1a1a8f 70%, var(--c-blue) 140%);
}
body .career-services-stats-items {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    backdrop-filter: blur(6px);
}
body .career-services-stats-heading {
    color: var(--c-cyan);
    font-weight: 600;
}
body .career-transition-item {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

/* ---------- Skills / tools ---------- */
body #tool-and-skill-section {
    padding: 70px 0;
}
body .skill-to-master-items {
    border-radius: 50px;
    border: 1px solid var(--c-line);
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 18, 74, .05);
    transition: border-color .2s, transform .2s;
}
body .skill-to-master-items:hover {
    border-color: var(--c-blue);
    transform: translateY(-2px);
}

/* ---------- Fees ---------- */
body #fee-section {
    padding: 70px 0;
    background: var(--c-soft);
}
body .course-schedule-wrapper {
    border-radius: 20px;
    border: 1px solid var(--c-line);
    box-shadow: var(--c-shadow);
    padding: 28px;
}
body .course-schedule-item {
    border-radius: 14px;
    border: 1.5px solid var(--c-line);
    transition: border-color .2s, box-shadow .2s;
}
body .course-schedule-item:hover,
body .course-schedule-item.active {
    border-color: var(--c-blue);
    box-shadow: 0 8px 22px rgba(0, 0, 255, .1);
}
body .course-schedule-fee-wrap {
    background: linear-gradient(160deg, var(--c-navy), var(--c-blue));
    border-radius: 16px;
    padding: 26px;
}
body .course-schedule-main-fee {
    font-size: 32px;
    line-height: 38px;
}
body .emi-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--c-line);
}
body .available-option-wrapper-items {
    border: 1.5px solid var(--c-line);
    border-radius: 12px;
    transition: border-color .2s, background .2s;
}
body .available-option-wrapper-items:hover {
    border-color: var(--c-blue);
    background: var(--c-soft);
}
body .fee-corporate-wrapper {
    border-radius: 20px;
}

/* ---------- Curriculum / projects / FAQs ---------- */
body #curriculum-section,
body #projects-section {
    padding: 70px 0;
}
body #curriculum-accordian > *,
body .faqs-accordian-item {
    border-radius: 14px;
}
body .faqs-accordian-item {
    border: 1px solid var(--c-line);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow .2s;
}
body .faqs-accordian-item:hover {
    box-shadow: var(--c-shadow);
}
body .faqs-accordian-title.active {
    color: var(--c-blue);
}
body #testimonial,
body #hiring-partner,
body #placement-guidance,
body #graduates-worksat,
body #faq-section,
body #cities-section,
body #other-courses {
    padding-top: 64px;
    padding-bottom: 64px;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    body #hero-section {
        padding-bottom: 56px;
    }
    body #hero-section h1 {
        font-size: 28px;
        line-height: 36px;
    }
    body .main-heading {
        font-size: 24px;
        line-height: 32px;
    }
    body .key-highlights-main-wrapper {
        padding: 16px 16px 0;
    }
    body .emi-wrapper,
    body .course-schedule-wrapper {
        padding: 20px;
    }
    body #about-section,
    body #fee-section,
    body #tool-and-skill-section,
    body #career-transition-section {
        padding: 48px 0;
    }
}
