/* NotebookLM Inspired Theme */
:root {
    --bg-main: #fcfcfc;
    --bg-surface: #ffffff;
    --bg-elevated: #f5f6f8;
    --text-primary: #1f1f1f;
    --text-secondary: #5f6368;
    --border-color: #e0e0e0;
    --accent-blue: #0b57d0;
    --accent-blue-hover: #0842a0;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Prevent image downloading via drag & drop, and mobile long-press */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -webkit-touch-callout: none; /* iOS Safari/Android Chrome long press */
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header {
    margin-bottom: 48px;
    max-width: 600px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header-center p {
    color: var(--text-secondary);
    font-size: 18px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
    border-radius: 999px;
    /* Pill shape like Google Material */
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.btn-outline:hover {
    background-color: rgba(11, 87, 208, 0.05);
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand-name {
    font-weight: 500;
    font-size: 18px;
    color: var(--text-primary);
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-10px);
    margin-left: 0;
}

.navbar.scrolled .nav-brand-name {
    max-width: 250px;
    opacity: 1;
    transform: translateX(0);
    margin-left: 12px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--bg-surface);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    font-weight: 500;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.uppercase-title {
    font-size: clamp(56px, 8vw, 108px);
    letter-spacing: -0.05em;
    font-weight: 700;
    background: linear-gradient(135deg, #1f1f1f 40%, #5f6368 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 32px;
}

.hero-quote-container {
    position: relative;
    height: 100px;
    margin-bottom: 40px;
}

.quote-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
}

.quote-slide.active {
    opacity: 1;
    visibility: visible;
}

.thought-text {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
    font-style: italic;
}

.thought-author {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 12px;
}

/* CBSE Highlight Section */
.highlight-section {
    background-color: var(--bg-surface);
}

.highlight-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.chip {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(11, 87, 208, 0.1);
    color: var(--accent-blue);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 16px;
}

/* Enhanced Highlight Section */
.highlight-section {
    padding-top: 40px;
}

.highlight-premium-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    background: linear-gradient(135deg, #f8fafd 0%, #ffffff 100%);
    border: 1px solid rgba(11, 87, 208, 0.08);
    border-radius: 48px;
    padding: 80px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

/* Background gradient orb to make it look expensive inside the card */
.highlight-premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(11, 87, 208, 0.04) 0%, transparent 70%);
    z-index: 0;
}

.highlight-info,
.highlight-image-showcase {
    position: relative;
    z-index: 1;
}

.highlight-info h2 {
    font-size: clamp(36px, 4vw, 48px);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.highlight-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.feature-list svg {
    color: var(--accent-blue);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: rgba(11, 87, 208, 0.08);
    /* Soft blue circle background for the check */
    border-radius: 50%;
    padding: 3px;
}

/* 3D Showcase Image */
.highlight-image-showcase {
    position: relative;
    perspective: 1200px;
}

.highlight-carousel {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    box-shadow: 0 40px 100px rgba(11, 87, 208, 0.15);
    transform: rotateY(-12deg) rotateX(6deg) translateZ(0);
    /* 3D Tilt */
    transform-origin: center right;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
}

.highlight-image-showcase:hover .highlight-carousel {
    transform: rotateY(0deg) rotateX(0deg) translateZ(0);
    /* Flatten on hover */
    box-shadow: 0 16px 40px rgba(11, 87, 208, 0.08);
    /* Reduced shadow when hovered/flat */
}

.highlight-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: -32px;
    left: -32px;
    background: #ffffff;
    padding: 18px 28px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
    letter-spacing: -0.01em;
    transform: translateZ(50px);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateZ(50px);
    }

    50% {
        transform: translateY(-16px) translateZ(50px);
    }
}

/* Top Achievers Section */
/* Supreme Apple-style Split-Scroll Achievers Design */
.achievers-section {
    background-color: var(--bg-surface);
    padding: 100px 0;
    overflow: hidden;
}

.achievers-marquee-container {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 20px 0;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
}


.achievers-marquee-track {
    display: flex;
    flex: 0 0 auto;
    gap: 32px;
    width: max-content;
    padding-right: 32px;
    /* Add the missing gap for a perfect loop */
    animation: scrollAchievers 60s linear infinite;
}



@keyframes scrollAchievers {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.achiever-card {
    flex: 0 0 380px;
    background: #ffffff;
    border-radius: 28px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.achiever-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(11, 87, 208, 0.08);
    border-color: rgba(11, 87, 208, 0.1);
}

.achiever-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-elevated);
    border: 1px solid rgba(11, 87, 208, 0.08);
}

.achiever-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
    transition: transform 0.6s ease;
}

.achiever-card:hover .achiever-img-wrapper img {
    transform: scale(1.1);
}

.achiever-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.achiever-score {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: -0.02em;
    line-height: 1;
}

.achiever-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.achiever-exam {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.achiever-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 8px;
}

.achiever-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(11, 87, 208, 0.05);
    color: var(--accent-blue);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}


@media (max-width: 992px) {
    .achievers-split {
        flex-direction: column-reverse;
        /* Put photos on top on mobile */
    }

    .split-text-side {
        width: 100%;
        padding: 40px 5%;
        margin-top: -100px;
        /* Slight overlap magic */
    }

    .split-visual-side {
        width: 100%;
        position: sticky;
        top: 60px;
        height: 60vh;
        z-index: 1;
    }

    .sticky-frame {
        height: 100%;
        top: 0;
    }

    .scroll-student {
        min-height: auto;
        padding: 40px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 32px;
        margin-bottom: 24px;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(255, 255, 255, 1);
        opacity: 0.5;
        /* Mobile overlap active system */
    }

    .scroll-student.active {
        opacity: 1;
    }

    .giant-score {
        font-size: 56px;
    }

    .student-meta h2 {
        font-size: 32px;
    }

    .glass-excellence-badge {
        bottom: auto;
        top: 24px;
        right: 24px;
    }
}

/* Specialized Laboratories NoteBookLM Redesign */
.labs {
    padding-bottom: 96px;
}

.labs-notebook-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    margin-top: 48px;
    align-items: start;
}

.labs-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: fit-content;
}

.lab-tab {
    text-align: left;
    background: transparent;
    border: none;
    padding: 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
}

.lab-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: var(--accent-blue);
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    opacity: 0;
    transition: all 0.3s ease;
}

.lab-tab:hover {
    background: rgba(11, 87, 208, 0.04);
}

.lab-tab.active {
    background: #f0f4f9;
}

.lab-tab.active::before {
    transform: scaleY(1);
    opacity: 1;
}

.lab-tab-title {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.lab-tab.active .lab-tab-title {
    color: var(--accent-blue);
}

.lab-tab-desc {
    display: block;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
}

.labs-content-display {
    background: #ffffff;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    min-height: 600px;
}

.lab-content-pane {
    padding-bottom: 80px;
    margin-bottom: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lab-content-pane:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.lab-text {
    margin-bottom: 36px;
}

.lab-text h3 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.lab-text p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 650px;
}

.lab-bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 16px;
}

.bento-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.bento-2 {
    grid-column: 2;
    grid-row: 1;
}

.bento-3 {
    grid-column: 3;
    grid-row: 1;
}

.bento-4 {
    grid-column: 2;
    grid-row: 2;
}

.bento-5 {
    grid-column: 3;
    grid-row: 2;
}




.lab-bento-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.lab-bento-grid img:hover {
    transform: scale(1.02);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .labs-notebook-layout {
        grid-template-columns: 1fr;
    }

    .labs-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .labs-sidebar::-webkit-scrollbar {
        display: none;
    }

    .lab-tab {
        flex: 0 0 auto;
        width: 260px;
        padding: 20px;
    }

    .lab-tab::before {
        display: none;
    }

    .lab-tab.active {
        box-shadow: inset 0 -4px 0 var(--accent-blue);
    }

    .labs-content-display {
        padding: 32px 24px;
        min-height: auto;
    }

    .lab-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .bento-1 {
        grid-column: 1 / span 2;
        grid-row: 1;
        height: 250px;
    }

    .bento-2,
    .bento-3,
    .bento-4,
    .bento-5 {
        grid-column: auto;
        grid-row: auto;
        height: 150px;
    }

    .lab-text h3 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .lab-bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-1 {
        grid-column: 1;
        grid-row: auto;
        height: 200px;
    }
}

/* Campus Life Gallery */
.campus-life-section {
    background-color: var(--bg-surface);
    padding-bottom: 96px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 24px;
    margin-top: 48px;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    /* Prevent white flashes on hover scale */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0.95;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 24px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.large-item {
    grid-column: span 2;
    grid-row: span 2;
}

.tall-item {
    grid-column: span 1;
    grid-row: span 2;
}

.wide-item {
    grid-column: span 2;
    grid-row: span 1;
}

@media (min-width: 993px) {

    /* Sports Day: Expand width to span 2 columns */
    .gallery-grid .gallery-item:nth-child(2) {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }

    /* Innovation Week: Expand width to span 2 columns */
    .gallery-grid .gallery-item:nth-child(4) {
        grid-column: 3 / 5;
        grid-row: 2 / 3;
    }

    /* Cultural Festival: Moved next to Graduation Ceremony, height/width match Graduation */
    .gallery-grid .gallery-item:nth-child(3) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    /* Graduation Ceremony: Take remaining space on Row 3 */
    .gallery-grid .gallery-item:nth-child(5) {
        grid-column: 3 / 5;
        grid-row: 3 / 4;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        display: flex;
        flex-direction: column;
    }

    .gallery-item {
        height: 250px;
    }
}

/* Testimonials / Marquee Section */
.testimonials-section {
    background-color: #f8fafd;
    /* Very soft Google blue-grey */
    padding: 120px 0;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 40px 0;
    display: flex;
    flex-wrap: nowrap;
}


.marquee-track {
    display: flex;
    flex: 0 0 auto;
    gap: 32px;
    width: max-content;
    padding-right: 32px;
    /* Perfect loop gap */
    animation: scrollMarquee 80s linear infinite;
}



@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.testimonial-card {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    white-space: normal;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(11, 87, 208, 0.08);
    /* Premium faint blue shadow */
    border-color: rgba(11, 87, 208, 0.1);
}

.quote {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    font-style: normal;
    /* Modern minimal text, no italics */
}

.alumni-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 24px;
}

.alumni-profile img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.alumni-profile h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
}

.alumni-profile span {
    font-size: 14px;
    color: var(--text-light);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-info {
    padding: 60px;
    background-color: var(--bg-elevated);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.clickable-item {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 12px;
    padding: 12px;
    margin: -12px 0 20px -12px;
}

.clickable-item:hover {
    transform: translateX(8px);
    background: rgba(11, 87, 208, 0.04);
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-item span {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-form {
    padding: 60px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-stack);
    font-size: 15px;
    transition: all 0.2s ease;
    background: var(--bg-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(11, 87, 208, 0.1);
}

/* Minimal Footer */
.minimal-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-text-container {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 2px;
}

.footer-tagline {
    font-size: 14px;
    color: #888;
    margin-top: 0;
}

.footer-right {
    display: flex;
    gap: 32px;
}

.footer-right a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.footer-right a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 13px;
    color: #9aa0a6;
}

.giant-footer-branding {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 14vw;
    font-weight: 800;
    line-height: 0.75;
    letter-spacing: -0.04em;
    padding-top: 48px;
    padding-bottom: 0px;
    user-select: none;
    pointer-events: auto;
    /* Enable mouse interactions */
    cursor: default;
    white-space: nowrap;
    overflow: visible;
    color: rgba(0, 0, 0, 0.03);
    /* Default faint watermark color */
}

.hover-letter {
    display: inline-block;
    transition: color 0.1s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.2s ease;
}

/* Utils */
.fade-image {
    opacity: 1;
}

.fade-image.fading {
    opacity: 0.3;
}

/* Responsive Styles */
@media (max-width: 1024px) {

    .highlight-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-quote-container {
        height: 130px;
    }
}

@media (max-width: 768px) {

    /* Navbar */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .navbar {
        padding: 16px 20px;
    }

    .logo {
        font-size: 20px;
    }

    /* General Spacing */
    .section {
        padding: 60px 0;
    }

    .section-header h2,
    .section-header-center h2 {
        font-size: 32px;
    }

    .section-header p,
    .section-header-center p {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    /* Hero */
    .hero {
        padding: 120px 20px 60px;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: -1px;
        margin-bottom: 24px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
        margin-bottom: 24px;
    }

    .hero-quote-container {
        height: auto;
        min-height: 120px;
    }

    .thought-text {
        font-size: 18px;
    }

    /* Highlight Section (Morbi 1st) */
    .highlight-info h2 {
        font-size: 32px;
    }

    .highlight-info p {
        font-size: 16px;
    }

    .highlight-premium-card {
        padding: 32px 24px;
        border-radius: 24px;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .highlight-image-showcase {
        height: auto;
        border-radius: 24px;
        margin-top: 8px;
        margin-bottom: 8px;
        position: relative;
    }

    .floating-badge {
        display: flex;
        bottom: -12px;
        left: -12px;
        /* Pull it slightly off the left edge */
        right: auto;
        transform: none;
        /* Removed the absolute centering */
        white-space: nowrap;
        font-size: 11px;
        padding: 8px 16px;
        box-shadow: 0 16px 32px rgba(11, 87, 208, 0.2);
        z-index: 20;
    }

    /* Achievers Marquee Adjustments */
    .achiever-card {
        flex: 0 0 300px;
        padding: 24px;
        border-radius: 20px;
    }

    .achiever-score {
        font-size: 26px;
    }

    .achiever-info h3 {
        font-size: 18px;
    }

    .achiever-img-wrapper {
        width: 100px;
        height: 100px;
        border-radius: 16px;
    }

    .achievers-marquee-container {
        padding: 10px 0;
    }

    .achievers-marquee-track {
        gap: 20px;
    }

    .scroll-student {
        flex: 0 0 85%;
        scroll-snap-align: center;
        min-height: auto;
        padding: 24px;
        display: flex;
        flex-direction: column;
        margin-bottom: 0px;
        background: rgba(255, 255, 255, 0.95);
        /* Glass effect */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 1);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04) !important;
        align-items: flex-start;
        text-align: left;
        opacity: 0.6 !important;
        transition: opacity 0.4s ease, transform 0.4s ease;
        transform: scale(0.95);
    }

    .scroll-student.active {
        opacity: 1 !important;
        transform: scale(1) !important;
        z-index: 2;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08) !important;
    }

    .mobile-student-img {
        display: none !important;
    }

    /* Hide inline image */
    .mobile-excellence-badge {
        display: none !important;
    }

    /* Hide inline badge */

    /* Reveal the visual side badge and ensure it overlaps properly */
    .glass-excellence-badge {
        bottom: auto;
        top: 16px;
        right: 16px;
        font-size: 11px;
        padding: 8px 16px;
        gap: 8px;
        z-index: 30;
    }

    .glass-excellence-badge svg {
        width: 14px;
        height: 14px;
    }

    .mobile-text-padder {
        display: flex;
        flex-direction: column;
        padding: 0;
        align-items: flex-start;
        text-align: left;
    }

    .giant-score {
        font-size: 36px;
        margin-bottom: 12px;
        line-height: 1.1;
        background-image: linear-gradient(135deg, var(--accent-blue), #60a5fa);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        padding: 0;
        word-wrap: break-word;
    }

    .student-meta h2 {
        font-size: 26px;
        margin-bottom: 8px;
        color: var(--text-primary);
        line-height: 1.2;
    }

    .student-meta .exam {
        font-size: 15px;
        margin-bottom: 16px;
        color: var(--text-secondary);
        letter-spacing: normal;
        text-transform: none;
        font-weight: normal;
    }

    .student-meta .desc {
        display: block;
        font-size: 15px;
        line-height: 1.6;
        color: var(--text-secondary);
        max-width: 100%;
    }

    /* Labs Bento */
    .labs-sidebar {
        display: none !important;
    }

    /* Hide tabs entirely on mobile */
    .labs-content-display {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .lab-content-pane {
        padding: 32px 20px;
        border-radius: 24px;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
        margin-bottom: 32px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.04);
    }

    .lab-text h3 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .lab-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    .lab-bento-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 12px;
        margin-top: 24px;
        height: auto !important;
        overflow-x: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .lab-bento-grid img {
        width: 100% !important;
        height: auto;
        border-radius: 16px;
        object-fit: cover;
        flex: none;
        scroll-snap-align: none;
    }

    .bento-1 {
        grid-column: 1 / span 2 !important;
        grid-row: 1 !important;
        height: 180px !important;
    }

    .bento-2,
    .bento-3,
    .bento-4,
    .bento-5 {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 120px !important;
    }

    /* Campus Bento */
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 150px !important;
        height: auto !important;
        gap: 12px !important;
        overflow-x: visible !important;
        scroll-snap-type: none !important;
        padding-bottom: 0 !important;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: none !important;
        width: 100% !important;
        height: 100% !important;
        scroll-snap-align: none !important;
        border-radius: 16px !important;
    }

    /* Retain original grid spans from tablet view */
    .large-item {
        grid-column: span 2 !important;
        grid-row: span 2 !important;
    }

    .tall-item {
        grid-column: span 1 !important;
        grid-row: span 2 !important;
    }

    .wide-item {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    /* Hide 3rd item on mobile and make 2/4 full width */
    .gallery-grid .gallery-item:nth-child(3) {
        display: none !important;
    }

    .gallery-grid .gallery-item:nth-child(2),
    .gallery-grid .gallery-item:nth-child(4) {
        grid-column: span 2 !important;
    }

    .gallery-caption {
        font-size: 14px;
        padding: 12px;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        font-weight: 500;
    }

    /* Alumni Marquee */
    .marquee-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 32px 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        display: flex;
        gap: 0;
        position: relative;
    }

    .marquee-container::-webkit-scrollbar {
        display: none;
    }

    .marquee-track {
        display: flex;
        gap: 20px;
        padding: 0 20px;
        animation: none !important;
    }

    .testimonial-card {
        min-width: 280px;
        width: 85vw;
        flex: 0 0 85vw;
        padding: 32px 24px;
        border-radius: 24px;
        box-shadow: 0 16px 48px rgba(11, 87, 208, 0.08); /* Slightly more prominent shadow on mobile */
        margin: 16px 0;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .testimonial-card .quote {
        font-size: 16px;
        line-height: 1.6;
    }

    .alumni-profile img {
        width: 48px;
        height: 48px;
    }

    .alumni-profile h4 {
        font-size: 16px;
    }

    .alumni-profile span {
        font-size: 13px;
    }

    /* Contact & Footer */
    .contact-info,
    .contact-form {
        padding: 32px 20px;
    }

    .contact-phone-number {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: left;
        align-items: center;
        gap: 32px;
        padding: 48px 20px 16px;
    }

    .footer-left {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .footer-right {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .footer-right a {
        font-size: 14px;
    }

    .footer-brand {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .footer-tagline {
        margin: 0;
        font-size: 14px;
        text-align: left;
    }

    /* Giant Footer Branding */
    .giant-footer-branding {
        font-size: 22vw;
        padding-top: 24px;
        padding-bottom: 24px;
        letter-spacing: -4px;
        line-height: 0.8;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .watermark-space {
        display: block;
        flex-basis: 100%;
        height: 0;
        margin: 0;
    }
}

/* Anti-Print / Anti-PDF Save Protection */
@media print {
    body {
        display: none !important;
    }
    html {
        background-color: black;
    }
}

/* Reduce excessive spacing between consecutive premium card sections (Highlight & Founder's Vision) */
#highlight.highlight-section {
    padding-bottom: 20px;
}
#founder-vision.founder-section {
    padding-top: 20px;
}

/* Founder's / Department Vision Section */
.founder-card-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.founder-info-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 760px;
    width: 100%;
}

.vision-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(11, 87, 208, 0.12) 0%, rgba(11, 87, 208, 0.04) 100%);
    border: 1px solid rgba(11, 87, 208, 0.15);
    border-radius: 24px;
    color: var(--accent-blue);
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(11, 87, 208, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-icon-container:hover {
    transform: scale(1.05) rotate(5deg);
}

.vision-svg-icon {
    width: 36px;
    height: 36px;
}

.founder-info-side h2 {
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.vision-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.founder-info-side p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

.founder-info-side p.highlight-p {
    font-size: 18px;
    font-weight: 500;
    color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(11, 87, 208, 0.04) 0%, rgba(11, 87, 208, 0.01) 100%);
    padding: 20px 24px;
    border-top: 1px solid rgba(11, 87, 208, 0.1);
    border-bottom: 1px solid rgba(11, 87, 208, 0.1);
    margin-top: 12px;
    text-align: center;
}

.founder-signature {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.signature-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    border-radius: 99px;
    opacity: 0.6;
}

.founder-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: 0.02em;
    margin: 0;
}

@media (max-width: 992px) {
    .founder-card-grid {
        padding: 40px 20px;
    }
    .founder-info-side p.highlight-p {
        font-size: 16px;
        padding: 16px 20px;
    }
}