/* Infrastructure Page */
.infra-container {
    padding: 30px;
    background: #f7f9fc;
}

.infra-title {
    text-align: center;
    font-size: 28px;
    color: #1f3c88;
    margin-bottom: 10px;
}

.infra-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-size: 18px;
	color: #993333;
	font-weight: bold;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* ✅ 4 cards in a row */
    gap: 25px;
}

.infra-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.infra-card:hover {
    transform: translateY(-5px);
}

.infra-card img {
    width: 100%;
    height: 230px;        /* ✅ increased height */
    object-fit: cover;
}

.infra-card h3 {
    padding: 14px 16px 6px;
    font-size: 20px;
	color: #993333;
}

.infra-card p {
    padding: 0 16px 16px;
    font-size: 16px;
	color: #000099;
}

.school-header {
    display: grid;
    grid-template-columns: 90px 1fr 280px;
    align-items: center;
    background: linear-gradient(180deg, #1f3c88, #274b9f);
    color: #fff;
    padding: 12px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* LEFT */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-left img {
    height: 65px;
}

/* HOME LINK */
.home-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 6px 10px;
    border-radius: 6px;
}

.home-link:hover {
    background: rgba(255,255,255,0.2);
}

/* CENTER */
.header-center {
    text-align: center;
}

.header-center h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 600;
}

.header-center span {
    font-size: 18px;
    opacity: 0.9;
}

/* RIGHT */
.header-right {
    text-align: right;
}

.header-right img {
    height: 65px;
	width: auto;
	object-fit: contain;
    margin-right: 45px; /* shift left */
}


/* Responsive */
@media (max-width: 1200px) {
    .infra-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .infra-grid {
        grid-template-columns: 1fr;
    }
}
.header-home {
    position: absolute;
    right: 170px;   /* adjust so it stays before right logo */
    top: 50%;
    transform: translateY(-50%);
}

.header-home a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.3s;
}

.header-home a:hover {
    background: rgba(255,255,255,0.2);
}
