@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette matching reference image */
    --brand-violet: #1d093b;
    --brand-violet-dark: #120526;
    --brand-violet-light: #341464;

    --brand-gold: #cfa846;
    --brand-gold-hover: #b08d35;
    --brand-gold-light: #eadaa2;

    --brand-teal: #13505b;
    --brand-teal-dark: #0b3239;
    --brand-teal-light: #1f7787;

    --bg-cream: #faf7f0;
    --bg-cream-dark: #f0ebd9;
    --white: #ffffff;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Border Radius & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Transition */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    font-family: var(--font-sans) !important;
    background-color: var(--bg-cream) !important;
    color: #2b2b2b !important;
    line-height: 1.6 !important;
    display: block !important;
    height: auto !important;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-violet-light);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-violet);
}

/* Header & Navigation Styles */
.main-header {
    background: var(--brand-violet);
    color: var(--white);
    padding: 5px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--brand-gold);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo-icon-svg {
    width: 40px;
    height: 40px;
    fill: var(--brand-gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    color: var(--brand-gold);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 45px;
    list-style: none;
}

.nav-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: var(--transition);
}

.nav-item a:hover::after,
.nav-item a.active::after {
    width: 100%;
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--brand-gold);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-capsule {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-outline-gold {
    color: var(--brand-gold);
    border: 2px solid var(--brand-gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--brand-gold);
    color: var(--brand-violet);
    box-shadow: 0 0 15px rgba(207, 168, 70, 0.4);
}

.btn-solid-gold {
    background: var(--brand-gold);
    color: var(--brand-violet);
    border: 2px solid var(--brand-gold);
}

.btn-solid-gold:hover {
    background: var(--brand-gold-hover);
    border-color: var(--brand-gold-hover);
    color: var(--white);
    box-shadow: 0 0 15px rgba(207, 168, 70, 0.5);
    transform: translateY(-2px);
}

/* Fixed Visitor Counter in Left Bottom */
.header-visitor {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2000;
    background: rgba(18, 5, 38, 0.9);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--brand-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-gold);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.header-visitor:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--brand-violet-dark);
}

/* Hero Section */
.hero-banner {
    position: relative;
    height: 520px;
    background-image: url('../images/pace-banner.png');
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(29, 9, 59, 0.4) 0%, rgba(18, 5, 38, 0.85) 100%);
    z-index: 1;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 35px auto;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-hero {
    padding: 12px 30px;
    font-size: 0.9rem;
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--brand-violet);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Page Body Container */
.page-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

/* Subtle classic background elements/watermarks mimicking the image */
.page-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 250px;
    height: 100%;
    background-image: radial-gradient(var(--brand-gold-light) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.08;
    pointer-events: none;
}

.page-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 250px;
    height: 100%;
    background-image: radial-gradient(var(--brand-gold-light) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.08;
    pointer-events: none;
}

/* Main Content Column */
.main-column {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Section Header Style */
.section-header {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-violet-dark);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--brand-gold);
}

/* Research & Innovation Cards */
.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.research-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

/* Card 1: Quantum Computing Lab */
.card-quantum {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-cream-dark) 100%);
    border: 2px solid var(--brand-gold-light);
    color: var(--brand-violet-dark);
}

.card-quantum::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 25px;
    width: 90px;
    height: 90px;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 18h4.5a2 2 0 0 0 1.7-1l1.8-3h7a2 2 0 0 0 2-2v-1c0-1.1-.9-2-2-2h-5.5' stroke='rgba(207, 168, 70, 0.35)' stroke-width='1.5'/%3E%3Cpath d='M12.5 2c0 0-2.5 3-2.5 4.5a2.5 2.5 0 0 0 5 0c0-1.5-2.5-4.5-2.5-4.5z' fill='rgba(229, 62, 62, 0.75)' stroke='%23e53e3e' stroke-width='1.5'/%3E%3C/svg%3E"); */
    background-size: contain;
    background-repeat: no-repeat;
}

.card-quantum .card-title {
    color: var(--brand-violet);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.card-quantum .card-text {
    font-size: 0.85rem;
    color: #555;
    font-weight: 400;
}

.card-quantum:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold);
}

/* Card 2: Neuroscience Institute */
.card-neuroscience {
    background: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-dark) 100%);
    color: var(--white);
    border: 2px solid var(--brand-teal-light);
}

.card-neuroscience::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 25px;
    width: 90px;
    height: 90px;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h4.5c1 0 1.8.6 2.2 1.5l1.8 3.5h7.5c1.1 0 2-.9 2-2v-1c0-1.1-.9-2-2-2h-5.5' stroke='rgba(255, 255, 255, 0.25)' stroke-width='1.5'/%3E%3Cpath d='M12.5 2c0 0-2 2.5-2 3.8a2 2 0 0 0 4 0c0-1.3-2-3.8-2-3.8z' fill='rgba(229, 62, 62, 0.85)' stroke='%23e53e3e' stroke-width='1.5'/%3E%3C/svg%3E"); */
    background-size: contain;
    background-repeat: no-repeat;
}

.card-neuroscience .card-title {
    color: var(--brand-gold);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.card-neuroscience .card-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.card-neuroscience:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold);
}

/* Student Voices Section */
.student-voices-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.student-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.student-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-gold-light);
}

.student-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.student-avatar {
    width: 85px;
    height: 85px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--brand-gold);
    padding: 3px;
    background: var(--white);
}

.student-quote-box {
    display: flex;
    flex-direction: column;
}

.student-quote {
    font-style: italic;
    font-size: 0.88rem;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.student-name {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--brand-violet-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar Column */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* News Section */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-left: 4px solid var(--brand-gold);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.news-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-violet-dark);
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-date {
    font-size: 0.72rem;
    color: #777;
    font-weight: 500;
}

.news-thumbnail {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quick-link-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--brand-violet-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.quick-link-card .link-icon {
    font-size: 1.5rem;
    color: var(--brand-gold);
}

.quick-link-card:hover {
    border-color: var(--brand-gold);
    background: var(--brand-violet);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.quick-link-card:hover .link-icon {
    color: var(--white);
}

/* Decorative Compass */
.compass-decorative {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    opacity: 0.6;
    transition: var(--transition);
}

.compass-decorative:hover {
    opacity: 1;
    transform: rotate(30deg);
}

.compass-svg {
    width: 140px;
    height: 140px;
    fill: none;
    stroke: var(--brand-gold);
    stroke-width: 1.5;
}

/* Features Slider Section (Institutes and Marquee) */
.marquee-wrapper {
    background: var(--brand-violet-dark);
    padding: 15px 0;
    overflow: hidden;
    border-top: 3px solid var(--brand-gold);
    border-bottom: 3px solid var(--brand-gold);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-box {
    width: 250px;
    margin: 0 20px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(207, 168, 70, 0.3);
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.marquee-box h3 {
    font-size: 0.85rem;
    color: var(--brand-gold);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marquee-box p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

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

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

/* Footer Section */
.main-footer {
    background: var(--brand-violet);
    color: var(--white);
    padding: 50px 20px 20px 20px;
    border-top: 4px solid var(--brand-gold);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 45px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
}

.footer-brand .logo-title {
    font-size: 1.1rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 350px;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--brand-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--brand-gold);
    padding-left: 4px;
}

.footer-contact-item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-item .material-icons {
    color: var(--brand-gold);
    font-size: 1.1rem;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-icon img {
    width: 20px;
    height: 20px;
}

.footer-social-icon:hover {
    background: var(--brand-gold);
    transform: translateY(-3px);
}

.footer-bottom-bar {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-bar a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-bar a:hover {
    color: var(--brand-gold);
}

/* Form and Popup Custom Theme Overwrites to match academic UI */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 5, 38, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.popup-overlay.active,
.popup-overlay[style*="display: flex"],
.popup-overlay[style*="display:flex"] {
    display: flex !important;
}

.popup-card {
    background: var(--white) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    border: 2px solid var(--brand-gold) !important;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.popup-card .head,
.popup-header {
    background: var(--brand-violet) !important;
    color: var(--white) !important;
    border-bottom: 2px solid var(--brand-gold) !important;
    padding: 15px 25px !important;
    margin: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-card .head h2,
.popup-title {
    font-family: var(--font-serif) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--brand-gold) !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    animation: none !important;
    text-shadow: none !important;
}

.popup-card .head button,
.popup-close {
    background: var(--brand-gold) !important;
    color: var(--brand-violet) !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    width: 32px !important;
    height: 32px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition) !important;
}

.popup-card .head button:hover,
.popup-close:hover {
    background: var(--brand-gold-hover) !important;
    color: var(--white) !important;
    transform: rotate(90deg) !important;
}

.popup-body,
#registration-content,
#admission-content,
#blood-request-content {
    padding: 25px !important;
    overflow-y: auto !important;
    flex: 1 !important;
    background: var(--white) !important;
}

/* Mobile Hamburger Toggle Button */
.mobile-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 9999;
}

.mobile-toggle-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--brand-gold);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-toggle-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle-btn {
        display: flex !important;
    }

    .page-container::before,
    .page-container::after {
        display: none !important;
    }

    .hero-banner {
        height: auto !important;
        min-height: 380px !important;
        padding: 40px 15px !important;
        overflow: hidden !important;
        max-width: 100vw !important;
    }

    .main-header {
        padding: 8px 12px !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .header-container {
        padding: 0 !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .logo-section img {
        height: 48px !important;
        max-width: 120px !important;
        object-fit: contain !important;
    }

    .header-buttons {
        gap: 6px !important;
    }

    .header-visitor {
        display: none !important;
    }

    .btn-capsule {
        padding: 5px 12px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }

    .marquee-wrapper {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    .marquee-box {
        width: 180px !important;
        margin: 0 10px !important;
        padding: 8px 10px !important;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        transform: translateX(100%) !important;
        visibility: hidden !important;
        width: 280px !important;
        height: 100vh !important;
        background: var(--brand-violet-dark) !important;
        border-left: 2px solid var(--brand-gold) !important;
        padding: 100px 30px 30px 30px !important;
        gap: 20px !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s !important;
        z-index: 9998 !important;
        box-shadow: var(--shadow-lg) !important;
        align-items: flex-start !important;
        list-style: none !important;
    }

    .nav-menu.active {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    .nav-item {
        width: 100% !important;
        margin: 0 !important;
    }

    .nav-item a {
        font-size: 1.15rem !important;
        display: block !important;
        width: 100% !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-align: left !important;
    }

    .nav-item a.active {
        color: var(--brand-gold) !important;
        border-bottom-color: var(--brand-gold) !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .btn-hero {
        width: 100% !important;
        max-width: 280px !important;
    }

    .research-grid,
    .student-voices-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-section img {
        height: 40px !important;
        max-width: 100px !important;
    }

    .btn-capsule {
        padding: 4px 8px !important;
        font-size: 0.68rem !important;
    }
}