/* Container & Text */
.principal-section-wrapper { background: #fff; width: 100%; overflow: hidden; font-family: sans-serif; }
.award-intro-content { padding: 60px 10% 20px; max-width: 1200px; margin: 0 auto; }
.award-intro-content h2 { color: #1a365d; font-size: 26px; font-weight: 700; margin-bottom: 20px; line-height: 1.3; }
.award-intro-content p { color: #666; font-size: 14px; line-height: 1.8; }

/* Background Wave Logic */
.wave-bg-container { position: relative; width: 100%; margin-top: 100px; }
.custom-wave { width: 100%; height: 350px; display: block; }

.overlap-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; }

/* Video Card Overlap */
.video-preview-card {
    position: relative; width: 650px; height: 480px; margin-top: -120px; 
    background: #000; border-radius: 40px; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4); z-index: 10;
}
.video-preview-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.video-card-details { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #fff; }
.video-card-details h3 { font-size: 26px; margin: 0; }
.video-card-details p { font-size: 15px; margin: 5px 0 20px; opacity: 0.9; }

/* Sky Blue Watch Button */
.watch-video-trigger { display: inline-block; background: #00aeef; color: #fff; padding: 12px 28px; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 14px; transition: 0.3s; }
.principal-bio-footer { margin-top: 40px; color: #ffffff; max-width: 850px; font-size: 15px; line-height: 1.8; padding: 0 20px; text-align: left; }

/* --- MODAL (POPUP) STYLES --- */
.video-modal-overlay { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); align-items: center; justify-content: center; }
.modal-box { position: relative; width: 85%; max-width: 900px; }
.modal-close { position: absolute; top: -50px; right: 0; color: #fff; font-size: 45px; cursor: pointer; }
.iframe-wrapper { position: relative; padding-bottom: 56.25%; height: 0; }
.iframe-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 15px; }

.school-levels-section {
    padding: 80px 5%;
    background-color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.levels-container {
    max-width: 1250px;
    margin: 0 auto;
}

/* Header Styling */
.levels-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.levels-header h2 {
    color: #1a365d;
    font-size: 28px;
    font-weight: 700;
}

.view-all-btn {
    text-decoration: none;
    color: #f39c12; /* Orange color from image */
    font-weight: bold;
    font-size: 14px;
    background: #fff8eb;
    padding: 8px 18px;
    border-radius: 25px;
    transition: 0.3s;
}

.view-all-btn:hover {
    background: #f39c12;
    color: #fff;
}

/* Grid Layout */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Card Styling */
.level-card {
    text-decoration: none; /* Link underline hatane ke liye */
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-box {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden; /* Image bahar na nikle */
    margin-bottom: 20px;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-content h3 {
    color: #1a365d;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-content p {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

/* --- HOVER EFFECTS (Over Effect) --- */
.level-card:hover {
    transform: translateY(-10px); /* Card thoda upar uthega */
}

.level-card:hover .img-box {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.level-card:hover img {
    transform: scale(1.1); /* Image halki si zoom hogi */
}

/* Responsive */
@media (max-width: 768px) {
    .levels-header { flex-direction: column; align-items: flex-start; gap: 15px; }
}