* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.8rem 0;
    position: relative;
}
nav .logo {
    grid-column: 1;
}
nav .nav-links {
    grid-column: 2;
    justify-self: center;
}
nav .language-selector {
    grid-column: 3;
    justify-self: end;
}
.logo {
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: -1px;
    position: relative;
}
.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}
.logo:hover::after {
    width: 100%;
}
.logo:hover {
    transform: translateY(-2px);
}
.logo img {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.5));
    transition: all 0.3s ease;
}
.logo:hover img {
    transform: rotate(5deg) scale(1.05);
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid #667eea;
    font-size: 1.5rem;
    cursor: pointer;
    color: #667eea;
    padding: 0.85rem;
    z-index: 1001;
    transition: all 0.3s ease;
    min-width: 52px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}
.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.3s ease;
    z-index: -1;
}
.mobile-menu-toggle:hover::before {
    left: 0;
}
.mobile-menu-toggle:hover {
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.mobile-menu-toggle:hover::before {
    width: 300px;
    height: 300px;
}
.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.mobile-menu-toggle:active {
    transform: scale(0.95);
}
.mobile-menu-toggle span {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}
.mobile-menu-toggle.active span {
    transform: rotate(90deg);
}
.mobile-menu-close-wrapper {
    display: none;
}
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    contain: layout style;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
    /* Prevent CLS by ensuring image doesn't affect layout */
    contain: layout;
}
.hero .container {
    position: relative;
    z-index: 1;
}
.section-image {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 10px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    object-fit: cover;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}
.card-image {
    width: 100%;
    height: 200px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin: -2rem -2rem 1rem -2rem;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    position: relative;
    justify-content: center;
}
.nav-links::before {
    display: none;
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    transition: color 0.3s ease;
    position: relative;
    overflow: visible;
    font-size: 0.95rem;
    white-space: nowrap;
    margin: 0 0.15rem;
}
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}
.nav-links a:hover {
    color: #667eea;
}
.nav-links a:hover::before {
    width: 100%;
}
.nav-links li {
    margin: 0;
}
.language-selector {
    display: flex;
    gap: 0;
    align-items: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-left: 0;
    box-shadow: none;
    border: none;
    position: relative;
}
/* Hide mobile language selector on desktop */
.nav-links .language-selector {
    display: none;
}
.language-selector::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.3) 50%, transparent 100%);
}
@media (max-width: 768px) {
    nav {
        display: flex;
        justify-content: space-between;
        grid-template-columns: none;
    }
    nav .nav-links {
        grid-column: auto;
        justify-self: auto;
    }
    nav .language-selector {
        grid-column: auto;
        justify-self: auto;
    }
    .language-selector {
        margin-left: 0;
    }
    .language-selector::before {
        display: none;
    }
}
.language-selector button {
    padding: 0.6rem 0.8rem;
    border: none;
    background: transparent;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.4rem;
    font-weight: 700;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    border-bottom: 2px solid transparent;
    margin: 0 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}
.language-selector button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}
.language-selector button:hover::before {
    width: 100%;
}
.language-selector button:hover {
    color: #667eea;
}
.language-selector button.active {
    background: transparent;
    color: #667eea;
    border-bottom-color: #667eea;
}
.language-selector button.active::before {
    width: 100%;
}
.language-selector button.active:hover {
    color: #764ba2;
}
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary {
    background: white;
    color: #667eea;
}
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
section {
    padding: 4rem 0;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}
.benefits-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.step {
    text-align: center;
    padding: 1.5rem;
}
.step-number {
    background: #667eea;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}
.faq-item {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}
.faq-item h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}
footer {
    background: #333;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-section h4 {
    margin-bottom: 1rem;
}
.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}
.footer-section a:hover {
    color: white;
}
.footer-section a[href*="facebook"],
.footer-section a[href*="instagram"] {
    transition: opacity 0.3s;
}
.footer-section a[href*="facebook"]:hover,
.footer-section a[href*="instagram"]:hover {
    opacity: 0.8;
}
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    background: #25D366 !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    z-index: 9999 !important;
    text-decoration: none !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4) !important;
}
.whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
    fill: white !important;
    display: block !important;
}
.loading {
    text-align: center;
    padding: 2rem;
    color: #667eea;
    /* Match hero min-height to prevent CLS */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.2rem;
}
.cv-form {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.cv-form-hero {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    max-width: 700px;
    margin: 2rem auto 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
/* Responsive Design - Tablet and Below (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .benefits-grid, .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

/* Responsive Design - Tablet (768px) */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-links a {
        position: relative;
    }
    .nav-links a::after {
        content: '→';
        position: absolute;
        right: 2rem;
        opacity: 0;
        transition: all 0.3s ease;
        color: white;
        font-weight: bold;
        font-size: 1.4rem;
    }
    .nav-links a:hover::after {
        opacity: 1;
        transform: translateX(8px);
    }
    .mobile-menu-overlay {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 360px;
        max-width: 85vw;
        height: 100vh;
        background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 0 2rem 0;
        box-shadow: -8px 0 50px rgba(0,0,0,0.25);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
        z-index: 1000;
        gap: 0;
        overflow-y: auto;
        border-left: 4px solid;
        border-image: linear-gradient(180deg, #667eea 0%, #764ba2 100%) 1;
        justify-content: flex-start;
        transform: translateX(100%);
        visibility: hidden;
    }
    nav .language-selector {
        display: none;
    }
    .nav-links .language-selector {
        display: flex !important;
    }
    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 90px;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
        border-bottom: 3px solid;
        border-image: linear-gradient(90deg, #667eea 0%, #764ba2 100%) 1;
    }
    .mobile-menu-close-wrapper {
        width: auto !important;
        position: absolute !important;
        top: 1.5rem !important;
        right: 1.5rem !important;
        z-index: 1001 !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .mobile-menu-close {
        position: relative;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
        margin: 0;
        padding: 0;
    }
    .mobile-menu-close:hover {
        transform: scale(1.1) rotate(90deg);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        animation: slideInRight 0.4s ease forwards;
    }
    .nav-links.active li:nth-child(1) { animation-delay: 0s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(6) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(7) { animation-delay: 0.35s; }
    .nav-links.active li:nth-child(8) { animation-delay: 0.4s; }
    @keyframes slideInRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    .nav-links::before {
        display: none;
    }
    .nav-links a {
        display: flex;
        padding: 1.3rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        width: 100%;
        min-height: 60px;
        align-items: center;
        margin: 0;
        color: #333;
        background: transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: visible;
        border-left: 4px solid transparent;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    }
    .nav-links a::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        transition: width 0.3s ease;
    }
    .nav-links a:hover {
        color: #667eea;
    }
    .nav-links a:hover::before {
        width: 100%;
    }
    .nav-links .language-selector {
        display: flex !important;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        padding: 1.3rem 2rem;
        border-top: 2px solid rgba(102, 126, 234, 0.1);
        margin-top: 0.5rem;
        background: transparent;
        position: relative;
        min-height: 60px;
        align-items: center;
    }
    .nav-links .language-selector::before {
        display: none;
    }
    .nav-links .language-selector button {
        border-bottom: 2px solid transparent;
        margin: 0 0.5rem;
        padding: 0.5rem 0.8rem;
        min-width: 44px;
        min-height: 44px;
    }
    .nav-links .language-selector button::before {
        bottom: -2px;
    }
    .nav-links .language-selector button.active {
        border-bottom-color: #667eea;
    }
    .nav-links .language-selector button.active::before {
        width: 100%;
    }
    .flag-icon {
        width: 24px;
        height: 18px;
        object-fit: cover;
        border-radius: 2px;
    }

    /* Hero Section */
    .hero {
        padding: 3rem 0;
    }
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Grids */
    .benefits-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }

    /* Cards */
    .card {
        padding: 1.5rem;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    .cv-form {
        padding: 2rem 1.5rem;
        margin: 1rem auto;
    }
    .cv-form-hero {
        padding: 1.5rem;
        margin: 1rem auto 0;
    }
    .extracted-data-grid {
        grid-template-columns: 1fr;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        position: fixed !important;
        z-index: 9999 !important;
        width: 56px !important;
        height: 56px !important;
        bottom: 15px !important;
        left: 15px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .whatsapp-float svg {
        width: 28px !important;
        height: 28px !important;
    }

    /* Notification Toast */
    .notification-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 1rem 1.5rem;
    }
}

/* Responsive Design - Mobile (480px) */
@media (max-width: 480px) {
    /* Typography */
    html {
        font-size: 16px;
    }
    body {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .hero h1 {
        font-size: 1.75rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    .hero p {
        font-size: 0.95rem;
        word-wrap: break-word;
    }
    .section-title {
        font-size: 1.5rem;
        word-wrap: break-word;
    }
    .logo {
        font-size: 1.5rem;
    }
    .logo img {
        height: 45px;
    }
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    p, li, span {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Spacing */
    .hero {
        padding: 2.5rem 0;
    }
    section {
        padding: 2.5rem 0;
    }
    .section-title {
        margin-bottom: 1.5rem;
    }

    /* Cards */
    .card {
        padding: 1.25rem;
    }
    .card h3 {
        font-size: 1.1rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    .language-selector button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
        min-width: 50px;
    }
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    button, a.btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    /* Forms */
    .cv-form {
        padding: 1.5rem 1rem;
    }
    .cv-form-hero {
        padding: 1.25rem;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.65rem;
        font-size: 0.95rem;
    }
    .submit-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 2rem 0;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Images */
    .section-image {
        margin: 1.5rem auto;
    }
    .card-image {
        height: 180px;
    }

    /* FAQ */
    .faq-item {
        padding: 1.25rem;
    }
    .faq-item h4 {
        font-size: 1rem;
    }

    /* Steps */
    .step {
        padding: 1.25rem;
    }
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    /* Extracted Data */
    .extracted-data-panel {
        padding: 1.25rem;
    }
    .extracted-item {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* CV Upload Section */
    .cv-upload-section {
        padding: 1.25rem;
    }
    
    /* File Items */
    .file-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .file-item-name {
        flex: 1;
        min-width: 0;
        word-break: break-word;
    }
}

/* Responsive Design - Small Mobile (320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.25rem;
    }
    .nav-links {
        width: 100%;
    }
    .whatsapp-float {
        position: fixed !important;
        z-index: 9999 !important;
        width: 50px !important;
        height: 50px !important;
        bottom: 10px !important;
        left: 10px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }
    .hero h1 {
        font-size: 1.75rem;
    }
    section {
        padding: 2rem 0;
    }
}
#file-list {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 2px solid #e9ecef;
}
.file-item {
    padding: 0.5rem;
    margin: 0.25rem 0;
    background-color: white;
    border-radius: 3px;
    border-left: 3px solid #667eea;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.file-item-name {
    font-weight: 500;
}
.file-item-size {
    color: #666;
    font-size: 0.9em;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background-color: white;
    -webkit-appearance: none;
    appearance: none;
}
@media (max-width: 480px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}
.form-group input:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}
.form-group input:valid:not(:placeholder-shown) {
    border-color: #28a745;
}
.form-group input[type="file"] {
    padding: 0.5rem;
    cursor: pointer;
}
.file-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.submit-btn:hover {
    background: #5568d3;
}
.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}
.message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    animation: slideInRight 0.4s ease-out;
    max-width: 400px;
    font-weight: 600;
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.notification-toast .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notification-toast .close-btn:hover {
    background: rgba(255,255,255,0.5);
}
.extracted-data-panel {
    background: #e8f4f8;
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    animation: slideDown 0.3s ease-out;
}
.extracted-data-panel h4 {
    color: #667eea;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.extracted-data-panel h4::before {
    content: "✨";
    font-size: 1.2rem;
}
.extracted-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.extracted-item {
    background: white;
    padding: 0.75rem;
    border-radius: 5px;
    border-left: 3px solid #667eea;
}
.extracted-item-label {
    font-weight: 600;
    color: #666;
    font-size: 0.85em;
    margin-bottom: 0.25rem;
}
.extracted-item-value {
    color: #333;
    font-size: 0.95em;
}
.extract-loading {
    text-align: center;
    padding: 2rem;
    color: #667eea;
}
.extract-loading::after {
    content: "...";
    animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
    0%, 20% { content: "."; }
    40% { content: ".."; }
    60%, 100% { content: "..."; }
}
.use-extracted-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 0.9rem;
    transition: background 0.3s;
}
.use-extracted-btn:hover {
    background: #5568d3;
}
.cv-upload-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px dashed #667eea;
}
/* CenterChat Widget - Input at bottom of chat window */
#centerchat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}
.centerchat-input-area {
    flex-shrink: 0;
}
