/* ===== ADMISSION REQUIREMENTS SECTION STYLES ===== */
/* File: /css/sections/admission/admission-requirements-section.css */
/* Purpose: Styles for admission requirements section with 2x2 grid */
/* Dependencies: main.css (for variables) */
/* Last Updated: [CURRENT_DATE] */

/* ===== ADMISSION REQUIREMENTS SECTION STYLES START ===== */

/* ===== SECTION HEADER STYLES (Reusable for all sections) ===== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: 2.75rem;
    color: var(--nsb-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--nsb-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    color: var(--nsb-text-secondary);
    line-height: 1.6;
    margin-top: 1.5rem;
}

/* ===== REQUIREMENTS CONTENT STYLES ===== */
.requirements-content {
    margin-top: 2rem;
}

/* ===== 3x1 GRID LAYOUT FOR 3 CARDS ===== */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed to 3 columns */
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Adjust card styles for 3 columns */
.requirement-card {
    background: var(--nsb-white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.requirement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--nsb-primary) 0%, var(--nsb-accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.requirement-card:hover::before {
    opacity: 1;
}

.requirement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(252, 163, 17, 0.3);
}

/* ===== REQUIREMENT NUMBER (OPTIONAL) ===== */
.requirement-card::after {
    content: attr(data-number);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.03);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.requirement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--nsb-primary) 0%, #1a2d5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--nsb-white);
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.requirement-card:hover .requirement-icon {
    background: linear-gradient(135deg, var(--nsb-accent) 0%, #e59400 100%);
    transform: scale(1.1) rotate(5deg);
}

.requirement-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semi-bold);
    color: var(--nsb-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.requirement-card:hover .requirement-title {
    color: var(--nsb-accent);
}

.requirement-details {
    flex: 1;
}

.requirement-details p {
    color: var(--nsb-text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.requirement-card:hover .requirement-details p {
    color: var(--nsb-text-primary);
}

/* ===== UNIFORM CARD HEIGHTS FOR 2x2 GRID ===== */
.requirement-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.requirement-icon {
    flex-shrink: 0;
}

.requirement-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== SPACING UTILITIES ===== */
.section-spacing {
    padding: 5rem 0;
}

.section-white {
    background-color: var(--nsb-white);
}

.section-light {
    background-color: var(--nsb-light);
}

/* ===== RESPONSIVE STYLES ===== */

/* ===== TABLET (1024px and below) ===== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .requirements-grid {
        gap: 2rem;
        grid-template-columns: repeat(2, 1fr); /* Maintain 2 columns */
        max-width: 800px;
    }
    
    .requirement-card {
        padding: 2rem 1.75rem;
        min-height: 300px;
    }
    
    .requirement-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .requirement-title {
        font-size: 1.4rem;
    }
}

/* ===== TABLET (768px and below) - 2×1 layout ===== */
@media (max-width: 768px) {
    .section-spacing {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns, 1 row */
        gap: 1.5rem;
        max-width: 700px;
    }
    
    .requirement-card {
        padding: 1.75rem 1.5rem;
        min-height: 280px;
    }
    
    .requirement-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }
    
    .requirement-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .requirement-details p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* ===== MOBILE (600px and below) - 1×4 layout ===== */
@media (max-width: 600px) {
    .requirements-grid {
        grid-template-columns: 1fr; /* Single column */
        max-width: 400px;
        gap: 1.25rem;
    }
    
    .requirement-card {
        padding: 1.5rem 1.25rem;
        min-height: auto;
    }
    
    .requirement-card::after {
        top: 1rem;
        right: 1rem;
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
    }
}

/* ===== SMALL MOBILE (480px and below) ===== */
@media (max-width: 480px) {
    .section-spacing {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
        bottom: -8px;
    }
    
    .requirements-grid {
        gap: 1rem;
    }
    
    .requirement-card {
        padding: 1.5rem 1rem;
    }
    
    .requirement-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .requirement-title {
        font-size: 1.2rem;
    }
    
    .requirement-details p {
        font-size: 0.9rem;
    }
}

/* ===== EXTRA SMALL MOBILE (360px and below) ===== */
@media (max-width: 360px) {
    .requirement-card {
        padding: 1.25rem 0.875rem;
    }
    
    .requirement-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .requirement-title {
        font-size: 1.1rem;
    }
    
    .requirement-details p {
        font-size: 0.85rem;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
.requirement-card:focus-within {
    outline: 2px solid var(--nsb-accent);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .requirement-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        min-height: auto;
    }
    
    .requirement-card:hover {
        transform: none;
    }
}
/* ===== ADMISSION REQUIREMENTS SECTION STYLES END ===== */