/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    background: #34495E;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
    width: 100%;
    box-sizing: border-box;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 5px;
    background: rgba(52, 73, 94, 0.95);
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    display: inline-block;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.flag-ru {
    background: linear-gradient(to bottom, #fff 0%, #fff 33%, #0052cc 33%, #0052cc 66%, #d52b1e 66%, #d52b1e 100%);
}

.flag-es {
    background: linear-gradient(to bottom, #c60b1e 0%, #c60b1e 25%, #ffc400 25%, #ffc400 75%, #c60b1e 75%, #c60b1e 100%);
}

.flag-es::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #c60b1e;
    border-radius: 50%;
}

.flag-en {
    background: #012169;
    position: relative;
}

.flag-en::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, #fff 40%, #fff 45%, transparent 45%),
        linear-gradient(-45deg, transparent 40%, #fff 40%, #fff 45%, transparent 45%),
        linear-gradient(45deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%);
    background-size: 100% 100%;
}

.flag-en::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 40%, #c8102e 40%, #c8102e 60%, transparent 60%),
        linear-gradient(0deg, transparent 40%, #c8102e 40%, #c8102e 60%, transparent 60%);
    background-size: 100% 100%;
}

.lang-btn.active,
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 0.25rem;
}

p {
    margin-bottom: 0.75rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: clamp(10px, 1.8vw, 12px) clamp(18px, 2.5vw, 24px);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: clamp(0.875rem, 1.8vw, 0.95rem);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: #2c2c2c;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #34495E;
    transform: translateY(-1px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #2c2c2c;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
}

.nav-menu a {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.nav-menu a:hover {
    color: #1a1a1a;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c2c2c;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #34495E;
    color: white;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 40px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #34495E;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-text p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: clamp(200px, 32vw, 260px);
    height: clamp(260px, 42vw, 340px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: clamp(30px, 4vw, 40px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.section-header h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 0;
}

/* About Section */
.about {
    background: #34495E;
    color: #ffffff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    color: #ffffff;
    margin-top: 1.25rem;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1rem);
    margin-top: 1rem;
}

.experience-item {
    text-align: center;
    padding: clamp(0.875rem, 2vw, 1.125rem);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-item:hover {
    transform: translateY(-3px);
}

.experience-item i {
    font-size: clamp(1.75rem, 4vw, 2rem);
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.experience-item h4 {
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.experience-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    margin: 0;
}

/* Services Section */
.services {
    background: #34495E;
    color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1rem);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: clamp(1rem, 2vw, 1.25rem);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: clamp(50px, 12vw, 65px);
    height: clamp(50px, 12vw, 65px);
    background: #2c2c2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.service-icon i {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: white;
}

.service-card h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    margin-bottom: 0;
}

/* Transactional Analysis Section */
.ta-section {
    background: #2c2c2c;
    color: white;
    width: 100%;
    overflow-x: hidden;
}

.ta-section .container {
    max-width: 1400px;
    padding: 0 clamp(15px, 3vw, 20px);
}

.ta-section .section-header h2,
.ta-section .section-header p {
    color: white;
}

.ta-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .ta-content {
        padding: 0;
    }
}

.ta-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.ta-intro h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
}

.ta-intro p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0;
}

.ta-concepts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    width: 100%;
}

.concept-card {
    background: #3a3a3a;
    padding: clamp(1rem, 2.5vw, 1.25rem);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.concept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #667eea;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.concept-card:hover::before {
    transform: scaleX(1);
}

.concept-card h4 {
    color: white;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
}

.concept-card h4 i {
    color: #667eea;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    flex-shrink: 0;
}

.concept-card p {
    opacity: 0.85;
    margin: 0;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    line-height: 1.6;
    color: #e0e0e0;
}

.ta-benefits h3 {
    text-align: center;
    color: white;
    margin-bottom: 1.25rem;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
}

.benefit-item {
    background: #3a3a3a;
    padding: clamp(1rem, 2.5vw, 1.25rem);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #667eea;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-item i {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: #667eea;
    margin-bottom: 0.75rem;
    display: block;
}

.benefit-item h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
}

.benefit-item p {
    opacity: 0.85;
    margin: 0;
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    line-height: 1.6;
    color: #e0e0e0;
}

/* Contact Section */
.contact {
    background: #34495E;
    color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: clamp(0.625rem, 1.5vw, 0.875rem);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item i {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #ffffff;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    line-height: 1.4;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: clamp(10px, 2vw, 12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: clamp(0.875rem, 1.8vw, 0.95rem);
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group select {
    color: #ffffff;
}

.form-group select option {
    background: #34495E;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* WhatsApp Section */
.whatsapp-section {
    margin-top: 0.75rem;
    padding: 1rem;
    background: #25d366;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.whatsapp-section h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.whatsapp-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
}

.btn-whatsapp {
    background: #128c7e;
    color: white;
    border: 2px solid #128c7e;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #0f7a6d;
    border-color: #0f7a6d;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 122, 109, 0.3);
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

/* Virtual Room Modal */
.virtual-room-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.virtual-room-modal[style*="flex"],
.virtual-room-modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 10001;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f9fa;
}

.modal-header h2 {
    margin: 0;
    color: #2c2c2c;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: #e5e5e5;
    color: #2c2c2c;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .hero-buttons {
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .hero-buttons .btn {
        flex: 1;
        min-width: 0;
        font-size: clamp(0.7rem, 1.4vw, 0.85rem);
        padding: clamp(8px, 1.5vw, 10px) clamp(10px, 1.8vw, 14px);
    }
}

.conference-access {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.access-card {
    background: #ffffff;
    padding: clamp(1.25rem, 2.5vw, 1.5rem);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
    max-width: 450px;
    width: 100%;
    border: 1px solid #e5e5e5;
}

.access-icon {
    width: 60px;
    height: 60px;
    background: #2c2c2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.access-icon i {
    font-size: 1.5rem;
    color: white;
}

.access-card h3 {
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.access-card p {
    color: #666666;
    margin-bottom: 0.75rem;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.access-form {
    margin-top: 1rem;
}

.access-form .form-group {
    position: relative;
    margin-bottom: 1rem;
}

.access-form .form-group input {
    padding-right: 45px;
    color: #2c2c2c;
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

.access-form .form-group input::placeholder {
    color: #999999;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #2c2c2c;
}

.token-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    font-size: 1.2rem;
    pointer-events: none;
}

.access-error {
    margin-top: 1rem;
    padding: 1rem;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 10px;
    color: #c33;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.access-error i {
    font-size: 1.2rem;
}

.access-loading {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.access-loading i {
    font-size: 1.2rem;
    animation: spin 1s linear infinite;
}

.access-success {
    margin-top: 1rem;
    padding: 2rem;
    background: #f0f9ff;
    border: 2px solid #27ae60;
    border-radius: 12px;
    text-align: center;
    display: none;
}

.access-success .success-icon {
    margin-bottom: 1rem;
}

.access-success .success-icon i {
    font-size: 4rem;
    color: #27ae60;
    animation: scaleIn 0.5s ease-out;
}

.access-success h3 {
    color: #27ae60;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.access-success p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.access-success .btn {
    margin-top: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes scaleIn {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

.conference-room-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.conference-header {
    background: #2c2c2c;
    color: white;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.conference-header h3 {
    color: white;
    margin: 0;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.jitsi-container {
    width: 100%;
    height: 550px;
    min-height: 450px;
    position: relative;
    background: #000;
}

.jitsi-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: #34495E;
    color: white;
    padding: clamp(1.5rem, 3vw, 2rem) 0 0.75rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: #b5b5b5;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b5b5b5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #3a3a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4a4a4a;
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #3a3a3a;
    color: #b5b5b5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .ta-concepts,
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .language-selector {
        top: 15px;
        right: 15px;
        padding: 6px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.9rem;
        min-width: 45px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid,
    .ta-concepts,
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .conference-header {
        flex-direction: column;
        text-align: center;
    }

    .jitsi-container {
        height: 500px;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .language-selector {
        top: 10px;
        right: 10px;
        padding: 4px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
        min-width: 40px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .profile-image {
        width: 200px;
        height: 250px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 70px;
}

/* Improved focus states for accessibility */
.btn:focus,
.nav-menu a:focus,
.lang-btn:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #34495e;
    outline-offset: 2px;
}

/* Loading animation improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn-whatsapp {
    background: #25d366;
}

.floating-btn-whatsapp:hover {
    background: #128c7e;
}

.floating-btn-conference {
    background: #2c2c2c;
}

.floating-btn-conference:hover {
    background: #1a1a1a;
}

.floating-btn-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #2c2c2c;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.floating-btn-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #2c2c2c;
}

.floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Responsive Floating Buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
        z-index: 9999;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .floating-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .floating-btn-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
        z-index: 9999;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: 20px;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

 