/* Global Design System - Maple Valley School of Brilliance */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    /* Rich Palette */
    --primary-solid: #d35400;
    --primary-gradient: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
    --primary-dark: #a04000;

    --accent-solid: #20bf55;
    --accent-gradient: linear-gradient(135deg, #20bf55 0%, #01baef 100%);

    --gold: #f59e0b;
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;

    --bg-light: #f9fafb;
    --bg-white: #ffffff;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-rich: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    color: var(--primary-solid);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Components --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(30, 60, 114, 0.4);
    background: linear-gradient(135deg, #152b52 0%, #2a5298 100%);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-primary:active::after {
    transform: scale(1.5);
    opacity: 0;
    transition: 0s;
}

.btn-accent {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-solid);
}

/* Sections */
section {
    padding: 4rem 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, 0.05);
}

/* Styles for specific sections */

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    /* Reduced padding slightly */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Added gap for spacing */
    text-decoration: none;
    /* Ensure no underline */
}

.logo img {
    height: 60px;
    /* Slightly adjusted to balance with text */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-solid);
    line-height: 1.2;
    text-transform: capitalize;
    /* Or uppercase if preferred, but Title Case looks elegant */
    letter-spacing: 0.5px;
    max-width: 300px;
    /* Prevent wrapping too early */
}

/* Removed old .logo-icon styles as we use img now */

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-solid);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-solid);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-solid);
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background: url('../images/hero-bg-placeholder.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(211, 84, 0, 0.9) 0%, rgba(230, 126, 34, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
    animation: slideInDown 1s ease-out;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 1rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    display: block;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    .logo-text {
        font-size: 1rem;
        max-width: 150px;
        display: block;
        /* Ensure it stays visible but smaller */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    padding: 16px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-md);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-solid);
    color: white;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-md);
}

/* Scroll Reveal Animations - Refined & More Dynamic */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-zoom-in {
    opacity: 0;
    transform: scale(0.85);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom-in.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Fallback for users with JS disabled or if observer fails */
.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-right,
.no-js .reveal-zoom-in {
    opacity: 1;
    transform: none;
}

/* Delay Utils */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* Pulse Animation for CTA */
@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.pulse {
    animation: pulse-white 2s infinite;
}

/* Handled by circular design below */

@keyframes mascot-walk {
    0% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}

.mascot-walking .mascot-image {
    animation: mascot-walk 0.5s ease-in-out infinite !important;
}

.mascot-container:active .mascot-image {
    transform: scale(0.9);
    transition: transform 0.1s;
}

/* --- AI Chatbot Circular Redesign --- */
.mascot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.3);
    border: 4px solid #007bff;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    isolation: isolate;
    right: 30px !important;
    left: auto !important;
    z-index: 9999;
}

.mascot-container:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 51, 153, 0.4);
}

.mascot-image {
    width: 65px;
    height: auto;
    z-index: 2;
    transition: transform 0.3s;
}

/* Curved Text Styles */
.curved-text-svg {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 3;
    animation: rotate-text 10s linear infinite;
}

.curved-text-svg text {
    fill: #007bff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes rotate-text {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Speech Bubble Redesign - Based on Reference */
.speech-bubble {
    position: absolute;
    bottom: -60px;
    /* Positioned below the circle */
    right: 50%;
    transform: translateX(50%);
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    width: auto;
    min-width: 180px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    z-index: 1000;
}

.speech-bubble::after {
    display: none;
    /* Remove triangle for the badge style */
}

/* Show bubble on hover or when chat is closed */
.mascot-container:hover .speech-bubble {
    opacity: 1;
    visibility: visible;
    bottom: -50px;
}

@media (max-width: 768px) {
    .mascot-container {
        width: 80px;
        height: 80px;
        bottom: 20px;
        right: 20px;
    }

    .mascot-image {
        width: 50px;
    }

    .curved-text-svg {
        width: 100px;
        height: 100px;
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes mascot-react {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 35px rgba(0, 123, 255, 0.6);
    }

    100% {
        transform: scale(1);
    }
}

.mascot-reacting {
    animation: mascot-react 0.4s ease-in-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(32, 191, 85, 0.6);
}

.hover-tilt:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateY(-10px);
}

.hover-zoom {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-zoom:hover {
    transform: scale(1.05);
}

/* Floating Admission Bar */
.admission-bar {
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s ease-out;
}

.admission-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.admission-tag {
    background: var(--gold-gradient);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    animation: pulse-gold 2s infinite;
}

.admission-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admission-btn {
    background: white;
    color: var(--primary-solid);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
}

.admission-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.admission-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.admission-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

@media (max-width: 768px) {
    .admission-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .admission-bar {
        position: relative;
        /* Stickiness can be annoying on mobile bars */
    }
}

/* Chatbot UI - Fixed & Improved */
#chatbotWindow {
    position: fixed;
    bottom: 140px;
    /* Above the circular mascot */
    right: 30px;
    width: 320px;
    height: 480px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

#chatbotWindow.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Enable clicks when visible */
}

.chat-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h4 {
    color: white !important;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
    background: rgba(255, 255, 255, 0.5);
}

.message {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
    animation: fadeInUp 0.3s ease-out;
}

.bot-message {
    align-self: flex-start;
    background: white;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.user-message {
    align-self: flex-end;
    background: var(--primary-gradient);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 1rem;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1.5px solid #eee;
    border-radius: 20px;
    outline: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.chat-input:focus {
    border-color: var(--primary-solid);
}

.chat-send {
    background: var(--primary-solid);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-send:hover {
    transform: scale(1.1) rotate(-10deg);
}

/* Typing Indicator */
.typing {
    display: flex;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: transparent !important;
    box-shadow: none !important;
}

.typing span {
    width: 6px;
    height: 6px;
    background: var(--primary-solid);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    #chatbotWindow {
        width: 280px;
        height: 400px;
        bottom: 110px;
    }

    /* =======================================
   GLOBAL MOBILE RESPONSIVE IMPROVEMENTS
======================================= */

    @media (max-width:768px) {

        body {
            overflow-x: hidden;
        }

        .container {
            width: 100%;
            padding: 0 15px;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        .hero {
            min-height: 350px;
            padding: 70px 20px;
        }

        .hero-title {
            font-size: 2rem !important;
            line-height: 1.3;
        }

        .hero-text {
            font-size: 1rem !important;
            line-height: 1.6;
        }

        .section-title {
            font-size: 1.8rem;
        }

        .section-subtitle {
            font-size: 1rem;
        }

        .hero-buttons {
            flex-direction: column;
            align-items: center;
        }

        .btn {
            width: 100%;
            max-width: 280px;
        }

        table {
            display: block;
            overflow-x: auto;
            white-space: nowrap;
        }

        iframe {
            width: 100%;
        }

        .footer-grid {
            grid-template-columns: 1fr;
            text-align: center;
        }

        .logo {
            gap: 8px;
        }

        .logo img {
            height: 45px;
        }

        .logo-text {
            font-size: 14px !important;
            max-width: 160px;
        }

        #chatbotWindow {
            width: 95%;
            left: 2.5%;
            right: 2.5%;
        }
    }

    /* =========================================
   Admissions Form Fix
========================================= */

    .admission-form-card,
    .admission-form-card:hover {
        transform: none !important;
        box-shadow: var(--shadow-md) !important;
        border-color: rgba(0, 0, 0, 0.05) !important;
        transition: none !important;
    }
}