@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    /* Palette: #ffffff, #7800ee, #a20784, #ff5757, #5db8a8, #ffc950, #ff914d */
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 50%, #fff5f5 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================
   HEADER
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(120, 0, 238, 0.05);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(120, 0, 238, 0.1);
    z-index: 1200;
    box-shadow: 0 2px 20px rgba(120, 0, 238, 0.05);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(120, 0, 238, 0.2));
}

.header-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #7800ee;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(120, 0, 238, 0.1);
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-contact {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: #4a148c;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #4a148c;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-contact:hover {
    background: rgba(74, 20, 140, 0.1);
    border-color: #38006b;
}

.btn-blog {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: #4a148c;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #4a148c;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-blog:hover {
    background: rgba(74, 20, 140, 0.1);
    border-color: #38006b;
}

.btn-login {
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: #4a148c;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #4a148c;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-login:hover {
    background: rgba(74, 20, 140, 0.1);
    border-color: #38006b;
}

.btn-all-news {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: #4a148c;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #4a148c;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-all-news:hover {
    background: rgba(74, 20, 140, 0.1);
    border-color: #38006b;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
    /* Enhanced Gradient Background */
    background:
        radial-gradient(circle at 15% 15%, rgba(120, 0, 238, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(93, 184, 168, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 15% 85%, rgba(255, 145, 77, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(162, 7, 132, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Dot Texture */
    background-image: radial-gradient(rgba(120, 0, 238, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

/* ==========================================
   TREE CONTAINER & LOGO
   ========================================== */

.tree-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-signature {
    position: absolute;
    bottom: 20px;
    right: 20%;
    font-family: 'Indie Flower', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.5rem;
    color: #6a1b9a;
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 15px;
    border-radius: 15px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 5;
    pointer-events: none;
}

.hero-signature.show {
    opacity: 1;
}

.logo {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 65vh;
    /* Limit height to viewport portion */
    object-fit: contain;
    display: block;
    /* Crayon Watermark Effect */
    opacity: 0.35;
    filter: contrast(1.5) saturate(1.2) blur(0.5px);
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
}

.logo.fade-out {
    opacity: 0;
}

@keyframes logoGlow {

    /* Animation removed for static crayon look */
    0%,
    100% {
        transform: scale(1);
    }
}

/* ==========================================
   NAVIGATION BUBBLES
   ========================================== */

.tree-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bubble {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(120, 0, 238, 0.1) 25%,
            rgba(162, 7, 132, 0.05) 50%,
            rgba(255, 87, 87, 0.05) 75%,
            rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow:
        0 8px 32px rgba(120, 0, 238, 0.15),
        inset -10px -10px 30px rgba(255, 255, 255, 0.3),
        inset 10px 10px 30px rgba(120, 0, 238, 0.05);
    animation: float 4s ease-in-out infinite;
    overflow: hidden;
    text-decoration: none;
}

.bubble-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: -1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    z-index: 2;
}

/* Soap bubble shine effect */
.bubble::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 45%;
    height: 45%;
    background: radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.5) 30%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

/* Secondary smaller shine */
.bubble::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 20%;
    width: 25%;
    height: 25%;
    background: radial-gradient(circle at 50% 50%,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(255, 255, 255, 0.2) 40%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.bubble span {
    font-size: 1.4rem;
    /* Slightly larger for handwritten font */
    font-family: 'Indie Flower', 'Comic Sans MS', cursive, sans-serif;
    font-weight: 700;
    color: #7800ee;
    text-align: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    padding: 0 0.25rem 0.25rem;
    z-index: 2;
}

/* Bubble Positioning */
#bubble-centro {
    top: -5%;
    left: 5%;
    animation-delay: 0s;
}

#bubble-disciplinas {
    top: -5%;
    right: 5%;
    animation-delay: 1s;
}

#bubble-convenios {
    bottom: 10%;
    left: -15%;
    animation-delay: 2s;
}

#bubble-contacto {
    display: none;
    /* Removed from hero */
}

#bubble-novedades {
    bottom: 10%;
    right: -15%;
    animation-delay: 3s;
}

/* Bubble Hover Effects */
.bubble:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(120, 0, 238, 0.2) 25%,
            rgba(162, 7, 132, 0.15) 50%,
            rgba(255, 87, 87, 0.1) 75%,
            rgba(255, 255, 255, 0.5) 100%);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 12px 40px rgba(120, 0, 238, 0.25),
        inset -15px -15px 40px rgba(255, 255, 255, 0.5),
        inset 15px 15px 40px rgba(120, 0, 238, 0.1);
}

.bubble:focus {
    outline: 3px solid rgba(120, 0, 238, 0.6);
    outline-offset: 4px;
}

.bubble:active {
    transform: scale(0.98);
}

/* Float Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ==========================================
   CONTENT SECTIONS
   ========================================== */

.content-section {
    padding: 4rem 2rem;
    backdrop-filter: blur(10px);
}

#el-centro {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(120, 0, 238, 0.1) 100%);
    border-bottom: 1px solid rgba(120, 0, 238, 0.1);
}

#novedades {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(162, 7, 132, 0.1) 50%, rgba(255, 87, 87, 0.1) 100%);
    border-bottom: 1px solid rgba(162, 7, 132, 0.1);
}

#disciplinas {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(93, 184, 168, 0.15) 100%);
    border-bottom: 1px solid rgba(93, 184, 168, 0.1);
}

#convenios {
    background: linear-gradient(135deg, rgba(255, 201, 80, 0.1) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 145, 77, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 201, 80, 0.1);
}

#contacto {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(120, 0, 238, 0.05) 50%, rgba(162, 7, 132, 0.1) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    /* Slightly larger for handwritten font */
    font-family: 'Indie Flower', 'Comic Sans MS', cursive, sans-serif;
    font-weight: 700;
    color: #7800ee;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(120, 0, 238, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.title-icon {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.section-description {
    font-size: 1.1rem;
    color: #a20784;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ==========================================
   CAROUSEL STYLES
   ========================================== */

.carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: visible;
}

/* News Carousel styles mostly inherited from embla-news.css but overrides here if needed */
/* News Carousel styles mostly inherited from embla-news.css but overrides here if needed */

/* ... Skipping unchanged complex news carousel styles, they rely on classes not colors mostly ... */
/* Wait, existing css had many styles here. I should keep them but update colors. */

#newsCarousel .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

#newsCarousel .card-description {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

#newsCarousel .carousel-btn {
    background: rgba(120, 0, 238, 0.1);
    color: #7800ee;
    backdrop-filter: blur(5px);
}

#newsCarousel .carousel-btn:hover {
    background: #7800ee;
    color: white;
}


/* Normal Carousel */
.carousel-inner {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(120, 0, 238, 0.25);
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

.carousel-item.active img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: transparent;
    backdrop-filter: none;
    border: none;
    color: #7800ee;
    font-size: 0;
    /* Hide any text */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: none;
}

.carousel-btn img,
.arrow-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
    /* Show original icon color */
    display: block;
}

.carousel-btn:hover {
    background: transparent;
    transform: translateY(-50%) scale(1.05);
    box-shadow: none;
    border: none;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
    left: -120px;
}

.carousel-btn.next {
    right: -120px;
}

.carousel-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 30px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.indicator.active {
    background: #fff;
    width: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* ==========================================
   CARDS GRID
   ========================================== */

.cards-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(120, 0, 238, 0.15);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(120, 0, 238, 0.25);
}

/* Card images */
.card-image-wrapper {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f3eaff 0%, #ffeefc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card content */
.card-content {
    padding: 1.25rem 1.5rem 1.75rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #7800ee;
    margin: 0 0 0.75rem;
}

.card-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   LOGOS GRID
   ========================================== */

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-item img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

.logo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(120, 0, 238, 0.15);
}

/* ==========================================
   CONTACT FORM
   ========================================== */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(120, 0, 238, 0.15);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #7800ee;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(120, 0, 238, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7800ee;
    background: white;
    box-shadow: 0 0 0 3px rgba(120, 0, 238, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 0.9rem 2rem;
    background: transparent;
    color: #4a148c;
    border: 1px solid #4a148c;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: rgba(74, 20, 140, 0.1);
    border-color: #38006b;
}

.btn-submit:active {
    transform: translateY(0);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: rgba(120, 0, 238, 0.05);
    backdrop-filter: blur(10px);
    color: #7800ee;
    text-align: center;
    padding: 1.5rem;
    width: 100%;
    font-size: 0.9rem;
    border-top: 1px solid rgba(120, 0, 238, 0.15);
    position: relative;
}

.footer p {
    margin: 0;
    font-weight: 500;
}

/* ==========================================
   MODAL STYLES
   ========================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(120, 0, 238, 0.25);
    position: relative;
    animation: slideIn 0.3s ease;
    text-align: center;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-title {
    color: #7800ee;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    margin-bottom: 2rem;
    color: #a20784;
    font-size: 1.1rem;
    line-height: 1.6;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #7800ee;
}

.modal-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    color: #4a148c;
    border: 2px solid #4a148c;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.modal-btn:hover {
    background: rgba(74, 20, 140, 0.1);
    border-color: #38006b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 20, 140, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hamburger menu (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1300;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4a148c;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 200px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px 0 0 16px;
    box-shadow: -4px 4px 20px rgba(120, 0, 238, 0.15);
    padding: 1rem 0;
    z-index: 1250;
    transition: right 0.3s ease;
    border: 1px solid rgba(120, 0, 238, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #4a148c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-item:hover {
    background: rgba(74, 20, 140, 0.1);
    border-left-color: #4a148c;
}

/* Responsive (simplified) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .header {
        padding: 0.5rem 0.8rem;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .header-brand {
        flex-shrink: 1;
        min-width: 0;
    }

    .header-logo {
        height: 45px;
        max-width: 200px;
        object-fit: contain;
    }

    .header-title {
        display: none;
    }

    /* Hide desktop buttons, show hamburger */
    .header-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .tree-container {
        max-width: 600px;
    }

    /* Carousel adjustments */
    .carousel {
        padding: 0;
        max-width: 100%;
    }

    .carousel-inner {
        border-radius: 16px;
        height: 300px;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
    }

    .carousel-btn img,
    .arrow-icon {
        width: 40px;
        height: 40px;
    }

    .carousel-btn.prev {
        left: 10px;
        /* Inside carousel */
    }

    .carousel-btn.next {
        right: 10px;
        /* Inside carousel */
    }




    .hero {
        padding-top: 100px;
        align-items: flex-start;
    }

    .tree-container {
        max-width: 100%;
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

    .tree-menu {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 15px;
        width: 100%;
        height: auto;
        justify-content: center;
        margin-bottom: 20px;
        pointer-events: auto;
    }

    .logo {
        max-width: 100%;
        max-height: 45vh;
        object-fit: contain;
    }

    .bubble {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 110px;
        height: 110px;
        margin: 0;
    }

    .bubble span {
        font-size: 0.7rem;
    }

    .bubble-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 4px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SCROLL TO TOP BUBBLE
   ========================================== */
.bubble-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    /* Inherit glassmorphism from regular bubble but adjusted */
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(120, 0, 238, 0.1) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, transform 0.4s ease;
    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.bubble-scroll-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    animation: float 5s ease-in-out infinite;
}

.bubble-scroll-top .bubble-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 2px;
    filter: none;
    object-fit: contain;
}

.bubble-scroll-top span {
    font-size: 0.7rem;
    color: #7800ee;
    font-weight: bold;
    text-align: center;
    line-height: 1;
}

.bubble-scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(120, 0, 238, 0.3);
}

/* Shine effect */
.bubble-scroll-top::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 60%);
    filter: blur(1px);
    pointer-events: none;
}

@media (max-width: 768px) {
    .bubble-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }
}