/* --- Global Variables & Reset --- */
:root {
    --primary-color: #0078D4;
    /* Microsoft Blue (example) */
    --secondary-color: #2B88D8;
    /* Another shade of blue */
    --accent-color: #7FBA00;
    /* Accent green (example) */
    --text-color: #333333;
    /* Standard Dark Text */
    --light-bg: #F3F4F6;
    /* Very Light Gray for sections */
    --white: #FFFFFF;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --section-padding: 4rem 1rem;
    --container-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.section-padding {
    padding: var(--section-padding);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    /* Rounded full */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Button Variants */
.btn-primary {
    background-color: var(--secondary-color);
    /* Orange Button */
    color: var(--white);
}

.btn-primary:hover {
    background-color: #bfa002;
    /* Darker Orange */
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Custom styles for hamburger menu icon */
.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: currentColor;
    position: relative;
    transform: rotate(0deg);
    transition: .3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    position: absolute;
    left: 0;
    transition: .3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Transform hamburger icon into an 'X' when active */
.nav-toggle.active .hamburger {
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::before {
    top: 0;
    opacity: 0;
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-90deg);
}

/* Hide mobile navigation menu by default */
.main-nav ul {
    display: none;
}

/* Show navigation menu on large screens and hide hamburger toggle */
@media (min-width: 768px) {
    .main-nav ul {
        display: flex !important;
    }

    .nav-toggle {
        display: none;
    }
}

/* Show mobile navigation menu when active */
.main-nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.main-nav.active ul li {
    width: 100%;
    border-bottom: 1px solid #eee;
}

.main-nav.active ul li a {
    padding: 1rem;
    display: block;
    width: 100%;
    text-align: center;
}

/* Smooth scroll effect for anchor links */
html {
    scroll-behavior: smooth;
}

/* Container for horizontal sliders (phases and services) */
.slider-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #0078D4 #F3F4F6;
    /* Firefox */
}

/* Custom scrollbar style for Webkit browsers (Chrome, Safari) */
.slider-container::-webkit-scrollbar {
    height: 8px;
}

.slider-container::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 10px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: #0078D4;
    border-radius: 10px;
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: #2B88D8;
}

/* Style for each individual item within the slider */
.slide-item {
    display: inline-block;
    white-space: normal;
    /* Allow text to wrap within the item */
    width: 300px;
    /* Fixed width for slider items */
    margin-right: 1.5rem;
    vertical-align: top;
}

/* Ensure the last slide item has no right margin */
.slide-item:last-child {
    margin-right: 0;
}

/* Keyframe animation for fading in and sliding up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply fadeInUp animation to hero section elements with staggered delays */
.hero-content h1 {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-content p {
    animation: fadeInUp 1s ease-out forwards 0.3s;
    opacity: 0;
    /* Hidden initially to allow animation to start */
}

.hero-actions {
    animation: fadeInUp 1s ease-out forwards 0.6s;
    opacity: 0;
    /* Hidden initially to allow animation to start */
}

/* Keyframe animation for a pulse effect */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 120, 212, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(0, 120, 212, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 120, 212, 0);
    }
}

/* Apply pulse animation to "Explora Servicios" button */
.hero-actions .btn-primary {
    animation: pulse 2s infinite;
}

/* Floating Robot button styles and pulse animation */
.robot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1A73E8;
    /* Robot blue */
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: background-color 0.3s ease;
    animation: pulse-robot 2s infinite;
    cursor: pointer;
    /* Indicate it's clickable */
    overflow: hidden;
    /* Ensure image is clipped to circle */
}

.robot-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the area, cropping if necessary */
    border-radius: 50%;
    /* Keep it circular */
}

.robot-button:hover {
    background-color: #2B88D8;
    /* Darker blue on hover */
}

/* Specific pulse animation for Robot button */
@keyframes pulse-robot {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.7);
        /* Using robot_blue for pulse */
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(26, 115, 232, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
}

/* Pulse animation for "Diagnóstico" buttons in header and CTA */
.header-actions .btn,
.cta-section .btn {
    animation: pulse-header 2s infinite;
}

/* Specific pulse animation for header and CTA buttons (using their primary color) */
@keyframes pulse-header {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(216, 163, 2, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(216, 163, 2, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(216, 163, 2, 0);
    }
}

/* Apply fadeInUp animation to service categories */
.service-category {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

/* Apply fadeInUp animation to service cards with staggered delays */
.service-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Delays for individual service card animations */
.services-grid .service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.services-grid .service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.services-grid .service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.services-grid .service-item:nth-child(4) {
    animation-delay: 0.4s;
}

.services-grid .service-item:nth-child(5) {
    animation-delay: 0.5s;
}

.services-grid .service-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Apply fadeInUp animation to pricing cards with staggered delays */
.pricing-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Delays for individual pricing card animations */
.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card:nth-child(4) {
    animation-delay: 0.4s;
}

.pricing-card:nth-child(5) {
    animation-delay: 0.5s;
}

.pricing-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Pulse animation for the "Plan Negocios 1" button (recommended plan) */
.btn-pulse-plan {
    animation: pulse-header 2s infinite;
}

/* Styles for the "Ver más servicios" button */
.toggle-services-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 9999px;
    /* Fully rounded */
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.toggle-services-button:hover {
    background-color: #bfa002;
    transform: translateY(-2px);
    /* Slight lift effect on hover */
}

.toggle-services-button i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.toggle-services-button.active i {
    transform: rotate(180deg);
    /* Rotate arrow when active */
}

/* Styles for the additional services container to allow smooth transition */
.additional-services-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out, opacity 0.7s ease-in-out;
    padding-top: 0;
    padding-bottom: 0;
}

.additional-services-container:not(.hidden) {
    max-height: 1000px;
    /* Arbitrary large value to allow full height */
    opacity: 1;
    padding-top: 2rem;
    /* Restore padding */
    padding-bottom: 2rem;
    /* Restore padding */
}


/* Styles for the pricing section background image */
.plans-background-section {
    background-image: url('https://minegociodigital.com.co/wp-content/uploads/2025/05/pexels-thisisengineering-3862627-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    position: relative;
    z-index: 1;
}

/* Pseudo-element for the blurred overlay on the background image */
.plans-background-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(25, 41, 46, 0.85);
    /* Dark blue overlay based on logo */
    backdrop-filter: blur(2px);
    /* Blur effect on background */
    -webkit-backdrop-filter: blur(2px);
    /* Safari support */
    z-index: -1;
    /* Place behind content */
}

/* Styles for transparent pricing cards */
.pricing-card-transparent {
    background-color: rgba(255, 255, 255, 0.9);
    /* White with transparency */
    backdrop-filter: blur(5px);
    /* Blur effect for frosted glass look */
    -webkit-backdrop-filter: blur(5px);
    /* Safari support */
}

/* Styles for dark transparent pricing card (recommended plan) */
.pricing-card-dark-transparent {
    background-color: rgba(25, 41, 46, 0.95);
    /* Dark blue with transparency */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Styles for modal overlay (full screen dimmer) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    /* Hidden by default */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Styles for modal content box */
.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 90%;
    /* Responsive width */
    max-width: 500px;
    transform: translateY(-20px);
    /* Initial position for animation */
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}

/* Animation for modal content when active */
.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Close button for modals */
.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4B5563;
}

/* Form group styling within modals */
.modal-form .form-group {
    margin-bottom: 1rem;
}

.modal-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

/* Input field styling within modals */
.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="tel"],
.modal-form input[type="password"],
.modal-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form input[type="text"]:focus,
.modal-form input[type="email"]:focus,
.modal-form input[type="tel"]:focus,
.modal-form input[type="password"]:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    /* Secondary color border on focus */
    box-shadow: 0 0 0 3px rgba(216, 163, 2, 0.3);
    /* Subtle shadow on focus */
}

/* WhatsApp button inside modals */
.modal-whatsapp-button {
    background-color: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
}

.modal-whatsapp-button:hover {
    background-color: #1DA851;
}

.modal-whatsapp-button i {
    margin-right: 0.5rem;
}

/* Styles for the digital transformation flow section */
.flow-path-container {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    /* Align items to the top of the container */
    padding: 2rem 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    /* Prevent wrapping in desktop view */
    overflow-x: auto;
    /* Enable horizontal scrolling for overflow */
    padding-bottom: 2rem;
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: var(--secondary-color) var(--light-bg);
    /* Firefox */
}

/* Custom scrollbar for flow path container (Webkit) */
.flow-path-container::-webkit-scrollbar {
    height: 8px;
}

.flow-path-container::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}

.flow-path-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.flow-path-container::-webkit-scrollbar-thumb:hover {
    background: #bfa002;
}

/* Timeline line in the flow section (hidden on small screens) */
.flow-timeline-line {
    position: absolute;
    height: 4px;
    background-color: var(--secondary-color);
    z-index: 10;
    top: calc(60px + 1rem + 0.5rem);
    /* Vertically center with circles and text */
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    animation: drawLine 2s ease-out forwards;
    transform-origin: left;
    opacity: 0;
}

/* Keyframe animation for drawing the timeline line */
@keyframes drawLine {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}

/* Individual step in the transformation flow */
.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
    /* Prevent shrinking in horizontal scroll */
    width: 220px;
    margin: 0 1rem;
}

/* Circular image container for each flow step */
.flow-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 3px solid transparent;
    /* Transparent border for hover effect */
}

.flow-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
    /* Secondary color border on hover */
}

.flow-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.flow-text {
    font-weight: 600;
    color: #1F2937;
    margin-top: 0.5rem;
}

/* Styles for the "Saber más" action buttons in the flow steps */
.flow-action-button {
    background-color: #0078D4;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    margin-top: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-action-button:hover {
    background-color: #2B88D8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.flow-action-button i {
    margin-left: 0.5rem;
}

/* Media queries for responsive flow layout (mobile first) */
@media (max-width: 767px) {
    .flow-path-container {
        flex-direction: column;
        /* Stack steps vertically */
        align-items: center;
        padding: 2rem 1rem;
        overflow-x: hidden;
        /* No horizontal scroll on mobile */
    }

    .flow-step {
        width: 90%;
        /* Wider steps on mobile */
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .flow-circle {
        margin-bottom: 1rem;
        margin-right: 0;
    }

    .flow-timeline-line {
        display: none;
        /* Hide timeline line on mobile */
    }
}

/* Styles for the hero image slider container */
.hero-image-slider-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    overflow: hidden;
    border-radius: 0.75rem;
    /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
}

.hero-image-slider-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    /* Smooth fade transition for images */
}

/* Styles for the image in contact info */
.contact-info-image {
    width: 100%;
    /* Make image fill its container */
    height: auto;
    /* Maintain aspect ratio */
    object-fit: cover;
    border-radius: 0.75rem;
    /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
    margin-bottom: 1.5rem;
    /* Space between image and text info */
}

/* Styles for the plans container that will be toggled */
.plans-grid-container {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    /* Default to 1 column on small screens */
    gap: 1rem;
    /* Space between cards */
    transition: all 0.5s ease-in-out;
    /* Smooth transition for show/hide */
    overflow: hidden;
    /* Hide overflow when collapsed */
}

@media (min-width: 768px) {
    .plans-grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* 2 columns on medium screens */
    }
}

@media (min-width: 1024px) {
    .plans-grid-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        /* 3 columns on large screens */
    }
}

@media (min-width: 1280px) {
    .plans-grid-container {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        /* 6 columns on extra large screens */
    }
}

.plans-grid-container.hidden {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.plans-grid-container:not(.hidden) {
    max-height: 1000px;
    /* Arbitrary large value to allow full height */
    opacity: 1;
    padding-top: 1rem;
    /* Restore padding */
    padding-bottom: 1rem;
    /* Restore padding */
    margin-top: 3rem;
    /* Restore margin */
    margin-bottom: 3rem;
    /* Restore margin */
}


/* Robot Chat Modal Styles */
.robot-chat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.robot-chat-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.robot-chat-modal-content {
    background-color: rgba(255, 255, 255, 0.9);
    /* White with transparency */
    backdrop-filter: blur(5px);
    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(5px);
    /* Safari support */
    padding: 1.5rem;
    /* Increased padding for better spacing */
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 450px;
    /* Slightly wider for better readability */
    height: 80%;
    max-height: 650px;
    /* Slightly taller */
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 2px solid #0078D4;
    /* Blue border */
}

/* Animation for robot chat modal content */
.robot-chat-modal-overlay.active .robot-chat-modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Chat Header Styles */
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Chat Display Area Styles */
.chat-display {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Scrollbar for chat display */
.chat-display::-webkit-scrollbar {
    width: 6px;
}

.chat-display::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-display::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.chat-display::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Quick Questions Container Styles */
.quick-questions-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-height: 150px;
    overflow-y: auto;
}

/* Chat WhatsApp Button Styles */
.chat-whatsapp-button {
    background-color: #25D366;
    color: white;
    padding: 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.chat-whatsapp-button:hover {
    background-color: #1DA851;
}


/* --- Ken Burns Animation Effect --- */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
        /* Zoom in by 15% */
    }
}

.ken-burns-effect {
    animation: kenBurns 20s ease-in-out infinite alternate;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
}

/* --- Corporate Pricing Section Styles --- */
/* Background Overlay Override */
.plans-background-section::before {
    background-color: rgba(25, 41, 46, 1) !important;
    /* Corporate Dark Blue Overlay */
}

/* Recommended Plan Card (Illuminated) */
/* Recommended Plan Card (Illuminated) */
.pricing-card-recommended {
    background-color: #19292E !important;
    /* Corporate Dark Blue */
    color: white !important;
    border: 2px solid #2CB7B0 !important;
    /* Corporate Teal Border */
    box-shadow: 0 0 30px rgba(44, 183, 176, 0.4) !important;
    /* Teal Glow */
    transform: scale(1.05);
    /* Slight enlargement */
    z-index: 20;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card-recommended:hover {
    box-shadow: 0 0 45px rgba(44, 183, 176, 0.7) !important;
    /* Stronger Illumination */
    transform: scale(1.08);
    /* More enlargement on hover */
}

/* Recommended Plan Badge */
.pricing-card-recommended .recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #2CB7B0 !important;
    /* Corporate Teal */
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
    border-bottom-left-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 30;
}

/* Reset scale for non-recommended cards on hover to avoid overlapping issues */
.pricing-card-transparent:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Corporate Button Styles */
.btn-corporate {
    background-color: #2CB7B0 !important;
    /* Corporate Teal */
    color: white !important;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #2CB7B0 !important;
    display: inline-block;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.btn-corporate:hover {
    background-color: #259D97 !important;
    /* Darker Teal */
    border-color: #259D97 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 183, 176, 0.3);
}

.btn-corporate-outline {
    background-color: transparent !important;
    color: #2CB7B0 !important;
    /* Corporate Teal */
    border: 2px solid #2CB7B0 !important;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.btn-corporate-outline:hover {
    background-color: #2CB7B0 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 183, 176, 0.3);
}

/* Typography Overrides for Corporate Section */
.pricing-card-recommended h3 {
    color: white !important;
}

.pricing-card-recommended .plan-hours {
    color: #8CC63F !important;
    /* Lime Green hours */
}

.pricing-card-recommended .plan-price {
    color: #8CC63F !important;
    /* Lime Green price */
}

.pricing-card-recommended .plan-desc {
    color: #e5e7eb !important;
    /* Light gray description */
}

/* Ensure non-recommended cards have corporate text */
.pricing-card-transparent h3 {
    color: #19292E !important;
}

.pricing-card-transparent .plan-price {
    color: #19292E !important;
}

/* --- Logo Ticker Animation --- */
@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-ticker-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-ticker-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 40s linear infinite;
}

.logo-ticker-track:hover {
    animation-play-state: paused;
}

.client-logo {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin: 0 4rem;
    filter: brightness(0) invert(1);
    /* Turns transparent logos white for dark background */
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: none;
    /* Show original colors */
    opacity: 1;
    transform: scale(1.1);
}