/* BASE STYLES */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; }
body { background-color: #ffffff; color: #333; overflow-x: hidden; }

/* COLORS: Burgundy (#800020) and Gold (#D4AF37) */

/* NOTIFICATION BAR */
.notification-bar { background: #800020; color: white; padding: 10px; text-align: center; position: relative; font-size: 14px; }
.close-btn { position: absolute; right: 20px; cursor: pointer; font-weight: bold; }

/* FIXED HEADER */
header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.container { width: 90%; max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.logo-area { display: flex; align-items: center; }
.logo { width: 60px; margin-right: 15px; }
.school-name h1 { font-size: 1.2rem; color: #800020; }
.school-name p { font-size: 0.6rem; letter-spacing: 1.5px; font-weight: bold; }

/* NAVIGATION */
nav ul { display: flex; list-style: none; align-items: center; }
nav ul li { margin-left: 25px; }
nav ul li a { text-decoration: none; color: #333; font-weight: bold; font-size: 0.9rem; transition: 0.3s; }
nav ul li a:hover, .active { color: #800020; }
.portal-btn { background: #D4AF37; color: white !important; padding: 10px 20px; border-radius: 5px; }

/* HERO SECTION */
.hero { height: 80vh; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/Gemini_Generated_Image_mr3bnsmr3bnsmr3b.png') center/cover; }
.hero-overlay { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding: 20px; }
.hero-content h2 { font-size: 3rem; margin-bottom: 20px; }
.btn-primary { background: #800020; color: white; padding: 15px 30px; text-decoration: none; border-radius: 5px; font-weight: bold; margin: 5px; display: inline-block; }
.btn-secondary { background: #D4AF37; color: white; padding: 15px 30px; text-decoration: none; border-radius: 5px; font-weight: bold; margin: 5px; display: inline-block; }

/* GRID LAYOUTS */
.container-column { width: 90%; max-width: 1200px; margin: 60px auto; text-align: center; }
.section-title { color: #800020; margin-bottom: 40px; font-size: 2rem; }
.feature-grid, .level-grid, .fame-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* CARDS */
.feature-card { padding: 30px; background: #f9f9f9; border-bottom: 4px solid #D4AF37; border-radius: 8px; }
.feature-card i { font-size: 2.5rem; color: #800020; margin-bottom: 15px; }
.level-card { background: #800020; color: white; padding: 40px; border-radius: 8px; }
.level-card i { font-size: 2.5rem; color: #D4AF37; margin-bottom: 15px; }
.level-link { color: #D4AF37; text-decoration: none; font-weight: bold; display: block; margin-top: 15px; }

/* HALL OF FAME */
.student-card { background: white; padding: 20px; border: 1px solid #eee; border-radius: 10px; }
.img-box img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 4px solid #D4AF37; }

/* FOOTER */
footer { background: #111; color: white; padding: 50px 0 20px; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 30px; }
.footer-info p { margin-bottom: 10px; font-size: 0.9rem; }
.footer-info i { margin-right: 10px; color: #D4AF37; }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.8rem; }

/* MOBILE RESPONSIVENESS */
.menu-toggle { display: none; font-size: 1.5rem; color: #800020; cursor: pointer; }

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    nav { display: none; width: 100%; position: absolute; top: 100%; left: 0; background: white; border-top: 1px solid #eee; }
    nav.nav-active { display: block; }
    nav ul { flex-direction: column; padding: 20px; }
    nav ul li { margin: 10px 0; }
    .hero-content h2 { font-size: 2rem; }
}
/* TESTIMONIALS */
.testimonials {
    background-color: #fcfcfc;
    padding: 20px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-left: 5px solid #D4AF37; /* Gold accent */
    font-style: italic;
}

.testimonial-card h4 {
    margin-top: 15px;
    color: #800020;
    font-style: normal;
}

/* NEWS PREVIEW */
.news-preview {
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-body {
    padding: 20px;
}

.news-body span {
    color: #D4AF37;
    font-size: 0.8rem;
    font-weight: bold;
}

.news-body h3 {
    color: #800020;
    margin: 10px 0;
    font-size: 1.2rem;
}

.news-body p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.news-body a {
    color: #800020;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
}
/* --- HERO SLIDER STYLES --- */
.hero-slider {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    opacity: 0; /* Hidden by default */
    transition: opacity 1.5s ease-in-out; /* Smooth fade effect */
    z-index: 1;
}

.slide.active {
    opacity: 1; /* Show the active slide */
    z-index: 2;
}

.hero-content {
    padding: 0 20px;
    max-width: 800px;
}




/* --- SCROLLING NOTIFICATION BAR --- */
.tsc-top-bar { background: #d4af37; color: #111; padding: 8px 0; overflow: hidden; white-space: nowrap; font-weight: bold; font-size: 0.85rem; }
.tsc-scroll-text { display: inline-block; animation: scroll-left 20s linear infinite; }
.tsc-scroll-text span { margin: 0 40px; }
@keyframes scroll-left { from { transform: translateX(100%); } to { transform: translateX(-100%); } }




/* --- TSC HERO SECTION: FULL CSS --- */
.tsc-hero-enhanced { 
    height: 80vh; 
    position: relative; 
    overflow: hidden; 
    background: #000;
}

.tsc-slide {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover; 
    background-position: center;
    opacity: 0; 
    transition: opacity 1.5s ease-in-out;
    z-index: 1; /* Default layer */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
}

.tsc-slide.tsc-active { 
    opacity: 1; 
    z-index: 2; /* Bring active slide to top */
}

.tsc-hero-content {
    max-width: 700px;
    background: rgba(0, 0, 0, 0.6); 
    padding: 40px;
    border-radius: 10px;
    color: #fff;
    position: relative;
    z-index: 3; /* Always keep text above images */
}

.tsc-tag { color: #d4af37; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; }
.tsc-title { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.tsc-title span { color: #d4af37; }
.tsc-btn-gold { background: #d4af37; color: #000; padding: 15px 30px; text-decoration: none; font-weight: bold; display: inline-block; }
.tsc-btn-trans { border: 2px solid white; color: white; padding: 13px 28px; text-decoration: none; margin-left: 15px; }

/* Mobile optimization */
@media (max-width: 768px) {
    .tsc-hero-enhanced { height: 60vh; }
    .tsc-slide { justify-content: center; text-align: center; padding: 0 20px; }
    .tsc-hero-content { background: rgba(0,0,0,0.4); padding: 20px; }
}




/* --- ABOUT PAGE SPECIFIC --- */

.page-banner {
    height: 40vh;
    background: linear-gradient(rgba(128, 0, 32, 0.8), rgba(128, 0, 32, 0.8)), url('images/Gemini_Generated_Image_k81qmyk81qmyk81q.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.banner-overlay h1 { font-size: 3rem; text-transform: uppercase; }

.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 0;
    flex-wrap: wrap;
}

.about-text { flex: 1; min-width: 300px; }
.about-text p { margin-bottom: 20px; color: #555; font-size: 1.1rem; }

.about-image img, .principal-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0px var(--gold); /* Gold shadow effect */
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.mv-card {
    background: var(--burgundy);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.mv-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; }

.principal-message { background: #f9f9f9; }

blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--burgundy);
    border-left: 5px solid var(--gold);
    padding-left: 20px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .about-flex { flex-direction: column; text-align: center; }
    .about-text { text-align: center; }
    .section-title { margin-left: auto; margin-right: auto; }
}

/* --- UPDATED MISSION & VISION SECTION --- */
.mission-vision {
    background-color: var(--white); /* Ensure the section background is white */
    padding: 60px 0;
    width: 100%;
}

.mv-card {
    background: var(--burgundy) !important; /* Force the burgundy background */
    color: var(--white) !important; /* Force white text */
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px; /* Ensures the box has a visible shape */
}

.mv-card i {
    font-size: 3.5rem;
    color: var(--gold); /* Gold icon */
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--gold); /* Changing title to gold for better visibility */
}

.mv-card p {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.6;
}

.mv-card:hover {
    transform: translateY(-10px);
    background: #be9da5 !important; /* Slightly lighter burgundy on hover */
}

/* --- PREMIUM HISTORY SECTION --- */
.history-premium {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.history-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.history-content-box {
    flex: 1.2;
    min-width: 350px;
}

.sub-tag {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.premium-title {
    font-size: 3rem;
    color: var(--burgundy);
    margin: 10px 0 20px;
    line-height: 1.2;
}

.history-accent-bar {
    width: 80px;
    height: 5px;
    background: var(--gold);
    margin-bottom: 30px;
}

.history-lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
}

.history-details p {
    margin-bottom: 15px;
    color: #666;
    font-size: 1.05rem;
}

/* --- THE IMAGE STACK EFFECT --- */
.history-visual {
    flex: 1;
    position: relative;
    min-width: 350px;
}

.image-stack {
    position: relative;
    z-index: 1;
}

.main-img {
    width: 100%;
    border-radius: 5px;
    display: block;
    z-index: 2;
    position: relative;
}

.gold-frame {
    position: absolute;
    top: 30px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 10px solid var(--gold);
    z-index: 0; /* Behind the image */
    border-radius: 5px;
}

/* RESPONSIVE FIX */
@media (max-width: 992px) {
    .history-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .history-accent-bar { margin: 0 auto 30px; }
    .gold-frame { left: 0; top: 20px; width: 95%; height: 95%; margin: auto; }
}

/* --- PRINCIPAL PREMIUM SECTION --- */
.principal-premium {
    padding: 100px 0;
    background: var(--light-grey);
}

.principal-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap-reverse; /* Principal image comes second on mobile */
}

.principal-content-box { flex: 1.2; }

.quote-icon {
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 20px;
    display: block;
}

.message-body p {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 20px;
    font-style: italic;
}

.signature h4 {
    color: var(--burgundy);
    font-size: 1.3rem;
    margin-top: 30px;
}

.signature span {
    color: var(--gold);
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- IMAGE STACK RIGHT (For Principal) --- */
.principal-visual { flex: 1; position: relative; }

.image-stack-right { position: relative; z-index: 1; }

.burgundy-frame {
    position: absolute;
    top: 30px;
    right: -30px; /* Offset to the right */
    width: 100%;
    height: 100%;
    border: 10px solid var(--burgundy);
    z-index: 0;
    border-radius: 5px;
}

/* --- BOARD OF MANAGEMENT --- */
.board-section { padding: 80px 0; background: #fff; }

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.board-card {
    text-align: center;
    transition: var(--transition);
}

.board-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--grey);
    transition: var(--transition);
}

.board-card:hover img {
    border-color: var(--gold);
    transform: scale(1.05);
}

.board-card h3 { color: var(--burgundy); font-size: 1.2rem; margin-bottom: 5px; }
.board-card p { color: #777; font-size: 0.9rem; font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .principal-wrapper { flex-direction: column; text-align: center; }
    .burgundy-frame { right: 0; top: 20px; width: 95%; height: 95%; margin: auto; }
}


/* --- TYPOGRAPHY & SPACING FIXES --- */
p.spaced-p {
    line-height: 1.8; /* Increases space between lines of text */
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
    letter-spacing: 0.3px; /* Makes text less cramped */
}

.top-tag {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

/* --- JUNIOR SCHOOL FLEX --- */
.level-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 100px 0;
    flex-wrap: wrap;
}

.level-text { flex: 1.5; min-width: 350px; }
.level-list-box {
    flex: 1;
    background: var(--light-grey);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--burgundy);
}

.clean-list { list-style: none; margin-top: 20px; }
.clean-list li {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    color: var(--burgundy);
}

/* --- SENIOR SPECIALIZATION GRID --- */
.senior-specialization {
    background: #fff;
    padding-bottom: 100px;
}

.senior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.senior-card {
    background: #fff;
    padding: 45px 35px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.senior-card:hover { transform: translateY(-10px); border-color: var(--gold); }

.card-head { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.card-head i { font-size: 2rem; color: var(--gold); }
.card-head h3 { color: var(--burgundy); font-size: 1.5rem; }

.senior-card p { line-height: 1.6; color: #666; margin-bottom: 25px; }

/* SUBJECT PILLS */
.subject-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.subject-group span {
    background: var(--light-grey);
    color: var(--burgundy);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #eee;
}

/* Specific card accents */
.senior-card.science { border-top: 6px solid #2ecc71; } /* Green for Science */
.senior-card.arts { border-top: 6px solid #3498db; }    /* Blue for Arts */
.senior-card.commercial { border-top: 6px solid #e67e22; } /* Orange for Commerce */

@media (max-width: 768px) {
    .level-flex { text-align: center; }
    .history-accent-bar { margin: 0 auto 30px !important; }
}


/* --- FACILITIES MOSAIC --- */
.facilities-premium { background: #fdfdfd; padding: 100px 0; }

.facility-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.facility-box {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.facility-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fac-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(128, 0, 32, 0.95));
    color: white;
    text-align: left;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.facility-box:hover img { transform: scale(1.1); }
.facility-box:hover .fac-overlay { transform: translateY(0); }

.fac-overlay h3 { font-size: 1.3rem; margin-bottom: 5px; color: var(--gold); }
.fac-overlay p { font-size: 0.85rem; opacity: 0.9; line-height: 1.4; }

/* --- ACADEMIC CALENDAR TABLE --- */
.calendar-section { padding: 100px 0; background: #fff; }

.calendar-table-wrapper {
    overflow-x: auto; /* Important for mobile */
    margin-top: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.academic-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    text-align: left;
}

.academic-table th {
    background: var(--burgundy);
    color: white;
    padding: 20px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.academic-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
    color: #444;
    font-weight: 500;
    line-height: 1.6; /* Wide line spacing for clarity */
}

/* Status Labels */
.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.status.done { background: #e8f5e9; color: #2e7d32; }
.status.pending { background: #fff3e0; color: #ef6c00; }

.calendar-footer { margin-top: 40px; }
.download-link {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--gold);
}

/* --- TSC MISSION & VISION: EXCLUSIVE STYLING --- */
.tsc-mv-section {
    padding: 80px 5%;
    background-color: #f4f4f4;
}

.tsc-mv-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tsc-mv-card {
    background: #800020; /* Deep Burgundy */
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.tsc-mv-icon {
    font-size: 3rem;
    color: #d4af37; /* Gold */
    margin-bottom: 20px;
}

.tsc-mv-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
    padding-bottom: 10px;
}

.tsc-mv-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #f8f8f8;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .tsc-mv-wrapper { grid-template-columns: 1fr; }
}




/* --- BOLD HERO STYLING (Solid & Professional) --- */
.academics-hero-bold {
    height: 80vh;
    background: #4a0012; /* Fallback Solid Burgundy */
    background-image: linear-gradient(to right, rgba(74, 0, 18, 0.95), rgba(74, 0, 18, 0.7)), 
                      url('images/Gemini_Generated_Image_m51lmfm51lmfm51l.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-content-wrap {
    max-width: 700px;
    text-align: left;
}

.hero-line {
    width: 60px;
    height: 6px;
    background: var(--gold);
    margin-bottom: 20px;
}

.hero-tag {
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.academics-hero-bold h1 {
    font-size: 4.5rem;
    color: #fff;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 25px;
}

.gold-text { color: var(--gold); }

.academics-hero-bold p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.8; /* Breathable spacing */
    margin-bottom: 40px;
}

/* --- BUTTONS --- */
.hero-cta-group { display: flex; gap: 15px; }

.btn-hero {
    background: var(--gold);
    color: var(--burgundy);
    padding: 18px 30px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-hero-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 16px 30px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-hero:hover { background: #fff; transform: translateY(-3px); }
.btn-hero-outline:hover { background: #fff; color: var(--burgundy); }

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .academics-hero-bold {
        height: auto;
        padding: 100px 5% 60px; /* More space on top for the header */
        text-align: center;
        justify-content: center;
    }
    
    .hero-line { margin: 0 auto 20px; }
    
    .academics-hero-bold h1 {
        font-size: 2.8rem;
    }
    
    .academics-hero-bold p {
        font-size: 1rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero, .btn-hero-outline {
        width: 100%;
        text-align: center;
    }
}






/* --- ADMISSIONS SPECIFIC --- */
.admission-bg {
    background-image: linear-gradient(to right, rgba(74, 0, 18, 0.95), rgba(74, 0, 18, 0.7)), 
                      url('images/Gemini_Generated_Image_m51lmfm51lmfm51l.png');
}

.admission-steps { padding: 100px 0; background: #fff; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--light-grey);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover { background: #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.05); }

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 30px;
}

.step-card h3 { color: var(--burgundy); margin-bottom: 15px; font-size: 1.4rem; }
.step-card p { line-height: 1.7; color: #666; font-size: 0.95rem; }

/* --- ADMISSION FLEX (Requirements) --- */
.admission-flex {
    display: flex;
    gap: 60px;
    padding: 100px 0;
    align-items: center;
    flex-wrap: wrap;
}

.req-box { flex: 1.5; min-width: 350px; }
.info-card-burgundy {
    flex: 1;
    background: var(--burgundy);
    color: white;
    padding: 50px;
    border-radius: 20px;
    border-bottom: 8px solid var(--gold);
}

.info-card-burgundy h3 { color: var(--gold); margin-bottom: 20px; font-size: 1.8rem; }
.info-card-burgundy p { line-height: 1.8; margin-bottom: 30px; }

.check-list { list-style: none; margin-top: 30px; }
.check-list li {
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    border-bottom: 1px solid #eee;
}
.check-list i { color: var(--gold); margin-right: 15px; }


/* --- ENTRY REQUIREMENTS GRID --- */
.requirements-section { padding: 100px 0; background: #fff; }

.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.req-item i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.req-item h4 {
    color: var(--burgundy);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.req-item p {
    line-height: 1.7;
    color: #666;
    font-size: 0.95rem;
}

/* --- APPLICATION FORM --- */
.application-form-section {
    padding: 100px 0;
    background: var(--light-grey);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.form-header { text-align: center; margin-bottom: 50px; }
.form-header h2 { color: var(--burgundy); font-size: 2.2rem; margin-bottom: 10px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group { text-align: left; }
.form-group.full-width { grid-column: span 2; }

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: #fdfdfd;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* Mobile Form Fix */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .form-container { padding: 30px 20px; }
}


/* --- CONTACT PAGE SPECIFIC --- */
.contact-bg {
    background-image: linear-gradient(to right, rgba(74, 0, 18, 0.95), rgba(74, 0, 18, 0.7)), 
                      url('https://adunlekaninternationalacademy.org/wp-content/uploads/2022/04/Untitled-1_0.jpg');
}

.contact-section { padding: 120px 0; background: #fff; }

.contact-flex {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-info-column { flex: 1; min-width: 320px; }
.contact-form-column { flex: 1.2; min-width: 350px; }

/* Contact Info Blocks */
.info-card-solid {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--light-grey);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 5px solid var(--gold);
}

.info-icon i {
    font-size: 1.8rem;
    color: var(--burgundy);
}

.info-text h4 {
    color: var(--burgundy);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-text p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Right Side Message Form Container */
.mini-form-container {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.mini-form-container h3 {
    color: var(--burgundy);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.single-form-group {
    text-align: left;
    margin-bottom: 20px;
}

.single-form-group label {
    display: block;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.single-form-group input, .single-form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    background: #fdfdfd;
    transition: var(--transition);
}

.single-form-group input:focus, .single-form-group textarea:focus {
    border-color: var(--gold);
    outline: none;
}

/* Mobile Quick Adjustments */
@media (max-width: 768px) {
    .contact-flex { gap: 50px; }
    .mini-form-container { padding: 30px 20px; }
}





/* --- PREMIUM VARIABLE DEFINITIONS --- */
:root {
    --burgundy: #4a0012;
    --burgundy-light: rgba(74, 0, 18, 0.08);
    --gold: #d4af37;
    --bg-clean: #fcfcfc;
    --pure-white: #ffffff;
    --text-dark: #1c1917;
    --border-light: rgba(74, 0, 18, 0.08);
    --card-curve: 12px;
    --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

.cinematic-body {
    background-color: var(--bg-clean);
    color: var(--text-dark);
}

/* --- HERO ENTRANCE: AUTOMATIC IMAGE SLIDESHOW BACKGROUND --- */
.premium-entrance-hero {
    min-height: 60vh;
    padding: 140px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #000; /* Fallback dark base */
}

.hero-slideshow-deck {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    animation: slideShowEngine 18s infinite linear;
}

/* Configure the 3 slides to blend and fade in sequences sequentially */
.slide-layer:nth-child(1) { animation-delay: 0s; }
.slide-layer:nth-child(2) { animation-delay: 6s; }
.slide-layer:nth-child(3) { animation-delay: 12s; }

@keyframes slideShowEngine {
    0% { opacity: 0; transform: scale(1.08); }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; transform: scale(1.01); }
    100% { opacity: 0; }
}

/* Clean protection screen gradient to keep white font fully legible */
.hero-tint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(74, 0, 18, 0.35), rgba(252, 252, 252, 1));
    z-index: 2;
}

.hero-text-wrap {
    max-width: 800px;
    text-align: center;
    z-index: 5;
    position: relative;
}

.premium-entrance-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--pure-white);
    margin-bottom: 20px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.premium-entrance-hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.animated-accent-pill {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

/* --- AUTONOMOUS SYMMETRICAL GRID ENGINE --- */
.news-journal-wrapper {
    padding: 60px 0 140px;
    background: var(--bg-clean);
}

.journal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.cinematic-news-grid {
    display: grid;
    /* Grid wraps effortlessly as you drop in more news items */
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
}

.journal-card {
    position: relative;
    height: 460px;
    border-radius: var(--card-curve);
    overflow: hidden;
    background: #1c1917;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 12px 35px rgba(74, 0, 18, 0.05);
    border: 1px solid var(--border-light);
}

.journal-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--transition-smooth);
}

.journal-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.98) 15%, rgba(15, 15, 15, 0.3) 60%, transparent);
    transition: background 0.4s ease;
}

.journal-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    text-align: left;
    width: 100%;
}

.journal-badge-tag {
    background: var(--gold);
    color: var(--burgundy);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

.journal-title-text {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: var(--pure-white);
}

.journal-action-btn {
    background: transparent;
    border: none;
    color: var(--gold);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.journal-action-btn::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s var(--transition-smooth);
}

/* HOVER MOTIONS */
.journal-card:hover .journal-card-bg { transform: scale(1.05); }
.journal-card:hover .journal-card-overlay {
    background: linear-gradient(to top, rgba(74, 0, 18, 0.98) 25%, rgba(74, 0, 18, 0.6) 70%, transparent);
}
.journal-card:hover .journal-action-btn::after { width: 100%; }

/* SCROLL ANIMATION NODES */
.scroll-reveal-node {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}
.scroll-reveal-node.node-visible { opacity: 1; transform: translateY(0); }

/* --- SCALE-IN SCREEN REVEAL CURTAIN (MODAL) --- */
.cinema-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--transition-smooth);
}

.cinema-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 0, 18, 0.25);
    backdrop-filter: blur(15px);
}

.cinema-modal-box {
    position: relative;
    z-index: 2;
    background: var(--pure-white);
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(74, 0, 18, 0.2);
    transform: scale(0.92);
    transition: transform 0.4s var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.06);
}

.cinema-modal-scroll {
    max-height: 85vh;
    overflow-y: auto;
}

/* Toggle Classes */
.modal-active { opacity: 1; pointer-events: auto; }
.modal-active .cinema-modal-box { transform: scale(1); }

.cinema-close-trigger {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: var(--pure-white);
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: transform 0.3s;
}
.cinema-close-trigger:hover { transform: rotate(90deg); color: var(--gold); }

.cinema-modal-hero-frame { position: relative; height: 360px; width: 100%; }
.cinema-modal-hero-frame img { width: 100%; height: 100%; object-fit: cover; }

.cinema-hero-tag-block {
    position: absolute;
    bottom: 30px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
}
.cinema-meta-date { font-weight: 700; color: var(--pure-white); font-size: 0.9rem; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }

.cinema-modal-body { padding: 45px 50px; text-align: left; }
#modalTitle { font-size: 2.1rem; color: var(--burgundy); font-weight: 900; line-height: 1.3; margin-bottom: 20px; }
.animated-growth-bar { width: 50px; height: 3px; background: var(--gold); margin-bottom: 25px; }
.cinema-prose-lines { font-size: 1.05rem; line-height: 1.8; color: var(--text-dark); }

/* --- RESPONSIVE GRIDS --- */
@media (max-width: 950px) {
    .cinematic-news-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 25px; }
    .journal-card { height: 420px; }
    .journal-card-content { padding: 30px 20px; }
    .premium-entrance-hero h1 { font-size: 2.6rem; }
    .cinema-modal-body { padding: 35px 20px; }
    #modalTitle { font-size: 1.5rem; }
    .cinema-modal-hero-frame { height: 220px; }
}





/* ==========================================================================
   TOTAL STANDARD COLLEGE - DYNAMIC BRANDED GALLERY
   ========================================================================== */

:root {
    --burgundy: #4a0012;
    --gold: #d4af37;
    --bg-clean: #fafafa;
    --pure-white: #ffffff;
    --text-dark: #222222;
    --text-muted: #666666;
    --border-line: #eaeaea;
    --radius-card: 8px;
    --anim-bezier: cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    background-color: var(--bg-clean);
}

/* --- PREMIUM HERO HEADER BANNER DESIGN --- */
.gallery-hero-header {
    position: relative;
    background: linear-gradient(135deg, rgba(74, 0, 18, 0.95) 0%, rgba(20, 0, 5, 0.9) 100%), 
                url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRMxCIQrtmECAW0ZLgJGDDafQ5iXKnwZsImjg&s') center/cover; /* Falls back to solid corporate gradient smoothly */
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.gallery-hero-header h1 {
    color: var(--gold);
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInDown 0.8s var(--anim-bezier);
}

.gallery-hero-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 25px;
    line-height: 1.6;
    animation: fadeInUp 0.8s var(--anim-bezier) 0.2s backwards;
}

.header-line {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto;
    border-radius: 2px;
    animation: scaleWidth 1s var(--anim-bezier) 0.4s backwards;
}

/* --- EVENT SECTION CONTAINERS LAYOUT --- */
.gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 120px;
}

.event-section {
    background: var(--pure-white);
    padding: 35px;
    border-radius: var(--radius-card);
    box-shadow: 0 8px 30px rgba(74, 0, 18, 0.02);
    border: 1px solid var(--border-line);
    margin-bottom: 50px;
}

/* Event Section Headers styling */
.section-title-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--bg-clean);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title-box h2 {
    color: var(--burgundy);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.section-title-box h2 i {
    color: var(--gold);
    margin-right: 10px;
}

.event-date {
    background: rgba(74, 0, 18, 0.06);
    color: var(--burgundy);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- SYMMETRICAL IMAGE MATRIX GRID --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-line);
    cursor: pointer;
    transition: transform 0.4s var(--anim-bezier), box-shadow 0.4s var(--anim-bezier), border-color 0.4s;
}

/* Advanced Interactive Animations on Card Hover */
.gallery-grid img:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 15px 30px rgba(74, 0, 18, 0.12);
    border-color: var(--gold);
}

/* --- LIGHTBOX OVERLAY SCREEN LAYOUT --- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 5, 6, 0.98);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

#lightbox-img {
    max-width: 85vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    animation: zoomInFrame 0.30s var(--anim-bezier);
}

/* Lightbox UI Elements styling */
.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 3.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
}
.close-btn:hover { color: var(--gold); }

.lightbox-controls {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    pointer-events: none;
}

.lightbox-arrow {
    color: #ffffff;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s;
}
.lightbox-arrow:hover {
    background: var(--gold);
    color: var(--burgundy);
    border-color: var(--gold);
}

.download-btn {
    position: absolute;
    bottom: 40px;
    background-color: var(--gold);
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: all 0.2s;
}
.download-btn:hover { background-color: var(--pure-white); transform: translateY(-1px); }

/* --- CSS ANIMATION DEFINITIONS STAGE --- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleWidth {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
@keyframes zoomInFrame {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- MOBILE PHONE OPTIMIZATION RESPONSIVENESS --- */
@media (max-width: 768px) {
    .gallery-hero-header { padding: 60px 15px; }
    .gallery-hero-header h1 { font-size: 2rem; }
    .gallery-hero-header p { font-size: 0.95rem; }
    
    .event-section { padding: 15px; margin-bottom: 30px; }
    .section-title-box { flex-direction: column; align-items: flex-start; gap: 10px; }
    .section-title-box h2 { font-size: 1.3rem; }
    
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .gallery-grid img { height: 130px; }
    
    #lightbox-img { max-width: 92vw; max-height: 65vh; }
    .lightbox-controls { bottom: 25px; padding: 0 25px; }
    .lightbox-arrow { width: 50px; height: 50px; font-size: 1.7rem; background: rgba(0,0,0,0.7); }
    .close-btn { right: 20px; top: 15px; font-size: 2.8rem; }
    .download-btn { bottom: auto; top: 20px; left: 20px; padding: 10px 18px; font-size: 0.78rem; }

    
}





/* --- UNIQUE TSC PORTAL DESIGN --- */
.tsc-portal-page {
    background: #f0f2f5;
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tsc-portal-card {
    background: white;
    width: 100%;
    max-width: 500px;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.tsc-portal-card h2 { color: #800020; margin-bottom: 30px; font-size: 2rem; }

.tsc-input-group {
    position: relative;
    margin-bottom: 25px;
    text-align: left;
}

/* Floating labels and sleek inputs */
.tsc-input-group select, .tsc-input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    font-size: 1rem;
    transition: 0.3s;
}

.tsc-input-group select:focus, .tsc-input-group input:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.tsc-btn-submit {
    width: 100%;
    padding: 18px;
    background: #800020;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.tsc-btn-submit:hover { background: #5a0016; transform: translateY(-2px); }


/* ==========================================
RESULT PORTAL POPUP
========================================== */

.result-popup-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.75);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999999;
    animation:fadeIn .4s ease;
}

.result-popup{
    width:90%;
    max-width:500px;
    background:#fff;
    border-radius:15px;
    padding:35px 30px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,.3);
    animation:popup .4s ease;
    position: relative;
}

.popup-icon{
    width:80px;
    height:80px;
    margin:auto;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:35px;
    margin-bottom:20px;
}

.result-popup h2{
    color:#7A0026;
    margin-bottom:15px;
    font-size:30px;
}

.result-popup p{
    color:#555;
    line-height:1.8;
    font-size:16px;
}

.popup-buttons{
    margin-top:30px;
}

.check-result-btn{
    display:inline-block;
    background:#7A0026;
    color:#fff;
    text-decoration:none;
    padding:14px 35px;
    border-radius:8px;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.check-result-btn:hover{
    background:#084298;
    transform:translateY(-2px);
}

.close-popup-btn{
    display:block;
    margin:18px auto 0;
    background:none;
    border:none;
    color:#777;
    cursor:pointer;
    font-size:15px;
}

.close-popup-btn:hover{
    color:#000;
}

@keyframes popup{
    from{
        opacity:0;
        transform:translateY(-30px) scale(.9);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

@media(max-width:600px){

    .result-popup{
        padding:30px 20px;
    }

    .result-popup h2{
        font-size:24px;
    }

    .result-popup p{
        font-size:15px;
    }

}

.popup-close{
    position:absolute;
    top:15px;
    right:18px;
    font-size:32px;
    color:#777;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
    line-height:1;
}

.popup-close:hover{
    color:#e63946;
    transform:scale(1.2);
}