/* Aplicar Inter a todos los elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Excluir íconos de redes sociales de la fuente Inter */
.fab,
.fas,
.fa,
[class^="icon-"],
[class*=" icon-"] {
    font-family: 'Font Awesome 6 Brands', 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'Font Awesome 5 Brands', 'Font Awesome 5 Free', 'Font Awesome 5 Pro', 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'Font Awesome 6 Brands', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    background-color: #f5f5f7;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation Menu */
.navigation {
    display: flex;
    justify-content: center;
    background: #f5f5f7; /* Mismo color de fondo que el body */
    padding: 25px 0;
    position: relative;
    z-index: 0;
    width: 100%;
}

.nav-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 0 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 80px;
}

.nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin: 0;
    padding: 0;
}

.text-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 2.8em;
    text-align: center;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    padding-top: 5px;
}

.nav-icon {
    font-size: 32px;
    color: #503E96;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    margin: 0 0 8px 0;
}

.nav-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-item span {
    font-size: 11px;
    font-weight: 700;
    color: #503E96;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: block;
    padding: 0 2px;
    box-sizing: border-box;
}

/* Hover effects */
@media (hover: hover) and (pointer: fine) {
    .nav-item:hover {
        background: #f5f5f5;
        transform: translateY(-2px);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .navigation {
        padding: 0;
    }
    
    .nav-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        overflow-x: visible;
        padding: 5px 10px;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
    .nav-item {
        min-width: auto;
        width: 100%;
        padding: 5px 5px 8px;
        margin: 0;
        box-sizing: border-box;
    }
    
    .nav-icon {
        height: 24px;
        margin: 0 0 5px 0;
    }
    
    .nav-icon img {
        width: 24px;
        height: 24px;
    }
    
    .nav-item span {
        font-size: 10px;
        line-height: 1.1;
    }
    
    .text-container {
        min-height: 2.2em;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        text-align: center;
        padding-top: 3px;
    }
}
/* Main Navigation */
.main-nav {
    background-color: #503E96;
    color: white;
    padding: 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.nav-item {
    color: white;
    text-decoration: none;
    padding: 16px 20px;
    display: inline-block;
    font-size: 14px;
    transition: background-color 0.3s;
}
.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}
.nav-right {
    display: flex;
}
/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    contain: layout;
}
/* Hero Section */
.hero {
    background: transparent;
    border-radius: 0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: 400px;
    contain: layout;
}
.hero-content {
    flex: 1;
    max-width: 500px;
}
.hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.5;
}
.hero-arrow {
    font-size: 24px;
    opacity: 0.7;
}
.hero-image {
    flex: 0 0 300px;
    margin-left: 40px;
    position: relative;
}
.hero-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}
.hero-grafismo {
    position: absolute;
    top: 0;
    right: -100px;
    width: 450px;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    object-fit: contain;
}
/* Content Grid */
.content-grid {
    margin: 30px 0 20px 0;
}
/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #8BC34A 0%, #4CAF50 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}
.welcome-content {
    position: relative;
    z-index: 2;
}
.welcome-content h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* News Section */
.news-section .section-title {
    margin-bottom: 25px;
}

/* News Carousel */
.news-carousel {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    z-index: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Estilo para los enlaces del carrusel */
.carousel-link {
    display: block;
    cursor: pointer;
    min-height: 44px; /* Asegurar área táctil mínima */
    min-width: 44px; /* Asegurar área táctil mínima */
}

/* Asegura que el cursor sea una mano al pasar sobre cualquier elemento dentro del enlace */
.carousel-link img {
    cursor: pointer;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 44px; /* Tamaño táctil para todos los dispositivos */
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    z-index: 1000;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.carousel-button:active {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(0.95);
}

.carousel-button.prev {
    left: 15px;
    pointer-events: auto;
}

.carousel-button.next {
    right: 15px;
    pointer-events: auto;
}


.carousel-dot {
    /* Tamaño base táctil para todos los dispositivos */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    /* Indicador visual pequeño dentro */
}

.carousel-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-dot.active::before {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.2);
}

.carousel-dots {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 16px; /* Separación táctil */
    z-index: 10;
}

/* Ajuste visual para desktop (opcional) */
@media (min-width: 769px) {
    .carousel-dots {
        gap: 12px; /* Separación más compacta en desktop */
    }

    /* Desktop specific layout optimizations */
    .main-content {
        min-height: 100vh;
        contain: layout;
    }

    .hero {
        height: 400px;
        contain: layout;
    }

    .subjects-grid {
        min-height: 288px;
        contain: layout;
    }
}

.news-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Subjects Grid */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    min-height: 288px; /* Reserve space to prevent layout shift */
    contain: layout;
}
.subject-card {
    background: white;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    width: 266px;
    height: 268px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.subject-card:hover {
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.3);
}
.subject-icon {
    width: 100%;
    max-width: 260px;
    height: 210px;
    border-radius: 12px;
    margin: 0 auto 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    aspect-ratio: 260/210; /* Maintain aspect ratio */
    font-weight: bold;
    overflow: hidden;
    padding: 0;
}
.subject-icon.arte {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}
.subject-icon.ciencias {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}
.subject-icon.educacao-fisica {
    background: linear-gradient(135deg, #45B7D1, #2196F3);
}
.subject-icon.geografia {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}
.subject-icon.historia {
    background: linear-gradient(135deg, #6C5CE7, #A29BFE);
}
.subject-icon.lingua-inglesa {
    background: linear-gradient(135deg, #FD79A8, #E84393);
}
.subject-icon.lingua-portuguesa {
    background: linear-gradient(135deg, #00B894, #00CEC9);
}
.subject-icon.matematica {
    background: linear-gradient(135deg, #FDCB6E, #E17055);
}
.subject-card h3 {
    font-size: 18px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: 700;
    color: #6B46C1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Arial', sans-serif;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 60px;
    padding: 25px 10px 0 10px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}
/* Widgets */
.widget {
    background: transparent;
    border-radius: 0;
    padding: 0 0 20px 0;
    box-shadow: none;
}
.widget h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}
.green-icon {
    color: #4CAF50;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.youtube-placeholder {
    width: 100%;
    height: 180px;
    background-color: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
    opacity: 1;
}
.play-button {
    color: white;
    font-size: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spotify-widget {
    background-color: #1DB954;
    border-radius: 8px;
    padding: 15px;
    color: white;
    margin-bottom: 20px;
    width: 100%;
    height: 152px;
    opacity: 1;
    box-sizing: border-box;
}
.spotify-content {
    display: flex;
    gap: 12px;
}
.spotify-image {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    flex-shrink: 0;
}
.spotify-info {
    flex: 1;
    font-size: 12px;
}
.spotify-title {
    font-weight: 600;
    margin-bottom: 4px;
}
.spotify-artist {
    opacity: 0.8;
    margin-bottom: 8px;
}
.spotify-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.spotify-time {
    font-size: 11px;
    opacity: 0.7;
}
.play-controls {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
}
.play-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.calendar-widget {
    width: 100%;
    height: 155px;
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.access-btn {
    background-color: #6B46C1;
    color: white;
    border: none;
    padding: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    height: 91px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.access-btn:hover {
    background-color: #553C9A;
}
/* News Section */
.news-section {
    margin: 40px 0;
}
.news-placeholder {
    width: 100%;
    height: 200px;
    background-color: #e5e5e7;
    border-radius: 12px;
    border: 2px dashed #ccc;
    margin-top: 20px;
}
/* Footer */
.footer {
    background: #b19cd9;
    color: white;
    padding: 20px 0 0;
    margin-top: 0;
    width: 100%;
    z-index: 1000;
    position: relative;
    font-size: 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 20px;
    padding: 0 20px;
    box-sizing: border-box;
}
.footer-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    justify-content: flex-start;
}

.footer-social {
    justify-content: center;
}

.footer-back-to-top {
    justify-content: flex-end;
}
.footer-logo img {
    max-width: 110px;
    height: auto;
}
.footer-logo span:first-child {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Footer text styles */
.footer {
    font-size: 12px;
}

/* Ensure social media icons are not affected by the footer font size */
.social-icons i,
.social-icons svg {
    font-size: 16px !important;
}
.footer-subtitle {
    font-size: 10px;
    opacity: 0.8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.footer a {
    color: white;
    text-decoration: none;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons a {
    text-decoration: none;
}
.social-icons i {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: #a794e0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-icons svg.linkedin {
    background-color: #ffffff;
    color: #a794e0;
    fill: #a794e0;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
}
.social-icons svg.facebook {
    background-color: #ffffff;
    color: #4267B2;
    fill: #4267B2;
}
.social-icons svg.instagram {
    background-color: #ffffff;
    color: #C13584;
    fill: #C13584;
}
.social-icons svg.youtube {
    background-color: #ffffff;
    color: #FF0000;
    fill: #FF0000;
}
.social-icons svg:hover, .social-icons i:hover, .social-icons a:hover i {
    transform: translateY(-2px);
    color: #8a70d6;
}
.back-to-top {
    cursor: pointer;
    font-size: 12px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase;
}
.back-to-top:hover {
    opacity: 1;
}
.back-to-top i {
    width: 24px;
    height: 24px;
    font-size: 12px;
    background-color: white;
    color: #b19cd9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}
.footer-bottom {
    background: #96D16F;
    padding: 15px 0;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
}

/* Footer bottom columns */
.footer-bottom-col {
    flex: 1;
    min-width: 200px;
}

.footer-bottom-left {
    text-align: left;
    white-space: nowrap;
}

.footer-bottom-center {
    text-align: center;
}

.footer-bottom-right {
    text-align: right;
}

.footer-bottom-right a {
    margin-left: 15px;
    transition: opacity 0.3s ease;
}

.footer-bottom-right a:hover {
    opacity: 0.8;
}

/* Espaciado entre enlaces del footer */
.footer-bottom-right a:not(:last-child) {
    margin-right: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 0 15px;
    }

    .hero {
        height: auto;
        min-height: 250px;
        margin: 20px 0;
        padding: 20px;
    }

    .hero-image {
        margin-left: 0;
        margin-top: 20px;
        flex: 0 0 200px;
    }

    .subjects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-items: center;
    }

    .subject-card {
        width: 266px;
        height: 268px;
        padding: 15px;
    }

    .subject-icon {
        width: 100%;
        max-width: 260px;
        height: 210px;
        margin: 0 auto 3px;
    }

    .subject-card h3 {
        font-size: 18px;
        padding: 5px 10px 0 10px;
        line-height: 1.2;
        height: 60px;
    }

    .welcome-content h2 {
        font-size: 20px;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .section-title {
        font-size: 18px;
        margin: 20px 0 15px 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

    .footer-right {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    /* Carousel buttons optimized for mobile */
    .carousel-button {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .carousel-button.prev {
        left: 10px;
    }

    .carousel-button.next {
        right: 10px;
    }

    .carousel-button:active {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-50%) scale(0.9);
    }

    .carousel-dots {
        bottom: -10px;
        gap: 12px;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .footer-bottom-col {
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto 2px auto;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .footer-bottom-left {
        margin: 0 auto 0 auto !important;
        padding: 0 10px;
        white-space: normal;
        text-align: center;
    }
    .footer-bottom-right {
        margin: 5px auto 0 auto !important;
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }
    .footer-bottom-right {
        gap: 10px;
    }

    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .main-content {
        padding: 0;
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }
    .hero {
        margin: 0;
        border-radius: 0;
    }

    .hero {
        margin: 0 0 5px 0;
        padding: 10px 0 0 0;
        min-height: auto;
    }

    .subjects-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 0 4px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .subject-card {
        width: 100%;
        height: auto;
        min-height: 180px;
        position: relative;
        margin: 0;
        box-sizing: border-box;
        border-radius: 12px;
        overflow: hidden;
        background: white;
        display: flex;
        flex-direction: column;
    }

    .subject-icon {
        width: 100%;
        height: 140px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .subject-card h3 {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0 8px;
        font-size: 16px;
        text-align: center;
        color: #6B46C1;
        flex-grow: 1;
        min-height: 60px;
    }

    .subject-card h3 {
        font-size: 18px;
        padding: 5px 10px 0 10px;
        line-height: 1.2;
        height: 60px;
    }

    .welcome-content h2 {
        font-size: 18px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }

    .section-title {
        font-size: 16px;
        margin: 15px 0 10px 0;
    }
}

/* WhatsApp Button */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: bottom 0.3s ease;
}

.whatsapp-chat a {
    display: block;
    text-decoration: none;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.whatsapp-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
    opacity: 0.7;
}

/* Agregar ícono de WhatsApp a Font Awesome minimal */
.fa-whatsapp:before {
    content: "\f232";
}

.fab {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands";
    font-weight: 400;
}

.whatsapp-icon i {
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon:hover::before {
    animation-play-state: paused;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-chat {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-icon {
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon i {
        font-size: 24px;
    }
}
