/* =========================================
   JizPI & SZUT PORTALI - YAKUNIY STYLE
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f1f5f9;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* NAVIGATSIYA */
/* NAVIGATSIYA KONTEYNERI */
nav {
    background: #ffffff;
    padding: 0px 5%; /* Tepa-pastdan 0, yonlardan 5% masofa */
    display: flex;
    justify-content: space-between; /* Logolar chapda, menyu o'ngda turadi */
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 90px; /* Navigatsiya balandligi qat'iy belgilandi */
}

/* LOGOTIPLAR BLOKI */
.nav-logos {
    display: flex;
    align-items: center;
    gap: 15px; /* Logolar orasidagi masofa */
}

/* HAR BIR LOGO UCHUN STANDART */
.logo-img {
    height: 65px; /* Ikkala logo ham qat'iy 65px balandlikda bo'ladi */
    width: auto;  /* Eni o'z proporsiyasini saqlaydi */
    object-fit: contain; /* Rasm cho'zilib ketmasligi uchun */
    display: block;
}

/* MENYU LINKLARI BLOKI */
.nav-links {
    display: flex;
    gap: 20px; /* Linklar orasidagi masofa */
}

.nav-links a {
    text-decoration: none;
    color: #1e40af; /* Yangi yorqin ko'k rang */
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 15px;
    border-radius: 8px;
    transition: 0.3s ease;
    white-space: nowrap; /* Matn pastga tushib ketmasligi uchun */
}

.nav-links a:hover {
    background: rgba(30, 64, 175, 0.08);
    color: #3b82f6;
}

/* MOBIL MOSLASHUVCHANLIK */
@media (max-width: 900px) {
    nav {
        flex-direction: column; /* Telefonda logolar tepada, menyu pastda bo'ladi */
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    .logo-img {
        height: 50px;
    }
}
/* KONTEYNER */
.container {
    flex: 1;
    max-width: 1100px;
    width: 95%;
    margin: 30px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #0a4275 0%, #1c5d99 100%);
    padding: 40px 30px;
    border-radius: 15px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.hero h1 { font-size: 2.2rem; margin-bottom: 10px; }

/* TUGMALAR */
.btn-primary, button {
    background-color: #d4af37;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

button:hover {
    background-color: #1c5d99;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

/* FORMA DIZAYNI (image_31a7c8 dagi muammoni tuzatish) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Ikki ustunli qatlam */
    gap: 20px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #0a4275;
}

input, select {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    width: 100%;
}

input:focus, select:focus {
    border-color: #0a4275;
}

/* FOOTER QISMI */
.main-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 50px 5% 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3, 
.footer-column h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid #d4af37;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #d4af37;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    color: #94a3b8;
}

/* JADVAL */
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th { text-align: left; padding: 12px; background: #f8fafc; border-bottom: 2px solid #e2e8f0; }
td { padding: 12px; border-bottom: 1px solid #f1f5f9; }

/* MOBIL MOSLASHUVCHANLIK */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr; /* Telefonda bitta ustun bo'ladi */
    }
    .footer-container { text-align: center; }
}