/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #031111, #0b2828);
    font-family: "Poppins", sans-serif;
    color: #fff;
}

a {
    text-decoration: none;
}

button a {
    color: white;
}

ul {
    list-style: none;
}

/* Header */
.header {
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
    padding: 100px 148px 0 148px;
}

.container {
    margin: 0 auto;
    max-width: 1624px;
    width: 100%;
}

.navbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    z-index: 10;
    background: linear-gradient(to bottom, #031111, #0b2828);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header Content */
.header__content {
    display: flex;
    justify-content: space-between;
    gap: 100px;
    padding: 40px 0;
}

.header__image img {
    width: 100%;
    max-width: 600px;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Texts */
.header__texts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 32px;
    max-width: 650px;
    color: #fff;
}

.header__title {
    font-weight: semi-bold;
    font-size: 68px;
    line-height: 1.1;
}

.header__description {
    font-size: 22px;
    opacity: 0.9;
}

/* Button */
.header__button {
    background: linear-gradient(135deg, #0d7362, #054a3d);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 18px 40px;
    border: none;
    border-radius: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 280px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header__button:hover {
    color: white;
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(6, 74, 61, 0.7);
}

.header__button a:hover {
    color: white;
}

/* Section: Mijoz Topish */
.mijoz__topish {
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
    padding: 180px 148px;
}

.mijoz__topish__content {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.mijoz__topish__title {
    text-align: center;
    font-weight: 700;
    font-size: 40px;
    color: #fff;
    line-height: 1.2;
}

/* Cards */
.mijoz__topish__cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    justify-content: center;
    justify-items: center;
}

.card {
    background: linear-gradient(to bottom, #013028, #0f8573);
    border-radius: 28px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 255, 200, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
    min-width: 280px;
    max-width: 380px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 255, 200, 0.25);
}

.card .icon img {
    width: 50px;
    height: 50px;
}

.mijoz__topish__card__title {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.95;
}

.leads__system {
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
    padding: 70px 148px;
}

.leads__system__content {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.leads__top__content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1000px;
    text-align: center;
    width: 100%;
}

.leads__system__title {
    font-size: 40px;
    font-weight: semi-bold;
    color: #fff;
}

.leads__system__description {
    font-size: 18px;
}

.leads__cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.leads__cards .leads__card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.leads__cards .leads__icon {
    width: 70px;
    height: 70px;
}

.how__it__works {
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
    padding: 210px 0 72px 0;
}

.how__it__works__content {
    display: flex;
    flex-direction: column;
    gap: 70px;
    padding-left: 148px;
}

.how__it__works__title {
    text-transform: capitalize;
    text-align: center;
    font-size: 40px;
}

.how__it__works__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.how__it__works__left {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.how__it__works__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.how__it__works__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.how__it__works__card__num {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 100%;
    padding: 3px 12px;
}

.how__it__works__card__title {
    font-size: 16px;
    font-weight: 600;
}

.how__it__works__card__description {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.how__it__works__right {
    max-width: 600px;
    justify-self: end;
}

.how__it__works__right img {
    width: 100%;
    height: auto;
    display: block;
}

.services {
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
    padding: 100px 148px;
}

.services__content {
    display: flex;
    gap: 100px;
    align-items: center;
}

.services__content__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
}

.services__content__title {
    text-transform: capitalize;
    font-weight: semi-bold;
    font-size: 40px;
}

.services__content__description {
    font-size: 18px;
    line-height: 1.6;
}

.services__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services__item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.services__num {
    font-weight: semi-bold;
    font-size: 40px;
}

.services__divider {
    width: 100%;
    height: 1px;
    background: #E1E4ED;
}

.packets {
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
    padding: 120px 148px;
}

.packets__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.packets__title {
    text-align: center;
    font-weight: semi-bold;
    font-size: 40px;
}

.packets__cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.packets__card {
    max-width: 400px;
    padding: 24px;
    background: linear-gradient(to bottom, #013028, #0f8573);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 255, 200, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.packets__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 255, 200, 0.25);
}

.packets__card:nth-child(2) {
    padding: 60px 32px;
}

.packets__card__title {
    text-transform: capitalize;
    font-weight: medium;
    font-size: 24px;
}

.packets__card__leads__num {
    font-weight: medium;
    font-size: 32px;
}

.packets__target {
    font-weight: medium;
}

.packets__card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.packets__card__item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.packets__button {
    background: linear-gradient(135deg, #0d7362, #054a3d);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 18px 40px;
    border: none;
    border-radius: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.packets__button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(5, 74, 61, 0.7);
}

.packets__button a:hover {
    color: white;
}

.why__us {
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
    padding: 0px 148px;
    padding-bottom: 152px;
}

.why__us__wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why__us__content {
    display: flex;
    gap: 120px;
    align-items: center;
}

.why__us__left {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.why__us__title {
    text-transform: capitalize;
    font-weight: semi-bold;
    font-size: 40px;
}

.why__us__cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why__us__card {
    display: flex;
    gap: 24px;
    align-items: center;
}

.why__us__card__icon {
    width: 70px;
    height: 70px;
}

.why__us__description {
    font-size: 14px;
}

.why__us__right {
    max-width: 640px;
}

.why__us__divider {
    width: 100%;
    background: #B4B9C9;
    height: 1px;
}

.footer {
    font-family: "Nunito Sans", sans-serif;
    margin: 0 auto;
    max-width: 1920px;
    width: 100%;
    padding: 0px 148px;
}

.footer__content {
    padding-left: 50px;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 300px;
}

.footer__description {
    font-weight: semi-bold;
    font-size: 14px;
}

.footer__logo {
    width: 150px;
}

.footer__list {
    display: flex;
    gap: 90px;
}

.footer__list__items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer__list__title {
    text-transform: uppercase;
    font-weight: extra-bold;
}

.footer__list__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link__item {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__link__item:hover {
    color: #0158db;
}

.footer__bottom {
    margin: 0 auto;
    background-color: #000000;
    padding: 25px 148px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__bottom__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__social__media__links {
    width: 30px;
    height: 30px;
    background-color: #0D2B2B;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.footer__social__media__links:hover {
    transform: scale(1.1);
    transition-duration: calc(0.3s);
}

/* Macbook Air (max 1440px) */
@media (max-width: 1440px) {
    .header {
        padding: 80px 100px;
    }

    .header__content {
        gap: 80px;
    }

    .header__title {
        font-size: 56px;
    }

    .header__description {
        font-size: 20px;
    }

    .header__image img {
        max-width: 500px;
    }

    .header,
    .mijoz__topish,
    .leads__system,
    .services,
    .packets,
    .why__us,
    .footer,
    .footer__bottom {
        padding-left: 30px;
        padding-right: 30px;
    }

    .how__it__works__content {
        padding-left: 30px;
    }

    .services__content {
        gap: 80px;
    }

    .packets__cards {
        display: flex;
        align-items: stretch; /* barcha kartalar balandligi teng bo‘ladi */
        justify-content: center;
        gap: 40px;
    }

    .packets__card {
        flex: 1; /* barcha card teng kenglik oladi */
        max-width: 400px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Pro paket */
    .packets__card:nth-child(2) {
        padding: 24px; /* default bilan tenglashtirildi */
        box-shadow: 0 0 30px rgba(13, 115, 98, 0.5); /* biroz yoritib turadi */
        transform: scale(1.05); /* biroz kattaroq ko‘rinadi, lekin balandligi bir xil qoladi */
    }

    .why__us__content {
        gap: 80px;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .header {
        padding: 80px 60px;
    }

    .header__title {
        font-size: 54px;
    }

    .services__content {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .packets__cards {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 900px) {
    .header__content {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .header__title {
        font-size: 44px;
    }

    .header__button {
        margin: 0 auto;
    }

    .how__it__works__bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .how__it__works__cards {
        grid-template-columns: 1fr;
    }

    .services__content {
        gap: 40px;
    }
}

/* Tablet (max 768px) */
@media (max-width: 768px) {
    .header {
        padding: 60px 40px;
    }

    .header__content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .header__title {
        font-size: 36px;
    }

    .header__description {
        font-size: 18px;
    }

    .mijoz__topish__cards,
    .leads__cards,
    .how__it__works__cards {
        grid-template-columns: 1fr;
    }

    .services__content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .why__us__content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .packets__cards {
        flex-direction: column;
        gap: 24px;
    }

    .footer__content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer__list {
        flex-direction: column;
        gap: 40px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Mobile - matching your mockup design exactly */
@media (max-width: 600px) {
    .header {
        padding: 0;
        position: relative;
        min-height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header__content {
        position: relative;
        display: block;
        padding: 0;
        height: 100vh;
        width: 100%;
    }

    .header__image {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .header__image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            180deg,
            rgba(3, 17, 17, 0.4) 0%,
            rgba(3, 17, 17, 0.7) 50%,
            rgba(3, 17, 17, 0.9) 100%
        );
        z-index: 2;
    }

    .header__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        opacity: 1;
        position: fixed;
        top: 0;
        left: 0;
    }

    .header__texts {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 0 24px;
        z-index: 10;
        width: 100%;
        gap: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header__title {
        font-size: 32px;
        font-weight: 700;
        color: #fff;
        line-height: 1.2;
        margin: 0;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
        white-space: nowrap;
        overflow: hidden;
    }

    .header__description {
        font-size: 16px;
        color: #fff;
        opacity: 0.95;
        line-height: 1.4;
        margin: 0;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
        text-align: center;
        max-width: 280px;
    }

    .header__button {
        font-size: 14px;
        font-weight: 600;
        padding: 24px 40px;
        border-radius: 25px;
        background: linear-gradient(135deg, #0d7362, #054a3d);
        color: #fff;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: auto;
        margin: 8px auto 0;
        box-shadow: 0 4px 20px rgba(13, 115, 98, 0.5);
        display: inline-block;
    }

    .header__button:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(13, 115, 98, 0.7);
    }

    /* Adjusting other sections for mobile */
    .mijoz__topish {
        padding: 80px 24px;
        position: relative;
        z-index: 5;
        background: linear-gradient(to bottom, #031111, #0b2828);
    }

    .mijoz__topish__title {
        font-size: 28px;
    }

    .leads__system {
        padding: 50px 24px;
        position: relative;
        z-index: 5;
        background: linear-gradient(to bottom, #031111, #0b2828);
    }

    .leads__system__title {
        font-size: 28px;
    }

    .leads__card {
        background: linear-gradient(to bottom, #013028, #0f8573);
        border-radius: 28px;
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        color: #fff;
        box-shadow: 0 10px 30px rgba(0, 255, 200, 0.15);
        text-align: center;
        align-items: center;
    }

    .leads__card img {
        width: 70px;
        height: 70px;
    }

    .how__it__works {
        padding: 100px 24px 50px 24px;
        position: relative;
        z-index: 5;
        background: linear-gradient(to bottom, #031111, #0b2828);
    }

    .how__it__works__content {
        padding-left: 0;
    }

    .how__it__works__bottom {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }

    .how__it__works__title {
        font-size: 28px;
    }

    .how__it__works__card__text {
        text-align: start;
    }

    .how__it__works__left {
        text-align: left;
    }

    .services {
        padding: 60px 24px;
        position: relative;
        z-index: 5;
        background: linear-gradient(to bottom, #031111, #0b2828);
    }

    .services__content {
        text-align: left;
    }

    .services__content__title {
        font-size: 28px;
        text-align: left;
    }

    .services__content__description {
        text-align: left;
    }

    .services__info {
        text-align: left;
    }

    .packets {
        padding: 80px 24px;
        position: relative;
        z-index: 5;
        background: linear-gradient(to bottom, #031111, #0b2828);
    }

    .packets__title {
        font-size: 28px;
    }

    .packets__cards {
        gap: 24px;
    }

    .packets__card {
        max-width: 100%;
    }

    .why__us {
        padding: 60px 24px;
        position: relative;
        z-index: 5;
        background: linear-gradient(to bottom, #031111, #0b2828);
    }

    .why__us__title {
        font-size: 28px;
    }

    .why__us__content {
        text-align: left;
    }

    .why__us__description {
        text-align: left;
    }

    .why__us .header__button {
        display: none;
    }

    .why__us__right img {
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .footer {
        padding: 60px 24px 0 24px;
        position: relative;
        z-index: 5;
        background: linear-gradient(to bottom, #031111, #0b2828);
    }

    .footer__description {
        display: none;
    }

    .footer__list__title {
        text-align: left;
    }

    .footer__content {
        text-align: left;
    }

    .footer__bottom {
        padding: 25px 24px;
        background-color: #000000;
    }

    .footer__bottom__text {
        display: none;
    }

    .footer__socials {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        width: 100%;
        margin-top: 20px;
        z-index: 2;
    }

    .footer__social__media__links {
        width: 36px;
        height: 36px;
        background-color: #0D2B2B;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: transform 0.3s ease;
    }

    .footer__social__media__links:hover {
        transform: scale(1.1);
    }

    .footer__social__media__links img {
        width: 18px;
        height: 18px;
    }
}

/* Extra small mobile devices (max 480px) */
@media (max-width: 480px) {
    .header__texts {
        padding: 0 20px;
        max-width: 85%;
    }

    .header__title {
        font-size: 26px;
        white-space: normal;
    }

    .header__description {
        font-size: 14px;
        max-width: 260px;
    }

    .header__button {
        font-size: 13px;
        padding: 20px 36px;
    }

    .mijoz__topish,
    .leads__system,
    .how__it__works,
    .services,
    .packets,
    .why__us {
        padding: 40px 20px;
    }

    .mijoz__topish__title,
    .leads__system__title,
    .how__it__works__title,
    .services__content__title,
    .packets__title,
    .why__us__title {
        font-size: 24px;
    }

    .packets__card__title {
        font-size: 20px;
    }

    .packets__card__leads__num {
        font-size: 26px;
    }

    .footer {
        padding: 40px 20px 0 20px;
    }

    .footer__bottom {
        padding: 20px;
    }

    .footer__logo {
        width: 120px;
    }

    .footer__list {
        gap: 20px;
    }
}

/* Website form */

.website_form div input {
    /*width: 300px;*/
    padding: 8px 20px;
    border: 1px solid #D8E0F0;
    border-radius: 8px;
}

.modal_button {
    padding: 16px 50px;
    text-decoration: none;
    background: linear-gradient(to right, #054a3d 0%, #054a3d 50%, #0d7362 50%, #0d7362 100%);
    background-size: 200% 100%;
    background-position: right bottom;
    color: white; /* default text color */
    transition: all 0.4s ease;
    border: none;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
}

.modal_button:hover {
    background-position: left bottom; /* shifts the gradient */
    color: white;
}


/* Website form */