* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark-gray: #1a1a1a;
    --orange: #FF6600;
    --orange-dark: #E65C00;
    --orange-light: #FF8C42;
    --white: #FFFFFF;
    --gray: #666666;
    --light-gray: #f5f5f5;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
}

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

/* Header Styles */
.gradient-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--orange);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.header-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    text-align: right;
    font-size: 0.9rem;
    color: var(--white);
    line-height: 1.4;
}

/* Section Styles */
.gradient-section {
    background: var(--black);
    padding: 5rem 0;
    margin: 0;
    border-bottom: 1px solid var(--gray);
}

.gradient-section:nth-child(even) {
    background: var(--dark-gray);
}

.gradient-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.gradient-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--orange);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: var(--dark-gray);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-8px);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
}

.service-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--orange);
}

.service-item p {
    color: var(--white);
    line-height: 1.6;
}

/* Advantages List */
.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.advantage-item {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--orange);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateX(8px);
}

.advantage-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--orange);
}

.advantage-item p {
    color: var(--white);
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-item {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--gray);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: scale(1.05);
    border-color: var(--orange);
}

.partner-logo {
    max-width: 150px;
    max-height: 80px;
    margin: 0 auto 1rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 8px;
}

.partner-logo img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--gray);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.news-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--orange);
}

.news-item p {
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-item small {
    color: var(--gray);
    font-size: 0.9rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.about-text {
    display: flex;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
}

.company-card {
    background: var(--dark-gray);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray);
}

.company-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--orange);
    text-align: center;
}

.company-info p {
    margin-bottom: 1rem;
    color: var(--white);
    display: flex;
    align-items: center;
}

.company-info strong {
    color: var(--orange);
    min-width: 80px;
    margin-right: 1rem;
}

/* Map Section */
.map-section {
    margin: 3rem 0;
}

.map-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--orange);
    text-align: center;
}

#map {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--orange);
}

/* Feedback Form */
.feedback-section {
    margin-top: 3rem;
}

.feedback-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--orange);
    text-align: center;
}

.feedback-form {
    background: var(--dark-gray);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray);
    border-radius: 8px;
    background: var(--black);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.submit-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Footer */
.gradient-footer {
    background: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    border-top: 3px solid var(--orange);
}

.gradient-footer p {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

/* Captcha Container */
#captcha-container {
    background: var(--black);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--gray);
    text-align: center;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--orange);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-info {
        text-align: center;
    }

    .gradient-section {
        padding: 3rem 0;
    }

    .gradient-section h2 {
        font-size: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item,
    .advantage-item,
    .partner-item,
    .news-item {
        padding: 1.5rem;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .feedback-form {
        padding: 1.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.4rem;
    }

    .gradient-section h2 {
        font-size: 1.6rem;
    }

    .services-grid,
    .advantages-list,
    .partners-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .company-card,
    .feedback-form {
        padding: 1rem;
    }
}
