/* CSS Variables */
:root {
    --accent: #5b5ce6;
    --text-light: #ffffff;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.phone {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: transform 0.3s;
}

.phone:hover {
    transform: scale(1.05);
}

/* Hero Carousel */
.hero-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    font-family: Inter, Arial, sans-serif;
}

.carousel {
    position: relative;
    height: 420px;
    min-height: 320px;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 20, 40, 0.6);
    backdrop-filter: blur(0.5px);
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
}

.slide-content h1 {
    font-size: 32px;
    margin: 0 0 12px;
    line-height: 1.05;
    font-weight: 700;
}

.slide-content p {
    margin: 0 auto 20px;
    max-width: 720px;
    opacity: 0.95;
    line-height: 1.6;
    font-size: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 32px;
    background: var(--text-light);
    color: #222;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(91,92,230,0.18);
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91,92,230,0.25);
}

/* Social Links in Carousel */
.social-links-carousel {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #222;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: white;
}

/* Navigation Arrows */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 0;
    background: rgba(255,255,255,0.85);
    cursor: pointer;
    font-weight: 700;
    transition: transform .15s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.nav.prev {
    left: 18px;
}

.nav.next {
    right: 18px;
}

/* Indicators */
.indicators {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    z-index: 6;
    display: flex;
    gap: 10px;
}

.indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
}

.indicators button.active {
    background: var(--text-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    padding: 60px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #667eea;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-item h4 {
    font-size: 20px;
    margin: 15px 0;
    color: #667eea;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-info-box h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info-box p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.map-container {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.contact-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Custom styling for select dropdown */
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Hover state for select */
.form-group select:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Placeholder styling for select */
.form-group select option[value=""] {
    color: #999;
}

/* Disabled state */
.form-group select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: white;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .carousel {
        height: 520px;
    }
    
    .slide-content h1 {
        font-size: 26px;
    }
    
    .slide-content p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .header-content {
        justify-content: center;
        text-align: center;
    }

    .header-right {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .language-switcher {
        order: -1;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 520px;
    }
    
    .slide-content h1 {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}
