/* =================================
   Variables CSS - Impulsa North
   ================================= */
:root {
    /* Colores de Marca */
    --primary-red: #E31E24;
    --primary-blue: #003F87;
    --secondary-blue: #0066CC;
    --accent-red: #FF4444;
    
    /* Colores Complementarios */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-red) 0%, var(--accent-red) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 63, 135, 0.95) 0%, rgba(227, 30, 36, 0.95) 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    
    /* Tipografía */
    --font-display: 'Bebas Neue', cursive;
    --font-body: 'Montserrat', sans-serif;
    
    /* Espaciado */
    --section-padding: 100px 0;
    --border-radius: 16px;
}

/* =================================
   Reset y Base
   ================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* =================================
   Tipografía
   ================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* =================================
   Utilidades
   ================================= */
.rounded-custom {
    border-radius: var(--border-radius);
}

.section-title {
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--medium-gray);
    font-weight: 400;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1.5rem auto;
    border-radius: 2px;
}

/* =================================
   Navbar
   ================================= */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.logo-nav {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-nav {
    height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--white);
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--dark-gray);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-red);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.btn-contacto {
    background: var(--gradient-primary);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
}

.btn-contacto::after {
    display: none;
}

.btn-contacto:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);
}

/* =================================
   Hero Section
   ================================= */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: url('https://images.unsplash.com/photo-1517935706615-2717063c2225?w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title .highlight {
    color: var(--white);
    display: block;
}

.hero-title .location {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.floating-badge i {
    font-size: 2rem;
    color: var(--primary-red);
}

.floating-badge span {
    font-weight: 700;
    color: var(--primary-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .floating-badge {
        bottom: 10px;
        right: 10px;
        padding: 1rem;
    }
}

/* =================================
   Benefits Section
   ================================= */
.benefits-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(360deg);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* =================================
   Services Section
   ================================= */
.services-section {
    padding: var(--section-padding);
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 0.9;
}

.service-overlay i {
    font-size: 4rem;
    color: var(--white);
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

.service-card:hover .service-overlay i {
    transform: scale(1);
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary-red);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* =================================
   Process Section
   ================================= */
.process-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 40px;
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: 0 2rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--medium-gray);
    margin: 0;
}

@media (max-width: 768px) {
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item::before {
        left: 40px;
        top: 100px;
    }
    
    .timeline-content {
        margin: 1.5rem 0 0 0;
    }
}

/* =================================
   About Section
   ================================= */
.about-section {
    padding: var(--section-padding);
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    box-shadow: var(--shadow-xl);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
}

.about-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-content {
    padding-left: 2rem;
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--medium-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.values-section h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.value-item i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.value-item span {
    color: var(--dark-gray);
}

@media (max-width: 992px) {
    .about-content {
        padding-left: 0;
        margin-top: 3rem;
    }
}

/* =================================
   Testimonials Section
   ================================= */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-image {
    flex-shrink: 0;
}

.testimonial-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-red);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    flex: 1;
}

.quote-icon {
    margin-bottom: 1rem;
}

.quote-icon i {
    font-size: 2.5rem;
    color: var(--primary-red);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--medium-gray);
    margin-bottom: 0.75rem;
}

.stars i {
    color: #FFD700;
    font-size: 1.1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-blue);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-red);
    opacity: 0.5;
}

.carousel-indicators button.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* =================================
   Contact Section
   ================================= */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-info {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    height: 100%;
}

.contact-item {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.contact-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.contact-item a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-top: 0.5rem;
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-item p {
    color: var(--medium-gray);
    margin: 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(227, 30, 36, 0.15);
    outline: none;
}

.contact-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    display: none;
}

.form-message.success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
    display: block;
}

.form-message.error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
    display: block;
}

/* =================================
   Footer
   ================================= */
.footer-section {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 350px;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-red);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* =================================
   Chatbot Styles
   ================================= */
.chatbot {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-height: 600px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.chatbot.active {
    display: flex;
}

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

.chatbot-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.25rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: move;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.chatbot-title {
    flex: 1;
}

.chatbot-title h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.status-online {
    font-size: 0.8rem;
    opacity: 0.9;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    transform: scale(1.1);
}

.chatbot-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 450px;
    background: #F8F9FA;
}

.chatbot-message {
    display: flex;
    margin-bottom: 1.25rem;
    animation: messageSlide 0.3s ease;
}

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

.message-avatar {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar i {
    font-size: 1rem;
    color: var(--white);
}

.message-content {
    flex: 1;
    margin-left: 0.75rem;
}

.message-content p {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    margin: 0;
    box-shadow: var(--shadow-sm);
    line-height: 1.6;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: var(--gradient-secondary);
}

.user-message .message-content {
    margin-left: 0;
    margin-right: 0.75rem;
}

.user-message .message-content p {
    background: var(--primary-blue);
    color: var(--white);
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.quick-reply {
    background: var(--white);
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-reply:hover {
    background: var(--primary-red);
    color: var(--white);
}

.chatbot-footer {
    padding: 1rem;
    border-top: 1px solid #E0E0E0;
    display: flex;
    gap: 0.75rem;
    background: var(--white);
    border-radius: 0 0 20px 20px;
}

#chatbotInput {
    flex: 1;
    border: 2px solid #E0E0E0;
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    outline: none;
    transition: all 0.3s ease;
}

#chatbotInput:focus {
    border-color: var(--primary-red);
}

#chatbotSend {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbotSend:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2s ease-in-out infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: #FF0000;
    border-radius: 50%;
    color: var(--white);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 3px solid var(--white);
}

@media (max-width: 480px) {
    .chatbot {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
    }
    
    .chatbot-toggle {
        right: 20px;
    }
}

/* =================================
   Scroll Animations
   ================================= */
[data-aos] {
    pointer-events: auto;
}

/* =================================
   Responsive Adjustments
   ================================= */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-section {
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
}
