/* Custom Programs Pages CSS - Student Referral, Financial Aid, Credit Transfer */

/* Common Utility Classes */
.bg-pattern {
    background-image: url('/assets/img/backgrounds/pattern-bg.png');
    background-repeat: repeat;
    background-size: auto;
}

.spacing {
    padding: 100px 0;
}

.spacing-20 {
    padding: 20px 0;
}

.spacing-b-40 {
    padding-bottom: 40px;
}

/* Student Referral Program Styles */
.srp-section .section-heading h3 {
    font-size: 36px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 15px;
    line-height: 1.4;
}

.srp-section .section-heading h6 {
    font-size: 18px;
    font-weight: 400;
    color: #718096;
    line-height: 1.6;
}

.srp-text-box h4 {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 20px;
}

.srp-text-box p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
}

.srp-image-box img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.srp-feedback-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a237e 100%);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a237e 100%);
}

.srp-participate-image,
.srp-benefits-image {
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.srp-participate-content,
.srp-benefits-content {
    padding: 60px 80px;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.srp-participate-content h5,
.srp-benefits-content h5 {
    font-size: 32px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 25px;
}

.srp-participate-content p,
.srp-benefits-content p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
}

.srp-how-section .section-heading h3 {
    font-size: 36px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 20px;
}

.srp-enhancing-box {
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 16px;
    min-height: 400px;
    position: relative;
    color: #fff;
}

.srp-enhancing-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    border-radius: 16px;
}

.srp-enhancing-box > * {
    position: relative;
    z-index: 1;
}

.srp-enhancing-box h5 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.srp-cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a237e 100%);
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.srp-cta-inner h6 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 30px;
}

.srp-cta-logo img {
    max-height: 45px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.srp-program-card {
    background-size: cover;
    background-position: center;
    padding: 35px;
    border-radius: 16px;
    min-height: 350px;
    position: relative;
    color: #fff;
}

.srp-program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    border-radius: 16px;
}

.srp-program-card > * {
    position: relative;
    z-index: 1;
}

.srp-program-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.srp-program-card p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Financial Aid Programs Styles */
.financial-aid-main .section-heading h3 {
    font-size: 36px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 15px;
}

.financial-aid-main .section-heading h6 {
    font-size: 18px;
    color: #718096;
    line-height: 1.6;
}

.decorative-dots {
    display: flex;
    gap: 10px;
}

.decorative-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.decorative-dots span:nth-child(5n) {
    opacity: 1;
}

.financial-intro-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.program-type-box {
    background-size: cover;
    background-position: center;
    padding: 30px;
    border-radius: 16px;
    min-height: 280px;
    position: relative;
    color: #fff;
    margin-bottom: 20px;
}

.program-type-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
    border-radius: 16px;
}

.program-type-box > * {
    position: relative;
    z-index: 1;
}

.program-type-box h6 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.budget-box,
.affordability-cta-box {
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 16px;
    min-height: 400px;
    position: relative;
    color: #fff;
    text-align: center;
}

.budget-box::before,
.affordability-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
    border-radius: 16px;
}

.budget-box > *,
.affordability-cta-box > * {
    position: relative;
    z-index: 1;
}

.budget-box h4,
.affordability-cta-box h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.eligibility-box {
    background-size: cover;
    background-position: center;
    padding: 40px;
    border-radius: 16px;
    min-height: 400px;
    position: relative;
    color: #fff;
}

.eligibility-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    border-radius: 16px;
}

.eligibility-box > * {
    position: relative;
    z-index: 1;
}

.eligibility-box h5 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.affordability-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.ranking-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.ranking-box:hover {
    transform: translateY(-5px);
}

.ranking-box h4 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.ranking-box p {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
}

.insight-stat-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.insight-stat-box .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 15px;
}

.insight-stat-box h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.funding-chart-image img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.financial-cta-box {
    background-size: cover;
    background-position: center;
    padding: 50px 40px;
    border-radius: 16px;
    position: relative;
    color: #fff;
}

.financial-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
}

.financial-cta-box > * {
    position: relative;
    z-index: 1;
}

.financial-cta-box h6 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-logo img {
    max-height: 60px;
    filter: brightness(0) invert(1);
}

/* Credit Transfer Program Styles */
.credit-transfer-section {
    margin-bottom: 40px;
}

.headingstyle2 {
    margin-bottom: 20px;
}

.headingstyle2 h3 {
    font-size: 32px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 15px;
}

.credit-transfer-info-section {
    background: linear-gradient(135deg, var(--primary-color), #1a237e);
    color: #fff;
}

.credit-transfer-info-box h5 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.credit-transfer-info-box .para2 {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
}

/* Button Styles */
.btn-style,
.btn-style-1 {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-style:hover,
.btn-style-1:hover {
    background: #1a237e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f0f0f0;
}

/* Typography */
.para1 {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 15px;
}

.para2 {
    font-size: 15px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 991px) {
    .srp-participate-content,
    .srp-benefits-content {
        padding: 40px 30px;
        min-height: auto;
    }

    .srp-participate-image,
    .srp-benefits-image {
        min-height: 300px;
    }

    .spacing {
        padding: 50px 0;
    }
}

@media (max-width: 767px) {
    .srp-section .section-heading h3,
    .financial-aid-main .section-heading h3 {
        font-size: 24px;
    }

    .srp-enhancing-box,
    .srp-cta-box {
        min-height: 300px;
    }

    .budget-box,
    .eligibility-box,
    .affordability-cta-box {
        min-height: auto;
        margin-bottom: 20px;
    }
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-heading { animation: fadeInUp 0.8s ease-out; }
.credit-transfer-section { animation: fadeInUp 0.8s ease-out; }

/* Enhanced Card Hover Effects */
.srp-text-box,
.ranking-box,
.insight-stat-box,
.credit-transfer-info-box {
    cursor: pointer;
}

.srp-text-box:hover,
.srp-program-card:hover,
.program-type-box:hover {
    transform: translateY(-8px);
}

/* Enhanced Button Gradients */
.btn-style,
.btn-style-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-style:hover,
.btn-style-1:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Enhanced Typography with Underlines */
.srp-text-box h4::after,
.headingstyle2 h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.srp-text-box h4 {
    position: relative;
    padding-bottom: 15px;
}

.headingstyle2 h3 {
    position: relative;
    padding-bottom: 15px;
}

/* Enhanced Box Shadows */
.financial-intro-image img,
.srp-image-box img,
.funding-chart-image img {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.srp-cta-box,
.financial-cta-box,
.budget-box,
.affordability-cta-box,
.eligibility-box {
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Enlarge Icons */
.insight-stat-box .icon {
    width: 60px;
    height: 60px;
}

/* Improve ranking numbers */
.ranking-box h4 {
    font-size: 42px;
    font-weight: 800;
}

.insight-stat-box h3 {
    font-size: 38px;
    font-weight: 800;
}

