/* Reset and Base Styles */
:root {
    --navbar-transition-duration: 0.3s;
    --navbar-scroll-threshold: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
    text-align: center;
}

.highlight {
    color: #3b82f6;
    font-weight: 600;
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all var(--navbar-transition-duration) ease;
    overflow: hidden;
}

.logo-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: all var(--navbar-transition-duration) ease;
    filter: brightness(0) invert(1);
}

.navbar.scrolled .logo-icon {
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo-icon-img {
    filter: brightness(0) invert(0);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-text h2 {
    color: #3a555f;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: none;
    transition: color var(--navbar-transition-duration) ease;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    color: #64748b;
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1;
    transition: color var(--navbar-transition-duration) ease;
}

.navbar.scrolled .logo-text h2 {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .logo-text p {
    color: #cbd5e1;
}

/* Highlight Colors for Hero Section */
.highlight-blue {
    color: #3b82f6;
    font-weight: 600;
}

.highlight-orange {
    color: #f97316;
    font-weight: 600;
}

.highlight-green {
    color: #10b981;
    font-weight: 600;
}

.highlight-purple {
    color: #8b5cf6;
    font-weight: 600;
}

/* Platform-specific colors */
.highlight-whatsapp {
    color: #25d366;
    font-weight: 600;
}

.highlight-calendar {
    color: #4285f4;
    font-weight: 600;
}

.highlight-crms {
    color: #b652d4;
    font-weight: 600;
}

.highlight-erps {
    color: #dfa702;
    font-weight: 600;
}

.footer-logo-img {
    height: 35px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all var(--navbar-transition-duration) ease;
}

.navbar.scrolled {
    background: #202937fa;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 20px 20px;
}

/* Ensure smooth transition for all navbar elements */
.navbar * {
    transition: all 0.3s ease;
}

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



/* Ensure nav links are visible in both transparent and scrolled states */
.nav-link {
    text-decoration: none;
    color: #467283;
    font-weight: 600;
    transition: all var(--navbar-transition-duration) ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    text-shadow: none;
}

.navbar.scrolled .nav-link {
    color: #f0f6ff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
}

.navbar.scrolled .nav-link:hover {
    background: rgba(59, 130, 246, 0.15);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.language-switcher.open {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-btn-main {
    background: rgba(30, 41, 59, 0.1);
    border: 1px solid rgba(30, 41, 59, 0.2);
    color: #1e293b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--navbar-transition-duration) ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 60px;
    justify-content: center;
    white-space: nowrap;
    text-shadow: none;
}

.navbar.scrolled .lang-btn-main {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lang-btn-main:hover {
    background: rgba(30, 41, 59, 0.2);
    color: #1e293b;
    border-color: rgba(30, 41, 59, 0.4);
    transform: translateY(-1px);
}

.navbar.scrolled .lang-btn-main:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-btn-main .flag {
    font-size: 1rem;
}

.lang-btn-main .lang-text {
    font-weight: 500;
    font-size: 0.875rem;
}

.lang-btn-main .lang-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: #94a3b8;
    margin-left: 0.25rem;
}

.language-switcher.open .lang-btn-main .lang-arrow {
    transform: rotate(180deg);
    color: #3b82f6;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.language-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Position dropdown above when there's not enough space below */
.language-switcher.dropdown-above .lang-dropdown {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
}

.language-switcher.dropdown-above.open .lang-dropdown {
    transform: translateY(0);
}

.lang-option {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    width: 100%;
    text-align: left;
    margin-bottom: 0.25rem;
}

.lang-option:last-child {
    margin-bottom: 0;
}

.lang-option:hover {
    background: rgba(51, 65, 85, 0.3);
    color: #ffffff;
}

.lang-option.active {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.lang-option .flag {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.lang-option .lang-text {
    font-weight: 500;
    font-size: 0.875rem;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}



.nav-link i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #1e293b;
    transition: all var(--navbar-transition-duration) ease;
    box-shadow: none;
}

.navbar.scrolled .nav-toggle span {
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    padding: 130px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
}



/* Video Overlay for Better Text Readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.897);
    z-index: 2;
}



.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-highlights {
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #475569;
}

.highlight-item i {
    color: #3b82f6;
    font-size: 1.25rem;
    width: 24px;
}

.hero-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
    margin: -2rem;
    padding: 2rem;
}

.hero-image {
    width: 150%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    transform: translate(68px, 10px);
    mask-image: radial-gradient(ellipse at left, rgba(0,0,0,1) 60%, rgba(0,0,0,0.8) 80%, rgba(0,0,0,0.3) 95%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(ellipse at left, rgba(0,0,0,1) 60%, rgba(0,0,0,0.8) 80%, rgba(0,0,0,0.3) 95%, rgba(0,0,0,0) 100%);
    
}

/* .hero-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 30px;
    pointer-events: none;
    z-index: 2;
    filter: blur(1px);
} */

/* .hero-image:hover {
    transform: scale(1.02);
} */


/* About Section */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: left;
}

/* Values Cards Section */
.values-cards-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

.values-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.value-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 300px;
    min-width: 250px;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e3a8a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.value-icon.innovation {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #3b82f6;
}

.value-icon.partnership {
    background: linear-gradient(135deg, #e9d5ff, #ddd6fe);
    color: #8b5cf6;
}

.value-icon.results {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #64748b;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.value-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Technology Carousel Section */
.tech-carousel-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.tech-carousel-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 800px;
    margin-left: 0;
}

.tech-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 0%, transparent 20%, transparent 80%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 15px;
    padding: 2rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.tech-carousel-track {
    display: flex;
    gap: 2rem;
    animation: scrollCarousel 40s linear infinite;
    width: max-content;
}

.tech-carousel-track:hover {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    padding: 1.5rem 1rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.tech-icon {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.tech-item i {
    font-size: 2.5rem;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.tech-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.tech-item:hover i,
.tech-item:hover .tech-logo {
    color: #1e3a8a;
    transform: scale(1.1);
}

.tech-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.tech-item:hover .tech-name {
    color: #1e293b;
}

/* Animation for the carousel scroll */
@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive design for values cards */
@media (max-width: 768px) {
    .values-grid {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 400px;
        align-items: center;
    }
    
    .value-card {
        padding: 1.5rem 1.25rem;
        max-width: 280px;
        width: 100%;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.8rem;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .value-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .value-description {
        font-size: 0.9rem;
    }
}

/* Responsive design for tech carousel */
@media (max-width: 768px) {
    .tech-carousel-container {
        padding: 1.5rem 0;
        border-radius: 10px;
    }
    
    .tech-item {
        min-width: 120px;
        height: 120px;
        padding: 1rem 0.75rem;
    }
    
    .tech-icon {
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .tech-item i {
        font-size: 2rem;
    }
    
    .tech-name {
        font-size: 0.8rem;
    }
    
    .tech-carousel-title {
        font-size: 1.5rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tech-carousel-track {
        gap: 1.5rem;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tech-carousel-container {
        padding: 1rem 0;
    }
    
    .tech-item {
        min-width: 100px;
        height: 100px;
        padding: 0.75rem 0.5rem;
    }
    
    .tech-icon {
        height: 35px;
        margin-bottom: 0.5rem;
    }
    
    .tech-item i {
        font-size: 1.5rem;
    }
    
    .tech-logo {
        width: 35px;
        height: 35px;
    }
    
    .tech-name {
        font-size: 0.7rem;
    }
    
    .tech-carousel-title {
        font-size: 1.3rem;
    }
    
    .tech-carousel-track {
        gap: 1rem;
    }
}

/* Solutions Section */
.solutions {
    padding: 80px 0;
    background: #f1f5f9;
}

.solutions-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.solutions-text {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
}

.sector-section {
    margin-top: 3rem;
}

.sector-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.tab-button:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.tab-button.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.tab-button i {
    font-size: 1.1rem;
}

.tab-content {
    animation: fadeIn 0.5s ease-in-out;
}

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

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.agent-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.agent-header h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
}

.agent-header i {
    color: #3b82f6;
    font-size: 1.5rem;
}

.agent-content > div {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.agent-content strong {
    color: #1e293b;
    font-weight: 600;
}

.agent-content .pain-point {
    color: #c15d35;
}

.agent-content .functionality {
    color: #059669;
}

.agent-content .improvement {
    color: #3b82f6;
    font-weight: 500;
}

/* Sector Header */
.sector-header {
    text-align: center;
    margin-bottom: 3rem;
}

.sector-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    color: #3b82f6;
    font-size: 2rem;
}

.sector-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Agents Table */
.agents-table {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.table-column {
    padding: 1.5rem 1rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    text-align: left;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-column:last-child {
    border-right: none;
}

.table-column.pain-point-header {
    color:#c15d35;
}

.table-column.pain-point-header i {
    color: #c15d35;
    font-size: 1.1rem;
}

.table-column.functionality-header {
    color: #059669;
}

.table-column.functionality-header i {
    color: #059669;
    font-size: 1.1rem;
}

.table-column.improvement-header {
    color: #3b82f6;
}

.table-column.improvement-header i {
    color: #3b82f6;
    font-size: 1.1rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.3s ease;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background-color: #f8fafc;
}

.table-cell {
    padding: 1.5rem 1rem;
    border-right: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.table-cell:last-child {
    border-right: none;
}

.table-cell.agent-name {
    background: #f5f5f5;
    font-weight: 600;
    color: #1e293b;
    border-radius: 8px;
    margin: 0.5rem;
    padding: 1rem;
    border: none;
}

.table-cell.improvement {
    background: #eef2ff;
    border-radius: 8px;
    margin: 0.5rem;
    padding: 1rem;
    border: none;
}

.table-cell.pain-point,
.table-cell.functionality {
    color: #64748b;
    font-size: 0.95rem;
}

.table-cell.improvement {
    color: #1e293b;
    font-size: 0.95rem;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: #f8fafc;
}

.process-content {
    text-align: center;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.process-step {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.process-step:nth-child(odd) {
    flex-direction: row;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 2;
}

/* Different colors for each step */
.process-step:nth-child(1) .step-number {
    background: #86aae4;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.process-step:nth-child(2) .step-number {
    background: #10a5b9;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.process-step:nth-child(3) .step-number {
    background: #f5e50b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.process-step:nth-child(4) .step-number {
    background: #04dd0f;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.step-content {
    width: 45%;
    padding: 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-step:nth-child(odd) .step-content {
    margin-right: 55%;
}

.process-step:nth-child(even) .step-content {
    margin-left: 55%;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-content h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive design for process timeline */
@media (max-width: 768px) {
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column !important;
        margin-left: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .step-number {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0 auto 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .step-content {
        width: 100%;
        margin: 0 !important;
        padding: 1.5rem;
        text-align: center;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    .step-content h3 {
        margin-bottom: 0.8rem;
        font-size: 1.3rem;
        color: #1e293b;
    }
    
    .step-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: #64748b;
    }
    
    /* Mobile video background optimizations */
    .hero-video-bg {
        opacity: 0.6;
    }
    
    .hero::before {
        background: rgba(255, 255, 255, 0.9);
    }
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #f1f5f9;
}

.benefits-content {
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-item {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 0.8rem;
}

.benefit-item h3 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefits-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f1f5f9;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.contact-scheduling-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
}

.contact-scheduling-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.8rem;
    text-align: center;
}

.contact-scheduling-section p {
    color: #64748b;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Calendly widget styling */
.calendly-inline-widget {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive design for contact section */
@media (max-width: 768px) {
    .contact-scheduling-section {
        padding: 1.5rem;
        margin: 2rem auto 0;
    }
}


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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

/* Footer */
.footer {
    background: #1e293b;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

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

.footer-logo h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon-img {
        width: 24px;
        height: 24px;
    }
    
    .logo-text h2 {
        font-size: 1.25rem;
    }
    
    .logo-text p {
        font-size: 0.75rem;
    }
    
    .footer-logo-img {
        height: 35px;
        margin-right: 8px;
    }
    
    .language-switcher {
        margin-left: 1rem;
    }
    
    .lang-btn-main {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
        min-width: 50px;
        gap: 0.25rem;
        background: rgba(70, 114, 131, 0.1);
        border: 1px solid rgba(70, 114, 131, 0.2);
        color: #467283;
    }
    
    .navbar.scrolled .lang-btn-main {
        background: rgba(240, 246, 255, 0.1);
        border: 1px solid rgba(240, 246, 255, 0.2);
        color: #f0f6ff;
    }
    
    .lang-btn-main .flag {
        font-size: 0.875rem;
    }
    
    .lang-btn-main .lang-text {
        font-size: 0.75rem;
    }
    
    .lang-dropdown {
        min-width: 100px;
        right: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    .navbar.scrolled .nav-menu {
        background: rgba(30, 41, 59, 0.98);
    }
    
    .nav-logo {
        gap: 0.75rem;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
        border-radius: 12px;
        margin-bottom: 0.5rem;
        color: #467283;
    }
    
    .navbar.scrolled .nav-link {
        color: #f0f6ff;
    }
    
    .nav-link i {
        font-size: 1.2rem;
        width: 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .sector-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Table responsive design */
    .agents-table {
        border-radius: 15px;
        overflow-x: auto;
        margin: 0 -20px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 200px 1fr 1fr 1fr;
        min-width: 800px;
    }
    
    .table-column,
    .table-cell {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .table-cell.agent-name,
    .table-cell.improvement {
        margin: 0.25rem;
        padding: 0.75rem;
    }
    
    .sector-header {
        margin-bottom: 2rem;
    }
    
    .sector-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .sector-title {
        font-size: 1.5rem;
    }
    
    /* Scroll indicator */
    .agents-grid::after {
        content: '';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3));
        border-radius: 50%;
        opacity: 0.6;
        pointer-events: none;
    }
    
    /* Left scroll indicator for first card centering */
    .agents-grid::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background: linear-gradient(270deg, transparent, rgba(59, 130, 246, 0.1));
        border-radius: 50%;
        opacity: 0.3;
        pointer-events: none;
    }
    
    .agents-grid::-webkit-scrollbar {
        display: none;
    }
    
    .agent-card {
        flex: 0 0 300px;
        scroll-snap-align: center;
        padding: 1.5rem;
        margin: 0 5px;
    }
    
    /* Carousel navigation dots */
    .agents-carousel-nav {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
        padding: 0.5rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #cbd5e1;
        transition: all 0.3s ease;
        cursor: pointer;
        border: 2px solid transparent;
    }
    
    .carousel-dot:hover {
        background: #94a3b8;
        transform: scale(1.1);
    }
    
    .carousel-dot.active {
        background: #3b82f6;
        border-color: #1d4ed8;
        transform: scale(1.2);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }


    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-icon-img {
        width: 20px;
        height: 20px;
    }
    
    .logo-text h2 {
        font-size: 1.1rem;
    }
    
    .logo-text p {
        font-size: 0.7rem;
    }
    
    .nav-logo {
        gap: 0.5rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .agent-card {
        flex: 0 0 280px;
        padding: 1rem;
        margin: 0 5px;
    }

    
    .language-switcher {
        margin-left: 0.5rem;
    }
    
    .lang-btn-main {
        padding: 0.25rem 0.375rem;
        font-size: 0.7rem;
        min-width: 40px;
        gap: 0.125rem;
    }
    
    .lang-btn-main .flag {
        font-size: 0.75rem;
    }
    
    .lang-btn-main .lang-text {
        display: none;
    }
    
    .lang-dropdown {
        min-width: 80px;
        right: 0;
    }
    
    /* Small mobile process section optimizations */
    .step-content {
        padding: 1.25rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Small mobile table responsive design */
    .agents-table {
        border-radius: 10px;
        margin: 0 -15px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 150px 1fr 1fr 1fr;
        min-width: 600px;
    }
    
    .table-column,
    .table-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .table-cell.agent-name,
    .table-cell.improvement {
        margin: 0.125rem;
        padding: 0.5rem;
        border-radius: 6px;
    }
    
    .sector-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .sector-title {
        font-size: 1.3rem;
    }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Quiz Styles */

/* Quiz Modal */
.quiz-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quiz-modal.open {
    opacity: 1;
    visibility: visible;
}

.quiz-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 20px;
    width: 58%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.quiz-modal.open .quiz-container {
    transform: scale(1) translateY(0);
}

.quiz-header {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.quiz-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.quiz-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.quiz-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quiz-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.8rem;
}

.quiz-progress {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.quiz-progress-bar {
    background: white;
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.quiz-content {
    width: 100%;
    min-height: 20rem;
    padding: .6rem;
    max-height: 60vh;
    overflow-y: auto;
}

.quiz-section {
    display: none;
}

.quiz-section.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.question-container {
    margin-bottom: 2rem;
}

.question-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.question-icon {
    color: #3b82f6;
    font-size: 1.1rem;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.option-item.selected {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.option-item.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e3a8a);
}

.option-radio,
.option-checkbox {
    margin-right: 1rem;
    accent-color: #3b82f6;
    transform: scale(1.2);
}

.option-label {
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: block;
}

.option-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.option-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.option-checkbox-item .option-checkbox {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.option-checkbox-content {
    flex: 1;
}

/* Text input styles */
.question-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.question-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.question-input::placeholder {
    color: #94a3b8;
}

/* Analysis Progress Styles */
.analysis-progress {
    margin-top: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Form styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem 0;
}

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

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:invalid {
    border-color: #ef4444;
}

.form-input:valid {
    border-color: #10b981;
}

/* Select styles */
.question-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Quiz Navigation */
.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.quiz-nav-button {
    background: #64748b;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-sizing: border-box;
}

.quiz-nav-button:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.quiz-nav-button:not(.primary):hover {
    background: #4f5e72;
}

.quiz-nav-button.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e598a 100%);
}

.quiz-nav-button.primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #2370eb 0%, #0d3e75 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.quiz-nav-button.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.quiz-nav-button.success:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.quiz-progress-text {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.quiz-progress-info {
    font-size: 0.9rem;
    color: #3b82f6;
    font-weight: 600;
}

.quiz-question {
    padding: 1rem;
}

.quiz-question .question-container {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-question .question-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.4;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.option-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.option-item.selected {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.option-item.selected:hover {
    background: #dbeafe;
    border-color: #2563eb;
}

.option-radio,
.option-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 16px;
    accent-color: #3b82f6;
    cursor: pointer;
    flex-shrink: 0;
}

.option-item.selected .option-radio,
.option-item.selected .option-checkbox {
    accent-color: #1e40af;
}

.option-label {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
    flex: 1;
}

.option-item.selected .option-label {
    color: #1e40af;
    font-weight: 600;
}

/* Quiz Results */
.quiz-results {
    text-align: center;
    padding: 2rem;
}

.quiz-results-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 0.8rem;
}

.quiz-results-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

.quiz-results-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.recommendations {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.recommendations-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.8rem;
    text-align: center;
}

.recommendation-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.recommendation-item:last-child {
    margin-bottom: 0;
}

.recommendation-icon {
    color: #3b82f6;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.recommendation-text {
    color: #1e293b;
    font-weight: 500;
}

/* Loading state */
.quiz-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #64748b;
}

.quiz-loading-spinner {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.quiz-loading-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Quiz Validation Message */
.quiz-validation-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.validation-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

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

.validation-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.validation-text {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.validation-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    width: 100%;
}

.validation-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #bbf7d0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.validation-detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.validation-detail-icon {
    font-size: 1.25rem;
    color: #10b981;
    width: 24px;
    text-align: center;
}

.validation-detail-item span {
    font-weight: 600;
    color: #065f46;
    font-size: 1rem;
}

/* Code Validation Styles */
.code-validation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.validation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.validation-icon i {
    font-size: 2rem;
    color: white;
}

.validation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

.validation-message {
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

.validation-form {
    width: 100%;
    max-width: 400px;
}

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

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

.validation-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.validation-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.validation-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.validation-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.validation-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.validation-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: left;
}

/* Validation Success Styles */
.validation-success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    animation: successPulse 2s ease-in-out infinite;
}

.success-icon i {
    font-size: 2rem;
    color: white;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

.success-message {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.success-spinner {
    font-size: 2rem;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-loading p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    }
}

/* Testing Mode Styles */
.testing-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.testing-form-header {
    margin-bottom: 2rem;
}

.testing-form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.testing-form-header p {
    color: #64748b;
    font-size: 1rem;
}

.testing-form-container .form-container {
    width: 100%;
    max-width: 400px;
}

.testing-form-container .form-field {
    margin-bottom: 0.8rem;
    text-align: left;
}

.testing-form-container .form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.3rem;
}

.testing-form-container .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.testing-form-container .form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.testing-submit-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.testing-submit-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.testing-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design for Quiz */
@media (max-width: 768px) {
    .quiz-container {
        margin: 10px;
        max-height: 95vh;
        width: 94%;
    }
    
    .quiz-header {
        padding: 1.5rem;
    }
    
    .quiz-title {
        font-size: 1.5rem;
    }
    
    .quiz-subtitle {
        font-size: 1rem;
    }
    
    .quiz-content {
        padding: 1.5rem;
        max-height: 50vh;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .question-title {
        font-size: 1.1rem;
    }
    
    .option-item {
        padding: 1rem;
    }
    
    .quiz-navigation {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .quiz-nav-button {
        width: 100%;
        justify-content: center;
    }
    
    .quiz-results-title {
        font-size: 1.5rem;
    }
    
    .quiz-results-icon {
        font-size: 3rem;
    }
    
    .validation-icon {
        font-size: 3rem;
    }
    
    .validation-title {
        font-size: 1.5rem;
    }
    
    .validation-details {
        max-width: 100%;
    }
    
    .form-container {
        padding: 0.5rem 0;
    }
    
    .form-field {
        margin-bottom: 0.8rem;
    }
    
    .form-input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .quiz-container {
        margin: 5px;
        border-radius: 15px;
    }
    
    .quiz-header {
        padding: 1rem;
    }
    
    .quiz-title {
        font-size: 1.3rem;
    }
    
    .quiz-content {
        padding: 1rem;
    }
    
    .option-item {
        padding: 0.75rem;
    }
    
    .quiz-navigation {
        padding: 1rem;
    }
    
    .form-container {
        padding: 0.25rem 0;
    }
    
    .form-field {
        margin-bottom: 0.75rem;
    }
    
    .form-input {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Options Dialog Styles */

/* Options Modal */
.options-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.options-modal.open {
    opacity: 1;
    visibility: visible;
}

.options-container {
    background: white;
    border-radius: 20px;
    width: 94%;
    padding-bottom: 36px;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.options-modal.open .options-container {
    transform: scale(1) translateY(0);
}

.options-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.options-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.options-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.options-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.options-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.options-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 500px;
}

.options-left {
    padding: 2rem 2rem 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.options-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.option-button {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.option-button:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.option-button.ai-evaluation:hover {
    border-color: #8b5cf6;
    background: #f3e8ff;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.option-button.whatsapp:hover {
    border-color: #25d366;
    background: #f0fdf4;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.15);
}

.option-button.meeting:hover {
    border-color: #f59e0b;
    background: #fffbeb;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.option-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.option-button.ai-evaluation .option-icon {
    background: linear-gradient(135deg, #e9d5ff, #ddd6fe);
    color: #8b5cf6;
}

.option-button.whatsapp .option-icon {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #25d366;
}

.option-button.meeting .option-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #f59e0b;
}

.option-button:hover .option-icon {
    transform: scale(1.1);
}

.option-content {
    flex: 1;
}

.option-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.option-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.option-arrow {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.option-button:hover .option-arrow {
    color: #3b82f6;
    transform: translateX(4px);
}

.option-button.ai-evaluation:hover .option-arrow {
    color: #8b5cf6;
}

.option-button.whatsapp:hover .option-arrow {
    color: #25d366;
}

.option-button.meeting:hover .option-arrow {
    color: #f59e0b;
}

.options-right {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.options-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.options-visual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.options-visual:hover {
    transform: scale(1.02);
}

/* Responsive Design for Options Dialog */
@media (max-width: 768px) {
    .options-container {
        margin: 10px;
        max-height: 95vh;
    }
    
    .options-header {
        padding: 1.5rem;
    }
    
    .options-title {
        font-size: 1.5rem;
    }
    
    .options-subtitle {
        font-size: 1rem;
    }
    
    .options-content {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .options-left {
        padding: 1.5rem 1.5rem 2rem 1.5rem;
    }
    
    .options-right {
        padding: 0;
        height: 250px;
    }
    
    .option-button {
        padding: 1.25rem;
    }
    
    .option-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .option-content h3 {
        font-size: 1.1rem;
    }
    
    .option-content p {
        font-size: 0.9rem;
    }
    
    .options-visual {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .options-container {
        margin: 5px;
        border-radius: 15px;
    }
    
    .options-header {
        padding: 1rem;
    }
    
    .options-title {
        font-size: 1.3rem;
    }
    
    .options-left {
        padding: 1rem 1rem 1.5rem 1rem;
    }
    
    .options-right {
        padding: 0;
        height: 200px;
    }
    
    .option-button {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .option-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .option-content h3 {
        font-size: 1rem;
    }
    
    .option-content p {
        font-size: 0.85rem;
    }
    
    .options-visual {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-visual,
    .footer,
    .quiz-modal,
    .options-modal {
        display: none;
    }

    .hero {
        padding: 20px 0;
        background: white;
    }

    .section-title {
        color: black;
    }
}

/* Chat Modal Styles */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-modal.open {
    opacity: 1;
    visibility: visible;
}

.chat-container {
    width: 95%;
    max-width: 1200px;
    height: 85vh;
    max-height: 800px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.chat-modal.open .chat-container {
    transform: scale(1) translateY(0);
}

.chat-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chat-title h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.chat-title p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

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

.message-avatar {
    width: 35px;
    height: 35px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.message.user .message-avatar {
    background: #3b82f6;
    color: white;
}

.message-content {
    max-width: 70%;
}

.message-bubble {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.message.user .message-bubble {
    background: #3b82f6;
    color: white;
}

.message-time {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    text-align: right;
}

.message.user .message-time {
    text-align: left;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-input {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chat-input-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input-field:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chat-send-button {
    background: #3b82f6;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-button:hover:not(:disabled) {
    background: #1e3a8a;
    transform: scale(1.05);
}

.chat-send-button:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Chat Styles */
@media (max-width: 768px) {
    .chat-container {
        width: 98%;
        height: 95vh;
        border-radius: 15px;
    }
    
    .chat-header {
        padding: 1rem;
    }
    
    .chat-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .chat-title h3 {
        font-size: 1.1rem;
    }
    
    .chat-messages {
        padding: 1rem;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .chat-input {
        padding: 1rem;
    }
    
    .chat-input-field {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .chat-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        max-width: 100%;
    }
    
    .chat-header {
        padding: 0.75rem;
    }
    
    .chat-messages {
        padding: 0.75rem;
    }
    
    .chat-input {
        padding: 0.75rem;
    }
}

/* Phone Input Styles */
.phone-input-container {
    display: flex;
    /* gap: 0.5rem; */
    align-items: stretch;
}

.country-selector {
    flex-shrink: 0;
}

.country-select {
    padding: 0.75rem 0.5rem;
    border: 2px solid #10b981;
    border-radius: 8px 0 0 8px;
    background: white;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    height: 100%;
    border-right: none;
}

.country-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.country-select:hover {
    border-color: #9ca3af;
}

.phone-input {
    flex: 1;
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.phone-input:focus {
    border-left: 2px solid #3b82f6;
}

/* Mobile responsiveness for phone input */
@media (max-width: 640px) {
    .phone-input-container {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .country-select {
        border-radius: 8px;
        border-right: 2px solid #e5e7eb;
        min-width: auto;
    }
    
    .phone-input {
        border-radius: 8px;
        border-left: 2px solid #e5e7eb;
    }
    
    .phone-input:focus {
        border-left: 2px solid #3b82f6;
    }
}
