/* Color Scheme */
:root {
    --ncert-maroon: #881d30;
    --ncert-white: #ffffff;
    --ncert-bg: #f8f9fa;
    --text-dark: #333;
}

/* Tier 1: Utility Bar (Top-most) */
.utility-bar {
    background-color: #f0f0f0;
    font-size: 12px;
    padding: 5px 10%;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-bottom: 1px solid #ddd;
}

/* Tier 2: Main Branding Header */
.main-header {
    background-color: var(--ncert-maroon);
    color: white;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-box {
    background: white;
    padding: 5px;
    border-radius: 4px;
    display: flex;
}

.search-box input { border: none; padding: 5px; outline: none; }

/* Tier 3: Navigation Bar */
.navbar {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0 10%;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.navbar li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
}

.navbar li a:hover { color: var(--ncert-maroon); }

/* Body Grid (Like NCERT Constituents) */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 10%;
}

.grid-card {
    border: 1px solid #ddd;
    border-top: 4px solid var(--ncert-maroon);
    padding: 20px;
    background: white;
}
/* Layout & Theme */
:root {
    --ncert-maroon: #881d30;
    --ncert-dark: #333;
    --light-bg: #f9f9f9;
}

.top-bar {
    background: #eeeeee;
    padding: 5px 10%;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}

.main-header {
    background: var(--ncert-maroon);
    color: white;
    padding: 20px 10%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-branding { display: flex; align-items: center; gap: 15px; }
.school-logo { height: 70px; border-radius: 50%; }

.search-container {
    background: white;
    padding: 5px;
    border-radius: 4px;
}

.search-container input { border: none; padding: 5px; }

/* Navigation */
.main-nav {
    background: white;
    border-bottom: 2px solid #ddd;
    padding: 0 10%;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}


.main-nav li a {
    display: block;
    padding: 15px 20px;
    color: var(--ncert-dark);
    text-decoration: none;
    font-weight: bold;
}

.main-nav li a:hover {
    background: #f0f0f0;
    color: var(--ncert-maroon);
}

/* Ticker */
.update-ticker {
    display: flex;
    background: white;
    border: 1px solid #ddd;
    margin: 10px 10% 0;
}

.ticker-label {
    background: var(--ncert-maroon);
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    white-space: nowrap;
}
/* Wings Grid Container */
.wings-section {
    padding: 50px 10%;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    color: #881d30; /* Your Maroon Theme */
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.wings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Individual Card */
.wing-card {
    border: 1px solid #ddd;
    overflow: hidden;
    height: 300px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.wing-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Place your school photos here */


/* Text Overlay Box */
.wing-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9); /* White semi-transparent */
    padding: 15px;
    text-align: center;
}

.wing-info h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

/* Button Styling */
.wing-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-visit, .btn-locate {
    padding: 5px 15px;
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid #ccc;
    color: #333;
    background: #fff;
    transition: 0.3s;
}

.btn-visit:hover {
    background: #881d30;
    color: white;
    border-color: #881d30;
}