/*!
Theme Name: zkontra
Theme URI: https://github.com/Turgay-Alekberli
Author: Turgay Alekberli
Author URI: https://github.com/Turgay-Alekberli
Description: Description
Version: 1.0.2
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zkontra
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    font-family: 'DM sans', sans-serif;
}

table {
    font-family: "DM Sans", sans-serif;
}

ol, ul {
    padding: 0 !important;
    margin: 0 !important;
}

button, input, textarea, select {
    font-family: inherit;
}

input {
    color: #404CA4 !important;
}

input::placeholder {
    color: #404CA4 !important;
}

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

.pt-120 {
    padding-top: 120px;
}

/*colors*/
:root {
    --color-primary: #0865FE;
    --color-black: #151515;
    --color-light-black: #00000099;
    --color-charcoal: #25262D;
    --color-light-charcoal: #2F3037;
    --color-light-white: #F5F5F5;
    --color-grey: #F1F2F4;
    --color-light-blue: #E6F0FF;
}

.custom-bg-color-primary {
    background-color: var(--color-primary);
}

.custom-bg-color-light-white {
    background-color: var(--color-light-white);
}

/********************
    HEADER/FOOTER
********************/
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo */
.main-logo, .second-logo {
    height: 30px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-primary);
}

/* Desktop navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-family: "DM Sans", sans-serif;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background: #f8f9fa;
    color: var(--color-primary);
}

.dropdown-content a::after {
    display: none;
}

.dropdown > a::after {
    font-size: 12px;
    margin-left: 5px;
}

/* Language switcher */
.language-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #2c3e50;
/*    min-width: 80px;*/
}

.lang-current:hover {
    border-color: var(--color-primary);
}

.lang-flag {
    width: 30px;
    height: 30px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
}

.flag-az {
    background-image: url('./assets/flags/aze.svg');
}

.flag-ru {
/*    background-image: './assets/images/flags/ru.svg';*/
    background: linear-gradient(to bottom, #fff 33%, #0052cc 33%, #0052cc 66%, #cc0000 66%);
}

.flag-en {
    background: linear-gradient(45deg, #012169 25%, transparent 25%), 
               linear-gradient(-45deg, #012169 25%, transparent 25%), 
               linear-gradient(45deg, transparent 75%, #012169 75%), 
               linear-gradient(-45deg, transparent 75%, #012169 75%),
               linear-gradient(to right, #fff 50%, #cc142b 50%);
    background-size: 4px 4px, 4px 4px, 4px 4px, 4px 4px, 100% 100%;
}

.flag-de {
    background: linear-gradient(to bottom, #000 33%, #dd0000 33%, #dd0000 66%, #ffce00 66%);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 5px;
}

.language-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 14px;
}

.lang-option:hover {
    background: #f8f9fa;
}

.lang-option.active {
    background: #e3f2fd;
    color: var(--color-primary);
}

.lang-arrow {
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-switcher:hover .lang-arrow {
    transform: rotate(180deg);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile controls */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-language-switcher {
    position: relative;
}

.mobile-lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #2c3e50;
}

.mobile-lang-current:hover {
    border-color: var(--color-primary);
}

.mobile-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 120px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 6px 0;
    margin-top: 5px;
}

.mobile-language-switcher:hover .mobile-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 12px;
}

.mobile-lang-option:hover {
    background: #f8f9fa;
}

.mobile-lang-option.active {
    background: #e3f2fd;
    color: var(--color-primary);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    display: block;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.mobile-dropdown {
    margin-top: 10px;
}

.mobile-dropdown a {
    font-family: "DM Sans";
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 5px 0;
}

.mobile-menu-overlay-lang-switcher {
    display: none;
/*    margin-top: 30px;*/
/*    display: flex;*/
/*    justify-content: center;*/
}

.overlay-lang-current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.overlay-lang-current:hover {
    border-color: var(--color-primary);
    background: rgba(52, 152, 219, 0.2);
}

.overlay-lang-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 10px 0;
    margin-bottom: 10px;
}

.overlay-lang-switcher:hover .overlay-lang-dropdown {
    opacity: 1;
    visibility: visible;
}

.overlay-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 16px;
}

.overlay-lang-option:hover {
    background: rgba(255,255,255,0.1);
}

.overlay-lang-option.active {
    background: rgba(52, 152, 219, 0.3);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

/* Content demo */
.content {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.content p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-controls {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo {
        font-size: 24px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nav-links {
        gap: 20px;
    }

    .nav-menu {
        gap: 25px;
    }
}


.footer-section {
	padding: 70px 0px;
    background-color: var(--color-black);
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-email {
    font-family: "DM Sans", sans-serif;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--color-primary) !important;
}

.footer-link {
    font-family: "DM Sans", sans-serif;
}

.footer-title {
	font-family: "DM Sans", sans-serif;
	font-weight: 700;
	font-size: 20px;
}

.footer-links {
	margin-top: 24px !important;
}

.footer-links li {
	list-style: none;
	margin-bottom: 10px;
}

.footer-links li a {
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	font-size: 17px;
	color: #fff;
	text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--color-primary) !important;
}

.footer-copyright-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.footer-copyright-links li {
    display: inline-block;
}

.footer-copyright-links li a {
	font-family: "DM Sans", sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #fff;
	text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright-links li a:hover {
    color: var(--color-primary) !important;
}

.social-icons {
    display: flex;
    gap: 32px;
}

.icon-circle {
    background: var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

.icon-circle i {
    color: #fff;
    font-size: 2.2rem;
}



/***************************
    BREADCRUMB SECTION
***************************/
.breadcrumb {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.breadcrumb-text {
    font-family: "DM Sans", sans-serif;
    font-weight: bold;
}

.breadcrumb li + li::before {
    content: ">";
    padding: 0 8px;
}

.breadcrumb li span {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
}

.breadcrumb li a,
.breadcrumb-item a,
.breadcrumb-link {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.breadcrumb li a.white {
    color: #fff;
}

.breadcrumb li a.black {
    color: #000;
}

.breadcrumb-separator {
    font-weight: bold;
}



/******************************
    TABLE OF CONTENT SECTION
******************************/
.toc-container {

}

.toc-title {
    margin-bottom: 25px;
}

.toc-title h6 {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
}

.toc-elements {
    margin-bottom: 50px;
}

.toc-elements ul {
    list-style: none;
    padding-left: 0px;
}

.toc-elements ul li {
    padding: 5px;
    padding-left: 13px;
    box-sizing: border-box;
}

.toc-elements ul li.active {
    border-left: 3px solid var(--color-primary);
    padding-left: 10px;
}

.toc-elements ul li.active a {
    color: var(--color-primary);
    font-weight: 600;
}

.toc-elements ul li a {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    text-decoration: none;
}

.toc-share-buttons-block {
    background-color: #032A6B;
    border-radius: 20px;
    padding: 15px;
}

.toc-share-buttons-block span {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.toc-share-buttons-block .toc-share-buttons-wrapper {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.toc-sublist {
    display: none;
    padding-left: 15px;
    margin-top: 5px;
}

.toc-sublist.open {
    display: block;
}

.toc-h2 > a {
    cursor: pointer;
}

.toc-arrow {
    display: inline-block;
    width: 1em;
    margin-right: 5px;
    transition: transform 0.2s ease;
}

.toc-arrow.open {
    transform: rotate(90deg);
}

.social-media-icon {
    width: 30px;
}




/************************
    SERVICES SECTION
************************/
.service {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
    margin: 10px;
    padding: 30px;
    background-color: #fff;
    min-height: 370px;
}

.service-icon img {
    width: 42px;
}

.service-title {
    margin-bottom: 5px;
}

.service-title h3 {
    font-family: "DM Sans", sans-serif;
    font-size: 36px;
    font-weight: 900;
    overflow: hidden;
}

.service-short-desc {
    min-height: 110px;
    overflow: hidden;
}

.service-short-desc p {
	font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

.service-button a {
	font-family: "DM sans", sans-serif;
    font-weight: 600;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
}

.service-button a {
    display: block;
    min-width: 100%;
    text-align: center;
    background-color: var(--color-primary);
}

.service-section-main {
    background-color: var(--color-light-blue);
}

.service-section-content {
    background-color: var(--color-light-white);
}

.service-section-intro,
.service-section-imgs {
    max-height: 400px;
}

.service-section-img-wrapper {
    width: 50%;
    box-sizing: border-box;
    display: inline-block;
}

.service-section-img-wrapper img {
    min-width: 100%;
}

.service-section-title h1 {
    font-style: 48px;
    font-weight: 900;
}

.service-section-desc p {
    font-size: 18px;
    font-weight: 400;
}

.service-section-consultation a {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-primary);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
}


.service-toc-title {
    margin-bottom: 20px;
}

.service-toc-title h6 {
    font-size: 20px;
    font-weight: 600;
}

.service-toc ul {
    list-style: none;
    padding-left: 0px;
}

.service-toc ul li {
    padding: 10px;
    padding-left: 13px; /* 10px + 3px для границы */
    box-sizing: border-box;
}

.service-toc ul li.active {
    border-left: 3px solid var(--color-primary);
    padding-left: 10px; /* вернуть изначальный padding */
}

.service-toc ul li.active a {
    color: var(--color-primary);
    font-weight: 600;
}

.service-toc ul li a {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    text-decoration: none;
}



/********************
    STEPS SECTION
********************/
.step {
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0px 4px 34px 0px #EDEDEF;
}

.step-num {
    margin-bottom: 20px;
    text-align: left;
}

.step-num span {
	font-family: "DM Sans", sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #8DB8FF;
}

.step-title h5 {
	font-family: "DM Sans", sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #000;
    text-align: left;
}

@media (max-width: 768px) {
    .step-title h5 {
        font-size: 32px;
    }
}

.step-desc p {
	font-family: "DM Sans", sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #7A7B7B;
	min-height: 130px;
    text-align: left;
}

@media (max-width: 768px) {
    .step-desc p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .step-desc p {
        font-size: 12px;
    }
}



/*****************
    FAQ SECTION
******************/
.accordion-header button.accordion-button {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-black);
    padding: 30px !important;
}

.accordion-body {
    padding: 0px 30px 30px 30px !important;
}

.accordion-body p {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--color-charcoal);
    margin: 0px !important;
}

.accordion-item {
    border: none !important;
    border-radius: 10px;
    margin-bottom: 20px;
}

.accordion-button {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
    color: var(--color-primary) !important;
}

.accordion-button:not(.collapsed) {
    background: none !important;
    box-shadow: none !important;
}

.accordion-collapse {
    border: none !important;
}



/************************
    CLOUT CATEOGORIES
************************/
.cloud-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* горизонтальный и вертикальный */
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px; /* добавим внутренний отступ, чтобы текст не прилипал к краям */
}

a.cloud-category {
    font-family: "DM Sans", sans-serif;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 16px; /* немного уменьшаем размер шрифта для адаптивности */
    border-radius: 20px;
    padding: 6px 16px;
    text-decoration: none;
    border: 1px solid var(--color-primary);
    background: none;
    display: inline-block;
    margin: 0; /* убедитесь, что лишнего отступа нет */
    white-space: nowrap; /* предотвратит перенос текста */
}

a.cloud-category.active {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}



/*****************
    BLOG SECTION
******************/
.blog-page-title {
    font-family: "DM Sans", sans-serif;
    font-size: 56px;
    font-weight: 900;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .blog-page-title {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .blog-page-title {
        font-size: 32px;
    }
}

.blog-post {
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
}

/*.blog-post-thumb {
    padding-bottom: 20px;
}*/

.blog-post-thumb img {
    width: 100%;
    border-radius: 10px;
}

.blog-post-thumb a img {
    border-radius: 10px;
}

.blog-post-author-thumb {
    border-radius: 50%;
}

.blog-post-title h2 {
    text-align: left;
    min-height: 75px;
    overflow: hidden;
    line-height: 1;
}

.blog-post-title h2 a {
    display: inline;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--color-black) !important;
    transition: color 0.3s ease;
}

.blog-post-title h2 a:hover {
    color: var(--color-primary) !important;
}

.blog-post-content {

}

.blog-post-content h2,
.blog-post-content h3 {
    scroll-margin-top: 60px;
}

.blog-post-content h2 {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px;
}

.blog-post-content h3 {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700 !important;
    font-size: 28px !important;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-left: 24px !important;
    padding-left: 24px !important;
    margin-bottom: 24px !important;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    margin-top: 40px;
    margin-bottom: 10px;
}

.blog-post-content h2:first-child {
    margin-top: 0px;
}

.blog-post-content p {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.blog-post-content ul li,
.blog-post-content ol li {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.blog-post-content .wp-block-image {
    margin-bottom: 20px;
}

.blog-post-author span {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.blog-post-author-thumb img {
    width: 42px;
    height: 42px;
}

.blog-post-date span {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.blog-post-all {
    font-size: 18px;
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}

.blog-categories-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.blog-cloud-category {
    margin-bottom: 15px;
}

.blog-cloud-category a {
    color: var(--color-primary);
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 20px;
    border-radius: 24px;
    padding: 10px 14px;
    text-decoration: none;
    border: 1px solid var(--color-primary);
}

.blog-cloud-category a.active {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.blog-post-main {
    background-color: var(--color-light-blue);
}

.blog-post-wrapper {
    background-color: var(--color-light-white);
}

.blog-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.blog-post-info h1 {
    font-family: "DM Sans", sans-serif;
    font-weight: 900;
    font-size: 48px;
    color: var(--color-black);
}

@media (max-width: 576px) {
    .blog-page-info h1 {
        font-size: 30px;
    }
}

.blog-post-info span {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
}

.blog-post-banner {
    border-radius: 10px;
}

.blog-post-banner img {
    max-width: 100%;
    border-radius: 10px;
    height: 100%;
}

.blog-related-posts {
    padding-top: 80px;
    padding-bottom: 80px;
}

.blog-related-posts-section-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 900;
    font-size: 56px;
    color: var(--color-black);
}

@media (max-width: 768px) {
    .blog-related-posts-section-title {
        font-size: 48px;
    }
}

@media (max-width: 576px) {
    .blog-related-posts-section-title {
        font-size: 30px;
    }
}



/************************
    PROJECTS SECTION
************************/
.project-item-wrap-a {
    display: block;
}

.project-item {
    border-radius: 12px;
    margin: 10px;
    padding: 30px 20px 30px 20px;
    min-height: 290px;
}

.project-logo {
    margin-bottom: 30px;
    min-height: 40px;
}

.project-logo img {
    width: 180px;
}

.project-short-desc {
    color: var(--color-black);
    font-weight: 700;
    font-size: 22px;
    margin: 25px 0 40px;
}

.project-button a {
    font-weight: 600;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

/*.project-tag {
    padding-bottom: 15px;
}*/

.project-tag a {
    display: inline-block;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    background-color: var(--color-light-blue);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    cursor: default;
}

.project-banner-section {
    background-color: var(--color-light-blue);
    padding: 50px 0px 50px;
}

.project-banner, 
.project-banner img {
    max-width: 100%;
    border-radius: 24px;
}

.project-title h1 {
    font-family: "DM Sans", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-black);
}

.project-title {
    margin-bottom: 40px;
    min-height: 100px;
}

.project-title h3 a {
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    transition: color 0.3s ease;
}

.project-title h3 a:hover {
    color: var(--color-primary);
}

.project-feature-items {
    display: flex;
    gap: 10px;
    width: 100%;
}

.project-feature-item {
    background-color: #D9F3EA;
    border-radius: 10px;
    padding: 50px 25px;
    flex-grow: 1;
    text-align: center;
}

.project-feature-item span {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 24px;
}

@media (max-width: 768px) {
    .project-feature-items {
        flex-direction: column;
    }
    .project-feature-item {
        width: 100%;
        padding: 20px 10px;
    }
}

.other-projects {
    background-color: var(--color-light-blue);
}



/******************
    PAGINATION
*******************/
/* Пагинация - переопределение Bootstrap стилей */
nav .pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    padding-left: 0 !important;
    margin: 20px 0 !important;
    list-style: none !important;
}

nav .pagination .page-item {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important; /* Убираем Bootstrap отступы */
}

nav .pagination .page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 9px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: var(--color-primary); !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    margin: 0 !important; /* Убираем Bootstrap отступы */
}

nav .pagination .page-link img {
    width: 16px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

nav .pagination .page-item.active .page-link,
nav .pagination .page-link:hover {
    background: #007bff !important;
    color: #fff !important;
    border-color: #007bff !important;
}

nav .pagination .page-item.disabled .page-link,
nav .pagination .page-item.disabled span.page-link {
    color: #6c757d !important;
    pointer-events: none !important;
    background: #f8f9fa !important;
    border-color: #dee2e6 !important;
}



/***************************
    CONTACT FORM SECTION
***************************/
.contact-form input,
.contact-form textarea {
    font-family: "DM Sans", sans-serif;
    background-color: var(--color-light-blue);
}

input.form-control {
    padding: 15px !important;
    border-radius: 10px !important;
    border: none !important;
}

form.consultation input,
form.consultation textarea {
    background-color: var(--color-light-blue);
}

form span, 
form label, 
form button {
    font-family: "DM Sans", sans-serif !important;
}

.contact-form-title {
    height: 100%;
    display: flex;
    align-items: center;
}

.contact-form-title h3 {
    color: #fff;
    font-size: 86px;
    font-weight: 900;
}

.contact-form-title-img {

}



/* SUBSCRIBE SECTION */
.newsletter-section {
    background: var(--color-light-blue);
    padding: 80px 0;
    width: 100%;
}

.newsletter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 60px;
}

.newsletter-title {
    font-family: "DM Sans", sans-serif;
    font-size: 46px;
    font-weight: 700;
    color: #111155;
    line-height: 1.2;
    flex-shrink: 0;
}

.form-wrapper {
    flex: 1;
    max-width: 500px;
}

.form-container {
    position: relative;
    width: 100%;
}

.email-input {
    width: 100%;
    padding: 20px 180px 20px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    background: white;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.email-input:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.email-input::placeholder {
    color: #a0aec0;
    font-size: 16px;
}

.subscribe-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 24px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    transform: translateY(-50%) translateY(-1px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

.subscribe-btn:active {
    transform: translateY(-50%);
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 30px;
    }

    .newsletter-title {
        font-size: 40px;
        order: -1;
    }

    .form-wrapper {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
        gap: 30px;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .email-input {
        padding: 16px 16px 16px 20px;
        font-size: 14px;
        margin-bottom: 12px;
    }

    .subscribe-btn {
        position: static;
        transform: none;
        width: 100%;
        padding: 16px;
        border-radius: 12px;
    }

    .subscribe-btn:hover {
        transform: none;
    }

    .form-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-section {
        padding: 50px 0;
    }
}
