* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #25d366;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.phone-link {
    color: #ff6b35;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
}

.phone-link:hover {
    color: #ff8c5a;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

.whatsapp-link {
    color: #25d366;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    text-shadow: 0 0 5px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
}

.call-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.call-btn:hover {
    background: linear-gradient(135deg, #ff8c5a 0%, #ffa94d 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

nav {
    width: 100%;
    margin-top: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
}

nav a:hover {
    color: #ff6b35;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/sfera-zhalyuzi-aktau.webp') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #25d366;
    text-shadow: 0 0 20px rgba(37, 211, 102, 0.5), 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
}

.hero-btn:hover {
    background: linear-gradient(135deg, #ff8c5a 0%, #ffa94d 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.7);
}

/* Advantages */
.advantages {
    padding: 80px 20px;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #25d366;
    margin-bottom: 50px;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    border: 1px solid rgba(37, 211, 102, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.advantage-item:nth-child(1) { animation-delay: 0.1s; }
.advantage-item:nth-child(2) { animation-delay: 0.2s; }
.advantage-item:nth-child(3) { animation-delay: 0.3s; }
.advantage-item:nth-child(4) { animation-delay: 0.4s; }
.advantage-item:nth-child(5) { animation-delay: 0.5s; }

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
    border-color: rgba(37, 211, 102, 0.5);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.advantage-item h3 {
    color: #ff6b35;
    margin-bottom: 10px;
    font-size: 22px;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.advantage-item p {
    color: #e0e0e0;
}

/* Gallery */
.gallery {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: rgba(15, 52, 96, 0.5);
    border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 10px;
}

.gallery-item {
    min-width: 300px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item p {
    padding: 15px;
    text-align: center;
    color: #e0e0e0;
    font-weight: 500;
}

/* Quiz */
.quiz {
    padding: 80px 20px;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    max-width: 800px;
    margin: 0 auto;
}

.quiz-container {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    padding: 40px;
    border-radius: 20px;
    color: white;
    border: 1px solid rgba(37, 211, 102, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.quiz-progress-wrapper {
    margin-bottom: 30px;
}

.quiz-progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #e0e0e0;
    font-size: 14px;
}

.quiz-progress {
    width: 100%;
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #25d366 0%, #4ade80 100%);
    transition: width 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}

.quiz-step {
    display: none;
    animation: fadeIn 0.5s;
}

.quiz-step.active {
    display: block;
}

.quiz-question {
    font-size: 24px;
    margin-bottom: 20px;
    color: #25d366;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-option {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    color: #e0e0e0;
    display: flex;
    align-items: center;
}

.quiz-option:hover {
    background: rgba(255,255,255,0.1);
    border-color: #25d366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.quiz-option input[type="radio"],
.quiz-option input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.quiz-option.selected {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25d366;
}

.quiz-input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    color: #e0e0e0;
}

.quiz-input:focus {
    outline: none;
    border-color: #25d366;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

.quiz-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.quiz-btn:hover {
    background: linear-gradient(135deg, #ff8c5a 0%, #ffa94d 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.quiz-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.quiz-buttons .quiz-btn {
    margin-top: 0;
    flex: 1;
}

.quiz-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
    color: #e0e0e0;
}

.quiz-privacy input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.quiz-privacy a {
    color: #25d366;
    text-decoration: underline;
    transition: color 0.3s;
}

.quiz-privacy a:hover {
    color: #4ade80;
}

/* Contacts */
.contacts {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact-form h3 {
    color: #25d366;
    margin-bottom: 20px;
    font-size: 28px;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #e0e0e0;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.05);
    color: #e0e0e0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ff8c5a 0%, #ffa94d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.map-container {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 10px;
}

.contact-info {
    margin-top: 20px;
    text-align: center;
}

.contact-info p {
    font-size: 20px;
    color: #ff6b35;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.contact-info a {
    color: #25d366;
    text-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

/* Callback Form Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s;
}

.modal-content {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s;
    border: 1px solid rgba(37, 211, 102, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.modal-content h3 {
    color: #25d366;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #e0e0e0;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #ff6b35;
}

/* Floating Phone Button */
.floating-phone {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
    z-index: 1500;
    cursor: pointer;
    animation: pulse 2s infinite;
    text-decoration: none;
    color: white;
    font-size: 24px;
}

.floating-phone:hover {
    background: linear-gradient(135deg, #ff8c5a 0%, #ffa94d 100%);
    transform: scale(1.1);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25d366 0%, #4ade80 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    z-index: 1500;
    cursor: pointer;
    animation: pulse 2s infinite;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.floating-whatsapp:hover {
    background: linear-gradient(135deg, #4ade80 0%, #6ee7b7 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.8);
}

.floating-whatsapp::before {
    content: '💬';
    font-size: 24px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    color: #e0e0e0;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(37, 211, 102, 0.2);
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #ff8c5a;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .contacts-container {
        grid-template-columns: 1fr;
    }

    .floating-phone {
        display: flex;
        bottom: 90px;
    }

    .floating-whatsapp {
        display: flex;
    }

    .quiz-container {
        padding: 20px;
    }

    .quiz-question {
        font-size: 20px;
    }

    nav {
        display: none;
    }

    .header-container {
        padding: 10px 20px;
    }

    .logo {
        font-size: 20px;
    }

    .phone-header {
        font-size: 14px;
    }

    .phone-link, .whatsapp-link {
        font-size: 16px;
    }

    .call-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .quiz-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .gallery-item {
        min-width: 250px;
    }

    .modal-content {
        margin: 20% auto;
        padding: 20px;
    }
}
