@import "./partners.css";
@import "./contact.css";

.servicesViewAll {
  text-align: center;
  margin-top: 40px;
}

.viewAllButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid #0D47A1;
  color: #0D47A1;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.viewAllButton svg {
  transition: 0.3s;
}

.viewAllButton:hover svg {
  transform: translateX(4px);
}


.aboutPromoSection {
    padding: 90px 0;
}

.aboutDirectionsComposite {
    max-width: 1180px;
    margin: 0 auto 44px;
}

.aboutDirectionsComposite h3 {
    margin: 0 0 28px;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
    text-align: center;
}

.compositeDirectionList {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Har bir yo‘nalish qatori */
.compositeDirectionItem {
    position: relative;
    height: 112px;
    overflow: hidden;
    isolation: isolate;

    cursor: pointer;

    background-image: var(--item-bg);
    background-size: cover;
    background-position: var(--item-pos);
    background-repeat: no-repeat;

    clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);

    box-shadow: 0 14px 40px rgba(31, 78, 140, 0.16);

    transition:
        height 0.48s ease,
        background-position 0.48s ease,
        background-size 0.48s ease,
        opacity 0.35s ease,
        filter 0.35s ease,
        box-shadow 0.35s ease;
}

/* Qatorlar bir-biriga yopishib turgandek ko‘rinadi */
.compositeDirectionItem + .compositeDirectionItem {
    margin-top: -2px;
}

/* Hover qilingan qator ochiladi */
.compositeDirectionItem:hover {
    height: 285px;
    z-index: 10;
    background-size: cover;
    background-position: center center;
    box-shadow: 0 30px 85px rgba(31, 78, 140, 0.34);
}

/* Boshqa qatorlar biroz kichrayadi */
.compositeDirectionList:hover .compositeDirectionItem:not(:hover) {
    height: 84px;
}

/* Overlay */
.compositeOverlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(10, 25, 55, 0.86) 0%,
            rgba(31, 78, 140, 0.58) 45%,
            rgba(10, 25, 55, 0.30) 100%
        );

    transition: background 0.4s ease;
}

/* Hoverda rasm ko‘proq ko‘rinsin */
.compositeDirectionItem:hover .compositeOverlay {
    background:
        linear-gradient(
            90deg,
            rgba(10, 25, 55, 0.62) 0%,
            rgba(31, 78, 140, 0.32) 45%,
            rgba(10, 25, 55, 0.08) 100%
        );
}

/* Content */
.compositeContent {
    position: relative;
    z-index: 2;

    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;

    padding: 0 72px;

    transition:
        align-items 0.4s ease,
        padding 0.4s ease;
}

.compositeDirectionItem:hover .compositeContent {
    align-items: flex-end;
    padding-bottom: 38px;
}

.compositeNumber {
    flex: 0 0 auto;

    width: 52px;
    height: 52px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.36);
    color: #ffffff;

    font-size: 14px;
    font-weight: 900;

    backdrop-filter: blur(8px);
}

.compositeContent p {
    margin: 0;
    color: #ffffff;

    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.15;
    font-weight: 900;

    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

/* Mobile */
@media (max-width: 991px) {
    .compositeDirectionItem:nth-child(odd),
    .compositeDirectionItem:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
    }

    .compositeDirectionItem {
        clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    }

    .compositeContent {
        padding: 0 46px;
    }
}

@media (max-width: 767px) {
    .aboutDirectionsComposite h3 {
        text-align: left;
        font-size: 24px;
    }

    .compositeDirectionItem {
        height: 94px;
        clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
    }

    .compositeDirectionItem:hover {
        height: 230px;
    }

    .compositeDirectionList:hover .compositeDirectionItem:not(:hover) {
        height: 76px;
    }

    .compositeContent {
        padding: 0 30px;
        gap: 16px;
    }

    .compositeDirectionItem:hover .compositeContent {
        padding-bottom: 26px;
    }

    .compositeNumber {
        width: 42px;
        height: 42px;
        font-size: 12px;
    }

    .compositeContent p {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .compositeContent p {
        font-size: 15px;
    }
}

.aboutCleanSection {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.aboutCleanContent {
    margin: 0 auto;
    text-align: center;
}

.aboutCleanBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 10px 22px;
    border-radius: 999px;
    background: #eef3f9;
    color: #1f4e8c;
    font-size: 15px;
    font-weight: 900;
}

.aboutCleanContent h2 {
    max-width: 780px;
    margin: 0 auto 24px;
    color: #111827;
    font-size: clamp(38px, 5vw, 50px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -2px;
}

.aboutCleanText {
    max-width: 780px;
    margin: 0 auto 46px;
    color: #4b5563;
    font-size: 20px;
    line-height: 1.75;
    font-weight: 500;
}


.aboutDirections h3 {
    margin: 0 0 24px;
    color: #111827;
    font-size: 24px;
    font-weight: 900;
}

.aboutDirectionList {
    display: grid;
}

.rhombusDirectionItem {
    position: relative;
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px 48px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;

    /* uzunchoq romb / parallelogram shakli */
    clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);

    border-radius: 0;
    background: #1f4e8c;
    box-shadow: 0 18px 45px rgba(31, 78, 140, 0.18);
    transition: 0.35s ease;
}

.aboutDirectionItem span {
    width: 42px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f4e8c, #2563eb);
    position: relative;
}

.aboutDirectionItem span::before,
.aboutDirectionItem span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    background: #2563eb;
    transform: translateY(-50%) rotate(45deg);
}

.aboutDirectionItem span::before {
    left: -4px;
}

.aboutDirectionItem span::after {
    right: -4px;
}

.aboutDirectionItem p {
    margin: 0;
    color: #1f2937;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 800;
}

.aboutCleanActions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 30px
}

.aboutCleanBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    padding: 17px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.3s ease;
}

.aboutCleanBtn.primary {
    background: #ffffff;
    color: #1f4e8c;
    border: 2px solid #1f4e8c;
}

.aboutCleanBtn.secondary {
    background: #1f4e8c;
    color: #ffffff;
    border: 2px solid #1f4e8c;
    box-shadow: 0 16px 35px rgba(31, 78, 140, 0.22);
}

.aboutCleanBtn:hover {
    transform: translateY(-3px);
}

.aboutCleanBtn.primary:hover {
    background: #1f4e8c;
    color: #ffffff;
}

.aboutCleanBtn.secondary:hover {
    background: #173f73;
    color: #ffffff;
}

@media (max-width: 767px) {
    .aboutCleanSection {
        padding: 0px;
    }

    .aboutCleanContent {
        text-align: left;
    }

    .aboutCleanContent h2,
    .aboutCleanText,
    .aboutDirections {
        margin-left: 0;
        margin-right: 0;
    }

    .aboutCleanText {
        font-size: 17px;
    }

    .aboutDirections h3 {
        font-size: 22px;
    }

    .aboutDirectionItem {
        grid-template-columns: 38px 1fr;
        gap: 14px;
        padding: 16px 18px;
    }

    .aboutDirectionItem span {
        width: 34px;
        height: 16px;
    }

    .aboutDirectionItem p {
        font-size: 15px;
    }

    .aboutCleanActions {
        justify-content: flex-start;
    }

    .aboutCleanBtn {
        width: 100%;
    }
}
/* NEWS */

.promavtoNewsSection {
    padding: 40px 0;
    background: #ffffff;
}


.newsSectionHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.newsSectionTitle {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    font-weight: 900;
    color: #111827;
}

.newsSeeMore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f4e8c;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.25s ease;
}

.newsSeeMore:hover span {
    gap: 13px;
    color: #173f73;
}

.promavtoNewsGrid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr;
    gap: 20px;
}

.newsCol {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.newsColLeft {
    gap: 22px;
}

.newsColCenter {
    gap: 22px;
}

.newsColRight {
    gap: 16px;
}

/* BIG CARD */
.newsFeaturedCard {
    grid-row: span 2;
    display: block;
    text-decoration: none;
    color: inherit;
}

.newsFeaturedCard .newsImageWrap {
    height: 420px;
}

.newsFeaturedCard h3 {
    margin: 18px 0 0;
    font-size: clamp(24px, 3vw, 26px);
    line-height: 1.25;
    font-weight: 900;
    color: #111827;
}

/* MEDIUM CARD */
.newsMediumCard {
    display: block;
    text-decoration: none;
    color: inherit;
}

.newsMediumCard .newsImageWrap {
    height: 200px;
}

.newsMediumCard h3 {
    margin: 12px 0 0;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 850;
    color: #111827;
}

/* SMALL CARD */
.newsSmallCard {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 14px;
    align-items: start;
    text-decoration: none;
    color: inherit;
    min-height: 92px;
}

.newsSmallImage {
    width: 150px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: #eef3f8;
}

.newsSmallImage img,
.newsImageWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.45s ease;
}

.newsImageWrap {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #eef3f8;
}

.newsFeaturedCard:hover img,
.newsMediumCard:hover img,
.newsSmallCard:hover img {
    transform: scale(1.06);
}

.newsMetaFloating {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 8px 13px;
    border-radius: 10px;
    background: #1f4e8c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(31, 78, 140, 0.25);
}

.newsSmallContent h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 850;
    color: #111827;
}

.newsSmallMeta {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .promavtoNewsGrid {
        grid-template-columns: 1fr 1fr;
    }

    .newsFeaturedCard {
        grid-column: span 2;
        grid-row: auto;
    }

    .newsFeaturedCard .newsImageWrap {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .promavtoNewsSection {
        padding: 60px 0;
    }

    .newsSectionHeader {
        align-items: flex-start;
        flex-direction: column;
    }

    .promavtoNewsGrid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .newsFeaturedCard {
        grid-column: auto;
    }

    .newsFeaturedCard .newsImageWrap,
    .newsMediumCard .newsImageWrap {
        height: 240px;
    }

    .newsSmallCard {
        grid-template-columns: 120px 1fr;
    }

    .newsSmallImage {
        width: 120px;
        height: 86px;
    }

    .newsFeaturedCard h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .newsSmallCard {
        grid-template-columns: 1fr;
    }

    .newsSmallImage {
        width: 100%;
        height: 200px;
    }
}

/* STATS */

.promavtoFactsSection {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(31, 78, 140, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.10), transparent 34%),
        #f7faff;
}

.promavtoFactsSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(31, 78, 140, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 78, 140, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.45;
    pointer-events: none;
}

.promavtoFactsSection .container {
    position: relative;
    z-index: 2;
}

.factsHeader {
    max-width: 840px;
    margin: 0 auto 54px;
    text-align: center;
}

.factsBadge {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(31, 78, 140, 0.1);
    color: #1f4e8c;
    font-size: 18px;
    font-weight: 900;
}

.factsTitle {
    margin: 0 0 18px;
    color: #101827;
    font-size: clamp(38px, 5vw, 40px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -2px;
}

.factsSubtitle {
    max-width: 720px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.75;
}

/* TIMELINE */
.factsTimeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 980px;
    margin: 0 auto 58px;
}

.timelineLine {
    position: absolute;
    left: 15%;
    right: 15%;
    top: 18px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f4e8c, #2563eb, #1f4e8c);
    opacity: 0.35;
}

.timelineItem {
    position: relative;
    text-align: center;
}

.timelineDot {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 38px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #1f4e8c;
    box-shadow: 0 12px 30px rgba(31, 78, 140, 0.18);
}

.timelineDot::after {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: #1f4e8c;
}

.timelineDot.active {
    border-color: #2563eb;
    box-shadow:
        0 0 0 8px rgba(37, 99, 235, 0.12),
        0 0 35px rgba(37, 99, 235, 0.55);
}

.timelineItem strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 32px;
    line-height: 1;
    font-weight: 950;
}

.timelineItem span {
    display: block;
    color: #64748b;
    font-size: 15px;
    font-weight: 700;
}

/* MAIN NUMBER */
.mainFactNumber {
    max-width: 920px;
    margin: 0 auto 54px;
    padding: 58px 40px;
    border-radius: 36px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(31, 78, 140, 0.96), rgba(15, 23, 42, 0.98));
    color: #ffffff;
    box-shadow: 0 35px 90px rgba(15, 23, 42, 0.24);
    overflow: hidden;
    position: relative;
}

.mainFactNumber::before {
    content: "PROMAVTO";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.045);
    font-size: clamp(80px, 13vw, 180px);
    font-weight: 950;
    letter-spacing: 6px;
    pointer-events: none;
}

.mainFactValue {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    color: #ffffff;
    font-size: clamp(86px, 12vw, 170px);
    line-height: 0.85;
    font-weight: 950;
    letter-spacing: -6px;
}

.mainFactNumber p {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 21px;
    line-height: 1.5;
    font-weight: 800;
}

/* CARDS */
.factsCardsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.factCard {
    position: relative;
    min-height: 190px;
    padding: 26px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(31, 78, 140, 0.12);
    box-shadow: 0 18px 50px rgba(31, 78, 140, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: 0.35s ease;
}

.factCard::before {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(31, 78, 140, 0.08);
}

.factCard:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(31, 78, 140, 0.18);
}

.factCardLabel {
    display: inline-flex;
    margin-bottom: 28px;
    color: #1f4e8c;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.factCard strong {
    display: block;
    margin-bottom: 10px;
    color: #1f4e8c;
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -1px;
}

.factCard p {
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

/* ANIMATION */
.revealItem {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.revealItem.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.factsCardsGrid .revealItem:nth-child(1) {
    transition-delay: 0.08s;
}

.factsCardsGrid .revealItem:nth-child(2) {
    transition-delay: 0.18s;
}

.factsCardsGrid .revealItem:nth-child(3) {
    transition-delay: 0.28s;
}

.factsCardsGrid .revealItem:nth-child(4) {
    transition-delay: 0.38s;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .factsCardsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .promavtoFactsSection {
        padding: 70px 0;
    }

    .factsHeader {
        text-align: left;
        margin-bottom: 42px;
    }

    .factsSubtitle {
        font-size: 16px;
    }

    .factsTimeline {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 42px;
    }

    .timelineLine {
        left: 18px;
        right: auto;
        top: 18px;
        bottom: 18px;
        width: 3px;
        height: auto;
    }

    .timelineItem {
        display: grid;
        grid-template-columns: 42px 1fr;
        column-gap: 16px;
        text-align: left;
        align-items: start;
    }

    .timelineDot {
        margin: 0;
        grid-row: span 2;
    }

    .timelineItem strong {
        font-size: 28px;
    }

    .mainFactNumber {
        padding: 44px 22px;
        border-radius: 28px;
        text-align: left;
    }

    .mainFactValue {
        justify-content: flex-start;
        font-size: 82px;
        letter-spacing: -3px;
    }

    .mainFactNumber p {
        margin-left: 0;
        font-size: 17px;
    }

    .factsCardsGrid {
        grid-template-columns: 1fr;
    }

    .factCard {
        min-height: auto;
    }
}

/* INDUSTRIES */

.industriesSection {
    padding: 90px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.industriesHeader {
    text-align: center;
    margin-bottom: 46px;
}

.industriesTitle {
    margin: 0 0 12px;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.05;
    font-weight: 900;
    color: #111827;
    letter-spacing: -1.5px;
}

.industriesSubtitle {
    margin: 0 auto;
    max-width: 680px;
    font-size: 17px;
    line-height: 1.6;
    color: #6b7280;
}

.industriesGrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 260px;
    gap: 24px;
}

.industryCard {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    background: #111827;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    isolation: isolate;
}

.industryCard:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.industryCard:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.industryCardTall {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.industryCard:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
}

.industryCard:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

.industryCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: 0.65s ease;
}

.industryOverlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.06) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.78) 100%
        );
    transition: 0.35s ease;
}

.industryContent {
    position: absolute;
    left: 26px;
    right: 74px;
    bottom: 26px;
    z-index: 2;
}

.industryContent h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 23px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.3px;
}

.industryContent p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.industryArrow {
    position: absolute;
    right: 22px;
    bottom: 24px;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #111827;
    transition: 0.3s ease;
}

.industryCard:hover img {
    transform: scale(1.1);
}

.industryCard:hover .industryOverlay {
    background:
        linear-gradient(
            180deg,
            rgba(31, 78, 140, 0.08) 0%,
            rgba(31, 78, 140, 0.45) 45%,
            rgba(15, 23, 42, 0.9) 100%
        );
}

.industryCard:hover .industryArrow {
    transform: rotate(45deg);
    background: #1f4e8c;
    color: #ffffff;
}

.industriesAction {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.industriesAllBtn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 13px 14px 13px 26px;
    border: 2px solid #1f4e8c;
    border-radius: 999px;
    color: #1f4e8c;
    background: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    transition: 0.3s ease;
}

.industriesAllBtn span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #1f4e8c;
    color: #ffffff;
    transition: 0.3s ease;
}

.industriesAllBtn:hover {
    background: #1f4e8c;
    color: #ffffff;
    transform: translateY(-3px);
}

.industriesAllBtn:hover span {
    background: #ffffff;
    color: #1f4e8c;
    transform: rotate(45deg);
}

/* Tablet */
@media (max-width: 991px) {
    .industriesGrid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 260px;
    }

    .industryCard,
    .industryCard:nth-child(1),
    .industryCard:nth-child(2),
    .industryCard:nth-child(4),
    .industryCard:nth-child(5),
    .industryCardTall {
        grid-column: auto;
        grid-row: auto;
    }

    .industryCardTall {
        grid-row: span 2;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .industriesSection {
        padding: 60px 0;
    }

    .industriesHeader {
        text-align: left;
        margin-bottom: 28px;
    }

    .industriesGrid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
        gap: 18px;
    }

    .industryCardTall {
        min-height: 360px;
    }

    .industryContent {
        left: 20px;
        right: 70px;
        bottom: 22px;
    }

    .industryContent h3 {
        font-size: 21px;
    }

    .industryArrow {
        width: 44px;
        height: 44px;
        right: 18px;
        bottom: 20px;
    }

    .industriesAction {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .industriesGrid {
        grid-auto-rows: 230px;
    }

    .industryCardTall {
        min-height: 300px;
    }

    .industryContent p {
        display: none;
    }

    .industriesAllBtn {
        width: 100%;
        justify-content: space-between;
    }
}

/* End Industries */

header {
  background: none;
  z-index: 99;
}

.heroContainer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  overflow: hidden;
}

.heroContent {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding-left: 80px;
  padding-bottom: 130px;
}

.heroContent-title {
    font-family: "Exo 2";
    font-size: 45px;
    line-height: 55px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    text-align: left;
    word-break: break-word;
    max-width: 900px; 
    /* display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis; 
    max-width: 1278px;
    width: 100%; */
}

.heroContent-btn{
    font-family: "Exo 2";
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
    color: var(--white);
    text-align: center;
    padding: 14px 22px;
    border: 1px solid white;
    border-radius: 18px;
    width: 150px;
}

.heroCard {
  width: 100%;
  backdrop-filter: blur(10px);
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(29, 83, 156, 0.1), rgba(29, 83, 156, 0.2));
  background-origin: padding-box, border-box;
  background-repeat: no-repeat;
  border: 1px solid rgba(29, 83, 156, 0.3);
  position: relative;
  z-index: 0;
}

.heroCard__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
}

.heroCard__texts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.heroCard__title {
  font-family: "Exo 2";
  font-size: 24px;
  line-height: 40px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}

.heroCard__subtitle > p {
  font-family: "Inter";
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.56);
  max-width: 310px;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.heroCardArrow {
  max-width: 24px;
  width: 100%;
  height: 24px;
  transition: 0.3s;
}

.heroCardBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  max-width: 150px;
  width: 100%;
  justify-content: space-between;
}

.heroCardBtn span {
  font-weight: 500;
  font-family: "Exo 2";
  font-size: 24px;
  line-height: 24px;
  width: 100%;
}

.heroCard > img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 90%;
  object-fit: fill;
  z-index: -1;
}

/* === ABOUT === */
#about {
  position: relative;
  z-index: 1;
}

#about .section__inner {
  padding-inline: 20px;
}

/* === CATALOGUE === */
#catalogue {
  padding-bottom: 105px;
  z-index: 0;
}

.tabButtonDiv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 60px;
  padding-inline: 20px;
}

.tab__btn {
  border: 1px solid var(--blue);
  background-color: var(--white);
  color: var(--blue);
  padding: 18px 64px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  font-family: "Exo 2";
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  transition: 0.3s;
}

.tab__btn.active {
  background-color: var(--blue);
  color: var(--white);
  transition: 0.3s;
}
.tab__btn.active:hover {
  background-color: #21457a;
  transition: 0.3s;
}

.tab__btn:active {
  transform: scale(0.85);
  transition: 0.3s;
}

.tab__btn:hover {
  background-color: var(--blue);
  color: var(--white);
  transition: 0.3s;
}

.videoModal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.videoModal__content {
  max-width: 70%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  aspect-ratio: 16/9;
}

.video {
  width: 100%;
  height: 100%;
}

/* === DEVELOPMENTS === */
#developments {
  position: relative;
  z-index: 0;
}
#developments .section__inner {
  padding-inline: 20px;
}

#developments .sectionSubtitle {
  max-width: 950px;
}

.developmentsSwiper {
  margin-top: 32px;
  padding-inline: 20px;
}

.developmentsSlide {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 470px;
}

.developmentsLink img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: -1;
}

.swiperContent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.developmentsSwiper__content {
  padding: 16px 24px;
  background-image: linear-gradient(rgba(29, 83, 156, 0), rgba(29, 83, 156, 1));
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeDiv {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}

.time {
  font-family: "Inter";
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
}

.calendar {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.development__title {
  font-family: "Exo 2";
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}

.development__subtitle {
  font-family: "Inter";
  font-size: 16px;
  line-height: 24px;
  color: #e3e6ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 486px;
  width: 100%;
}

/* === ISOTHERMIC === */
#isothermic {
  background-color: #f8f8f8;
}

#isothermic .section__inner {
  padding: 70px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.isothermic__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}

.isothermic__texts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.isothermic__title {
  font-family: "Exo 2";
  font-size: 56px;
  line-height: 64px;
  font-weight: 600;
  color: var(--black);
}

.isothermic__subtitle {
  font-family: "Inter";
  font-size: 18px;
  line-height: 28px;
  color: var(--text-black);
  max-width: 586px;
  width: 100%;
}

.isothermicBtn {
  max-height: 64px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.isothermic__btn {
  border: 1px solid var(--blue);
  background-color: var(--blue);
  color: var(--white);
  font-family: "Exo 2";
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 18px 64px;
  transition: 0.3s;
}

.isothermic__btn:hover {
  background-color: var(--white);
  color: var(--blue);
  transition: 0.3s;
}

.isothermic__image {
  position: relative;
  max-width: 700px;
  width: 100%;
  height: 500px;
}

.isothermic__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* === SERVICES === */
#services {
  /*background-color: var(--black);*/
  z-index: 0;
}

#services.section {
  padding: 40px 0;
}

#services .section__inner,
#facts .section__inner,
#partners .section__inner,
#products .section__inner,
#news .section__inner {
  padding-inline: 20px;
}

.servicesSection {
  padding: 70px 0;
}

.servicesMainTitle {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 40px;
}

.servicesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 90px 0;
}

.serviceCard {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
}

.serviceCard:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.15);
}

.serviceCard:hover .serviceCard__button {
  gap: 12px;
}

.serviceCard__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.serviceCard__content {
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.serviceCard__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);;
}

.serviceCard__desc {
  font-size: 16px;
  color: #5a5a5a;
  min-height: 48px;
  margin-bottom: 15px;
}

.serviceCard__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0D47A1;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}



@media (min-width: 1024px) {
  .servicesGrid > :nth-child(4),
  .servicesGrid > :nth-child(5) {
      grid-column: span 1;
  }
}



@media (max-width: 1800px) {
  .heroContent {
    padding-bottom: 100px;
  }
  .heroCardBtn span {
    font-size: 18px;
    line-height: 24px;
  }
  .heroCard {
    overflow: hidden;
  }
  .heroCard > img {
    width: 45%;
    height: 80%;
    top: 20%;
  }
  .heroCard__content {
    padding: 24px;
  }
  .isothermic__btn,
  .tab__btn {
    padding: 16px 48px;
  }
  .isothermic__image {
    height: 380px;
  }
  .developmentsSlide {
    height: 360px;
  }
  .servicesList {
    gap: 48px;
  }
  .service__name {
    font-size: 28px;
    line-height: 36px;
  }
  .service__text {
    font-size: 16px;
    line-height: 24px;
  }
  .tabButtonDiv {
    margin-top: 48px;
  }
}

@media (max-width: 1200px) {
  .heroCard > img {
    width: 40%;
    height: 70%;
    top: auto;
    bottom: 0;
  }
  .isothermic__title {
    font-size: 48px;
    line-height: 52px;
  }
  .isothermic__btn,
  .tab__btn {
    font-size: 16px;
    line-height: 24px;
  }
  .isothermic__image {
    height: 360px;
    max-width: 600px;
  }
  .developmentsSlide {
    height: 260px;
  }
  .developmentsSwiper__content {
    padding: 12px;
  }
  .development__title {
    font-size: 18px;
    line-height: 26px;
  }
  .development__subtitle,
  .time {
    font-size: 14px;
    line-height: 20px;
  }
  .servicesGridContainer {
    gap: 32px;
  }
  .servicesList {
    gap: 32px;
  }
  .service__name {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
  }
  .service__text {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 1024px) {
  .heroCard__subtitle {
    font-size: 14px;
    line-height: 20px;
    max-width: 240px;
  }
  .heroCard > img {
    width: 45%;
    height: 80%;
  }
  .isothermic__image {
    max-width: 550px;
    height: 320px;
  }
  .isothermic__subtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .tabButtonDiv {
    margin-top: 36px;
  }
}

@media (max-width: 960px) {
  .heroCard__content {
    padding: 14px 16px;
  }
  .heroCard__title {
    font-size: 20px;
    line-height: 26px;
  }
  .isothermic__image {
    max-width: 480px;
    height: 280px;
  }
  .developmentsSlide {
    height: 220px;
  }
  .servicesGrid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {
  .heroContent {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 70px;
    padding-left: 20px;
  }
  .heroCardBtn span {
    font-size: 16px;
    line-height: 24px;
  }
  .heroCardArrow {
    width: 20px;
    height: 20px;
  }
  #isothermic .section__inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
    padding: 48px 20px;
  }
  .isothermic__image {
    max-width: 100%;
    height: 320px;
  }
  .isothermic__content {
    gap: 24px;
  }
  .isothermic__texts {
    gap: 8px;
  }
  .isothermic__title {
    font-size: 32px;
    line-height: 40px;
  }
  .isothermic__subtitle {
    font-size: 14px;
    line-height: 22px;
    max-width: 100%;
  }
  .isothermicBtn {
    width: 100%;
  }
  .isothermic__btn {
    text-align: center;
    width: 100%;
    padding: 12px 20px;
    background-color: #dbe3ef;
    color: var(--blue);
    font-weight: 600;
    border: 1px solid #dbe3ef;
  }
  .tab__btn {
    padding: 12px 20px;
  }
  .developmentsSlide {
    height: 200px;
  }
  .developmentsSwiper__content {
    gap: 0;
  }
  .development__title {
    font-size: 16px;
    line-height: 32px;
  }
  #catalogue {
    padding-bottom: 48px;
  }
  .servicesGridContainer {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .serviceImageDiv {
    min-height: 340px;
  }
  #services.section {
    padding: 85px 0;
  }
  #services .backTextDiv {
    top: 75px;
  }
  .tabButtonDiv {
    margin-top: 24px;
  }
  .videoModal__content {
    padding-inline: 20px;
  }
}

@media (max-width: 640px) {
  .video {
    width: 480px;
    height: 300px;
  }
}

@media (max-width: 600px) {
  .servicesGrid {
  grid-template-columns: repeat(1, 1fr);
}
  .heroCard {
    background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.24)
    );
  }
  .heroCard__content {
    gap: 4px;
  }
  .heroCard__texts {
    gap: 4px;
  }
  .heroCard__subtitle {
    -webkit-line-clamp: 4;
    max-width: 200px;
  }
  .serviceImageDiv img {
    object-fit: contain;
  }
  .heroCard > img {
    width: 45%;
    height: 80%;
  }
  .isothermic__image {
    height: 250px;
  }
  #developments .sectionSubtitle {
    text-align: center;
  }
  .developmentsSwiper__content {
    padding: 16px;
  }
  .calendar {
    width: 16px;
    height: 16px;
  }
  .time {
    font-size: 12px;
    line-height: 16px;
  }
  .development__subtitle {
    -webkit-line-clamp: 3;
    font-size: 12px;
    line-height: 16px;
  }
  .tabButtonDiv {
    width: 100%;
    gap: 8px;
  }
  .tab__btn {
    width: 100%;
    text-align: center;
    padding: 8px 10px;
  }
  #catalogue {
    padding-bottom: 24px;
  }
  .serviceNameDiv {
    justify-content: space-between;
  }
  .service__name {
    font-size: 18px;
    line-height: 24px;
  }
  .serviceArrow {
    width: 24px;
    height: 24px;
    margin: 0;
  }
  .serviceImageDiv {
    height: 440px;
  }
  #services .backTextDiv {
    top: 65px;
  }
}

@media (max-width: 500px) {
  .video {
    width: 380px;
    height: 200px;
  }
}

@media (max-width: 400px) {
  
  .heroContent{
    padding-left: 10px;
  }
  .heroContent-title {
    font-size: 28px;
    line-height: 40px;
  }
  .heroCard > img {
    width: 40%;
    height: 60%;
  }
  .isothermic__image {
    height: 200px;
  }
  .serviceImageDiv {
    height: 320px;
  }
  .video {
    aspect-ratio: 16/9;
  }
}
