:root {
    --primary-color: #FFCC00;
    --secondary-color: #174392;
    --primary-color-rgb: 255, 204, 0;
    --secondary-color-rgb: 23, 67, 146;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #ff6b00);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #283593);
    --gradient-accent: linear-gradient(135deg, #ff8c00, #ff6b00);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    --shadow-primary: 0 10px 30px rgba(255, 204, 0, 0.2);
    --shadow-secondary: 0 10px 30px rgba(23, 67, 146, 0.2);
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --button-gradient: linear-gradient(to right, #FFCC00, #ff6b00);
    --button-gradient-hover: linear-gradient(to right, #ffb300, #ff6b00);
    --entry-background: linear-gradient(145deg, #f0f4f8, #ffffff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--entry-background);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.offices-section {
    padding: 80px 0;
    background: var(--entry-background);
    position: relative;
    overflow: hidden;
}

.offices-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 204, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(23, 67, 146, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.carous_l-container {
    position: relative;
    z-index: 1;
}

.carous_l-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-secondary);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    position: relative;
}

.carous_l-track {
    display: flex;
    transition: transform 0.6s var(--animation-timing);
}

.carous_l-slide {
    min-width: 100%;
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    position: relative;
    overflow: hidden;
}

.office-content {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.office-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    position: relative;
}

.office-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 67, 146, 0.1), rgba(255, 204, 0, 0.1));
    z-index: 1;
}

.office-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    position: relative;
}

.office-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.office-location {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 24px;
    font-weight: 500;
}

.office-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.7;
}

.office-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #666;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--secondary-color);
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.carous_l-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.carous_l-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--animation-timing);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.carous_l-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carous_l-btn:hover::before {
    width: 100%;
    height: 100%;
}

.carous_l-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.carous_l-btn:active {
    transform: translateY(0);
}

.carous_l-i_dicators {
    display: flex;
    gap: 8px;
}

.i_dicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(23, 67, 146, 0.3);
    cursor: pointer;
    transition: all 0.3s var(--animation-timing);
    position: relative;
    overflow: hidden;
}

.i_dicator.active {
    background: var(--gradient-primary);
    transform: scale(1.2);
}

.i_dicator:hover {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .offices-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carous_l-slide {
        flex-direction: column;
    }
    
    .office-image {
        order: -1;
        min-height: 250px;
    }
    
    .office-content {
        padding: 40px 30px;
    }
    
    .office-title {
        font-size: 1.8rem;
    }
    
    .carous_l-controls {
        margin-top: 30px;
    }
    
    .carous_l-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .office-content {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .office-title {
        font-size: 1.5rem;
    }
    
    .carous_l-btn {
        width: 40px;
        height: 40px;
    }
}