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

:root {
    --primary-color: #0d1b3e;
    --secondary-color: #1e3a8a;
    --accent-color: #fbbf24;
    --text-color: #333;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Social Media Icons */
.social-icons {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.telegram-icon {
    color: #0088cc;
}

.telegram-icon:hover {
    background: #0088cc;
    color: var(--white);
}

.whatsapp-icon {
    color: #25D366;
}

.whatsapp-icon:hover {
    background: #25D366;
    color: var(--white);
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.instagram-icon:hover {
    background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
    transform: translateY(-3px) scale(1.05);
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: var(--white);
    padding: 5px;
    border-radius: 25px;
    box-shadow: var(--shadow);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background: var(--light-bg);
}

/* Navigation */
.navbar {
    background: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.nav-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-brand h2 {
    color: var(--white);
    font-size: 1.5rem;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section - НОВЫЙ ДИЗАЙН */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content-center {
    text-align: center;
    max-width: 900px;
}

.hero-slogan {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background: #fcd34d;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Services Section */
.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.8;
}

/* Process Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    min-width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-color);
}

/* Documents Section */
.documents {
    background: var(--light-bg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: -2rem auto 3rem;
    line-height: 1.8;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.document-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.document-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.document-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.document-card:hover .document-image {
    transform: scale(1.05);
}

.document-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.document-content {
    padding: 1.5rem;
}

.document-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.document-content p {
    color: var(--text-color);
    line-height: 1.8;
}

.documents-note {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.documents-note p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Contact Section - МАКСИМАЛЬНО ПРОЗРАЧНЫЙ ФОН */
.contact {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 5rem 0;
    margin-top: -100px;
    display: flex;
    align-items: center;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.contact-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-title {
    color: var(--white);
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.contact .section-title::after {
    background: var(--accent-color);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(70, 130, 180, 0.75);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.info-card:hover {
    background: rgba(70, 130, 180, 0.9);
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.info-card p {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 500;
}

.info-card a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.3rem;
    font-weight: 600;
}

.info-card a:hover {
    color: #fcd34d;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Contact Email Card - Simple */
.contact-email-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.email-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem 4rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 2px solid rgba(251, 191, 36, 0.3);
    transition: var(--transition);
}

.email-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.email-link {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-bottom: 0.3rem;
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.email-link:hover {
    color: var(--secondary-color);
}

.email-link:hover::after {
    transform: scaleX(1);
}

/* Footer - Elegant Design */
.footer {
    background: linear-gradient(135deg, #0d1b3e 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 4rem 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-heading,
.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-contact-item:hover {
    color: var(--accent-color);
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.footer-social-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.footer-social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-social-icon.telegram:hover {
    background: #0088cc;
}

.footer-social-icon.whatsapp:hover {
    background: #25D366;
}

.footer-social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        justify-content: space-between;
        gap: 0;
    }

    .nav-brand {
        display: none;
        position: static;
        transform: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        margin-left: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-slogan {
        font-size: 2.5rem;
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }

    .email-card {
        padding: 2rem 1.5rem;
    }

    .email-link {
        font-size: 1.3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem 2rem 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .contact .section-title {
        font-size: 2rem;
    }

    .info-card h3 {
        font-size: 1.3rem;
    }

    .info-card p,
    .info-card a {
        font-size: 1.1rem;
    }

    .language-switcher {
        top: 10px;
        right: 10px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-number {
        min-width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
