/*
Theme Name: DID COMM
Theme URI: www.did.md
Author: Did Comm
Author URI: did.com
Version: 1.0
Text Domain: www.did.com
*/

:root {
    --gray: #f5f5f5;
    --color-white: #ffffff;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: var(--header-offset, 120px);
}

a {
    text-decoration: none;
    max-width: 100%;
    display: block;
}

body {
    background: var(--gray);
    font-family: "Inter", sans-serif;
    color: black;
}

h1 {
    font-size: 5rem;
    letter-spacing: -.04em;
    line-height: 70px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

h1 span{
    color: var(--blue);
}

h2 {
    font-size: 4.5rem;
    letter-spacing: -.04em;
    font-weight: 600;
    margin: 0;
    padding: 0;
    margin-top: 24px;
}

h3 {
    font-size: 3rem;
    letter-spacing: -.04em;
    margin: 0;
    padding: 0;
}

h4 {
    font-size: 2.5rem;
    letter-spacing: -.04em;
    margin: 0;
    padding: 0;
}

h5 {
    font-size: 1.8rem;
    letter-spacing: -.04em;
    margin: 0;
    padding: 0;
    line-height: 30px;
}

p {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 30px;
    margin: 0;
    padding: 0;
}

dl, ol, ul {
    margin-bottom: 0;
}

ul {
    font-size: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.container {
    width: 100%;
    max-width: 1470px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dividers */

.mt-100{
    margin-top: 100px;
}

.mb-100{
    margin-bottom: 100px;
}

.block_title{
    margin-bottom: 80px;
}

.block_title h2{
    font-size: 7.2rem;
}

.block_title h2 span{
    color: #0006;
}

.block_title p{
    color: #0009;
    margin-top: 24px;
}

.block_title .icon span{
    font-size: 1.6rem;
    font-weight: 500;
}

.block_title .icon img{
    width: 20px;
    height: 20px;
}

.block_title .icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===================== Navbar ===================== */

.navbar__menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
    padding: 16px 0;
}

.navbar__menu.scrolled {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px) saturate(1.6);
    -webkit-backdrop-filter: blur(40px) saturate(1.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 8px 0;
}

.navbar__menu .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 30px;
}

.main-logo {
    flex-shrink: 0;
}

.main-logo span {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--blue);
    margin-left: 8px;
}

.main-logo a {
    display: flex;
    align-items: center;
}

.header_logo {
    max-height: 50px;
    width: auto;
    border-radius: 0;
    transition: max-height 0.3s ease;
}

.navbar__menu.scrolled .header_logo {
    max-height: 42px;
}

.menu_container {
    display: flex;
    align-items: center;
}

.menu_container ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

.menu_container ul li a {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    transition: color 0.35s ease;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
}

.menu_container ul li a::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu_container ul li a:hover {
    color: #ffffff;
}

.menu_container ul li a:hover::before {
    width: 20px;
}

.menu_container ul li.current-menu-item > a,
.menu_container ul li.current_page_item > a,
.menu_container ul li.active-section > a {
    color: #ffffff;
}

.menu_container ul li.current-menu-item > a::before,
.menu_container ul li.current_page_item > a::before,
.menu_container ul li.active-section > a::before {
    width: 20px;
}

.menu_container ul li a::after {
    display: none;
}

/* Sub-menu */
.menu_container ul li {
    position: relative;
}

.menu_container ul ul.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    min-width: 200px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    padding: 8px;
    gap: 0;
    z-index: 100;
}

.menu_container ul li:hover > ul.sub-menu {
    display: flex;
}

.menu_container ul ul.sub-menu li a {
    padding: 10px 16px;
    font-size: 1.35rem;
    border-radius: 10px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.7);
}

.menu_container ul ul.sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Phone numbers - hidden on desktop, shown in mobile slide-out */
.phone_numbers--mobile {
    display: none;
}

.phone_numbers--mobile a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    background: var(--blue);
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.phone_numbers--mobile a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.phone_numbers--mobile a:first-child {
    background: var(--blue);
}

.phone_numbers--mobile a:first-child:hover {
    background: #164a8a;
    box-shadow: 0 4px 15px rgba(30, 90, 168, 0.35);
}

.phone_numbers--mobile a:last-child {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.phone_numbers--mobile a:last-child:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(30, 90, 168, 0.35);
}

.phone_numbers--mobile a i {
    font-size: 1.3rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.3s ease;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger__line {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* WP Admin Bar offset */
body.admin-bar .navbar__menu {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .navbar__menu {
        top: 46px;
    }
}

.home-pagination{
    position: relative;
    top: 0;
    margin-top: 20px;
    left: auto;
    right: auto;
}

.home-pagination .swiper-pagination-bullet{
    background: red;
    width: 12px;
    height: 12px;
}

.grid-4{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mt-100{
    margin-top: 100px;
}

.mb-100{
    margin-bottom: 100px;
}

.blog_item{
    position: relative;
}

.blog_item .badge{
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--blue);
    color: #fff;
    padding: 5px 12px;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 8px;
}

.about_section .grid-4{
    grid-template-columns: repeat(3, 1fr);
}

/* HEADER */
.site_header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    padding: 24px 0;
}

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

.site_logo {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.site_nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.site_nav a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.header_cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: #fff;
    color: #000;
    border-radius: 999px;
    font-weight: 600;
}

/* HERO */
.hero_section {
    position: relative;
    min-height: 120vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -80px;
}

.hero_bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero_video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.65);
}

.hero_content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero_subtitle {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.hero_title {
    color: white;
    letter-spacing: -.04em;
    font-size: 9rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 32px;
}

.hero_title span {
    display: block;
    color: color-mix(in oklab, var(--color-white) 40%, transparent);
}

.hero_text {
    letter-spacing: -.01em;
    font-weight: 600px;
    line-height: 1.5;
    font-size: 20px;
    color: color-mix(in oklab, var(--color-white) 70%, transparent);
    max-width: 540px;
    margin-bottom: 40px;

}

.hero_actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn_primary {
    background: #fff;
    color: #000;
}

.btn_primary:hover{
    background: #f3f3f3;
    color: black;
}

.btn_link {
    color: color-mix(in oklab, var(--color-white) 70%, transparent);
}

.btn_link:hover{
    color: white;
}

/* Partner Section */

.partners_slider .swiper-slide{
    background: white;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid #E8E8E8;
}

.partners_slider .swiper-slide img{
    max-width: 100%;
    object-fit: contain;
}

/* Projects Section */
.projects_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.project_card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
}

.img_content_project {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.img_content_project::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 24px;
}

.project_card:hover .img_content_project::after {
    opacity: 1;
}

.project_card .image_project {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project_card:hover .image_project {
    transform: scale(1.05);
}

.project_card .logo_project {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 60%;
    max-width: 200px;
    height: 70px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-radius: 0;
}

.project_card:hover .logo_project {
    transform: translate(-50%, -50%) scale(1.08);
}

.project_info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px;
    z-index: 2;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.project_card:hover .project_info {
    transform: translateY(0);
    opacity: 1;
}

.project_info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
}
/* Why Us */
.why_us_section {
    position: relative;
    margin-top: 100px;

}

.why_us_image_content{
    width: 100%;
    height: 640px;
    border-radius: 32px;
    overflow: hidden;
}

.why_us_image_content img {
    width: 384px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stats_right{
    padding-left: 24px;
}

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

.stat-card {
    position: relative;
    min-height: 360px;
    padding: 42px 42px 34px;
    background: white;
    border: 1px solid #dddddd;
    border-radius: 28px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.stat-index {
    position: absolute;
    top: 28px;
    right: 36px;
    font-size: 15px;
    font-weight: 400;
    color: #8a8f98;
    letter-spacing: 0.04em;
}

.stat-number {
    font-size: 64px;
    line-height: 1;
    font-weight: 400;
    color: #000000;
    margin-bottom: 48px;
}

.stat-title {
    margin: 0 0 26px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 500;
    color: #000000;
}

.stat-text {
    max-width: 470px;
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 400;
    color: #6f7680;
}

.stat-logos {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 40px;
    flex-wrap: wrap;
}

.stat-logos span {
    font-size: 13px;
    color: #b8b8b8;
    opacity: 0.9;
    white-space: nowrap;
}

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

    .stat-card {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 16px;
    }

    .stat-card {
        padding: 28px 24px 24px;
        border-radius: 22px;
    }

    .stat-index {
        top: 22px;
        right: 24px;
        font-size: 13px;
    }

    .stat-number {
        font-size: 48px;
        margin-bottom: 34px;
    }

    .stat-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .stat-text {
        font-size: 15px;
    }
}
/* Services */

.Services_section {
    background: #000;
    color: #fff;
    padding: 158px 0;
}

.Services_section .block_title p {
    color: rgba(255, 255, 255, 0.7);
}

.services {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 80px 0;
    background: #000;
}

.services::before,
.services::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.services::before {
    width: 1100px;
    height: 1100px;
    left: -250px;
    top: 120px;
}

.services::after {
    width: 1400px;
    height: 1400px;
    right: -500px;
    top: 200px;
}

.services__container {
    width: min(1500px, calc(100% - 120px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    font-weight: 600;
}

.services__eyebrow-icon {
    width: 26px;
    height: 26px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.services__title {
    margin: 0 0 110px;
    font-size: clamp(64px, 10vw, 132px);
    line-height: 0.9;
    font-weight: 500;
    letter-spacing: -0.05em;
}

.services__accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-item[open] {
    background: rgba(255, 255, 255, 0.01);
}

.service-item__summary {
    list-style: none;
    display: grid;
    grid-template-columns: 130px 1fr 72px;
    align-items: center;
    gap: 24px;
    min-height: 130px;
    cursor: pointer;
    padding: 0;
}

.service-item__summary::-webkit-details-marker {
    display: none;
}

.service-item__index {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.4rem;
    font-weight: 600;
}

.service-item__name {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.service-item__plus {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    position: relative;
    justify-self: end;
}

.service-item__plus::before,
.service-item__plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(255, 255, 255, 0.95);
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.service-item__plus::before {
    width: 14px;
    height: 2px;
}

.service-item__plus::after {
    width: 2px;
    height: 14px;
}

.service-item[open] .service-item__plus::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.service-item__content {
    padding: 0 96px 38px 154px;
    max-width: 900px;
}

.service-item__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 19px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .services {
        padding: 56px 0;
    }

    .services__container {
        width: min(100%, calc(100% - 40px));
    }

    .services__title {
        margin-bottom: 64px;
    }

    .service-item__summary {
        grid-template-columns: 80px 1fr 56px;
        min-height: 100px;
    }

    .service-item__index {
        font-size: 15px;
    }

    .service-item__name {
        font-size: 24px;
    }

    .service-item__plus {
        width: 46px;
        height: 46px;
    }

    .service-item__content {
        padding: 0 0 28px 80px;
    }

    .service-item__content p {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 640px) {
    .services__eyebrow {
        margin-bottom: 28px;
        font-size: 14px;
    }

    .service-item__summary {
        grid-template-columns: 1fr 44px;
        grid-template-areas:
      "index plus"
      "name plus";
        gap: 10px 16px;
        padding: 26px 0;
        min-height: auto;
    }

    .service-item__index {
        grid-area: index;
    }

    .service-item__name {
        grid-area: name;
        font-size: 22px;
    }

    .service-item__plus {
        grid-area: plus;
        align-self: center;
    }

    .service-item__content {
        padding: 0 0 24px 0;
    }
}


/* Steps Section */
.steps_card_index {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 1.6rem;
    font-weight: 500;
    top: 16px;
}

.steps_card_title {
    color: black;
    font-size: 2.4rem;
    font-weight: 600;
}

.steps_card_text {
    color: rgba(0, 0, 0, 0.6);
    font-size: 1.4rem;
    font-weight: 600;
    width: 230px;
}
.steps_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}
/* Testimonials Section */


.testimonials_swiper .swiper-slide {
    background: white;
    padding: 32px;
    border-radius: 24px;
    color: rgba(0, 0, 0, 0.6);
}

.testimonials_swiper .swiper-slider-icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.testimonials-text p {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 27px;
    bottom: 32px;
}

.testimonials_name {
    font-size: 1.4rem;
    font-weight: 600;
}
.testimonials-function {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
}
/* Price Section */

/* End Price Section */
