/* ===== RESET ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6f9;
    color: #333;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(90deg, #0f8a5f, #0c6f4d);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    margin: 0;
}

header p {
    margin: 8px 0 0;
    opacity: 0.9;
}

/* ===== NAV ===== */
nav {
    background: #0c6f4d;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 15px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== CONTAINER ===== */
/* ===== SAHIFA MARKAZLASH ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===== BO‘LIMLAR MARKAZDA ===== */
.sub-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* ENG MUHIM QATOR */
    gap: 16px;
    margin: 40px auto;
}

/* Tugmalar */
.sub-menu a {
    background: #ffffff;
    padding: 12px 22px;
    border-radius: 14px;
    text-decoration: none;
    color: #0c6f4d;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

.sub-menu a:hover {
    background: #0c6f4d;
    color: #fff;
    transform: translateY(-2px);
}


/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

.card h3 {
    margin-top: 0;
    color: #0c6f4d;
}

/* ===== DIGITAL BANK ===== */
.digital-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Kredit kalkulyator */
.digital-card {
    background: white;
    padding: 30px;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.digital-card h3 {
    margin-top: 0;
    color: #0c6f4d;
}

.digital-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.digital-card input:focus {
    outline: none;
    border-color: #0c6f4d;
}

.digital-card button {
    background: #0c6f4d;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
}

.digital-card button:hover {
    background: #09563b;
}

/* ===== DIGITAL APP ===== */
.digital-app {
    background: linear-gradient(135deg, #0c6f4d, #16a36f);
    color: white;
    padding: 30px;
    border-radius: 22px;
    text-align: center;
}

.digital-app h3 {
    margin-top: 0;
}

.digital-app p {
    opacity: 0.9;
}

.digital-app a {
    display: inline-block;
    margin: 10px;
    padding: 10px 22px;
    background: white;
    color: #0c6f4d;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

.digital-app a:hover {
    background: #e6f5ef;
}

/* ===== APP IMAGES GRID ===== */
.app-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    justify-items: center;
    margin: 20px 0;
}

.app-images img {
    width: 150px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.25s ease;
}

.app-images img:hover {
    transform: scale(1.06);
}

/* ===== TABLE (KREDIT JADVAL) ===== */
table {
    border-collapse: collapse;
    font-size: 14px;
}

table th {
    background: #0c6f4d;
    color: white;
    padding: 8px;
}

table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .digital-wrap {
        grid-template-columns: 1fr;
    }
}
.sub-menu {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center !important;
}
/* ===== MOBIL ILOVA RASMLARI (RAQAMLI BANK) ===== */
.app-images{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    justify-items: center;
    margin: 25px 0;
}

.app-images img{
    width: 160px;
    height: auto;
    border-radius: 18px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-images img:hover{
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}


