/* General Setup */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; overflow-x: hidden; }
.container { width: 95%; margin: auto; }

/* Top Bar */
.top-bar { background: #0d9c6c; color: #ffffff; padding: 7px 0; border-bottom: 2px solid #c5a059; font-size: 13px; }
.top-flex { display: flex; justify-content: space-between; align-items: center; }
.top-left { display: flex; gap: 15px; align-items: center; }
.social-links-top a { color: #fff; text-decoration: none; font-size: 14px; }

/* Header Styling */
.main-header { background: linear-gradient(to right, #001f3f, #003366); color: #fff; padding: 20px 0; }
.header-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }

.logo-wrapper { display: flex; align-items: center; gap: 15px; }
.school-logo-img { height: 110px; width: auto; object-fit: contain; }
.school-titles h1 { font-size: 38px; line-height: 1; text-transform: uppercase; }
.school-titles p { color: #c5a059; font-size: 21px; font-weight: bold; }
.school-titles small { font-size: 15px; font-style: italic; opacity: 0.9; }

/* Portal Buttons Settings */
.portal-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-btn { 
    border: 1.5px solid #c5a059; color: #fff; text-decoration: none; 
    padding: 10px 20px; font-size: 13px; border-radius: 4px; 
    text-align: center; background: rgba(255,255,255,0.05); transition: 0.3s;
}
.p-btn:hover { background: #c5a059; color: #000; font-weight: bold; }

/* ZaharaLand Landscape Slider */
.slider-container {
    position: relative;
    width: 100%;            /* Screen ki poori chorai */
    max-width: 900px;       /* Aap ise apni marzi se kam ya zyada kar sakte hain */
    height: 450px;          /* Fix height jo landscape images ke liye best hai */
    margin: 20px auto;
    overflow: hidden;
    border-top: 4px solid #c5a059; /* Aapki golden line */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-wrapper {
    display: flex;
    width: 1000%;           /* 10 images ke liye */
    height: 100%;
    transition: 0.8s ease-in-out;
}

.slide {
    width: 10%;             /* Har slide wrapper ka 10% hissa le rahi hai */
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;       /* 'fill' use karne se image poore box mein khench kar fit ho jayegi */
    display: block;
}

/* Buttons Styling */
.s-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4); /* Halka black background */
    color: #fff;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
}

.next { right: 0; border-radius: 5px 0 0 5px; }
.prev { left: 0; border-radius: 0 5px 5px 0; }
.neon-grid {
    display: grid;
    /* 3 se badal kar 5 columns kar diye */
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px;
    padding: 40px 0;
}

.neon-card {
    background: #ffffff;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.neon-card:hover {
    transform: translateY(-50px); /* Ooper uthne wala effect */
    border-color: #c5a059;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.neon-icon-box {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.neon-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.neon-text {
    font-weight: bold;
    color: #001f3f;
    font-size: 14px;
    text-transform: uppercase;
}
    
    /* Neon Glow aur Back Shadow */
    border: 2px solid #c5a059;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4), 0 10px 20px rgba(0,0,0,0.1);
}

.neon-card:hover {
    transform: translateY(-10px);
    /* Mouse lane par neon glow tez ho jaye */
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.8), 0 15px 30px rgba(0,0,0,0.2);
    border-color: #003366;
}

/* Icons ko bara karne ke liye */
.neon-icon-box {
    width: 120px; /* Pehle se bari image */
    height: 120px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neon-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Image kharab na ho */
}

.neon-text {
    font-weight: 800;
    font-size: 18px;
    color: #001f3f;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Responsive Setting */
@media (max-width: 768px) {
    .neon-card {
        width: 180px; /* Mobile par thora chota square */
        height: 180px;
    }
    .neon-icon-box {
        width: 80px;
        height: 80px;
    }
    .neon-text {
        font-size: 14px;
    }
}
/* =========================================
   Info Board Section (Principal, Highlights, News)
   ========================================= */

.info-board-section {
    padding: 60px 0;
    background-color: #f4f7f6; /* Light grey background for contrast */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.board-flex {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap; /* For responsiveness */
}

/* General Column Styling */
.board-column {
    flex: 1;
    min-width: 320px; /* Minimum width for columns on smaller screens */
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Board Header (Stylish Gold/Dark Blue) */
.board-header {
    background-color: #001f3f; /* Dark Blue */
    color: #ffffff;
    padding: 15px 20px;
    border-bottom: 3px solid #c5a059; /* Gold border */
}

.board-header h2 {
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.board-content {
    padding: 20px;
    flex-grow: 1;
}

/* === 1. Principal Message (Standard Style) === */

.principal-box {
    transition: all 0.3s ease;
}

/* Standard Border for Principal Box */
.style-border {
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.board-contentPrincipal {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.principal-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c5a059; /* Gold border around image */
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

.message-text {
    flex: 1;
}

/* Gold Style for Principal Name (Standard Bold & Black Dotted Underline) */
.style-text-gold {
    font-size: 20px;
    font-weight: 800; /* Simple Bold */
    color: #c5a059; /* Gold Color */
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: underline; /* Standard underline */
    text-decoration-style: dotted; /* Black dotted underline style */
    text-decoration-color: #000; /* Black underline color */
}

.principal-designation {
    font-size: 14px;
    color: #555;
    font-style: italic;
    margin: 0 0 15px 0;
}

.message-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.view-more-link {
    color: #c5a059;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    margin-left: 5px;
}

.view-more-link:hover {
    text-decoration: underline;
}

/* === 2. Important Highlights (Static List) === */

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    font-size: 14px;
    line-height: 1.6;
    color: #003366;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights-list li:last-child {
    border-bottom: none;
}

/* === 3. News & Events (Auto-Scrolling Marquee) === */

.marquee-parent {
    position: relative;
    height: 250px; /* Adjust height based on number of news items */
    overflow: hidden; /* Important to hide text outside the box */
    padding: 0; /* Remove padding for smoother scrolling */
}

.marquee-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    
    /* Continuous Loping Animation: Name, Duration, Timing-Function, Iteration-Count */
    animation: continuousScrollUp 15s linear infinite;
}

/* Duplicate marquee content for a seamless, continuous loop */
.marquee-content::after {
    content: "";
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
}

/* Duplicate news items within marquee content to ensure seamless loop */
/* Add as many news items here to duplicate as needed, ensure total height is consistent */
.marquee-content::after {
    content: var(--news-content-duplicate);
}

/* Define CSS Variable to hold duplicated HTML for seamless loop (This is a simplified approach, adding duplicated HTML directly is often cleaner for complex loops) */
:root {
  --news-content-duplicate: " <div class=\"news-item\"> <span class=\"news-date\">02 Feb 2026</span> <p>Schedule For Submission Of Sport Fee Of All Undergraduate Programs Spring 2026 <span class=\"new-tag\">New</span></p> </div> <div class=\"news-item\"> <span class=\"news-date\">30 Jan 2026</span> <p>Schedule For Submission Of Semester Examination Fee Of Regular Students Of Affiliated Colleges For Undergraduate Program Spring 2026 <span class=\"new-tag\">New</span></p> </div> <div class=\"news-item\"> <span class=\"news-date\">30 Jan 2026</span> <p>Tender Notice: UOH/ADV/112-2026 <span class=\"new-tag\">New</span></p> </div> ";
}

/* Ensure duplicated content height matches initial content height */
.marquee-content::after {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Simplified approach for continuous looping: Add duplicate HTML content directly within marquee-content div in HTML file. If using CSS only, ensure duplicated HTML is robust and height is controlled. A safer way is using JavaScript or direct HTML duplication as described below. */

/* === Direct HTML Duplication for Seamless Loop (Safer & Recommended) === */
/* Instead of CSS pseudo-element duplication, ensure your HTML structure contains duplicated news items: */
/*
<div class="marquee-content" id="news-marquee">
    </div>
*/

/* Adjust animation to loop seamlessly based on duplicated content height */
/* Keyframes for Pure CSS Continuous Vertical Marquee */
@keyframes continuousScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Move contents partially up, ensuring the total duplicated height matches */
}

/* General Tag and Link Styling */
.new-tag {
    background-color: #d9534f; /* Red */
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.view-all {
    color: #c5a059;
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
    text-transform: none;
}

.view-all:hover {
    text-decoration: underline;
}

/* === Mobile Responsiveness === */
@media (max-width: 992px) {
    .board-flex {
        flex-direction: column;
    }
}
/* =========================================
   Info Board Section (Principal Simple View, Continuous News)
   ========================================= */

.info-board-section {
    padding: 60px 0;
    background-color: #f4f7f6; /* Light grey background for contrast */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.board-flex {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap; /* For responsiveness */
}

/* General Column Styling */
.board-column {
    flex: 1;
    min-width: 320px; /* Minimum width for columns on smaller screens */
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Board Header (Stylish Gold/Dark Blue) */
.board-header {
    background-color: #001f3f; /* Dark Blue */
    color: #ffffff;
    padding: 15px 20px;
    border-bottom: 3px solid #c5a059; /* Gold border */
}

.board-header h2 {
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Center-aligned heading for Principal */
.center-heading {
    justify-content: center !important; /* Forces centering of Principal IPS heading */
}

.board-content {
    padding: 20px;
    flex-grow: 1;
}

/* === 1. Simple Principal View (Passport Size Image) === */

.simple-principal-view {
    background: #ffffff;
    border: 1px solid #eee; /* Light standard border */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Soft, subtle shadow */
}

.board-contentPrincipal {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Passport Size Image Area */
.principal-passport-photo {
    flex-shrink: 0;
    width: 130px; /* Width for Passport size look */
    height: 160px; /* Height for Passport size look */
    background-color: #f9f9f9; /* Fallback background */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd; /* Standard frame */
    overflow: hidden; /* Ensures image doesn't bleed out */
}

.principal-simple-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fits image perfectly within passport frame without distortion */
    display: block;
}

.message-text {
    flex: 1;
}

/* Standard Name Styling (Bold & Black Dotted Underline) */
.principal-name-standard {
    font-size: 20px;
    font-weight: bold; /* Simple Bold */
    color: #000; /* Standard Black */
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: underline; /* Basic Underline */
    text-decoration-style: dotted; /* Black Dotted Style */
    text-decoration-color: #000; /* Black Underline Color */
}

.principal-designation {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin: 0 0 15px 0;
}

.message-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.view-more-link {
    color: #c5a059; /* Kept Gold for View More to maintain branding without being neon */
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    margin-left: 5px;
}

.view-more-link:hover {
    text-decoration: underline;
}

/* === 2. Important Highlights (Static List) === */

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    font-size: 14px;
    line-height: 1.6;
    color: #003366;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights-list li:last-child {
    border-bottom: none;
}

/* === 3. News & Events (Auto-Scrolling Continuous Marquee) === */

.marquee-parent {
    position: relative;
    height: 250px; /* Adjust height based on number of news items */
    overflow: hidden; /* Important to hide text outside the box */
    padding: 0; /* Remove padding for smoother scrolling */
}

.marquee-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    
    /* Continuous Loping Animation: Name, Duration, Timing-Function, Iteration-Count */
    /* Hum direct HTML duplication method use karain gay for seamless loop */
    animation: continuousScrollUp 15s linear infinite;
}

/* Pause animation on hover so user can read */
.marquee-parent:hover .marquee-content {
    animation-play-state: paused;
}

.news-item {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-weight: bold;
    color: #888;
    font-size: 12px;
    display: block;
    margin-bottom: 5px;
}

/* Direct HTML Duplication for Seamless Loop (Safer & Recommended) */
/* Keyframes for Pure CSS Continuous Vertical Marquee */
@keyframes continuousScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Move contents partially up, ensuring the total duplicated height matches */
}

/* General Styling for Tags and Links */
.new-tag {
    background-color: #d9534f; /* Red */
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.view-all {
    color: #c5a059;
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
    text-transform: none;
}

.view-all:hover {
    text-decoration: underline;
}

/* === Mobile Responsiveness === */
@media (max-width: 992px) {
    .board-flex {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .board-contentPrincipal {
        flex-direction: column; /* Stacks image on top of text on mobile */
        align-items: center;
        text-align: center;
    }
    
    .principal-passport-photo {
        margin-bottom: 20px;
    }
}
/* --- About Us Stylish Design --- */
.about-ips-final {
    width: 100%;
    padding: 80px 0;
    background-color: #f4f6f9;
}

.about-container-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-header { text-align: center; margin-bottom: 40px; }
.about-header .label { color: #c5a059; font-weight: bold; letter-spacing: 2px; }
.about-header .title { font-size: 32px; color: #0d2244; margin: 10px 0; font-weight: 800; }
.gold-line { width: 70px; height: 4px; background: #c5a059; margin: 0 auto; }

.para-main { text-align: justify; line-height: 1.8; font-size: 17px; color: #444; }
.why-title { text-align: center; color: #0d2244; margin: 40px 0 20px 0; }
.features-box { background: #fafafa; border-left: 5px solid #c5a059; padding: 25px; margin-bottom: 30px; }
.features-box p { text-align: justify; margin-bottom: 10px; font-size: 16px; }

.btn-box { text-align: center; }
.btn-read { display: inline-block; padding: 12px 35px; background: #0d2244; color: white; text-decoration: none; border-radius: 50px; font-weight: bold; transition: 0.3s; }
.btn-read:hover { background: #c5a059; transform: translateY(-3px); }

/* --- Footer & Copyright Strip Styling --- */
.footer-full-fixed {
    background-color: #0d2244;
    color: white;
    padding-top: 70px;
    width: 100%;
}

.footer-inner-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 40px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-box {
    flex: 1;
    min-width: 340px;
    background: rgba(255, 255, 255, 0.04);
    padding: 35px;
    border-radius: 15px;
}

.footer-title { color: #c5a059; font-size: 22px; margin-bottom: 5px; }
.gold-separator { width: 50px; height: 3px; background: #c5a059; margin-bottom: 25px; }

/* Icon Fixes for Layout */
.footer-small-icon {
    width: 22px; 
    height: 22px;
    margin-right: 12px;
    vertical-align: middle;
}

.contact-items { list-style: none; padding: 0; }
.contact-items li { margin-bottom: 18px; display: flex; align-items: center; font-size: 15px; }

.social-mini-img {
    width: 30px; 
    height: 30px;
    margin-right: 15px;
    transition: 0.3s;
}

.social-flex { display: flex; margin-top: 15px; }
.social-mini-img:hover { transform: scale(1.15); }

/* Bottom Copyright Strip Adjustment */
.copyright-bottom-strip {
    margin-top: 60px; /* Space between cards and bottom strip */
    background: #08162b;
    padding: 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-bottom-strip p { font-size: 13px; color: #95a5a6; margin: 0; }
.address-footer-text { font-size: 14px; color: #bdc3c7; text-align: center; margin-top: 15px; }
/* --- Ultra-Stylish Glassmorphism Popup --- */

/* Center the popup perfectly on top of everything */
.popup-glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 22, 43, 0.9); /* Super Dark Blue transparent */
    backdrop-filter: blur(10px); /* Translucent/Glass blur effect */
    display: none; /* Flex via JS */
    justify-content: center;
    align-items: center;
    z-index: 999999; /* Max possible z-index to stay on top */
}

/* Stylish Card Design */
.popup-stylish-card {
    background: rgba(255, 255, 255, 0.05); /* Very slight translucent white */
    width: 90%;
    max-width: 500px;
    border-radius: 25px;
    padding: 50px 40px;
    position: relative;
    text-align: center;
    border: 1px solid rgba(197, 160, 89, 0.3); /* Subtle Gold border */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(197, 160, 89, 0.2); /* Soft Gold lighting */
    animation: stylishFadeIn 0.6s ease-out; /* Smooth entry */
    overflow: hidden; /* For pseudo-elements */
}

/* Smooth entry animation */
@keyframes stylishFadeIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Adding a subtle lighting glow behind the card */
.popup-stylish-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

/* Header Elements */
.admission-tag {
    background: #c5a059;
    color: #0d2244;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.popup-glass-header h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.school-name {
    color: #c5a059;
    font-size: 18px;
    margin-top: 5px;
    font-weight: 600;
}

.gold-gradient-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c5a059, transparent);
    margin: 20px auto 30px auto;
}

/* Body Content */
.urdu-text-stylish {
    font-size: 18px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Ultra-Stylish Button Design */
.stylish-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #c5a059 0%, #a88548 100%);
    color: #0d2244;
    text-decoration: none;
    font-weight: 900;
    border-radius: 50px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(168, 133, 72, 0.4);
    position: relative;
    overflow: hidden;
}

/* Hover shine effect for button */
.stylish-apply-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.stylish-apply-btn:hover::after {
    left: 100%;
}

.stylish-apply-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(168, 133, 72, 0.6), 0 0 15px rgba(197, 160, 89, 0.3);
    color: #ffffff;
    background: #0d2244; /* Dark blue on hover */
}

/* Close Cross Button (Stylish Gold) */
.popup-close-gold {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index: 100001;
    transition: 0.3s;
    line-height: 1;
}

.popup-close-gold:hover {
    color: #c5a059;
    transform: rotate(90deg); /* Stylish rotate effect on hover */
}
/* --- Global Responsive Fix --- */
* { box-sizing: border-box; }

.admission-page-bg {
    background: #0d2244; /* Dark Blue */
    margin: 0;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Taakay scroll ho sakay */
    min-height: 100vh;
}

.form-container-stylish {
    background: rgba(255, 255, 255, 0.05); /* Transparent Look */
    border: 2px solid #c5a059; /* Gold Border */
    border-radius: 15px;
    padding: 25px;
    width: 100%;
    max-width: 800px; /* Computer size limit */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: auto;
}

/* --- Branding --- */
.form-header { text-align: center; margin-bottom: 20px; }
.form-logo { 
    width: 100px; /* Logo size fix */
    height: auto; 
    margin-bottom: 10px; 
}
.school-name { color: #ffffff; font-size: 22px; margin: 5px 0; }
.form-subtitle { color: #c5a059; font-weight: bold; font-size: 14px; margin: 0; }
.gold-line { width: 50px; height: 2px; background: #c5a059; margin: 8px auto; }

/* --- GRID SYSTEM (100% Zoom Fix) --- */
.responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Computer par 2 columns */
    gap: 12px;
    margin-bottom: 12px;
}

/* Mobile & Small Screens (Jab screen choti ho) */
@media (max-width: 600px) {
    .responsive-grid {
        grid-template-columns: 1fr; /* Ek ke niche ek aa jayega */
    }
    .school-name { font-size: 18px; }
}

/* --- Inputs & Textarea --- */
.section-title { 
    color: #c5a059; 
    border-bottom: 1px solid rgba(197, 160, 89, 0.5); 
    margin: 20px 0 12px; 
    font-size: 15px; 
    text-align: left;
}

input, textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: white;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    font-size: 14px;
}

/* --- Dropdown Blue --- */
.blue-list {
    background-color: #3498db !important;
    color: #000000 !important;
    font-weight: bold;
    border: 1px solid #c5a059;
}

.blue-list:hover { background-color: #ffffff !important; }

/* --- Submit Section --- */
.submit-area { text-align: center; margin-top: 25px; }
.royal-submit-btn {
    background: #e3c180;
    color: #0d2244;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.royal-submit-btn:hover { background: #ffffff; }
.form-note { color: rgba(255, 255, 255, 0.5); font-size: 11px; margin-top: 8px; }