/* --- 1. GLOBAL SETTINGS & TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #3498db;
    --dark-navy: #0d3b66;
    --school-yellow: #f4d35e;
    --text-main: #1a1c1e;
    --text-gray: #4a5568;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-bold: 0 15px 35px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}



/* --- 3. ACCOMMODATION (Split Layout) --- */
.accommodation-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.accommodation-text { flex: 1; min-width: 300px; }
.accommodation-image { flex: 1; min-width: 300px; }

.accommodation-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.accommodation-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

/* Room Types (2 columns) */
.room-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.room-type {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--school-yellow);
}

.room-note-marker {
    margin-left: 4px;
    color: #c69200;
    font-weight: 800;
}

.accommodation-note {
    margin: 20px 0 0;
    padding: 14px 18px;
    border-left: 4px solid var(--school-yellow);
    border-radius: 8px;
    background: #fff9df;
    color: var(--dark-navy);
    font-weight: 700;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
}

.accommodation-note-marker {
    margin-right: 6px;
    color: #c69200;
    font-weight: 800;
}

/* --- 4. THE 3-COLUMN GRID (FOR SUPPORT & ACTIVITIES) --- */
/* This forces 3 items per row */
.support-grid, 
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 40px;
}

/* Card Styling */
.support-card, 
.activity-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.support-card:hover, 
.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-bold);
}

/* --- 5. IMAGE HANDLING (DYNAMIC) --- */
.activity-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes different sized images look uniform */
}

.activity-content, .support-card {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.support-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.activity-meta {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* --- 6. RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .support-grid, .activities-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 items on tablets */
    }
}

@media (max-width: 768px) {
    .support-grid, .activities-grid, .room-types {
        grid-template-columns: 1fr; /* 1 item on mobile */
    }
    
    .accommodation-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .accommodation-features {
        grid-template-columns: 1fr; /* stack on very small screens */
    }
}