/* Umumiy sozlamalar va Roboto shrifti */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.phone-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 6px 10px;
}

.phone-group input {
    border: none !important;
}

.verify-btn {
    /* display: block; */
    width: 100px;
    padding: 12px;
    background: #ffffff !important;
    color: #000000 !important;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#smsCodeInput {
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    border-radius: 5px;
}

.loadingg {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.loadingg.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
}

.prefix {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    margin-right: 6px;
    white-space: nowrap;
    color: white;
}

.phone {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #000;
}

.phone::placeholder {
    color: #aaa;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Kirishdagi Logo Effekti */
.logo-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-out, visibility 1s ease-out;
    opacity: 1;
}

.logo-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-loader .logo-text {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* Header qismi */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #000000;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
}

header nav a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border: 1px solid #000;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

header nav a:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Banner qismi */
.hero-banner {
    position: relative;
    min-height: 80vh;
    /* Formani sig'dirish uchun balandlikni oshirdik */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 40px 20px;
}

.banner-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    filter: grayscale(100%) brightness(0.5);
    /* Rasmlarni xiraroq qildik */
}

.image-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Qoplamani kuchaytirdik */
}

/* Banner ustidagi kontent va forma */
.banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.6);
    /* Formani ajratib turish uchun fon */
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    /* Formaning maksimal kengligi */
    width: 100%;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Banner ustidagi forma stillari */
.on-banner-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.on-banner-form textarea {
    grid-column: 1 / -1;
    /* Izoh maydoni to'liq kenglikni egallaydi */
}

/* Bannerdagi input va textarea uchun yangi stillar */
.on-banner-form input,
.on-banner-form textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    border-radius: 5px;
}

.on-banner-form input::placeholder,
.on-banner-form textarea::placeholder {
    color: #cccccc;
}

.on-banner-form button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #ffffff;
    color: #000000;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.on-banner-form button:hover {
    background-color: #cccccc;
}

/* SMS Tasdiqlash Bo'limi */
#sms-verification {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    border-radius: 5px;
    text-align: center;
    color: #fff;
}

#sms-verification.hidden {
    display: none;
}

#sms-verification p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

#sms-verification input {
    background-color: #fff;
    color: #000;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 5px;
}

#sms-verification button {
    background-color: #000;
    color: #fff;
}


/* Nima uchun biz? */
.why-us {
    padding: 60px 0;
}

.why-us h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Futer (pastki qism) */
footer {
    background-color: #000000;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #bbbbbb;
}

.footer-contact {
    margin: 20px 0;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #777777;
}

/* Responsivlik (Mobil qurilmalar uchun) */
@media(max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .on-banner-form .form-grid {
        grid-template-columns: 1fr;
    }

    .banner-images {
        grid-template-columns: 1fr 1fr;
    }
}