/* ==========================================================================
   --- COURSE & PROGRAMS CUSTOM STYLES ---
   ========================================================================== */

/* Page Overrides */
.bg-alice-blue-custom {
    background-color: #F0F4F7 !important;
}

/* Custom Hero Section */
.hero-section-custom {
    position: relative;
    background: url('../images/hero_bg_sydney.png') no-repeat center bottom;
    background-size: cover;
    padding: 180px 0 100px;
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(2, 44, 84, 0.85) 0%, rgba(2, 67, 118, 0.7) 100%);
    z-index: 1;
}

.hero-section-custom .container {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: #a8d5e5;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title-custom {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-title-custom span.accent-green {
    color: #8CCB26; /* Vibrant light green from design */
}

.hero-subtitle-custom {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
}

/* Hero CTAs */
.btn-hero-solid {
    background-color: #8CCB26;
    color: #ffffff !important;
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(140, 203, 38, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-solid:hover {
    background-color: #76C043;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 203, 38, 0.6);
}

.btn-hero-outline {
    background: transparent;
    color: #ffffff !important;
    font-weight: 600;
    padding: 14px 35px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats-row {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 40px;
}

.stat-item-custom {
    margin-bottom: 20px;
}

.stat-num-custom {
    font-size: 42px;
    font-weight: 800;
    color: #8CCB26;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-num-custom.white-num {
    color: #ffffff;
}

.stat-lbl-custom {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: capitalize;
}

/* Section Styling */
.section-badge-custom {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title-custom {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--secondary-blue);
    line-height: 1.25;
}

.section-desc-custom {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Why It Matters Cards */
.matters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .matters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .matters-grid {
        grid-template-columns: 1fr;
    }
}

.matters-card-custom {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: var(--radius-xl);
    padding: 30px 25px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.matters-card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(140, 203, 38, 0.3);
}

.matters-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(140, 203, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.matters-card-custom:hover .matters-icon-box {
    background-color: var(--accent-color);
    color: #ffffff;
}

.matters-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 10px;
}

.matters-card-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Study Areas Section */
.study-area-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid #eaeaea;
    padding: 25px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: all 0.3s ease;
}

.study-area-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.study-area-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(140, 203, 38, 0.15);
    padding-bottom: 10px;
}

.study-area-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-study-pill {
    background-color: #5F9535; /* Custom dark green pill background */
    color: #ffffff !important;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.badge-study-pill:hover {
    background-color: #4a7529;
    transform: scale(1.05);
}

/* Program Levels Section */
.level-card-custom {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    height: 100%;
}

.level-card-custom:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(112, 163, 68, 0.1);
    transform: translateX(5px);
}

.level-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.level-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin: 0;
}

/* Top Picks Section */
.top-picks-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid #eaeaea;
    padding: 35px 30px;
    box-shadow: var(--shadow-soft);
}

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

.picks-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

.picks-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.picks-item:first-child {
    padding-top: 0;
}

.picks-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.picks-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin: 0;
}

/* CTA Banner Custom */
.cta-banner-custom {
    background: linear-gradient(135deg, #022c54 0%, #03487c 100%);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 15px 45px rgba(2, 44, 84, 0.3);
}

.cta-banner-custom::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(140, 203, 38, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
}

.cta-banner-title span {
    color: #8CCB26;
}

.cta-banner-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Layout classes (replaces Bootstrap grid) ── */
.cp-hero-content { max-width: 85%; }
.cp-hero-stats {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}
.cp-hero-stats .stat-item-custom {
    flex: 1;
    min-width: 120px;
}
.cp-cta-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
.cp-cta-center { justify-content: center; }
.cp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.cp-picks-wrap {
    max-width: 66.67%;
    margin: 0 auto;
}
.sa-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .cp-hero-content { max-width: 100%; }
    .cp-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .cp-picks-wrap { max-width: 100%; }
    .sa-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .sa-hero-image { margin-top: 30px; }
    .hero-image-card { margin: 0 auto; }
}
@media (max-width: 767px) {
    .cp-grid-3 { grid-template-columns: 1fr; }
    .cp-grid-2 { grid-template-columns: 1fr; }
    .cp-hero-stats .stat-item-custom { flex: 0 0 50%; }
    .cp-cta-row { flex-direction: column; align-items: flex-start; }
    .cp-cta-center { align-items: center; }
}

@media (max-width: 768px) {
    .hero-title-custom {
        font-size: 38px;
    }
    
    .section-title-custom {
        font-size: 1.8rem;
    }
    
    .cta-banner-custom {
        padding: 40px 20px;
    }
    
    .cta-banner-title {
        font-size: 1.7rem;
    }
}
