::-webkit-scrollbar{
	width:20px;
	width:20px;
	border:0px solid transparent;
	border-radius:20px !important;
}
::-webkit-scrollbar-track{
	border-radius:0px;
	background:transparent;
}
::-webkit-scrollbar-thumb{
	border-radius:10px;
	background:#590303;
}


*{
	margin:0;
	padding:0;
}

/* three colours
#125423 green
#cc7e7e light pink
#590303 dark red
font-family: "Poppins", sans-serif;
font-family:Copperplate Gothic Light;
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Poppins:wght@300;400;600&display=swap');

body, html { margin: 0; padding: 0; font-family: 'Poppins', sans-serif; overflow-x: hidden; }

/* Background Video Settings */
.landing { position: relative; width: 100%; min-height: 100vh; }
.video-box { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.video-box video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    z-index: -1; 
}

/* Top Bar Styling */
.top-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1vw 5vw; background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white; font-size: 0.9vw;
}
.top-nav a { color: white; text-decoration: none; margin-left: 20px; font-weight: 600; }

.info-left {
    display: flex;
    gap: 25px;
    align-items: center;
}
.phone-span {
    display: flex;
    align-items: center;
    gap: 8px; /* Icon aur number ke beech gap */
}
.phone-span a {
    margin-left: 0 !important; /* Default margin hatane ke liye */
    color: inherit;
    text-decoration: none;
}

/* Hero Section */
.main-logo { width: 18vw; margin-bottom: 2vw; filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
.est-tag { color: #b58e3e; letter-spacing: 5px; font-weight: 700; }
.main-title { 
    font-size: 5vw; color: white; font-family: 'Playfair Display', serif; 
    font-weight: 900; line-height: 1.1; margin: 1vw 0;
}
.gold-text { color: #ffd700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
.sub-text { color: #ccc; font-size: 1.5vw; font-family: 'Mukta', sans-serif; }

/* The Glass Form */
.premium-form-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 3vw;
    box-shadow: 0 25px 45px rgba(0,0,0,0.5);
    color: white;
}
.premium-form-box h4 { font-weight: 800; letter-spacing: 2px; text-align: center; }
.premium-form-box p { text-align: center; color: #00d2ff; font-size: 0.9vw; margin-bottom: 2vw; }

/* Modern Input Groups */
.input-group { position: relative; margin-bottom: 25px; width: 100%; }
.input-group input, .input-group textarea {
    width: 100%; padding: 10px 0; font-size: 1vw; color: white;
    background: transparent; border: none; border-bottom: 2px solid #555;
    outline: none; transition: 0.3s;
}
.input-group label {
    position: absolute; top: 10px; left: 0; color: #999;
    pointer-events: none; transition: 0.3s;
}
.input-group input:focus ~ label, .input-group input:valid ~ label, .input-group textarea:focus ~ label, .input-group .text-area:valid ~ label{
    top: -15px; font-size: 0.8vw; color: #ffd700 !important;
}
.input-group input:focus { border-bottom: 2px solid #ffd700; }

/* Glowing Button */
.glow-button {
    width: 100%; padding: 12px; border-radius: 50px; border: none;
    background: linear-gradient(45deg, #590303, #b58e3e);
    color: white; font-weight: 700; font-size: 1.1vw;
    cursor: pointer; transition: 0.4s;
    box-shadow: 0 10px 20px rgba(89, 3, 3, 0.4);
}
.glow-button:hover { transform: scale(1.03); box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3); }

/* Social Sidebar */
.social-sidebar { position: fixed; left: 0; top: 30%; z-index: 100; }
.social-sidebar a {
    display: flex; width: 45px; height: 45px; color: white;
    justify-content: center; align-items: center; text-decoration: none;
    font-size: 1.2rem; transition: 0.3s; margin-bottom: 5px;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(5px);
    border-radius: 0 10px 10px 0;
}
.social-sidebar a:hover { width: 60px; padding-left: 10px; }
.social-sidebar .wa { color: #25D366; }
.social-sidebar .ig { color: #E1306C; }



/* ===============================
   TABLET DEVICES (<= 991px)
================================ */
@media (max-width: 991px) {

    .top-nav {
        flex-direction: column;
        gap: 10px;
        font-size: 14px;
        text-align: center;
    }

    .info-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .main-logo {
        width: 30vw;
    }

    .main-title {
        font-size: 7vw;
        text-align: center;
    }

    .sub-text {
        font-size: 2.5vw;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        margin-bottom: 40px;
    }

    .premium-form-box {
        padding: 40px 30px;
    }

    .premium-form-box p {
        font-size: 14px;
    }

    .input-group input,
    .input-group textarea {
        font-size: 14px;
    }

    .glow-button {
        font-size: 14px;
    }
}


/* ===============================
   MOBILE DEVICES (<= 576px)
================================ */
@media (max-width: 576px) {

    .top-nav {
        padding: 12px;
        font-size: 12px;
    }

    .info-right {
        display: none; /* Mobile pe clean look */
    }

    .main-logo {
        width: 55vw;
        margin: auto;
        display: block;
    }

    .est-tag {
        font-size: 12px;
        letter-spacing: 3px;
        text-align: center;
    }

    .main-title {
        font-size: 9vw;
        line-height: 1.2;
        text-align: center;
    }

    .sub-text {
        font-size: 14px;
        text-align: center;
    }

    .premium-form-box {
        border-radius: 20px;
        padding: 30px 20px;
    }

    .premium-form-box h4 {
        font-size: 16px;
    }

    .premium-form-box p {
        font-size: 13px;
    }

    .input-group input,
    .input-group textarea {
        font-size: 13px;
    }

    .input-group label {
        font-size: 12px;
    }

    .glow-button {
        font-size: 14px;
        padding: 12px;
    }

    /* Social Sidebar mobile adjustment */
    .social-sidebar {
        top: auto;
        bottom: 15%;
    }

    .social-sidebar a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* MOBILE VIEW */
@media (max-width: 576px) {

    /* Form container */
    .premium-form-box {
        width: 100%;
        max-width: 92%;
        margin: 0 auto;
        padding: 28px 22px 32px;
        border-radius: 22px;
    }

    /* Input group spacing */
    .input-group {
        margin-bottom: 28px;
    }

    /* Inputs & textarea */
    .input-group input,
    .input-group textarea {
        font-size: 15px;
        padding: 14px 0;
        line-height: 1.4;
        border-bottom-width: 1.5px;
    }

    /* Textarea height fix */
    .input-group textarea {
        min-height: 90px;
        resize: none;
    }

    /* Floating label (placeholder feel) */
    .input-group label {
        font-size: 14px;
        top: 14px;
    }

    /* Floating label when active */
    .input-group input:focus ~ label,
    .input-group input:valid ~ label,
    .input-group textarea:focus ~ label,
    .input-group textarea:valid ~ label {
        top: -10px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    /* Submit button */
    .glow-button {
        font-size: 15px;
        padding: 14px;
        margin-top: 10px;
        border-radius: 45px;
    }
}








/* Second Page Starts From Here */
.second-page {
    padding: 10vw 8vw;
    /* Ek premium soft gradient jo depth create karega */
    background: radial-gradient(circle at top right, #fffcf5 0%, #f7f3f0 100%);
    position: relative;
    overflow: hidden;
}

/* Background Decoration (Ek halka sa watermark effect) */
.second-page::before {
    content: "A";
    position: absolute;
    top: -5vw;
    left: -2vw;
    font-size: 25vw;
    font-weight: 900;
    color: rgba(89, 3, 3, 0.03); /* Bahut halka logo initial */
    font-family: 'serif';
    z-index: 0;
}

.second-page .row1 {
    position: relative;
    z-index: 1; /* Content ko upar rakhne ke liye */
}

/* Typography Enhancements */
.second-page .col1 .head1 {
    color: #b58e3e; /* Metallic Gold tone */
    font-size: 1vw;
    letter-spacing: 5px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.second-page .col1 .head2 {
    color: #2d2d2d;
    font-size: 3.8vw;
    font-family: 'Playfair Display', serif; /* Agar font available ho toh */
    font-weight: 900;
    line-height: 1.1;
}

.second-page .col1 .head2 .highlight {
    color: #590303;
    display: block; /* Aatreya ko next line pe laane ke liye */
}

/* Divider line with a gold touch */
.divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(to right, #590303, #b58e3e);
    margin: 2vw 0;
    border-radius: 2px;
}

.description {
    font-size: 1.15vw;
    color: #4a4a4a;
    line-height: 1.8;
    font-weight: 400;
    border-left: 3px solid #eee; /* Side line for a classic look */
    padding-left: 20px;
}

/* Video Frame: Elegant Glassmorphism */
.video-wrapper {
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.08), 
                -5px -5px 20px rgba(255, 255, 255, 0.5);
    border-radius: 20px;
}

.second-page .row1 .col2 video {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Button: Hover effect upgrade */
.btn-discover {
    margin-top: 3vw;
    padding: 1vw 3vw;
    background: #590303;
    color: #fff;
    border: none;
    border-radius: 4px; /* Boxy look for elite feel */
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(89, 3, 3, 0.3);
}
.btn-discover a{
    color:#fff;
    text-decoration:none;
}
.btn-discover:hover {
    background: #2d2d2d;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* TABLET VIEW */
@media (max-width: 991px) {

    .second-page {
        padding: 12vw 6vw;
    }

    .second-page .col1 {
        margin-bottom: 50px;
    }

    .second-page .col1 .head1 {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .second-page .col1 .head2 {
        font-size: 6vw;
        line-height: 1.15;
    }

    .description {
        font-size: 16px;
        line-height: 1.7;
    }

    .divider {
        margin: 25px 0;
    }

    .btn-discover {
        padding: 12px 35px;
        font-size: 14px;
    }
}


/* MOBILE VIEW */
@media (max-width: 576px) {

    /* Section spacing */
    .second-page {
        padding: 80px 20px;
    }

    /* Background watermark adjust */
    .second-page::before {
        font-size: 45vw;
        top: -10vw;
        left: -5vw;
    }

    /* Stack content nicely */
    .second-page .row1 {
        flex-direction: column;
    }

    /* Headings */
    .second-page .col1 .head1 {
        font-size: 12px;
        letter-spacing: 3px;
        text-align: center;
    }

    .second-page .col1 .head2 {
        font-size: 32px;
        text-align: center;
        line-height: 1.2;
    }

    .second-page .col1 .head2 .highlight {
        display: inline;
    }

    /* Divider center */
    .divider {
        margin: 20px auto;
    }

    /* Description */
    .description {
        font-size: 15px;
        line-height: 1.75;
        padding-left: 15px;
        margin-top: 10px;
    }

    /* Button */
    .btn-discover {
        display: block;
        margin: 35px auto 0;
        padding: 12px 32px;
        font-size: 14px;
    }

    /* Video wrapper */
    .video-wrapper {
        padding: 12px;
        border-radius: 16px;
        box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.08);
    }

    .second-page .row1 .col2 video {
        border-radius: 10px;
    }
}


@media (max-width: 576px) {
    .video-wrapper {
        background: rgba(255,255,255,0.9);
        backdrop-filter: blur(14px);
    }
}





/* Advantage Starts From Here */
.advantage {
    position: relative;
    padding: 100px 0;
    background: #fdfaf7;
    overflow: hidden;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}
.circle-1 { width: 300px; height: 300px; background: rgba(89, 3, 3, 0.05); top: -5%; right: -5%; }
.circle-2 { width: 400px; height: 400px; background: rgba(181, 142, 62, 0.05); bottom: -10%; left: -5%; }

/* Typography */
.text-outline {
    -webkit-text-stroke: 1px #590303;
    color: transparent;
}
.badge-pill {
    display: inline-block;
    padding: 8px 20px;
    background: #590303;
    color: #fff;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* The Glass Cards Layout */
.triad-cards { display: grid; gap: 20px; position: relative; }

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: 0.4s;
}

.triad-2 { margin-left: 50px; background: #fff; border: 1px solid #eee; z-index: 2; }

.glass-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(89, 3, 3, 0.1); }

.card-icon {
    width: 60px;
    height: 60px;
    background: #590303;
    color: white;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}
.card-body a{
    color:rgb(33 37 41);
    text-decoration:none;
}
/* Video Container ko ek decorative frame banaya hai */
.video-container {
    position: relative;
    width: 100%;
    max-width: 380px; 
    margin: 20px auto;
    padding: 15px;
    z-index: 1;
}

/* Video ke peeche ek stylized background block */
.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 2px solid #b58e3e; /* Golden Border */
    border-radius: 30px;
    z-index: -1;
    transform: rotate(-5deg); /* Thoda tida look */
    transition: 0.5s ease;
}

/* Video Styling */
.school-video {
    width: 100%;
    aspect-ratio: 9 / 16; /* Perfect Vertical Ratio */
    object-fit: cover;
    border-radius: 25px;
    border: 5px solid #fff; /* White inner frame */
    box-shadow: 0 20px 50px rgba(89, 3, 3, 0.2); /* Deep shadow */
    transition: transform 0.5s ease;
}

/* Hover Effect: Jab koi mouse le jaye toh frame aur video move karein */
.video-container:hover .school-video {
    transform: scale(1.03) rotate(2deg);
}

.video-container:hover::before {
    transform: rotate(0deg) scale(1.05);
    border-color: #590303; /* Color change on hover */
}

/* Chota decorative element: Top Right corner par */
.video-container::after {
    content: '★';
    position: absolute;
    top: -10px;
    right: 30px;
    font-size: 2rem;
    color: #b58e3e;
    text-shadow: 0 0 10px rgba(181, 142, 62, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Mobile responsive adjustment */
@media (max-width: 576px) {
    .video-container {
        max-width: 280px; /* Mobile pe thoda chota */
    }
}

/* Floating Badge */
.floating-experience {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: #b58e3e;
    padding: 20px;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 15px 30px rgba(181, 142, 62, 0.4);
    z-index: 10;
}

.floating-experience .number { font-size: 2rem; font-weight: 900; display: block; }
.floating-experience .txt { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

/* Custom Swiper Controls */
.nav-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
    background: rgba(0,0,0,0.4);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.custom-arrow { 
    color: white !important; 
    position: static !important; 
    margin: 0 !important;
}
.custom-arrow::after { font-size: 1rem !important; font-weight: 900; }
.swiper-pagination { position: static !important; }


/* TABLET VIEW */
@media (max-width: 991px) {

    .advantage {
        padding: 80px 0;
    }

    .advantage-header {
        text-align: center;
    }

    .advantage-header h2 {
        font-size: 5.5vw;
    }

    .advantage-header .lead {
        font-size: 16px;
    }

    .badge-pill {
        margin: 0 auto 15px;
        display: inline-block;
    }

    .triad-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .glass-card {
        padding: 22px;
        text-align: center;
    }

    .glass-card h5 {
        font-size: 16px;
    }

    .glass-card p {
        font-size: 14px;
    }

    .creative-gallery-frame {
        margin-bottom: 50px;
    }

    .floating-experience {
        transform: scale(0.85);
        bottom: 20px;
        right: 20px;
    }
}


/* MOBILE VIEW */
@media (max-width: 576px) {

    /* Section padding */
    .advantage {
        padding: 70px 0 90px;
    }

    /* Background shapes subtle */
    .bg-shape {
        opacity: 0.25;
        filter: blur(40px);
    }

    /* Header */
    .advantage-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .advantage-header h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .advantage-header .lead {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Badge */
    .badge-pill {
        font-size: 11px;
        padding: 6px 16px;
    }

    /* Triad cards stack */
    .triad-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .glass-card {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 18px 20px;
        border-radius: 18px;
    }

    .glass-card .card-icon {
        color:#590303;
        font-size: 22px;
        min-width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,0.15);
    }

    .glass-card h5 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .glass-card p {
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }


    /* Floating badge */
    .floating-experience {
        padding: 12px 16px;
        border-radius: 14px;
        bottom: 15px;
        right: 15px;
    }

    .floating-experience .number {
        font-size: 20px;
    }

    .floating-experience .txt {
        font-size: 11px;
        line-height: 1.2;
    }
}
/* Advantage Ends From Here */

/* Alumini Section Starts Here */
/* 25 Years Celebration & Alumni Transition Section */
.alumni-invite {
    padding: 100px 0;
    background: #ffffff; /* Ekdum saaf white background */
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Photo Section */
.celebration-box {
    position: relative;
    text-align: center;
}

.celebration-box img {
    max-width: 80%; /* Logo size control */
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(181, 142, 62, 0.3)); /* Golden Glow */
    transition: transform 0.5s ease;
}

.celebration-box:hover img {
    transform: scale(1.05); /* Subtle zoom */
}

/* Content Section */
.alumni-content {
    padding-left: 40px;
}

.alumni-content h6 {
    color: #b58e3e; /* Golden */
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 15px;
}

.alumni-content h2 {
    color: #590303; /* Dark Red */
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.alumni-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Elegant Button */
.btn-alumni-link {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: #590303;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(89, 3, 3, 0.2);
}

.btn-alumni-link i {
    margin-left: 10px;
    transition: 0.3s;
}

.btn-alumni-link:hover {
    background: #b58e3e; /* Gold on hover */
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(181, 142, 62, 0.3);
}

.btn-alumni-link:hover i {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .alumni-content { padding-left: 0; text-align: center; margin-top: 50px; }
    .alumni-content p { margin-left: auto; margin-right: auto; }
}
/* Alumini Section Starts Here */


/* Discipline Section Starts Here */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=Outfit:wght@300;500;700&display=swap');

:root {
    --royal-maroon: #590303;
    --gold-bright: #ffd700;
    --gold-muted: #b8860b;
    --bg-dark: #050505;
}

.coc-section {
    background-color: var(--bg-dark);
    padding: 120px 5%;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
    perspective: 1500px;
}

/* Floating Particles (Pseudo-element) */
.coc-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--gold-bright) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    animation: particlesMove 100s linear infinite;
    pointer-events: none;
}

@keyframes particlesMove {
    from { background-position: 0 0; }
    to { background-position: 500px 1000px; }
}

/* Heading Design */
.header-wrap {
    position: relative;
    z-index: 2;
    margin-bottom: 100px;
    text-align: center;
}

.header-wrap h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: #fff;
    text-transform: uppercase;
    line-height: 0.8;
    letter-spacing: -3px;
}

.header-wrap h2 span {
    display: block;
    background: linear-gradient(to right, var(--gold-bright), var(--gold-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* 3D Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* The Masterpiece Card */
.rule-card {
    background: linear-gradient(145deg, rgba(89, 3, 3, 0.3), rgba(0, 0, 0, 0.6));
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(15px);
}

/* Glossy Overlay */
.rule-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px; /* Border thickness */
    background: linear-gradient(135deg, var(--gold-bright), transparent, var(--gold-muted));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.2;
    transition: 0.5s;
}

/* Hover State */
.rule-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    background: rgba(89, 3, 3, 0.6);
    border-color: var(--gold-bright);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(89, 3, 3, 0.3);
}

.rule-card:hover::before {
    opacity: 1;
}

.rule-card .number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255, 215, 0, 0.05); /* Ghost Number Effect */
    position: absolute;
    top: 20px;
    right: 30px;
    transition: 0.5s;
}

.rule-card:hover .number {
    color: rgba(255, 215, 0, 0.2);
    transform: translateZ(50px);
}

.rule-card h3 {
    color: var(--gold-bright);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    transform: translateZ(40px);
}

.rule-card p {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 300;
    transform: translateZ(30px);
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .header-wrap h2 { font-size: 3rem; }
    .rule-card { padding: 30px; }
}
/* Discipline Section Ends Here */

/* Academics Start */
/* --- ACADEMIC TREE THEME --- */
:root {
    --royal-maroon: #590303;
    --gold: #ffd700;
    --maroon-glass: rgba(89, 3, 3, 0.3);
    --bg-black: #050505;
    --text-muted: #d1d1d1;
}

.academic-tree-section {
    background-color: var(--bg-black);
    padding: 100px 5%;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

/* Heading Style */
.header-wrap {
    border-left: 4px solid var(--gold);
    padding-left: 25px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.header-wrap h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-transform: uppercase;
    margin: 0;
}

.header-wrap h2 span {
    color: var(--gold);
}

.header-desc {
    margin-top: 15px;
    color: var(--text-muted);
}

/* The Vertical Trunk */
.tree-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 60px;
    border-left: 2px solid rgba(255, 215, 0, 0.1);
}

/* Vertical Line Glow */
.tree-container::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.tree-branch {
    position: relative;
    margin-bottom: 80px;
    perspective: 1500px;
}

/* Glowing Gold Dot */
.tree-branch::before {
    content: '';
    position: absolute;
    left: -69px;
    top: 35px;
    width: 18px;
    height: 18px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--gold);
    z-index: 5;
}

/* 3D INTERACTIVE CARDS */
.branch-card {
    background: var(--maroon-glass);
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.1s ease-out, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.branch-card:hover {
    border-color: var(--gold);
    background: var(--royal-maroon);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

/* Layered Depth for 3D Content */
.branch-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 10px;
    transform: translateZ(30px);
}

.branch-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    transform: translateZ(60px);
}

.branch-list {
    list-style: none;
    padding: 0;
    transform: translateZ(40px);
}

.branch-list li {
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.branch-list li::before {
    content: '◈';
    color: var(--gold);
    margin-right: 15px;
}

/* Ghost Numbers in Background */
.branch-card::after {
    content: attr(data-step);
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 6rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    color: rgba(255, 215, 0, 0.03);
    pointer-events: none;
}
/* Academics End */

/* Footer Start */
/* --- ROYAL LIGHT MODE FOOTER --- */

.royal-light-footer {
    background-color: #fcfcfc; /* Premium Off-White */
    position: relative;
    padding-top: 120px;
    color: #333;
    font-family: 'Outfit', sans-serif;
}

/* Maroon Curve on Top */
.light-footer-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.light-footer-curve svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.light-footer-curve .shape-fill {
    fill: #590303; /* Deep Maroon */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

/* Branding Section */
.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #590303; /* Maroon */
    margin-bottom: 15px;
}

.footer-logo span { 
    color: #b8860b; /* Deep Gold for readability on light */
}

.footer-tagline {
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
}

.light-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(89, 3, 3, 0.05);
    border: 1px solid #590303;
    color: #590303;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Links Section */
.footer-links-hub {
    display: flex;
    justify-content: space-between;
}

.link-group h4, .footer-social-pulse h4 {
    color: #590303;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    font-weight: 800;
}

.link-group ul {
    list-style: none;
    padding: 0;
}

.link-group ul li { margin-bottom: 12px; }

.link-group ul li a {
    color: #555;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.link-group ul li a:hover {
    color: #b8860b; /* Gold Hover */
    padding-left: 5px;
}

/* Light Social Buttons */
.pulse-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pulse-btn-light {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    background: #fff;
    border: 1px solid #eee;
    transition: 0.4s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.pulse-btn-light.wa:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    transform: translateY(-3px);
}

.pulse-btn-light.ig:hover {
    background: linear-gradient(45deg, #f09433, #bc1888);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

.pulse-btn-light .icon {
    margin-right: 12px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Bottom Bar */
.footer-bottom-light {
    padding: 40px 0;
}

.gold-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #b8860b, transparent);
    margin-bottom: 30px;
    opacity: 0.2;
}

.copy-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.85rem;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    margin-left: 20px;
}

.legal-links a:hover { color: #590303; }

/* Responsive */
@media (max-width: 900px) {
    .footer-main-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-links-hub { flex-direction: column; gap: 30px; }
}
/* Footer End */














































































/* POP FLOATING CARD */
.campus-popup {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 10000;
    width: 420px;
    background: rgba(15, 15, 15, 0.85); /* Dark Sleek Look */
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 20px;
    border: 1px solid rgba(181, 142, 62, 0.3); /* Gold Border */
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), inset 0 0 15px rgba(181, 142, 62, 0.1);
}

.popup-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.popup-logo-container {
    width: 85px;
    height: 85px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.popup-logo-container img {
    width: 100%;
    object-fit: contain;
}

.popup-text .badge {
    background: #590303;
    color: #fff;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
}

.popup-text h5 {
    color: #b58e3e; /* Gold color */
    font-size: 1.1rem;
    margin: 8px 0 5px 0;
    font-weight: 800;
    line-height: 1.2;
}

.popup-text p {
    color: #ccc;
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.btn-know {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-know:hover {
    color: #b58e3e;
    gap: 12px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.popup-close:hover { color: #fff; }

/* Mobile optimization */
@media (max-width: 500px) {
    .campus-popup { width: 90%; left: 5%; bottom: 20px; }
}
/* POP FLOATING CARD */