/* ==========================================================
   APPLY NOW PAGE - LIGHTER & SOFTER ELEGANT COLOR PALETTE
   ========================================================== */

/* Main Page Body & Background (Slightly lighter, cleaner canvas) */
.apply-page-body {
    background-color: #fafafd !important;
    color: #1e293b;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Background Botanical Watermark Accents (Slightly lighter by ~5-10%) */
.apply-botanical-topleft {
    position: absolute;
    top: 75px;
    left: 15px;
    width: 250px;
    max-width: 20vw;
    pointer-events: none;
    z-index: 0;
    opacity: 0.44;
    transform: rotate(8deg);
    object-fit: contain;
}

.apply-botanical-topright {
    position: absolute;
    top: 75px;
    right: 15px;
    width: 250px;
    max-width: 20vw;
    pointer-events: none;
    z-index: 0;
    opacity: 0.44;
    transform: rotate(-8deg);
    object-fit: contain;
}

.apply-botanical-midleft {
    position: absolute;
    top: 36%;
    left: -50px;
    width: 320px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.30;
}

.apply-botanical-midright {
    position: absolute;
    top: 54%;
    right: -50px;
    width: 320px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.30;
}

.apply-botanical-botleft {
    position: absolute;
    top: 74%;
    left: -60px;
    width: 300px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.26;
}

.apply-botanical-botright {
    position: absolute;
    top: 86%;
    right: -60px;
    width: 300px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.26;
}

/* Main Outer Content Wrapper with Soft Watercolor Frame Cutout */
.apply-main-wrapper {
    position: relative;
    z-index: 1;
    padding-bottom: 70px;
}

.apply-main-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('watercolor_frame_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.11;
    pointer-events: none;
    z-index: 0;
}

.apply-main-wrapper > * {
    position: relative;
    z-index: 1;
}

/* ==========================================================
   HERO SECTION: TWO-COLUMN LAYOUT WITH CAMPUS BUILDING PHOTO
   ========================================================== */
.apply-hero-section {
    padding: 55px 20px 40px;
    position: relative;
}

.apply-hero-container {
    max-width: 1240px;
    width: 94%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.apply-hero-left {
    flex: 1.1;
    max-width: 600px;
    position: relative;
}

.apply-tag-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.apply-tag-wrapper .tag-dash {
    width: 28px;
    height: 2px;
    background-color: #f97316;
}

.apply-tag-wrapper .apply-section-tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #f97316;
    text-transform: uppercase;
}

.apply-hero-title-wrap {
    position: relative;
}

.apply-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 18px;
}

.apply-hero-title .highlight-orange {
    color: #f97316;
}

/* Handwritten Cursive Script Accent Next to Title (Softer Amber Tone) */
.hero-cursive-script {
    position: absolute;
    right: -130px;
    top: 50%;
    transform: translateY(-50%) rotate(-6deg);
    pointer-events: none;
}

.hero-cursive-script span {
    font-family: 'Caveat', cursive;
    font-size: 26px;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1.1;
    display: block;
    text-align: center;
    opacity: 0.90;
}

.apply-hero-desc {
    font-size: 16px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 28px;
}

.apply-hero-desc strong,
.apply-hero-desc .nav-text {
    color: #0f172a;
}

.btn-apply-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f97316;
    color: #ffffff !important;
    padding: 14px 34px;
    border-radius: 10px;
    font-size: 15.5px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.25);
    transition: all 0.3s ease;
}

.btn-apply-primary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(249, 115, 22, 0.35);
}

/* Hero Right Column: Building Photo with Brush Cutout Frame */
.apply-hero-right {
    flex: 0.95;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.apply-hero-building-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
}

/* Botanical Accent behind Photo (Lighter Opacity) */
.apply-hero-building-wrap::before {
    content: '';
    position: absolute;
    top: -25px;
    right: -15px;
    width: 190px;
    height: 190px;
    background-image: url('images-photo/13_right_botanical_decor.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.58;
    z-index: 0;
}

.apply-hero-building-card {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border: 4px solid #ffffff;
    height: 330px;
    background: #ffffff;
}

.apply-hero-building-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================
   SECTION HEADER (GENERAL)
   ========================================================== */
.apply-section-header {
    text-align: center;
    max-width: 800px;
    margin: 65px auto 45px;
    padding: 0 20px;
}

.apply-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin: 12px 0 14px;
}

.apply-section-header p {
    font-size: 16.5px;
    color: #64748b;
    line-height: 1.65;
}

/* ==========================================================
   SECTION 1: WHO CAN APPLY? (WITH SOFTER PAINT BRUSH DESIGN)
   ========================================================== */
.who-can-apply-section {
    position: relative;
    padding: 30px 0 65px;
    z-index: 1;
}

/* Paint-Brush Decorative Background Effect (Lightened by ~5-10%) */
.who-can-apply-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 98%;
    max-width: 1280px;
    height: 94%;
    background-image: url('program cutout.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

.who-can-apply-section::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    max-width: 720px;
    height: 140px;
    background-image: url('programs_futures_bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.24;
    pointer-events: none;
    z-index: 0;
}

.who-can-apply-section > * {
    position: relative;
    z-index: 1;
}

.who-can-apply-grid {
    max-width: 1240px;
    width: 94%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.target-card-box {
    background: #ffffff;
    border-radius: 22px;
    padding: 34px 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.target-card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.icon-circle-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fffaf5;
    border: 1px solid #ffedd5;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.target-card-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.target-card-box p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* ==========================================================
   SECTION 2: THE ADMISSION JOURNEY (4 STEP CARDS WITH SOFTER ACCENTS)
   ========================================================== */
.admission-journey-wrapper {
    max-width: 1240px;
    width: 94%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.journey-step-card {
    flex: 1;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.step-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fffaf5;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.step-badge-pill {
    display: inline-block;
    background: #fff1e6;
    color: #f97316;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.journey-step-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.journey-step-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

.journey-arrow {
    color: #f97316;
    font-size: 16px;
    opacity: 0.50;
    flex-shrink: 0;
}

/* ==========================================================
   SECTION 3: FREQUENTLY ASKED QUESTIONS (ACCORDION CARDS WITH SOFTER SHADOWS)
   ========================================================== */
.faq-list-container {
    max-width: 900px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-trigger-btn {
    width: 100%;
    padding: 20px 26px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.faq-trigger-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-num-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fffaf5;
    color: #f97316;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-trigger-btn h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.faq-trigger-btn i.chevron-icon {
    color: #94a3b8;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-card-item.active .faq-trigger-btn i.chevron-icon {
    transform: rotate(180deg);
    color: #f97316;
}

.faq-panel-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-panel-content p {
    padding: 0 28px 22px 74px;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* ==========================================================
   SECTION 5: CTA BANNER CARD (BOTTOM - SOFTER DEEP NAVY TONE)
   ========================================================== */
.apply-cta-banner-wrapper {
    max-width: 1240px;
    width: 94%;
    margin: 75px auto 45px;
}

.apply-cta-banner-card {
    background: #0f172a;
    border-radius: 24px;
    padding: 55px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
}

/* Soft watercolor brush frame inside navy card */
.apply-cta-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('watercolor_frame_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.10;
    pointer-events: none;
}

.apply-cta-banner-card > * {
    position: relative;
    z-index: 1;
}

.apply-cta-banner-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.25;
}

.apply-cta-banner-card p {
    font-size: 16.5px;
    color: #cbd5e1;
    max-width: 750px;
    margin: 0 auto 30px auto;
    line-height: 1.65;
}

.btn-contact-admission {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f97316;
    color: #ffffff !important;
    padding: 14px 34px;
    border-radius: 10px;
    font-size: 15.5px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.30);
    transition: all 0.3s ease;
}

.btn-contact-admission:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(249, 115, 22, 0.40);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .apply-hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-cursive-script {
        display: none;
    }

    .who-can-apply-grid {
        grid-template-columns: 1fr;
    }
    
    .admission-journey-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .journey-arrow {
        transform: rotate(90deg);
    }

    .apply-hero-title {
        font-size: 42px;
    }
}

@media (max-width: 600px) {
    .apply-cta-banner-card h3 {
        font-size: 28px;
    }
    
    .faq-panel-content p {
        padding-left: 28px;
    }
}