/* Asosiy stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #F9FAFB; /* Yumshoq kulrang fon */
    color: #1F2A44; /* Qora-kulrang matn */
    line-height: 1.8; /* Qatorlar orasidagi masofa oshirildi */
    overflow-x: hidden;
    position: relative;
}

/* Yuklash spinneri */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(76, 175, 80, 0.2);
    border-top: 5px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Umumiy button stili */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, #4CAF50, #1976D2); /* Yumshoq gradient */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.button i {
    margin-right: 10px;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.button:after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.button:hover:after {
    left: 100%;
}

/* Umumiy card stili */
.card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4CAF50, #1976D2);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Headline */
.headline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f9fafb; /* Siz so'ragan fon rangi */
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Headerdan yuqori bo'lishi uchun */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.headline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; /* Matches container width */
    width: 100%;
    position: relative;
}

.logo {
    width: 160px;
    height: auto;
    transition: transform 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Center the logo */
}

.logo:hover {
    transform: translateX(-50%) scale(1.05); /* Adjusted for centering */
}

.language-switcher {
    display: flex;
    gap: 10px;
    margin-left: auto; /* Pushes language switcher to the right */
}

.language-switcher button {
    padding: 8px 16px;
    background: #1F2A44;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.language-switcher button:hover {
    background: #4CAF50;
    color: #fff;
    transform: translateY(-2px);
}

/* Full version (Desktop) */
@media (min-width: 1400px) {
    .headline {
        padding: 15px 0; /* Remove side padding, handled by container */
    }
    .headline-container {
        padding: 0 20px; /* Inner padding for alignment with container */
    }
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .headline {
        padding: 15px 20px; /* Restore padding for smaller screens */
    }
    .logo {
        position: static; /* Remove absolute positioning */
        transform: none; /* Reset transform */
    }
    .headline-container {
        flex-direction: row; /* Keep horizontal layout */
        justify-content: space-between; /* Logo left, language switcher right */
    }
    .language-switcher {
        margin-left: auto; /* Ensure it stays on the right */
    }
}

@media (max-width: 768px) {
    .logo {
        width: 120px; /* Slightly smaller logo for mobile */
    }
    .language-switcher button {
        padding: 6px 12px; /* Smaller buttons for mobile */
        font-size: 0.9em;
    }
}

/* Header */
.parallax-header {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.8), rgba(25, 118, 210, 0.7)), url('img/bg.jpg') no-repeat center/cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 20px 40px;
    color: #fff;
    overflow: hidden;
    margin-top: 80px; /* Headline balandligiga moslash */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.header-text {
    max-width: 50%;
    animation: fadeIn 1s ease-in;
}

.header-text h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.header-text p {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.header-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.header-image {
    max-width: 40%;
    border-radius: 20px;
    animation: fadeIn 1s ease-in;
    transition: transform 0.5s ease;
}

.header-image:hover {
    transform: scale(1.02);
}

/* Video popup */
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-popup.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.close-popup:hover {
    transform: rotate(90deg);
    background: rgba(0, 0, 0, 0.8);
}

/* Kontent konteyneri */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px; /* Padding oshirildi */
}

/* Bo'limlar */
.section {
    margin-bottom: 120px; /* Bo'limlar orasidagi masofa oshirildi */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section.animated {
    opacity: 1;
    transform: translateY(0);
}

.about {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Kichik ekranlarda moslashuvchanlik */
}

.about-content p {
    font-size: 1.2em; /* Matn o'lchami oshirildi */
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1; /* Matn moslashuvchan bo'ladi */
    min-width: 300px; /* Minimal kenglik */
}

.about-content img {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    flex: 1; /* Rasm moslashuvchan bo'ladi */
    max-width: 500px; /* Maksimal kenglik */
}

.about-content img:hover {
    transform: scale(1.02);
}

.section-title {
    text-align: center;
    font-size: 2.8em; /* Sarlavha o'lchami oshirildi */
    margin-bottom: 50px;
    color: #4CAF50;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #1976D2);
    border-radius: 3px;
}

/* Afzalliklar */
.features {
    position: relative;
    padding: 60px;
    border-radius: 20px;
    background: #F9FAFB; /* Yumshoq fon */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(25, 118, 210, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(76, 175, 80, 0.1);
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2em;
    color: #1976D2;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #4CAF50;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #4CAF50;
    font-weight: 600;
    font-size: 1.4em;
}

.feature-card p {
    color: #555;
    line-height: 1.7;
}

/* Investorlar uchun */
.invest {
    background: linear-gradient(135deg, #4CAF50, #1976D2); /* Yumshoq gradient */
    color: #fff;
    padding: 80px 60px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.invest:before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.invest h2, .invest p {
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.invest p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
    line-height: 1.8;
}

.invest-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 50px 0;
}

.stat-card h3 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #4CAF50;
    font-weight: 700;
}

.stat-card p {
    color: #1F2A44;
    font-size: 1.1em;
    text-shadow: none;
}

/* Marketing va logistika */
.marketing, .logistics {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
    padding: 60px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.marketing img, .logistics img {
    width: 45%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.marketing img:hover, .logistics img:hover {
    transform: scale(1.02);
}

.marketing-content, .logistics-content {
    width: 55%;
}

.marketing-content h2, .logistics-content h2 {
    text-align: left;
    margin-bottom: 30px;
}

.marketing-content p, .logistics-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.2em; /* Matn o'lchami oshirildi */
}

/* Hamkorlar */
.partners {
    padding-top: 60px;
    border-radius: 20px;
    background: #F9FAFB; /* Yumshoq fon */
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.partner-card img {
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-card p {
    font-weight: 600;
    color: #1F2A44;
}

/* Bog'lanish */
.contact {
    background: linear-gradient(135deg, #1F2A44, #263238); /* Yumshoq gradient */
    color: #fff;
    padding: 80px 20px;
    border-radius: 20px;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: stretch; /* Bo'limlarni vertikal tenglashtirish */
}

.contact-info, .contact-form {
    width: 48%; /* Har biri teng kenglikda */
    display: flex;
    flex-direction: column;
}

.contact-info-header, .contact-form-header {
    margin-bottom: 30px;
}

.contact-info-header h3, .contact-form-header h3 {
    font-size: 1.8em;
    font-weight: 600;
    color: #4CAF50;
    position: relative;
    display: inline-block;
}

.contact-info-header h3:after, .contact-form-header h3:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #1976D2);
    border-radius: 3px;
}

.contact-form {
    background: #fff;
    color: #1F2A44;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    margin-right: 15px;
    color: #1976D2;
    font-size: 1.3em;
    width: 30px;
    text-align: center;
}

/* Responsivlik */
@media (max-width: 992px) {
    .partner-companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info, .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .partner-companies {
        padding: 40px 20px;
    }

    .partner-company-card {
        min-height: 180px;
    }

    .partner-company-card img {
        width: 60px;
        height: 60px;
    }

    .contact {
        padding: 40px 20px;
    }

    .contact-info-header h3, .contact-form-header h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 576px) {
    .partner-company-card p {
        font-size: 0.9em;
    }

    .contact-info-header h3, .contact-form-header h3 {
        font-size: 1.3em;
    }
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links a {
    color: #fff;
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.social-links a[href*="facebook"]:hover { background: #3b5998; }
.social-links a[href*="telegram"]:hover { background: #0088cc; }
.social-links a[href*="instagram"]:hover { background: #e4405f; }
.social-links a[href*="youtube"]:hover { background: #ff0000; }

.qr-code {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    max-width: 250px;
}

.qr-code img {
    width: 150px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.qr-code p {
    font-size: 1em;
    line-height: 1.5;
}

.qr-code a {
    color: #1976D2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.qr-code a:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.contact-form {
    width: 55%;
    background: #fff;
    color: #1F2A44;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8em;
    margin-bottom: 30px;
    font-weight: 600;
    color: #4CAF50;
    position: relative;
}

.contact-form h3:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #1976D2);
    border-radius: 3px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: #777;
    font-size: 1em;
    transition: all 0.3s ease;
    pointer-events: none;
    background: #fff;
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8em;
    color: #1976D2;
}

.form-group input:placeholder-shown + label,
.form-group textarea:placeholder-shown + label {
    opacity: 1; /* Placeholder ko'rinadigan bo'lsa label ko'rinadi */
}

.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    opacity: 1; /* Input to'ldirilganda label ko'rinadi */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: transparent;
    z-index: 1;
    position: relative;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1976D2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .form-message {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #e4405f;
}

/* Footer */
.footer {
    background: #263238;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 160px;
    height: auto;
    border-radius: 10px;
}

.footer-logo p {
    font-size: 1.1em;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    color: #1976D2;
    opacity: 1;
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
    opacity: 0.6;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50, #1976D2);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1F2A44;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    max-width: 80%;
    line-height: 1.6;
}

.cookie-banner button {
    padding: 10px 20px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-banner button:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

/* Animatsiyalar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Media so'rovlar */
@media (max-width: 1200px) {
    .header-text h1 {
        font-size: 3em;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-content img {
        width: 100%;
        max-width: 600px;
    }
    
    .marketing, .logistics {
        flex-direction: column;
    }
    
    .marketing img, .logistics img, 
    .marketing-content, .logistics-content {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .header-text {
        max-width: 60%;
    }
    
    .header-image {
        max-width: 35%;
    }
    
    .invest-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 350px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .parallax-header {
        min-height: 80vh;
        padding: 20px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-text {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .header-buttons {
        justify-content: center;
    }
    
    .header-image {
        max-width: 80%;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .about, .features, .marketing, 
    .logistics, .partners, .invest {
        padding: 40px 20px;
    }
    
    .feature-card, .partner-card, .stat-card {
        padding: 30px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner p {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .header-text h1 {
        font-size: 2.2em;
    }
    
    .header-text p {
        font-size: 1em;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .popup-content {
        width: 95%;
    }
    
    .video-container {
        padding-bottom: 75%; /* 4:3 aspect ratio for mobile */
    }
}

/* Partner Companies */
.partner-companies {
    padding: 60px;
    border-radius: 20px;
    background: #F9FAFB; /* Yumshoq fon */
    text-align: center;
}

.partner-companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.partner-company-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.partner-company-card img {
    width: 130px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-company-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-company-card p {
    font-weight: 600;
    color: #1F2A44;
}