:root {
    --primary-blue: #0b8ce9;
    --dark-blue: #086bb5;
    --footer-bg: #108dee;
    --light-bg: #f4f7f6;
    --text-dark: #333;
    --text-light: #fff;
    --border-color: #e0e0e0;
}

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

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header .logo img {
    height: 45px;
    display: block;
}

.lang-selector {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 15px 50px;
    gap: 30px;
}

@media (min-width: 768px) {
    .main-content {
        padding: 60px 20px 80px;
        gap: 60px;
    }
}

.registration-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .registration-card {
        padding: 40px;
    }
}

.badge-temir {
    display: inline-block;
    background-color: rgba(11, 140, 233, 0.1);
    color: var(--primary-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.registration-card h1 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
}

@media (min-width: 768px) {
    .registration-card h1 {
        font-size: 26px;
    }
}

.registration-card .description {
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
    font-size: 15px;
}

.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(11, 140, 233, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

.btn-submit {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(11, 140, 233, 0.3);
}

.btn-submit:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 140, 233, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Footer matching the my.gov.uz style from image */
.footer {
    background: url('../img/banner.jpg') no-repeat;
    background-size: cover;
    color: white;
    padding: 50px 20px 30px;
    position: relative;
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-main {
    margin-bottom: 40px;
    text-align: center;
}

.footer-logo-main img {
    height: 60px;
    /* Adding brightness filter if the logo isn't white already */
    /* filter: brightness(0) invert(1); */
}

.footer-links-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 40px;
    margin-bottom: 50px;
}

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

.footer-section h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding-top: 20px;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partner-logo img {
    filter: brightness(0) invert(1);
}

.footer-bottom-left img {
    height: 45px;
}

.footer-bottom-right img {
    height: 35px;
}

.partner-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    color: white;
}

.uzinfocom-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Responsive Footer Links */
@media (min-width: 768px) {
    .footer-links-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 150px;
    }

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

    .footer-container {
        align-items: stretch;
    }

    .footer-logo-main {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

/* Similar Services Section */
.similar-services-section {
    width: 100%;
    text-align: center;
}

.section-title {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 600;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: white;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-icon span {
    font-size: 16px;
    font-weight: 500;
}

.icon-olive {
    background-color: #B4B86A;
}

.icon-pink {
    background-color: #C982C3;
}

.icon-orange {
    background-color: #EFA235;
}

.icon-blue {
    background-color: #85A1C8;
}

.icon-purple {
    background-color: #8C7ED4;
}

.service-card p {
    font-size: 13px;
    color: #444;
    line-height: 1.4;
    font-weight: 500;
}

/* intl-tel-input override */
.iti {
    width: 100%;
}

.iti__selected-flag {
    border-radius: 10px 0 0 10px;
}

/* Info Card Section */
.info-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    width: 100%;
    margin: 30px auto 0;
    text-align: left;
}

@media (min-width: 768px) {
    .info-card {
        padding: 40px;
        margin: 40px auto 0;
    }
}

.info-title {
    color: var(--primary-blue);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

@media (min-width: 768px) {
    .info-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
}

.info-section {
    margin-bottom: 25px;
}

.info-section h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.info-section p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-section ul {
    list-style-type: none;
    margin-bottom: 10px;
}

.info-section ul li {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.info-section ul li::before {
    content: "•";
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -1px;
}

.info-section ul ul {
    margin-top: 8px;
    margin-bottom: 5px;
    margin-left: 5px;
}

.info-section ul ul li::before {
    content: "◦";
    color: #666;
}