/* ==========================================
   About Section & Embedded Enquiry Form Styling
   ========================================== */
.about-motto-badge {
    background: linear-gradient(135deg, rgba(41, 81, 146, 0.08) 0%, rgba(191, 49, 73, 0.08) 100%);
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color, #BF3149);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color, #295192);
    letter-spacing: 0.3px;
}

.inline-enquiry-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(41, 81, 146, 0.1);
    height: auto;
    box-sizing: border-box;
    overflow: visible;
}

.inline-enquiry-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color, #295192);
    margin-bottom: 20px;
    text-align: center;
}

/* ==========================================
   Why Parents Choose Shantiniketan Styles
   ========================================== */
.why-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(41, 81, 146, 0.05);
    border: 1px solid rgba(41, 81, 146, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect: lifts card upward and deepens shadow */
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(41, 81, 146, 0.15);
}

.why-card .why-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.brochure-btn {
    background: white;
    color: var(--primary-color);
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brochure-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

/* ==========================================
   Responsive Rules & Media Queries
   ========================================== */
@media (max-width: 991px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

@media (max-width: 576px) {
    .why-choose-grid {
        grid-template-columns: 1fr !important;
    }
    .process-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .process-footer-bar {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .process-footer-bar > div {
        justify-content: center;
        text-align: center;
    }
}
/* ==========================================
   Admission Process 5-Step Connecting Line Styles
   ========================================== */
.step-number {
    width: 45px;
    height: 45px;
    background: #BF3149;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 15px rgba(191, 49, 73, 0.4);
}

/* Connecting line running through the middle of the step circles */
.step-connecting-line {
    position: absolute;
    top: 22px; /* Centers vertically with the 45px step circles */
    left: 10%;
    right: 10%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

@media (max-width: 991px) {
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
    .step-connecting-line {
        display: none; /* Hide connecting line on tablet/mobile column stacks */
    }
}

@media (max-width: 576px) {
    .process-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .process-footer-bar {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .process-footer-bar > div {
        justify-content: center;
        text-align: center;
    }
    .step-connecting-line {
        display: none;
    }
}