/* ==========================================================================
   ASC International - Executive Homepage Redesign Styles
   Scoped cleanly to homepage sections (preserves all subpages & JS hooks)
   ========================================================================== */

/* Section Headers */
.home-redesign .section {
    padding: 76px 0;
}
.home-redesign .section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 46px;
}
.home-redesign .section-header .overline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(10, 38, 71, 0.07);
    color: #0A2647;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.home-redesign .section-header .overline i {
    color: #f59e0b;
}
.home-redesign .section-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: #0A2647;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.home-redesign .section-header p {
    font-size: 15.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 1. Internationally Recognized Certifications (.category-grid) */
.home-redesign .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 22px;
}
.home-redesign .category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #0A2647;
    border-radius: 16px;
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 18px rgba(10, 38, 71, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}
.home-redesign .category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(10, 38, 71, 0.11);
    border-top-color: #f59e0b;
}
.home-redesign .category-card .cert-logo-wrap {
    width: 128px;
    height: 76px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    margin-bottom: 18px;
}
.home-redesign .category-card .cert-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.home-redesign .category-card h3 {
    font-size: 17.5px;
    font-weight: 800;
    color: #0A2647;
    margin: 0 0 8px;
}
.home-redesign .category-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 20px;
    flex: 1;
}
.home-redesign .category-card .btn {
    border-radius: 999px;
    padding: 9px 20px;
    font-weight: 700;
    font-size: 13px;
    background: #0A2647;
    border-color: #0A2647;
    transition: background 0.2s ease, transform 0.15s ease;
}
.home-redesign .category-card:hover .btn {
    background: #144272;
}

/* 2. Most Demanded QHSE Courses (.course-grid) */
.home-redesign .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
}
.home-redesign .course-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(10, 38, 71, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-redesign .course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(10, 38, 71, 0.12);
}
.home-redesign .course-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0A2647;
}
.home-redesign .course-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.home-redesign .course-card:hover .course-card-image {
    transform: scale(1.05);
}
.home-redesign .course-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #06162e;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.home-redesign .course-card-body-wrap {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.home-redesign .course-card-top h3 {
    font-size: 17px;
    font-weight: 800;
    color: #0A2647;
    margin: 0 0 6px;
    line-height: 1.3;
}
.home-redesign .course-code {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: #144272;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 2px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.home-redesign .course-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.home-redesign .course-card-body p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 14px;
}
.home-redesign .course-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 14px;
}
.home-redesign .course-card-meta i {
    color: #f59e0b;
    margin-right: 4px;
}
.home-redesign .course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}
.home-redesign .course-price {
    font-size: 16px;
    font-weight: 800;
    color: #0A2647;
}
.home-redesign .course-card-footer .btn {
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 700;
}

/* 3. Executive Stats Band (.stats-section) */
.home-redesign .stats-section {
    background: linear-gradient(135deg, #041226 0%, #0A2647 55%, #144272 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.home-redesign .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.home-redesign .stat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.home-redesign .stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.5);
}
.home-redesign .stat-item h3 {
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 900;
    color: #fbbf24;
    margin: 0 0 6px;
}
.home-redesign .stat-item p {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

/* 4. Why Choose Us (.feature-grid) */
.home-redesign .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 22px;
}
.home-redesign .feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(10, 38, 71, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.home-redesign .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(10, 38, 71, 0.09);
    border-color: #cbd5e1;
}
.home-redesign .feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0A2647, #144272);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(10, 38, 71, 0.16);
}
.home-redesign .feature-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0A2647;
    margin: 0 0 8px;
}
.home-redesign .feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 5. Testimonials (.testimonial-grid) */
.home-redesign .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
}
.home-redesign .testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(10, 38, 71, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-redesign .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(10, 38, 71, 0.09);
}
.home-redesign .testimonial-card .stars {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 13.5px;
}
.home-redesign .testimonial-card p {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    flex: 1;
    margin: 0 0 18px;
}
.home-redesign .testimonial-avatar {
    background: linear-gradient(135deg, #0A2647, #144272);
    color: #fbbf24;
    font-weight: 800;
}

/* 6. FAQ Accordion (.faq-item) */
.home-redesign .faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(10, 38, 71, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-redesign .faq-item.active {
    border-color: #144272;
    box-shadow: 0 8px 22px rgba(10, 38, 71, 0.08);
}
.home-redesign .faq-question {
    padding: 18px 24px;
    font-weight: 700;
    color: #0A2647;
    font-size: 15.5px;
}

/* 7. Executive Subscriber Banner (.subscriber-card) */
.home-redesign .subscriber-card {
    background: linear-gradient(135deg, #041226 0%, #0A2647 60%, #144272 100%);
    border-radius: 20px;
    padding: 42px 38px;
    color: #ffffff;
    box-shadow: 0 20px 44px rgba(10, 38, 71, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.home-redesign .subscriber-card .overline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.home-redesign .subscriber-card h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 8px;
}
.home-redesign .subscriber-card p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}
.home-redesign .subscriber-form input {
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.96);
    padding: 12px 18px;
}
.home-redesign .subscriber-form .btn-primary {
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border: none;
    color: #06162e;
    font-weight: 800;
    padding: 12px 24px;
}

@media (max-width: 991px) {
    .home-redesign .section { padding: 54px 0; }
    .home-redesign .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .home-redesign .subscriber-card { padding: 28px 22px; }
}
@media (max-width: 520px) {
    .home-redesign .course-grid { grid-template-columns: 1fr; }
    .home-redesign .stats-grid { grid-template-columns: 1fr; }
}
