body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
}

.hero-section {
    width: 100% !important;
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.navbar ul li {
    margin: 0 30px;
    background-color: white;
    padding: 8px 35px;
    border-radius: 20px;
    display: inline-block;
}

.navbar ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background-color: #B1B1B1;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    right: 0;
}

.dropdown-content a {
    color: black;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    cursor: pointer;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.flag-icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    border-radius: 50%;
}

#selectedLanguage {
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #333;
}

.dropdown-button .arrow {
    margin-left: 10px;
    font-size: 16px;
    color: #333;
}

.text_svg {
    position: absolute;
    top: 53%;
    left: 48px;
    transform: translate(0, 0);
}

.text_company {
    color: #555555;
    font-size: 23px;
    text-align: center;
}

.color_text_1 {
    color: #555555;
}

.check_work {
    font-size: 64px;
    margin-left: 50px;
    color: #222222;
}

.container_service {
    width: 90%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin: 0 auto;
}

.block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: white;
    border-radius: 10px;
    width: 120%;
}

.block-1 {
    margin-left: auto;
}

.block-1 .text {
    margin-left: 12%;
}

.block-2 .text {
    margin-left: 10%;
}

.block img {
    width: 45%;
}

.text {
    width: 60%;
}

.text_1 {
    font-size: 25px;
    color: #333;
}

.text_2 {
    font-size: 18px;
    color: #666;
}

.reverse {
    flex-direction: row-reverse;
}


.services-wrapper {
    background: #999;
    padding: 30px 0;
    margin: 5% 0;
}

.services {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}

.service-box {
    width: 22%;
    background: #999;
    padding: 20px;
    text-align: left;
}

.service-box h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000;
}

.service-box p {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
}

.service-box .icon {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.service-box .icon::before {
    content: "—";
    font-size: 24px;
    margin-right: 10px;
    font-weight: bold;
    color: #000000;
}


.service-box a {
    display: inline-block;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    width: 120px;
    transition: transform 0.3s ease;
    color: #424242;
}

.service-box a::after {
    content: "⟶";
    font-size: 26px;
    display: inline-block;
    transition: transform 0.3s ease;
}


.service-box a:hover::after {
    transform: translateX(7px);
}


.about_section {
    display: flex;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px;
    color: #555555;
}

.about_section img {
    width: 45%;
    max-width: 500px;
}

.about_section .text-content {
    width: 50%;
}

.about_section h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #274A44;
}

.about_section p {
    font-size: 16px;
    line-height: 1.5;
}

.counter-container {
    display: flex;
    gap: 50px;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.counter-item {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #222222;
}

.counter-item span {
    align-items: center;
    font-size: 40px;
    font-weight: bold;
}

.o_nas_2_text {
    margin-left: 8%;
}

.about_section .o_nas {
    color: #222222;
    font-size: 42px;
    font-weight: 600;
}


.grid, .grid-5 {
    display: grid;
    gap: 5px;
    position: relative;
}

.grid {
    grid-template-columns: 531px 265px 680px;
}

.grid-5 {
    grid-template-columns: 380px 265px 520px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo_1 {
    grid-row: span 2;
    width: 531px;
    height: 531px;
}

.photo_2, .photo_4, .photo_7 {
    width: 265px;
    height: 265px;
}

.photo_3, .photo_5, .photo_6 {
    width: 380px;
    height: 265px;
}

.photo_8 {
    width: 531px;
    height: 555px;
    grid-row: span 2;
}

.photo_9 {
    width: 380px;
    height: 285px;
}

.grid-item.portfolio-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #222222;
    text-align: center;
    position: relative;
    z-index: 2;
    text-decoration: none;
}

.grid-item.portfolio-text h2 {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    text-decoration: none;
}

.arrow {
    font-size: 50px;
    color: white;
    transition: transform 0.3s ease-in-out;
    align-items: flex-start;
}

.center_121 {
    max-width: 1200px;
    margin: 0 auto;
}

.background_color {
    width: 100%;
    height: 1100px;
    background-color: #4C4C4C;
}

.image-container_list {
    display: none;
}

.secret_text {
    display: none;
}

.text-content > img {
    display: none;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #181818;
    color: #ff4500;
    font-family: Arial, sans-serif;
    margin-top: 3%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.info {
    max-width: 500px;
}

.info h2 {
    margin: 10px 0;
    font-weight: bold;
    color: #EC2D02;
}

.info h3 {
    margin: 10px 0;
    font-style: italic;
    color: #EC2D02;
}

.info_footer p {
    color: #EC2D02;
    margin: 5px 0;
}

.info a {
    color: #ff4500;
    text-decoration: none;
}

.info a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    margin-right: 10px;
    cursor: pointer;
}

.social-icons img {
    width: 25px;
}

.map-frame {
    width: 560px;
    height: 300px;
    border: none;
}


.map {
    width: 100%;
    max-width: 500px; /* Ixtiyoriy: maksimal eni */
    height: 300px; /* Aniq balandlik */
    margin-top: 1%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.about_section .text-content > img {
    /* Masalan: */
    display: none;
}

.logo-text {
    width: 80%;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.logo-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.spinner {
    width: 100%;
    height: 100%;
    border: 6px solid transparent;
    border-top: 6px solid black;
    border-right: 6px solid black;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.logo-text-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.logo-letter {
    font-size: 58px;
    font-weight: bold;
    color: black;
    font-family: serif;
}

.logo-subtext {
    font-size: 20px;
    color: black;
    font-family: serif;
    font-weight: bold;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 1322px) {

    .text_svg {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translate(0, 0%);
    }

    .navbar ul li {
        margin: 0 10px;
        background-color: white;
        padding: 8px 40px;
        border-radius: 20px;
        display: inline-block;
    }

    .container_service {
        width: 90%;
        max-width: 700px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin: 0 auto;
    }
}


@media screen and (max-width: 1184px) {

    .navbar ul li {
        margin: 0 5px;
        background-color: white;
        padding: 8px 40px;
        border-radius: 20px;
        display: inline-block;
    }

    .container_service {
        width: 90%;
        max-width: 700px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin: 0 auto;
    }

    .image-container_list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .image-item {
        position: relative;
        width: 100%;
        height: 550px;
    }

    .image-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .text-overlay {
        position: absolute;
        top: 10px;
        left: 10px;
        color: white;
        font-size: 20px;
        font-weight: bold;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 10px;
    }

    .display_none_list {
        display: none;
    }

    .background_color {
        width: 100%;
        height: 100%;
        background-color: #4C4C4C;
    }
}

@media screen and (max-width: 1184px) {
    .navbar ul li {
        margin: 0 10px;
        background-color: white;
        padding: 8px 20px;
        border-radius: 20px;
        display: inline-block;
    }
}

@media screen and (max-width: 1040px) {
    .container_service {
        width: 90%;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin: 0 auto;
    }

    #selectedLanguage,
    .dropdown-button .arrow {
        display: none;
    }

    .dropdown-button {
        width: auto;
        padding: 8px;
        margin-right: 10px;
    }

    .flag-icon {
        width: 30px;
        height: 30px;
        margin: 0;
    }

    .counter-container {
        display: flex;
        gap: 20px;
        background: white;
        padding: 20px;
        border-radius: 10px;
    }

    .counter-item {
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        color: #222222;
    }

    .counter-item span {
        align-items: center;
        font-size: 30px;
        font-weight: bold;
    }

    .block {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        background: white;
        border-radius: 10px;
        width: 100%;
    }

}

@media screen and (max-width: 1040px) {
    .navbar ul {
        display: none;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 20px;
    }

    .logo {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .secret_text {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .secret_text > h2 {
        margin: 0;
        font-size: 24px;
        font-weight: bold;
    }

    .lang {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .dropdown-button {
        background-color: transparent;
        border: none;
        padding: 0;
    }

    #selectedLanguage,
    .dropdown-button .arrow {
        display: none;
    }

    .dropdown-content a {
        display: flex; /* matn va rasm yonma-yon */
        align-items: center;
        gap: 8px; /* flag va text orasida masofa */
        padding: 8px 12px;
        font-size: 14px;
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

    .services-wrapper {
        background: #999;
        padding: 30px 0;
        margin: 5% 0;
    }

    .services {
        display: unset;
        justify-content: unset;
        max-width: unset;
        margin: 0 auto;
    }

    .service-box {
        width: 80%;
        background: #999;
        padding: 20px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        word-wrap: break-word;
        overflow: hidden;
    }

    .service-box h3 {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #000000;
    }

    .service-box p {
        font-size: 14px;
        line-height: 1.5;
        color: #000000;
    }

    .service-box .icon {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .service-box .icon::before {
        content: "—";
        font-size: 24px;
        margin-right: 10px;
        font-weight: bold;
        color: #000000;
    }

    .service-box a {
        display: inline-block;
        font-size: 26px;
        font-weight: bold;
        text-decoration: none;
        width: 120px;
        transition: transform 0.3s ease;
        color: #424242;
    }

    .service-box a::after {
        content: "⟶"; /* Uzunroq ok */
        font-size: 26px;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    /* Hover effekti */
    .service-box a:hover::after {
        transform: translateX(7px);
    }

    .image-container_list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .image-item {
        height: auto;
    }

    .image-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .about_section {
        flex-direction: column;
        text-align: center;
    }

    .about_section img {
        width: 100%;
        margin: 20px auto;
    }

    .about_section .text-content {
        width: 100%;
    }

    .footer-content {
        display: unset;
        justify-content: space-between;
        width: 100%;
        max-width: 1200px;
    }

    .map {
        width: 100%;
        max-width: 500px; /* Ixtiyoriy: maksimal eni */
        height: 250px; /* Aniq balandlik */
        margin-top: 3%;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
    }

    .map iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

    .check_work {
        font-size: 34px;
        margin-left: 20px;
        color: #222222;
    }

    .text_svg > img {
        width: 98%;
    }

    .block-1 .text {
        margin-left: 5%;
    }

    .about_section > .display_none_abouts {
        display: none;
    }

    .about_section .text-content > img {
        /* Masalan: */
        display: unset;
        margin-top: 5%;
    }
}

@media (max-width: 768px) {
    .about_section {
        flex-direction: column;
        text-align: center;
    }

    .about_section img {
        width: 100%;
        margin-bottom: 20px;
    }

    .about_section .text-content {
        width: 100%;
    }

    .block-1 .text {
        margin-left: 3%;
    }

    .block-2 .text {
        margin-left: 3%;
    }

    .text_1 {
        font-size: 15px;
        color: #333;
    }

    .text_2 {
        font-size: 13px;
        color: #666;
    }

    .map-frame {
        width: 460px;
        height: 220px;
        border: none;
    }

    .counter-container {
        display: flex;
        justify-content: center;
        gap: 10px;
        background: white;
        padding: 5px;
        border-radius: 10px;
    }

    .counter-item {
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        color: #222222;
    }

    .counter-item span {
        align-items: center;
        font-size: 30px;
        font-weight: bold;
    }

    .o_nas_2_text {
        margin-left: 0;
    }

    .image-item {
        height: auto;
    }

    .image-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .logo-text {
        width: 80%;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 20px;
        margin-top: 8%;
    }
}
