/*
Theme Name: Astra Child SISAM
Theme URI: https://amerinst.edu.bo
Description: Tema hijo para la modernización de SISAM Web 3.0.
Author: Antigravity AI
Author URI: https://google.com
Template: astra
Version: 1.0.0
*/

/* --- EDUMA DESIGN SYSTEM TOKENS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #b71c1c;      /* Crimson Red */
    --accent: #d32f2f;       /* Bright Red */
    --secondary: #ffffff;    /* Pure White */
    --dark: #0f172a;         /* Eduma Dark Slate */
    --light: #f8fafc;        /* Soft Slate BG */
    --text: #475569;         /* Neutral slate text */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(183, 28, 28, 0.1);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- TOP HEADER BAR (Eduma Style) --- */
.eduma-top-bar {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eduma-top-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.eduma-top-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.eduma-top-links a,
.top-bar-sisam-btn {
    background: #b71c1c !important;
    color: #ffffff !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 12px rgba(183, 28, 28, 0.4) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.eduma-top-links a:hover,
.top-bar-sisam-btn:hover {
    background: #d32f2f !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 18px rgba(211, 47, 47, 0.6) !important;
}

/* --- MAIN HEADER & NAVIGATION --- */
.eduma-custom-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-block img {
    height: 55px;
    width: auto;
}

.logo-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--text);
    opacity: 0.8;
}

.eduma-custom-nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
}

.eduma-custom-nav ul li {
    position: relative;
}

.eduma-custom-nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 4px;
}

.eduma-custom-nav ul li a:hover {
    color: var(--primary);
    background: rgba(183, 28, 28, 0.05);
}

/* Dropdown styling */
.eduma-custom-nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 6px;
    display: none;
    flex-direction: column;
    min-width: 220px;
    padding: 10px 0;
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 1001;
}

.eduma-custom-nav ul li ul li a {
    display: block;
    padding: 12px 20px;
    border-radius: 0;
}

.eduma-custom-nav ul li ul li a:hover {
    background: rgba(183, 28, 28, 0.05);
    color: var(--primary);
}

.eduma-custom-nav ul li:hover ul {
    display: flex;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 60vh;
    min-height: 420px;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), 
                url('images/amerinst_building_illimani.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero-content,
.hero-card {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    text-align: center;
    opacity: 1 !important;
}

.hero-badge {
    background: var(--primary);
    color: var(--secondary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.3);
}

.hero h1,
.hero h2,
.hero h3,
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-card h1,
.hero-card h2,
.hero-card h3,
.entry-title,
.page-title,
.hero-title,
.ast-archive-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: clamp(2.3rem, 6vw, 4.2rem) !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
    letter-spacing: 1px !important;
    opacity: 1 !important;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.95) !important;
}

.hero p,
.hero-content p,
.hero-card p,
.hero-subtitle {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.15rem, 2.5vw, 1.6rem) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    margin-bottom: 30px !important;
    opacity: 1 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
}

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

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    box-shadow: 0 8px 20px rgba(183, 28, 28, 0.4);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

/* --- OVERLAPPING QUICK LINKS (Eduma Style) --- */
.eduma-features-wrapper {
    max-width: 1200px;
    margin: -60px auto 0;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.eduma-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.eduma-feature-card {
    background: var(--secondary);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.eduma-feature-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--primary);
}

.eduma-feature-card.primary-card {
    background-color: var(--primary);
    color: var(--secondary);
}

.eduma-feature-card.primary-card h3,
.eduma-feature-card.primary-card p {
    color: var(--secondary);
}

.eduma-feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
}

.eduma-feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
}

.eduma-feature-link {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--primary);
    margin-top: auto;
}

.eduma-feature-card.primary-card .eduma-feature-link {
    color: var(--secondary);
}

.eduma-feature-link:hover {
    color: var(--accent);
}

/* --- WELCOME BLOCK --- */
.welcome-section {
    padding: 120px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    align-items: center;
}

.welcome-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.welcome-img img {
    width: 100%;
    display: block;
}

.welcome-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary);
}

.welcome-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.bullet-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.bullet-list li {
    position: relative;
    padding-left: 25px;
    font-weight: 600;
    font-size: 0.95rem;
}

.bullet-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
}

/* --- STATS COUNTER BAR --- */
.stats-bar {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 60px 20px;
    text-align: center;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--secondary) !important;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* --- ACADEMIC LEVELS --- */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--dark);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--primary);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.level-card {
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.level-card:hover {
    transform: translateY(-5px);
}

.level-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.level-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.level-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.level-info p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.level-info .btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* --- EVENTS GRID (Eduma Style) --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--secondary);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-3px);
}

.event-date {
    background-color: rgba(183, 28, 28, 0.08);
    color: var(--primary);
    width: 70px;
    height: 70px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.event-date .day {
    font-size: 1.5rem;
    line-height: 1.1;
}

.event-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.event-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 800;
}

.event-details p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- FOOTER --- */
footer {
    background: var(--dark);
    color: var(--secondary);
    padding: 80px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--secondary);
    border-left: 3px solid var(--primary);
    padding-left: 10px;
}

.footer-col p {
    opacity: 0.7;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    .eduma-custom-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary);
        border-top: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 20px;
        gap: 15px;
    }
    .eduma-custom-nav ul.active {
        display: flex;
    }
    .eduma-custom-nav ul li {
        width: 100%;
    }
    .eduma-custom-nav ul li ul {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        background: transparent;
    }
    .welcome-section {
        grid-template-columns: 1fr;
    }
    .bullet-list {
        grid-template-columns: 1fr;
    }
}

/* --- INTERACTIVE ORGANIGRAMA TREE --- */
.organigrama-section {
    padding: 80px 20px;
    background-color: var(--light);
}

.organigrama-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    gap: 30px;
}

.org-card {
    background: var(--secondary);
    padding: 22px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(183, 28, 28, 0.1);
    text-align: center;
    min-width: 250px;
    transition: var(--transition);
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(183, 28, 28, 0.12);
    border-color: var(--primary);
}

.org-card.root-card {
    background-color: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(183, 28, 28, 0.3);
}

.org-card.root-card h4 {
    color: var(--secondary) !important;
}

.org-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.org-card p {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
    letter-spacing: 1px;
}

.org-card.root-card p {
    color: rgba(255,255,255,0.9);
}

.org-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    width: 100%;
    max-width: 800px;
}

.org-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.org-connector {
    width: 2px;
    height: 35px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

@media (max-width: 992px) {
    .org-row-2, .org-row-4 {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: center;
    }
    .org-connector {
        display: none;
    }
}

/* --- SCROLL ENTRANCE ANIMATIONS --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- SISAM CHATBOT WIDGET --- */
.sisam-chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Outfit', sans-serif;
}

.chatbot-bubble {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--primary, #b71c1c);
    border: 2px solid #ffffff;
    box-shadow: 0 10px 25px rgba(183, 28, 28, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.chatbot-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--accent, #d32f2f);
}

.bubble-icon {
    font-size: 1.8rem;
    color: #ffffff;
}

.bubble-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ffd600;
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 900;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    animation: bubbleBounce 2s infinite;
}

@keyframes bubbleBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.chatbot-window {
    width: 360px;
    height: 480px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(183, 28, 28, 0.15);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 80px;
    right: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: bottom right;
    transform: scale(0.8);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.chatbot-window.open {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.chatbot-header {
    background-color: var(--primary, #b71c1c);
    color: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    border-bottom: 2px solid var(--accent, #d32f2f);
}

.chatbot-header img {
    height: 45px;
    width: 45px;
    background: #ffffff;
    border-radius: 50%;
    padding: 3px;
    object-fit: contain;
}

.header-info h4 {
    margin: 0 !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}

.header-info p {
    margin: 0 !important;
    font-size: 0.75rem !important;
    opacity: 0.9;
}

.chatbot-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.bot-msg {
    background-color: #f1f5f9;
    color: #0f172a;
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.chat-message.user-msg {
    background-color: var(--primary, #b71c1c);
    color: #ffffff;
    align-self: flex-end;
    border-top-right-radius: 4px;
    box-shadow: 0 4px 10px rgba(183, 28, 28, 0.2);
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.chat-opt-btn {
    background: #ffffff;
    border: 1px solid rgba(183, 28, 28, 0.15);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.chat-opt-btn:hover {
    background-color: rgba(183, 28, 28, 0.05);
    border-color: var(--primary, #b71c1c);
    color: var(--primary, #b71c1c);
    transform: translateX(3px);
}

.chat-opt-btn.whatsapp-opt {
    background-color: #25d366 !important;
    color: #ffffff !important;
    border-color: #25d366 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    text-decoration: none !important;
}

.chat-opt-btn.whatsapp-opt:hover {
    background-color: #20ba5a !important;
    transform: scale(1.02) !important;
    color: #ffffff !important;
}

/* --- PREVENCIÓN DE COPIA Y CLONACIÓN GLOBAL --- */
body {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
img {
    pointer-events: none !important;
    -webkit-user-drag: none !important;
    user-drag: none !important;
}

/* --- BANNER DE ALERTA URGENTE --- */
.sisam-alert-banner {
    background: linear-gradient(135deg, #b71c1c, #901414);
    color: #ffffff;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.2);
    z-index: 999;
    position: relative;
    border-bottom: 3px solid #ffb300;
}
.sisam-alert-banner .alert-icon {
    font-size: 1.2rem;
    animation: alert-pulse 1.5s infinite;
}
@keyframes alert-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- SECCIÓN DE COMUNICADOS Y TABLA DE CIRCULARES --- */
.comunicados-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Outfit', sans-serif;
}
.comunicados-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 40px;
}
.comunicados-tab-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #64748b;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}
.comunicados-tab-btn.active, .comunicados-tab-btn:hover {
    color: #b71c1c;
    border-bottom-color: #b71c1c;
}
.circulars-table-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid #f1f5f9;
}
.circulars-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.circulars-table th {
    background-color: #f8fafc;
    color: #1e293b;
    padding: 20px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    border-bottom: 2px solid #f1f5f9;
}
.circulars-table td {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #334155;
}
.circulars-table tr:hover {
    background-color: #f8fafc;
}
.btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #b71c1c;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 0.85rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(183, 28, 28, 0.15);
}
.btn-download-pdf:hover {
    background-color: #901414;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(183, 28, 28, 0.25);
}

/* --- SOCIAL MEDIA FEED GRID MOCK --- */
.social-feed-section {
    background-color: #f8fafc;
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
}
.social-feed-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.social-feed-header {
    text-align: center;
    margin-bottom: 40px;
}
.social-feed-header h2 {
    color: #1e293b;
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}
.social-feed-header p {
    color: #64748b;
    font-size: 1.1rem;
}
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.social-post-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
}
.social-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.social-post-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.social-post-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.social-post-content {
    padding: 20px;
}
.social-post-date {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}
.social-post-text {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.social-post-link {
    color: #b71c1c;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --- YOUTUBE CTA CARD --- */
.youtube-cta-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(183, 28, 28, 0.08);
    border: 1px solid rgba(183, 28, 28, 0.15);
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 15px;
    text-decoration: none !important;
    transition: all 0.3s;
}
.youtube-cta-card:hover {
    background-color: rgba(183, 28, 28, 0.12);
    transform: translateY(-2px);
}
.youtube-cta-card span {
    color: #b71c1c;
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- SISAM BLOG NOTICIAS GRID --- */
.sisam-news-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
    width: 100%;
}
.sisam-news-grid.columns-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.sisam-news-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.sisam-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.sisam-news-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #f1f5f9;
}
.sisam-news-card-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #b71c1c;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}
.sisam-news-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.sisam-news-card-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 10px;
    font-weight: 600;
}
.sisam-news-card-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
}
.sisam-news-card-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}
.sisam-news-card-title a:hover {
    color: #b71c1c;
}
.sisam-news-card-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
.sisam-news-card-link {
    color: #b71c1c;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}
.sisam-news-card-link:hover {
    transform: translateX(5px);
    color: #b71c1c;
}





/* ==========================================================================
   ASTRA SPECIFICITY & RESET OVERRIDES (FORCE FULL-WIDTH & NAVIGATION STYLES)
   ========================================================================== */

#page, .site, .ast-container, #primary, #main, .site-content {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Force Eduma Header Layout */
.eduma-custom-header {
    background: var(--secondary) !important;
    display: block !important;
    width: 100% !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    padding: 15px 0 !important;
    box-shadow: var(--shadow-soft) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.nav-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 20px !important;
}

.logo-block {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.logo-block img {
    height: 55px !important;
    width: auto !important;
    max-height: 55px !important;
    display: block !important;
}

/* Exact Local Header Typography Overrides */
.logo-text h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: #b71c1c !important;
    letter-spacing: 0.5px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: uppercase !important;
}

.logo-text p {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    opacity: 0.85 !important;
    line-height: 1.2 !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
}

/* Force Eduma Navigation layout */
.eduma-custom-nav {
    display: block !important;
}

.eduma-custom-nav, 
.eduma-custom-nav ul, 
.eduma-custom-nav li, 
.eduma-custom-nav a {
    list-style: none !important;
    list-style-type: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.eduma-custom-nav ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 5px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.eduma-custom-nav ul li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.eduma-custom-nav ul li a {
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 700 !important;
    font-size: var(--menu-font-size, 1.05rem) !important;
    color: var(--dark) !important;
    padding: 10px 16px !important;
    background: transparent !important;
    transition: var(--transition) !important;
}

/* Indicador de flecha desplegable para submenús */
.eduma-custom-nav ul li.menu-item-has-children > a::after,
.eduma-custom-nav ul li.page_item_has_children > a::after,
.eduma-custom-nav ul li:has(ul) > a::after {
    content: " ▾" !important;
    font-size: 0.85rem !important;
    margin-left: 6px !important;
    display: inline-block !important;
    color: #b71c1c !important;
    transition: transform 0.3s ease !important;
}

.eduma-custom-nav ul li.menu-item-has-children:hover > a::after,
.eduma-custom-nav ul li.page_item_has_children:hover > a::after,
.eduma-custom-nav ul li:has(ul):hover > a::after {
    transform: rotate(180deg) !important;
}

.eduma-custom-nav ul li a:hover {
    color: var(--primary) !important;
    background: rgba(183, 28, 28, 0.05) !important;
}

/* Dropdown Menu overrides */
.eduma-custom-nav ul li ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: var(--secondary) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-radius: 6px !important;
    display: none !important;
    flex-direction: column !important;
    min-width: 220px !important;
    padding: 10px 0 !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    z-index: 10001 !important;
}

.eduma-custom-nav ul li ul li {
    width: 100% !important;
}

.eduma-custom-nav ul li ul li a {
    display: block !important;
    padding: 12px 20px !important;
    border-radius: 0 !important;
    width: 100% !important;
    text-align: left !important;
}

.eduma-custom-nav ul li:hover ul {
    display: flex !important;
}

/* Force Eduma Top Bar and Alert Banner full-width */
.eduma-top-bar {
    width: 100% !important;
    background-color: var(--dark) !important;
    display: block !important;
}

.sisam-alert-banner {
    width: 100% !important;
    display: block !important;
}


/* ==========================================================================
   GLOBAL EDUMA FOOTER & BRANDING STYLES (PREVENTS LOGO OVERFLOW)
   ========================================================================== */

.site-footer, #colophon {
    display: none !important;
}

.eduma-custom-footer {
    background-color: #0f172a !important;
    color: #ffffff !important;
    padding: 80px 20px 40px !important;
    font-family: 'Outfit', sans-serif !important;
    border-top: 5px solid #d32f2f !important;
    width: 100% !important;
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.footer-grid {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 40px !important;
    box-sizing: border-box !important;
}

.footer-col h4 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    position: relative !important;
    padding-bottom: 10px !important;
}

.footer-col h4::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 50px !important;
    height: 2px !important;
    background-color: #d32f2f !important;
}

.footer-col p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    opacity: 0.85 !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
}

.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-col ul li {
    margin-bottom: 12px !important;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.footer-col ul li a:hover {
    color: #ffffff !important;
    padding-left: 5px !important;
}

.footer-logo {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
}

.footer-logo img {
    height: 55px !important;
    max-height: 55px !important;
    width: 55px !important;
    max-width: 55px !important;
    background-color: #ffffff !important;
    padding: 4px !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    display: block !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

.footer-logo h3 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    margin: 0 !important;
}

.facebook-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background-color: #1877f2 !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.facebook-btn:hover {
    background-color: #166fe5 !important;
    transform: translateY(-2px) !important;
}

.footer-copyright {
    max-width: 1200px !important;
    margin: 40px auto 0 !important;
    padding-top: 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: center !important;
    font-size: 0.85rem !important;
    opacity: 0.6 !important;
    color: #ffffff !important;
}


/* ==========================================================================
   GLOBAL SYSTEM TYPOGRAPHY ENFORCEMENT (COMPLETE SITE AUDIT)
   ========================================================================== */

/* Headings & Section Titles -> Montserrat */
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .section-title h2, .eduma-sec-title h2,
.hero-card h2, .sisam-news-card-title, .footer-col h4, .footer-logo h3,
.hero-content h1, .sisam-alert-banner .alert-text b {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Body Text, Paragraphs & Structural UI -> Outfit */
body, p, span, li, a, label, input, select, textarea, 
.entry-content, .site-content, .eduma-top-bar, .eduma-custom-nav ul li a {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Buttons, Badges, Navigation & Intranet Trigger -> Montserrat */
.btn, .btn-eduma, .badge, .sisam-news-card-tag,
.sisam-intranet-btn, .logo-text h1, .btn-download-pdf,
.comunicados-tab-btn {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}


/* ==========================================================================
   EXPERT-LEVEL EXTREME RESPONSIVE SYSTEM (DESKTOP, TABLETS & MOBILES)
   ========================================================================== */

/* Wrap tabs on all screens so they never overflow */
.comunicados-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
    margin-bottom: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.comunicados-tab-btn {
    flex: 1 1 auto !important;
    min-width: 120px !important;
    text-align: center !important;
}

.circulars-table-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex !important;
        cursor: pointer !important;
        z-index: 100001 !important;
    }
    
    .eduma-custom-nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
        border-bottom: 4px solid #b71c1c !important;
        padding: 10px 0 !important;
        z-index: 100000 !important;
    }
    
    .eduma-custom-nav.active {
        display: block !important;
    }
    
    .eduma-custom-nav ul {
        flex-direction: column !important;
        gap: 0 !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    
    .eduma-custom-nav ul li {
        width: 100% !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    }
    
    .eduma-custom-nav ul li a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
    }
    
    .eduma-custom-nav ul li ul {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: #f8fafc !important;
        padding: 0 !important;
        width: 100% !important;
        display: none !important;
    }

    .eduma-custom-nav ul li.submenu-open > ul,
    .eduma-custom-nav ul li:hover > ul {
        display: flex !important;
    }
    
    .eduma-custom-nav ul li ul li a {
        padding-left: 35px !important;
        font-size: 0.9rem !important;
        color: #475569 !important;
        border-bottom: 1px solid rgba(0,0,0,0.03) !important;
    }
    
    .sisam-intranet-btn {
        display: block !important;
        position: fixed !important;
        right: 0 !important;
        top: 35% !important;
        padding: 12px 8px !important;
        font-size: 0.7rem !important;
        writing-mode: vertical-rl !important;
        text-transform: uppercase !important;
        font-weight: 800 !important;
        letter-spacing: 1px !important;
        border-radius: 8px 0 0 8px !important;
        box-shadow: -4px 0 15px rgba(0,0,0,0.3) !important;
        z-index: 999998 !important;
        background: #b71c1c !important;
        color: #ffffff !important;
    }
}

@media (max-width: 768px) {
    html, body, #page, .site, .site-content {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative !important;
    }

    .eduma-top-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
        padding: 0 10px !important;
    }
    
    .eduma-top-info {
        flex-direction: column !important;
        gap: 6px !important;
        align-items: center !important;
        font-size: 0.8rem !important;
        max-width: 100% !important;
    }

    .eduma-top-info span {
        word-break: break-word !important;
        text-align: center !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
    
    .logo-block img {
        height: 42px !important;
        max-height: 42px !important;
    }
    
    .logo-text h1 {
        font-size: 1.05rem !important;
    }
    
    .logo-text p {
        font-size: 0.62rem !important;
    }
    
    .hero {
        height: auto !important;
        min-height: 380px !important;
        padding: 50px 15px !important;
        background-attachment: scroll !important;
        max-width: 100vw !important;
    }
    
    .sisam-news-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    
    .circulars-table {
        min-width: 550px !important;
    }
    
    .sisam-alert-banner {
        padding: 12px 15px !important;
        font-size: 0.82rem !important;
        text-align: center !important;
        word-break: break-word !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .chatbot-bubble {
        width: 55px !important;
        height: 55px !important;
        bottom: 20px !important;
        right: 15px !important;
    }

    .chatbot-window {
        position: fixed !important;
        bottom: 85px !important;
        right: 15px !important;
        left: 15px !important;
        width: calc(100vw - 30px) !important;
        max-width: 360px !important;
        height: 480px !important;
        max-height: 75vh !important;
        border-radius: 20px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
        margin: 0 auto !important;
        z-index: 2147483647 !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px !important;
    }
    
    .logo-text h1 {
        font-size: 0.9rem !important;
    }
    
    .logo-text p {
        display: none !important;
    }
    
    .hero-content h2 {
        font-size: 1.6rem !important;
    }
    
    .hero-content p {
        font-size: 0.88rem !important;
    }
    
    .btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* --- GLOBAL CHATBOT FLOATING BUBBLE & INTRANET OVERRIDES --- */
html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative !important;
}

/* --- SISAM FLOATING BUTTON (DISCREET ELEGANT TAB) --- */
.sisam-floating-tab {
    position: fixed !important;
    right: 0 !important;
    top: 35% !important;
    background: #b71c1c !important;
    color: #ffffff !important;
    padding: 14px 9px !important;
    writing-mode: vertical-rl !important;
    text-transform: uppercase !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.72rem !important;
    letter-spacing: 1.5px !important;
    border-radius: 8px 0 0 8px !important;
    box-shadow: -4px 0 20px rgba(183, 28, 28, 0.4) !important;
    z-index: 2147483646 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.sisam-floating-tab .tab-icon {
    writing-mode: horizontal-tb !important;
    font-size: 0.95rem !important;
}

.sisam-floating-tab:hover {
    background: #d32f2f !important;
    color: #ffffff !important;
    transform: translateX(-4px) !important;
    box-shadow: -6px 0 25px rgba(211, 47, 47, 0.6) !important;
}

.sisam-chatbot-widget {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 2147483647 !important;
    display: block !important;
}

.chatbot-bubble {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: #b71c1c !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(183, 28, 28, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    position: relative !important;
    transition: transform 0.3s ease !important;
}

.chatbot-bubble:hover {
    transform: scale(1.1) !important;
}

.bubble-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background: #eab308 !important;
    color: #0f172a !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
}
