@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --accent-color: #333;
    --text-color: #1a1a1a;
    --bg-light: #f8f8f8;
    --border-color: #e0e0e0;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Typography Scale - Major Third (1.25) */
    --font-xs: 0.75rem;      /* 12px */
    --font-sm: 0.875rem;     /* 14px */
    --font-base: 1rem;       /* 16px */
    --font-lg: 1.125rem;     /* 18px */
    --font-xl: 1.25rem;      /* 20px */
    --font-2xl: 1.5rem;       /* 24px */
    --font-3xl: 1.75rem;      /* 28px */
    --font-4xl: 2rem;        /* 32px */
    --font-5xl: 2.5rem;      /* 40px */
    --font-6xl: 3rem;        /* 48px */
    --font-7xl: 3.5rem;       /* 56px */
    --font-8xl: 4rem;        /* 64px */
    --font-9xl: 4.5rem;       /* 72px */
    --font-10xl: 5rem;       /* 80px */
    --font-11xl: 6rem;       /* 96px */
    --font-12xl: 7.5rem;      /* 120px */
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--secondary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar Styles */
/* For Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #7D021F;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #9a031e;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #7D021F #f1f1f1;
}

* {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Screen reader only - visually hidden but accessible to assistive technologies */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Main element - ensure it doesn't overlap with fixed navigation */
main {
    position: relative;
    z-index: 0;
}

/* Top info bar (address + phone + socials) */
.rd-navbar-top-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    line-height: 1.4;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.rd-navbar-top-panel__content {
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rd-navbar-top-panel__left ul,
.rd-navbar-top-panel__right ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-inline,
.list-inline-xxs {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rd-navbar-top-panel .unit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rd-navbar-top-panel .unit-body a {
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
}

.rd-navbar-top-panel .unit-body a:hover {
    text-decoration: underline;
}

.rd-navbar-top-panel .icon {
    color: #1a1a1a;
    font-size: 14px;
}

.rd-navbar-top-panel__right .list-inline-xxs {
    gap: 10px;
}

.rd-navbar-top-panel__right .icon {
    font-size: 14px;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rd-navbar-top-panel__right .icon:hover {
    background: #111111;
    color: #ffffff;
}

.rd-navbar-top-panel__right .icon img {
    width: 14px;
    height: 14px;
    display: block;
    transition: filter 0.2s ease, opacity 0.2s ease;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
}

.rd-navbar-top-panel__right .icon:hover img {
    filter: brightness(1) invert(1);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.rd-navbar-top-panel--hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .rd-navbar-top-panel {
        display: none;
    }
    
    .navbar {
        top: 0;
    }
    
    .rd-navbar-top-panel__content {
        padding: 6px 15px;
    }

    .list-inline,
    .list-inline-xxs {
        flex-wrap: wrap;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    background: #ffffff;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



.navbar .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.nav-logo {
    flex-shrink: 0;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
    filter: none;
}

.logo-link:hover .logo-img {
    opacity: 0.7;
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item-services .nav-services-link {
    position: relative;
}

.nav-services-megamenu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0;
    background: #ffffff;
    color: #000000;
    padding: 40px 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    display: none;
    z-index: 1200;
    min-width: 820px;
}

.nav-services-megamenu::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 50%;
    width: 1px;
    background: #e0e0e0;
    transform: translateX(-50%);
}

.nav-item-services:hover .nav-services-megamenu {
    display: flex;
    gap: 60px;
}

.nav-services-column {
    min-width: 260px;
    flex: 1;
}

.nav-services-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111111;
    text-transform: uppercase;
}

.nav-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-services-list li + li {
    margin-top: 10px;
}

.nav-services-list a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    white-space: normal;
    transition: color 0.2s ease;
}

.nav-services-list a:hover {
    color: #7D021F;
}

.nav-links > a,
.nav-item-services > .nav-services-link {
    text-decoration: none;
    color: #000000;
    font-size: var(--font-sm);
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    font-weight: 500;
}

.contacts-page .nav-links > a,
.contacts-page .nav-item-services > .nav-services-link,
.blog-page .nav-links > a,
.blog-page .nav-item-services > .nav-services-link {
    color: var(--text-color);
    text-shadow: none;
}

.administratyvne-page .nav-links > a,
.administratyvne-page .nav-item-services > .nav-services-link {
    color: var(--text-color);
    text-shadow: none;
}

.administratyvne-page .nav-links > a:hover,
.administratyvne-page .nav-item-services > .nav-services-link:hover {
    color: var(--primary-color);
}

.navbar.scrolled .nav-links > a,
.navbar.scrolled .nav-item-services > .nav-services-link {
    color: var(--text-color);
    text-shadow: none;
}

.navbar.scrolled .nav-links > a::after,
.navbar.scrolled .nav-item-services > .nav-services-link::after {
    background: #cc3535;
}

.navbar.scrolled .nav-links > a:hover,
.navbar.scrolled .nav-item-services > .nav-services-link:hover {
    color: var(--primary-color);
}

.nav-links > a::after,
.nav-item-services > .nav-services-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #cc3535;
    transition: width 0.3s ease;
}

.nav-links > a:hover::after,
.nav-item-services > .nav-services-link:hover::after {
    width: 100%;
}

.nav-links > a:hover,
.nav-item-services > .nav-services-link:hover {
    color: #cc3535;
}

.contacts-page .nav-links > a:hover,
.contacts-page .nav-item-services > .nav-services-link:hover,
.blog-page .nav-links > a:hover,
.blog-page .nav-item-services > .nav-services-link:hover {
    color: var(--primary-color);
}

.navbar.scrolled .nav-links > a:hover,
.navbar.scrolled .nav-item-services > .nav-services-link:hover {
    color: var(--primary-color);
}

.cta-button {
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: var(--font-sm);
    text-transform: uppercase;
    border-radius: 7px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    background: #7D021F;
    width: fit-content;
    white-space: nowrap;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(193, 38, 38, 0.28);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Burger Menu Toggle Button */
.burger-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar.scrolled .burger-menu-toggle span {
    background: var(--text-color);
}

.burger-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu.active ~ .floating-phone-button,
body:has(.mobile-menu.active) .floating-phone-button {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    body:has(.mobile-menu.active) .floating-phone-button {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 50%;
}

.mobile-menu-close:hover {
    background: rgba(204, 53, 53, 0.1);
    color: #cc3535;
    transform: rotate(90deg);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 100px 20px 40px;
}

.mobile-menu-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #cc3535;
    transition: width 0.3s ease;
}

.mobile-menu-link:hover::after {
    width: 100%;
}

.mobile-menu-link:hover {
    color: #cc3535;
}

.mobile-menu-contact-info {
    width: 100%;
    max-width: 400px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.mobile-menu-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.mobile-menu-contact-item:last-child {
    margin-bottom: 0;
}

.mobile-menu-contact-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    flex-shrink: 0;
}

.mobile-menu-contact-icon i {
    font-size: 16px;
}

.mobile-menu-contact-text {
    flex: 1;
}

.mobile-menu-contact-text a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.mobile-menu-contact-text a:hover {
    color: #7D021F;
    text-decoration: underline;
}

.mobile-menu-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.mobile-menu-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
}

.mobile-menu-social-icon:hover {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.mobile-menu-social-icon img {
    width: 18px;
    height: 18px;
    display: block;
    transition: filter 0.2s ease;
}

.mobile-menu-social-icon:hover img {
    filter: brightness(1) invert(1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: brightness(1.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}


.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-logo-wrapper {
    margin-bottom: 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}


.hero-logo {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: clamp(var(--font-6xl), 8vw, var(--font-12xl));
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(var(--font-base), 2vw, var(--font-2xl));
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-status {
    margin-bottom: 40px;
}

.status-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: var(--font-sm);
    text-transform: uppercase;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-date {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: clamp(var(--font-xl), 3vw, var(--font-4xl));
}

.date-text {
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.year-text {
    font-size: clamp(var(--font-base), 2.5vw, var(--font-3xl));
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.location-text {
    font-size: var(--font-7xl);
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: var(--font-3xl);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Countdown Timer Section */
.countdown-section {
    padding: 100px 20px;
    background: #000000;
    text-align: center;
}

.countdown-title {
    font-size: var(--font-6xl);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.4;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}
.countdown-description{
    margin-bottom: 25px;
    color: #ffffff;
    font-size: var(--font-3xl);
}
.countdown-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgb(255 255 255);
    border: 1px solid rgb(0 0 0);
    border-radius: 7px;
    padding: 40px 60px;
    backdrop-filter: blur(10px);
    width: fit-content;
    margin: 0 auto;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: clamp(70px, 10vw, 100px);
}

.countdown-number {
    font-size: clamp(var(--font-7xl), 6vw, var(--font-5xl));
    font-weight: 700;
    color: #000000;
    line-height: 1;
    width: clamp(70px, 10vw, 100px);
    text-align: center;
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: clamp(var(--font-xs), 1.5vw, var(--font-xl));
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    text-transform: uppercase;
}

.countdown-separator {
    font-size: clamp(var(--font-7xl), 6vw, var(--font-9xl));
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.countdown-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.countdown-form {
    display: flex;
    gap: 15px;
    align-items: stretch;
    justify-content: space-around;
}

.countdown-email {
    flex: 1;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #ffffff;
    font-size: var(--font-base);
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.countdown-email::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.countdown-email:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #651414;
    box-shadow: 0 0 0 3px rgba(101, 20, 20, 0.2);
}

.countdown-button {
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width: fit-content;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s 
ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    color: var(--secondary-color);
    font-size: var(--font-sm);
    text-transform: uppercase;
    border-radius: 7px;
    font-weight: 600;
    background: #ff0000;
}

.countdown-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.countdown-button:hover::before {
    width: 300px;
    height: 300px;
}

.countdown-button:hover {
    background: #7a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(101, 20, 20, 0.4);
}



/* Themes Section */
.themes {
    padding: 0 20px 80px;
    background: #ffffff;
}


.themes-intro {
    text-align: center;
    margin-bottom: 50px;
}

.themes-intro-text {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: var(--font-7xl);
    color: #ff0000;
    font-weight: 500;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.themes-intro-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.themes-intro-text .bracket {
    color: #ff0000;
    font-weight: 300;
    font-size: clamp(var(--font-lg), 8vw, var(--font-7xl));
    /* line-height: 1; */
    position: absolute;
    z-index: 0;
}
.bracket-open {
    left: -40px;
}

.bracket-close {
    right: -40px;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    align-items: stretch;
}

.theme-card {
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.theme-header-wrapper {
    position: relative;
    display: inline-block;
}

.theme-title {
    font-size: var(--font-5xl);
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000;
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
}
.theme-divider {
    position: absolute;
    top: 0;
    width: 2px;
    height: 105px;
    background: #ff0000;
    margin-left: -20px;
}

.theme-text {
    font-size: var(--font-xl);
    /* line-height: 1.8; */
    color: #000000;
    font-weight: 300;
    margin: 0;
    margin-top: auto;
    /* padding-left: calc(clamp(48px, 6vw, 72px) + 42px); */
}
.themes-tagline {
    text-align: center;
    font-size: clamp(var(--font-xl), 3vw, var(--font-4xl));
    font-weight: 900;
    padding-top: 60px;
    color: transparent;
    text-transform: uppercase;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 2px #ffffff;
}

/* Section Styles */
section {
    padding: 80px 20px;
}

/* Exclude pin sections from general section padding */
section.pin-intro,
section.pin-outro,
section.pin-card {
    padding: 0;
}

section:has(iframe) {
    padding: 150px 0 0;
}

.section-title {
    font-size: clamp(var(--font-4xl), 4vw, var(--font-6xl));
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    text-transform: lowercase;
    position: relative;
    display: inline-block;
    width: 100%;
}



.section-text {
    font-size: clamp(var(--font-base), 2vw, var(--font-xl));
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    color: var(--accent-color);
}

/* Content Text Section */
.content-text-section {
    padding: 80px 20px;
    background: #ffffff;
}

.content-text-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-text {
    font-size: clamp(var(--font-lg), 2.5vw, var(--font-2xl));
    line-height: 1.8;
    color: #000000;
    font-weight: 300;
    margin: 0 0 20px 0;
    text-align: left;
}

.content-text:last-child {
    margin-bottom: 0;
}

/* Profile Section */
.profile-section {
    position: relative;
    padding: 120px 20px;
    background: #0d1626;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.profile-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(120px, 25vw, 300px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 0;
    pointer-events: none;
    font-family: 'Montserrat', sans-serif;
}

.profile-wrapper {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

/* Left Section: Portrait and Quote */
.profile-left {
    display: flex;
    flex-direction: column;
    position: relative;
}

.profile-portrait {
    width: 100%;
    position: relative;
}

.profile-portrait-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

/* Quote Box Section - positioned on top of photo */
.profile-quote-box {
    background: rgba(15, 25, 45, 0.95);
    padding: 50px 40px;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.profile-quote-marks {
    font-size: clamp(var(--font-6xl), 6vw, var(--font-10xl));
    font-weight: 300;
    color: rgba(255, 255, 255, 0.15);
    line-height: 0.8;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.15em;
    position: absolute;
    top: 15px;
    left: 25px;
    z-index: 0;
}

.profile-quote-text {
    font-size: clamp(var(--font-lg), 2vw, var(--font-2xl));
    line-height: 1.6;
    color: #ffffff;
    font-weight: 400;
    margin: 0 0 30px 0;
    position: relative;
    z-index: 1;
}

.profile-quote-author {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.profile-quote-name {
    font-size: clamp(var(--font-xl), 2.5vw, var(--font-3xl));
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.profile-quote-title {
    font-size: clamp(var(--font-base), 1.5vw, var(--font-lg));
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.quote-section {
    padding: 60px 0;
    background: #0f1b2d;
}

.quote-card {
    position: relative;
    max-width: 760px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(14px);
    color: #f2f4f7;
    margin-top: 16px;
}

.quote-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -14px;
    height: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    filter: blur(6px);
    opacity: 0.35;
    pointer-events: none;
}

.quote-card-icon {
    font-size: 34px;
    line-height: 1;
    color: #ffc169;
    margin-bottom: 12px;
    display: inline-block;
}

.quote-card-text {
    margin: 0;
    font-size: var(--font-base);
    line-height: 1.65;
    font-weight: 500;
    color: #f6f8fb;
}

@media (max-width: 768px) {
    .quote-section {
        padding: 40px 0;
    }

    .quote-card {
        padding: 24px 24px 26px 24px;
    }
}

/* Right Section: Biography */
.profile-right {
    display: flex;
    align-items: flex-start;
    height: 100%;
}

.profile-bio-content {
    position: relative;
    padding-left: 60px;
    width: 100%;
}

.profile-bio-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FFD700;
}

.profile-bio-name {
    font-size: clamp(var(--font-5xl), 5vw, var(--font-8xl));
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.profile-bio-intro {
    font-size: clamp(var(--font-lg), 2vw, var(--font-2xl));
    line-height: 1.8;
    color: #ffffff;
    font-weight: 400;
    margin: 0 0 30px 0;
}

.profile-bio-text {
    font-size: clamp(var(--font-base), 1.8vw, var(--font-xl));
    line-height: 1.8;
    color: #ffffff;
    font-weight: 300;
    margin: 0;
}

/* Responsive Design for Profile Section */
@media (max-width: 1024px) {
    .profile-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    
    .profile-bio-content {
        padding-left: 40px;
    }
    
    .profile-watermark {
        font-size: clamp(80px, 20vw, 200px);
    }
}

@media (max-width: 768px) {
    .profile-section {
        padding: 80px 20px;
        min-height: auto;
    }
    
    .profile-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-left {
        gap: 0;
    }
    
    .profile-quote-box {
        padding: 40px 30px;
    }
    
    .profile-bio-content {
        padding-left: 30px;
    }
    
    .profile-bio-accent {
        width: 3px;
    }
    
    .profile-watermark {
        font-size: clamp(60px, 15vw, 150px);
    }
}

@media (max-width: 480px) {
    .profile-section {
        padding: 60px 15px;
    }
    
    .profile-quote-box {
        padding: 30px 20px;
    }
    
    .profile-bio-content {
        padding-left: 20px;
    }
}

/* about.html Section */
.about.html {
    background: var(--secondary-color);
}

/* Audience Section */
.audience {
    background: var(--bg-light);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.audience-card {
    background: var(--secondary-color);
    padding: 40px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.audience-card:hover::before {
    left: 100%;
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.audience-title {
    font-size: clamp(var(--font-xl), 2.5vw, var(--font-3xl));
    font-weight: 600;
    margin-bottom: 20px;
}

.audience-text {
    font-size: var(--font-base);
    line-height: 1.8;
    color: var(--accent-color);
}

/* Animated Banner */
.animated-banner {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 30px 0;
    overflow: hidden;
    position: relative;
}

.banner-text-wrapper {
    display: flex;
    width: max-content;
    animation: scroll-banner 25s linear infinite;
}

.banner-text {
    font-size: clamp(var(--font-lg), 3vw, var(--font-4xl));
    font-weight: 700;
    padding: 0 50px;
    color: var(--secondary-color);
    white-space: nowrap;
    flex-shrink: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Statistics Section */
.stats {
    background: #ffffff;
    padding:  80px 20px;
}

.stats .container {
    padding: 0;
}

.stats-title {
    font-size: clamp(var(--font-4xl), 4vw, var(--font-6xl));
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 50px 30px;
    background: #f5f5f5;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item:nth-child(1) {
    grid-column: span 2;
    min-height: 482px;
    background-image: url(img/1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.stat-item:nth-child(2) {
    grid-column: span 4;
    min-height: 482px;
    background-image: url('img/2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.stat-item:nth-child(1)::before,
.stat-item:nth-child(2)::before,
.stat-item:nth-child(3)::before,
.stat-item:nth-child(4)::before,
.stat-item:nth-child(5)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.stat-item:nth-child(1) .stat-number-wrapper,
.stat-item:nth-child(1) .stat-label,
.stat-item:nth-child(2) .stat-number-wrapper,
.stat-item:nth-child(2) .stat-label,
.stat-item:nth-child(3) .stat-number-wrapper,
.stat-item:nth-child(3) .stat-label,
.stat-item:nth-child(4) .stat-number-wrapper,
.stat-item:nth-child(4) .stat-label,
.stat-item:nth-child(5) .stat-number-wrapper,
.stat-item:nth-child(5) .stat-label {
    position: relative;
    z-index: 2;
}


.stat-item:nth-child(1) .stat-label,
.stat-item:nth-child(2) .stat-label,
.stat-item:nth-child(3) .stat-label,
.stat-item:nth-child(4) .stat-label,
.stat-item:nth-child(5) .stat-label {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.stat-item:nth-child(3),
.stat-item:nth-child(4),
.stat-item:nth-child(5) {
    grid-column: span 2;
    min-height: 200px;
    background-image: url(img/3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}
.stat-item:nth-child(4){
    background-image: url(img/4.jpg);
}
.stat-item:nth-child(5){
    background-image: url(img/5.jpg);
}
.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 20px;
}
.stat-number {
    font-size: var(--font-5xl);
        font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

    .stat-plus {
        font-size: clamp(var(--font-7xl), 7vw, var(--font-10xl));
        font-weight: 700;
        color: #ffffff;
        line-height: 1;
    }

.stat-label {
    font-size: clamp(var(--font-xl), 1.2vw, var(--font-xl));
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.6;
}

.stats-cta {
    text-align: center;
    margin-top: 60px;
}

.free-ticket-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 18px 40px;
    font-size: var(--font-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.free-ticket-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.free-ticket-button:hover::before {
    width: 400px;
    height: 400px;
}

.free-ticket-button:hover {
    background: var(--accent-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.limited-places {
    font-size: var(--font-sm);
    color: var(--accent-color);
    font-style: italic;
}

/* Experts Section */
.experts {
    color: var(--secondary-color);
    padding: 0;
        position: relative;
    overflow: hidden;
}

.experts-header {
    background: #7D021F;
    padding: 40px 20px 40px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.experts-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.experts-header-text {
    display: flex;
    align-items: center;
    gap: 30px;
}

.videos-nav-arrows {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.blog-view-more-button-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.blog-view-more-button {
    padding: 12px 30px; 
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    letter-spacing: 0.5px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    color: var(--secondary-color);
    font-size: var(--font-sm);
    text-transform: uppercase;
    border-radius: 7px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.blog-view-more-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-view-more-button:active {
    transform: translateY(0);
}

.video-nav-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--secondary-color);
    padding: 0;
}

.video-nav-arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--secondary-color);
}

.video-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.video-nav-arrow:active {
    transform: scale(0.95);
}

.video-nav-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.video-nav-arrow:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.experts-label-vertical {
    font-size: var(--font-6xl);
    font-weight: 700;
    text-orientation: mixed;
    color: var(--secondary-color);
    line-height: 0.9;
}

.experts-label-subtitle {
    font-size: clamp(var(--font-base), 2.5vw, var(--font-2xl));
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.experts-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 0 80px;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0 80px;
    margin: 0 auto;
}

.expert-card-compact {
    background: #000000;
    border-radius: 7px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;  
    position: relative;
}

.expert-card-compact:hover {
    transform: translateY(-5px);
}

.expert-card-header {
    background: #ff0000;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    min-height: 70px;
    height: 70px;
}

.expert-card-header-line {
    width: 3px;
    height: 100%;
    background: #00cc00;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}


.expert-day-badge-compact {
    font-size: var(--font-xs);
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.4;
    display: flex;
    align-items: center;
    height: 100%;
}

.expert-image-compact {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.expert-initials-compact {
    font-size: var(--font-10xl);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-image-compact img[src]:not([src=""]) ~ .expert-initials-compact,
.expert-image-compact:has(img[src]:not([src=""])) .expert-initials-compact {
    display: none;
}

.expert-card-footer {
    padding: 24px 20px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 120px;
    background: #000;
}

.card-tema{
    background: #ff0000;
}

.expert-name-compact {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
    text-transform: uppercase;
}

.expert-title-compact {
    font-size: var(--font-sm);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
}

.expert-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-arrow svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

.expert-card-compact:hover .expert-arrow {
    transform: translate(3px, -3px);
    transition: transform 0.3s ease;
}

.expert-card-large {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

/* Картки з фото зліва (стандартний порядок) */
.expert-card-large.expert-card-left .expert-image-wrapper {
    order: 1;
}

.expert-card-large.expert-card-left .expert-info {
    order: 2;
}

/* Картки з фото справа (змінений порядок) */
.expert-card-large.expert-card-right {
    grid-template-columns: 1fr 400px;
}

.expert-card-large.expert-card-right .expert-info {
    order: 1;
}

.expert-card-large.expert-card-right .expert-image-wrapper {
    order: 2;
}

.expert-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.expert-image-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4a2c7a 0%, #6b3fa0 50%, #4a2c7a 100%);
}

.expert-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.4) 50%, rgba(102, 126, 234, 0.2) 100%);
    position: relative;
    overflow: hidden;
}

.expert-image-placeholder img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.expert-image-placeholder img[src] {
    background: transparent;
}

.expert-image-placeholder img[src] ~ .expert-initials,
.expert-image-placeholder:has(img[src]) .expert-initials {
    display: none;
}

.expert-image-placeholder:has(img[src]) {
    background: transparent;
}

.expert-image-placeholder img:not([src]),
.expert-image-placeholder img[src=""],
.expert-image-placeholder:not(:has(img[src])) .expert-initials {
    display: flex;
}

.expert-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.expert-initials {
    font-size: var(--font-12xl);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    z-index: 1;
    position: relative;
}

.expert-info {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgb(255, 255, 255);
}

.expert-day-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(193 38 38 / 52%);
    border-radius: 20px;
    font-size: var(--font-xs);
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 25px;
    width: fit-content;
    font-weight: 600;
}

.expert-name-large {
    font-size: clamp(var(--font-4xl), 4vw, var(--font-6xl));
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
}

.expert-description {
    font-size: var(--font-base);
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 30px;
    flex-grow: 1;
}

.expert-achievements {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0);
    border-radius: 12px;
    border: 1px solid rgb(255 0 0 / 20%);
    transition: all 0.3s 
ease;
    padding: 12px;
}

.achievement-icon svg {
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.expert-card-large:hover .achievement-icon {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.expert-card-large:hover .achievement-icon svg {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.achievement-text {
    flex: 1;
}

.achievement-text p:first-child {
    font-size: var(--font-sm);
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
}

.achievement-text p:last-child {
    font-size: var(--font-sm);
    color: #000000;
    line-height: 1.6;
}

/* Telegram Channel Section */
.telegram-section {
    position: relative;
}


.telegram-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #651414;
    padding: 40px;
    border-radius: 30px;
}

.telegram-text-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.telegram-title {
    font-size: clamp(var(--font-4xl), 4vw, var(--font-6xl));
    font-weight: 700;
    color: #ffffff;

    line-height: 1.2;
    margin: 0;
}

.telegram-description {
    font-size: clamp(var(--font-base), 2vw, var(--font-lg));
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

.telegram-button {
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width: fit-content;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s 
ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    color: var(--secondary-color);
    font-size: var(--font-sm);
    text-transform: uppercase;
    border-radius: 7px;
    font-weight: 600;
    background: #7D021F;
}

.telegram-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.telegram-button:hover::before {
    width: 300px;
    height: 300px;
}

.telegram-button:hover {
    background: #bd1212;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.telegram-icon {
    width: 20px;
    height: 20px;
    stroke: #000000;
    fill: none;
}

.telegram-phone-section {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-mockup-wrapper {
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-mockup-wrapper:hover {
    transform: rotateY(-10deg) rotateX(2deg);
}

.phone-mockup-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}


/* Program Section */
.program {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.program .container {
    position: relative;
}

.program .container::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    z-index: 0;
    mask-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 6px,
        black 6px,
        black 12px
    );
    -webkit-mask-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 6px,
        black 6px,
        black 12px
    );
}

.program-day {
    margin-top: 0;
    position: relative;
}


/* Day Connector - декоративні лінії між днями */
.day-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 60px 0;
    padding: 0 40px;
    position: relative;
}

.connector-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    position: relative;
}

.connector-line::before,
.connector-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.connector-line::before {
    left: 0;
}

.connector-line::after {
    right: 0;
}

.connector-arrow {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: bounce-arrow 2s ease-in-out infinite;
}

.connector-arrow svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.day-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
}

.day-number {
    font-size: var(--font-6xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.1;
    min-width: 80px;
    margin-left: 20px;
}

.day-info {
    flex: 1;
}

.day-title {
    font-size: var(--font-5xl);
    font-weight: 700;
    color: var(--primary-color);
}

.day-date {
    font-size: var(--font-lg);
    color: var(--accent-color);
    font-weight: 500;
}

.program-timeline {
    position: relative;
    padding-left: 15px;
    z-index: 1;
}

.program-item {
    position: relative;
    margin-bottom: 20px;
    padding: 30px;
    background: var(--secondary-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    gap: 30px;
    box-shadow: var(--shadow-sm);
}

.pd-0{
    padding: 20px;
}

.program-item:last-child {
    margin-bottom: 0;
}

.program-item:hover::before {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1);
}

.program-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.program-item.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-color: var(--primary-color);
    border-width: 2px;
}

.program-item.featured::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.program-time-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    gap: 5px;
}

.program-time {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.program-time-end {
    font-size: var(--font-lg);
    font-weight: 500;
    color: var(--accent-color);
}

.timeline-dot {
    display: none;
}

.program-content {
    flex: 1;
    position: relative;
}

.program-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.program-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.program-item:hover .program-icon {
    background: var(--gradient-1);
    transform: scale(1.1) rotate(5deg);
}

.program-item:hover .program-icon svg {
    color: var(--secondary-color);
}

.program-type {
    font-size: var(--font-3xl);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.3;
}

.program-description {
    font-size: var(--font-xl);
    color: var(--accent-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

.program-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.speaker-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: var(    --font-lg);
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.program-item:hover .speaker-tag {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

/* Gallery Section */
.gallery-section {
    background: #000;
    color: var(--secondary-color);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.gallery-header {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.gallery-title {
    font-size: clamp(var(--font-6xl), 8vw, var(--font-12xl));
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.gallery-subtitle {
    font-size: clamp(var(--font-base), 2vw, var(--font-2xl));
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.gallery-scroll-wrapper {
    width: 100%;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.gallery-scroll-wrapper:active {
    cursor: grabbing;
}

.gallery-scroll-wrapper * {
    -webkit-user-select: none;
    user-select: none;
}

.gallery-track {
    display: flex;
    height: 100vh;
    width: max-content;
    align-items: center;
    gap: 0;
    padding: 0;
    will-change: transform;
}

.gallery-item {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 10;
}

.gallery-progress-bar {
    height: 100%;
    background: var(--secondary-color);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 2px;
}



/* Tickets Section */
.tickets {
    background: #000;
    color: #fff;
}

.tickets .section-title {
    color: #fff;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
}

.ticket-card {
    background: #ffffff;
    padding: 0;
    border: none;
    border-radius: 7px;
    text-align: left;
    transition: all 0.3s 
ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
}
.ticket-sold-out {
    background: #ff0000;
    color: #fff;
    padding: 30px 30px 20px;
    font-size: var(--font-sm);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.ticket-header-gradient {
    padding: 30px 30px 20px;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ticket-vip-gradient {
    background: linear-gradient(135deg, #16151e 30%, #c00909 100%);
        border-radius: 6px 6px 0 0;
}

.ticket-business-gradient {
    background: linear-gradient(135deg, #16151e 30%, #c00909 100%);
    border-radius: 6px 6px 0 0;
}

.ticket-premium-gradient {
    background: linear-gradient(135deg, #16151e 30%, #c00909 100%);
    border-radius: 6px 6px 0 0;
}



.ticket-type {
    font-size: var(--font-2xl);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    padding: 0;
    text-transform: uppercase;
}

.ticket-header-gradient .ticket-type {
    padding: 0;
}

.ticket-price {
    font-size: var(--font-4xl);
    color: #ffffff;
    margin-bottom: 10px;
    padding: 0;
    font-weight: 600;
}

.ticket-header-gradient .ticket-price {
    padding: 0;
}

.ticket-price-label {
    background: #651414;
    color: #fff;
    padding: 6px 16px;
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin: 0 30px 20px;
    border-radius: 4px;
}

.ticket-includes {
    color: #651414;
    font-size: var(--font-xl);
    font-weight: 500;
    padding: 0 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.ticket-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    padding: 0 30px;
    flex-grow: 1;
}

.ticket-features li {
    padding: 10px 0;
    color: #000000;
    font-size: var(--font-xl);
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.ticket-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000000;
}

.ticket-button {
    width: calc(100% - 60px);

    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s 
ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    color: var(--secondary-color);
    font-size: var(--font-sm);
    text-transform: uppercase;
    border-radius: 7px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.ticket-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ticket-button:hover::before {
    width: 300px;
    height: 300px;
}

.ticket-button:hover {
    background: #cf0707;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
}

.tickets-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.partner-button {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px 30px;
    font-size: var(--font-base);
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.partner-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.4s ease;
    z-index: -1;
}

.partner-button:hover::before {
    left: 0;
}

.partner-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Videos Section */
.videos-section {
    background: var(--secondary-color);
    overflow: hidden;
    position: relative;
    padding: 0;
}

.videos-container {
    width: 100%;
    position: relative;
}

.videos-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.videos-scroll-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.videos-track {
    display: flex;
    gap: 0;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: transform 0.3s ease;
}


.video-card {
    width: 400px;
    height: 600px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: var(--secondary-color);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.video-card:hover {
    transform: scale(1.05) translateZ(0);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(101, 20, 20, 0.3);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateZ(0);
    will-change: transform;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1) translateZ(0);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgb(69 31 31 / 65%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}
.play-button:hover svg {
    fill: #651414;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 3;
}

.video-location {
    font-size: var(--font-sm);
    color: #fff;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.video-date {
    font-size: var(--font-sm);
    color: #fff;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.video-sponsor {
    font-size: var(--font-xs);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.video-description {
    font-size: var(--font-sm);
    color: #fff;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.video-title {
    font-size: var(--font-base);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: auto;
}

.video-text-bottom {
    font-size: var(--font-sm);
    color: #fff;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: auto;
    text-align: left;
}

/* Video Popup Modal */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-popup.active {
    display: flex;
    opacity: 1;
}

.video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.video-popup-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10002;
    color: #ffffff;
    transition: all 0.3s ease;
    padding: 0;
}

.video-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.video-popup-close svg {
    width: 20px;
    height: 20px;
}

.video-popup-content {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.video-popup-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Application Form Popup */
.application-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.application-popup.active {
    display: flex;
    opacity: 1;
}

.application-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.application-popup-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    z-index: 10001;
    overflow-y: auto;
}

.application-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10002;
    color: #000000;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.application-popup-close:hover {
    background: #ffffff;
    transform: rotate(90deg);
}

.application-popup-close svg {
    width: 20px;
    height: 20px;
}

.application-popup-content {
    background: #ffffff;
    border-radius: 7px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.application-title {
    margin: 0 0 15px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.application-title-main {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    line-height: 1.2;
}

.application-title-sub {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.application-description {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #cc3535;
    box-shadow: 0 0 0 3px rgba(204, 53, 53, 0.1);
}

.form-input::placeholder {
    color: #999999;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: #cc3535;
    box-shadow: 0 0 0 3px rgba(204, 53, 53, 0.1);
}

.phone-country {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 12px;
    background: #f5f5f5;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
    user-select: none;
}

.phone-flag {
    font-size: 16px;
    line-height: 1;
}

.phone-code {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.phone-country svg {
    width: 12px;
    height: 12px;
    color: #666666;
}

.form-input-phone {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 14px 16px;
}

.form-input-phone:focus {
    box-shadow: none;
}

.checkbox-group {
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #cc3535;
    flex-shrink: 0;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text strong {
    font-weight: 600;
    color: #000000;
}

.application-submit-button {
    width: 100%;
    padding: 16px 24px;
    background: #cc3535;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.application-submit-button:hover {
    background: #b02d2d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 53, 53, 0.4);
}

.application-submit-button:active {
    transform: translateY(0);
}

/* Location Section */
.location {
    background: var(--secondary-color);
}

.location-content {
    text-align: center;
    margin-top: 60px;
}


.location-address {
    font-size: var(--font-base);
    color: var(--accent-color);
}

/* Partners Section */
.partners {
    background: var(--secondary-color);
    padding: 0;
}

.partners-header {
    background: #e8e8e8;
    padding: 80px 20px 60px;
}

.partners-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-title {
    font-size: clamp(var(--font-6xl), 6vw, var(--font-9xl));
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.partners-cta-button {
    background: #651414;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: var(--font-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-transform: none;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.partners-cta-button:hover {
    background: #7a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(101, 20, 20, 0.3);
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.cta-button:hover {
    background: #bd1212;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}
.partners-content {
    background: #1a1a1a;
    padding: 0;
}

.partners-content .container {
    padding: 0;
    max-width: 100%;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.partner-card {
    background: #1a1a1a;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    height: auto;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    min-height: 500px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-card:nth-child(2n) {
    border-right: none;
}

.partner-card:nth-child(n+3) {
    border-bottom: none;
}

.partner-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    min-height: 500px;
}

.partner-card-text {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #000000;
    color: #ffffff;
}

.partner-card-number {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

.partner-card-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 25px 0;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.partner-card-description {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    font-family: 'Montserrat', sans-serif;
}

.partner-card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.partner-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.partner-card:hover .partner-card-img {
    transform: scale(1.05);
}

.partner-category {
    font-size: var(--font-sm);
    color: var(--text-color);
    margin-bottom: 25px;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-grow: 1;
    margin: 20px;
}

.partner-logo-img {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-logo-text {
    font-size: var(--font-base);
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.partner-logo-text .logo-main {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-color);
}

.partner-logo-text .logo-sub {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--accent-color);
}

/* КРЕАТОР БУД styling */
.partner-card:nth-child(1) .partner-logo-text {
    font-size: var(--font-lg);
    font-weight: 700;
    color: var(--text-color);
}

.partner-card:nth-child(1) .partner-logo-icon {
    font-size: var(--font-5xl);
    margin-top: 15px;
    display: block;
    line-height: 1;
}

/* SPATIUM GROUP styling */
.partner-card:nth-child(2) .logo-main {
    font-size: var(--font-2xl);
    font-weight: 700;
}

.partner-card:nth-child(2) .logo-sub {
    font-size: var(--font-base);
    font-weight: 500;
}

/* HUTJET DYNAMIC HOUSE styling */
.partner-card:nth-child(3) .partner-logo-text {
    font-size: var(--font-base);
    font-weight: 600;
    color: #1a3a5c;
}

/* OZON Development styling */
.ozon-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    font-size: var(--font-3xl);
    font-weight: 700;
    color: #ff6600;
    line-height: 0.85;
}

.ozon-logo span {
    display: block;
}

.ozon-sub {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--accent-color);
    margin-top: 8px;
}

/* БУДІВЕЛЬНА КОМПАНІЯ ГЕШЕСТ styling */
.partner-card:nth-child(6) .partner-logo-text {
    font-size: var(--font-sm);
    font-weight: 600;
    color: #651414;
}

/* SAGA DEVELOPMENT styling */
.partner-card:nth-child(7) .logo-main {
    font-size: var(--font-2xl);
    font-weight: 700;
}

.partner-card:nth-child(7) .logo-sub {
    font-size: var(--font-sm);
    font-weight: 500;
}

/* ALTERRA GROUP styling */
.partner-card:nth-child(8) .logo-main {
    font-size: var(--font-xl);
    font-weight: 700;
}

/* HOMERS styling */
.partner-card:nth-child(9) .partner-logo-text {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--accent-color);
}

/* RIBAS HOTELS Group styling */
.partner-card:nth-child(10) .logo-main {
    font-size: var(--font-lg);
    font-weight: 600;
}

.partner-card:nth-child(10) .logo-sub {
    font-size: var(--font-sm);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

/* EKIPAZH styling */
.partner-card:nth-child(11) .partner-logo-text {
    font-size: var(--font-xl);
    font-weight: 700;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 0;
}

/* DIMÇOOO styling */
.partner-card:nth-child(12) .partner-logo-text {
    font-size: var(--font-xl);
    font-weight: 700;
    font-style: italic;
}


/* Footer */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 80px 20px 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 110px;
    width: auto;
    display: block;
    margin-bottom: 0;
}

.footer-right {
    display: flex;
    flex-direction: row;
    gap: 60px;
    flex: 1;
    justify-content: space-evenly;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu-list li {
    margin: 0;
    padding: 0;
}

.footer-menu-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    transition: opacity 0.3s ease;
    display: block;
}

.footer-menu-link:hover {
    opacity: 0.7;
    text-decoration: none;
}

.footer-bottom {
    text-align: left;
    padding-top: 0;
    border-top: none;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.footer-brand {
    font-size: clamp(20px, 4.5vw, 80px);
    font-weight: 900;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    letter-spacing: clamp(-1px, -0.1vw, -2px);
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #e90239a8 50%, #ffffff 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.3)
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-legal {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    display: flex;
    justify-content: space-around;}

.footer-privacy {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin: 0 0 10px 0;
    text-transform: lowercase;
}

.footer-created {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin: 0;
    text-transform: lowercase;
}

.footer-created-link {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.footer-created-link:hover {
    border-bottom-color: #ffffff;
    text-decoration: none;
}

.footer-created-link:visited {
    color: #ffffff;
}

.footer-created-link:active {
    color: #ffffff;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-xl);
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-color);
}

/* Floating Chat Button */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #651414;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(101, 20, 20, 0.4);
}

.chat-button:hover {
    background: #7a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(101, 20, 20, 0.5);
}

.chat-button svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}



/* Loading animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.button-te{
    margin-top: 20px;
}   

.floating-phone-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff0000 0%, #ff0000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
    cursor: pointer;
    z-index: 99999999;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    overflow: visible;
}

.floating-phone-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    position: relative;
    z-index: 2;
}

/* Волновой эффект сзади кнопки */
.floating-phone-button::before,
.floating-phone-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.4);
    transform: translate(-50%, -50%);
    animation: ripple-wave 2s infinite;
}

.floating-phone-button::after {
    animation-delay: 1s;
}

@keyframes ripple-wave {
    0% {
        width: 60px;
        height: 60px;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

.floating-phone-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.6);
}
.fa-phone:before {
    content: "\f095";
}

[class*='fa-']:before {
    font-weight: 400;
    font-family: 'FontAwesome';
}
.icon:before {
    display: inline-block;
    font-weight: 400;
    font-style: normal;
    speak: none;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.card-headers{
    background: #000;
}
.card-footer{
    background: #ff0000;
}

.first-card{
    background: #0b1f3b;
}
.two-card{
    background: #123f6d;
}
.three-card{
    background: #005f73;
}
.four-card{
    background: #146356;
}
.five-card{
    background: #9a031e;
}

.stat-item:nth-child(2) .stat-number,
.stat-item:nth-child(2) .stat-plus,
.stat-item:nth-child(3) .stat-number,
.stat-item:nth-child(3) .stat-plus,
.stat-item:nth-child(4) .stat-number,
.stat-item:nth-child(4) .stat-plus,
.stat-item:nth-child(5) .stat-number,   
.stat-item:nth-child(5) .stat-plus {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.stat-item:nth-child(1) .stat-number,
.stat-item:nth-child(1) .stat-plus,
.stat-item:nth-child(2) .stat-number,
.stat-item:nth-child(2) .stat-plus,
.stat-item:nth-child(3) .stat-number,
.stat-item:nth-child(3) .stat-plus,
.stat-item:nth-child(4) .stat-number,
.stat-item:nth-child(4) .stat-plus,
.stat-item:nth-child(5) .stat-number,
.stat-item:nth-child(5) .stat-plus {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ticket-button-business {
    background: linear-gradient(135deg, #16151e 30%, #c00909 100%);
    margin: 0 30px 12px;
}

.ticket-button-business:hover {
    background: linear-gradient(135deg, #16151e 30%, #c00909 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.ticket-button-premium {
    background: linear-gradient(135deg, #16151e 30%, #c00909 100%);
    margin: 0 30px 12px;
}

.ticket-button-premium:hover {
    background: linear-gradient(135deg, #16151e 30%, #c00909 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.ticket-button-vip {
    background: linear-gradient(135deg, #16151e 30%, #c00909 100%);
    margin: 0 30px 12px;

}

.ticket-button-vip:hover {
    background: linear-gradient(135deg, #16151e 30%, #c00909 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}


.countdown-section .container{
    padding: 0;
}

.margin0{
    margin-bottom: 0;
}


.pd-bottom-0{
    padding: 0;
    padding-bottom: 80px;
    padding-top: 80px;
}
@media (max-width: 1500px) {
    .experts-label-vertical{
        font-size: var(--font-5xl);
    }
    .countdown-title{
        font-size: var(--font-5xl);
    }
    .themes-intro-text {
        font-size: var(--font-5xl);
    }
    .ticket-type{
        font-size: var(--font-5xl);
    }
} 
@media (max-width: 1440px) {

    .tickets-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .expert-name-compact {
        font-size: var(--font-xl);
    }
    .location-text{
        font-size: var(--font-6xl);
    }
    .experts-label-vertical{
        font-size: var(--font-4xl);
    }
    .countdown-title{
        font-size: var(--font-4xl);
    }
    .countdown-description{
        font-size: var(--font-2xl);
    }
    .hero-description{
        font-size: var(--font-2xl);
    }
    .stat-number{
        font-size: var(--font-2xl);
    }
    .themes-intro-text{
        font-size: var(--font-4xl);
    }
    .day-title{
        font-size: var(--font-4xl);
    }
    .theme-title{
        font-size: var(--font-2xl);
    }
    .theme-text{
        font-size: var(--font-lg);
    }
    .day-number {
        font-size: var(--font-5xl);
    }
    .ticket-type{
        font-size: var(--font-4xl);
    }
    .ticket-price{
        font-size: var(--font-2xl);
    }
    .program-type {
        font-size: var(--font-2xl);
    }
    .program-description{
        font-size: var(--font-lg);
    }
    .ticket-features li{
        font-size: var(--font-lg);
    }
    .ticket-includes{
        font-size: var(--font-lg);
    }
    .footer-title{
        font-size: var(--font-5xl);
    }
    .stat-label{
        font-size: var(--font-lg);
    }
    .case-card-title{
        font-size: var(--font-xl);
    }
    .case-card-category{
        font-size: var(--font-sm);
    }
    .blog-article-title{
        font-size: var(--font-lg);
    }
    .blog-article-description{
        font-size: var(--font-sm);
    }
    .partner-card-title{
        font-size: 28px;
    }
    .partner-card-description{
        font-size: 15px;
    }
} 
@media (max-width: 1340px) {
    .experts-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Responsive for Experts */
@media (max-width: 1140px) {
    .location-text{
        font-size: var(--font-5xl);
    }
    .hero-description{
        font-size: var(--font-xl);
    }
    .experts-label-vertical{
        font-size: var(--font-3xl);
    }
    .countdown-title{
        font-size: var(--font-3xl);
    }
    .countdown-description{
        font-size: var(--font-xl);
    }
    .themes-intro-text{
        font-size: var(--font-3xl);
    }
    .day-title{
        font-size: var(--font-3xl);
    }
    .day-number{
        font-size: var(--font-4xl);
    }
    .theme-title{
        font-size: var(--font-xl);
    }
    .theme-text{
        font-size: var(--font-base);
    }
    .ticket-type{
        font-size: var(--font-3xl);
    }
    .ticket-includes{
        font-size: var(--font-base);
    }
    .ticket-features li{
        font-size: var(--font-base);
    }
    .stat-number{
        font-size: var(--font-xl);
    }
    .stat-label{
        font-size: var(--font-base);
    }
    .case-card-title{
        font-size: var(--font-lg);
    }
    .case-card-category{
        font-size: var(--font-xs);
    }
    .blog-article-title{
        font-size: var(--font-base);
    }
    .blog-article-description{
        font-size: var(--font-xs);
    }
    .partner-card-title{
        font-size: 24px;
    }
    .partner-card-description{
        font-size: 14px;
    }
}
/* Responsive Partners */
@media (max-width: 1024px) {
    .ticket-features{
        padding: 0 15px;
        margin-bottom: 15px;
    }





    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-card-content {
        grid-template-columns: 1fr 1fr;
    }

    .partner-card-text {
        padding: 50px 40px;
    }

    .partner-card-number {
        font-size: 60px;
    }

    .partner-card-title {
        font-size: 28px;
    }
    .partner-card-description {
        font-size: 15px;
    }
    .ticket-type{
        font-size: var(--font-3xl);
    }
    .ticket-includes{
        font-size: var(--font-base);
    }
    .ticket-features li{
        font-size: var(--font-base);
    }
    .case-card-title{
        font-size: var(--font-lg);
    }
    .case-card-category{
        font-size: var(--font-sm);
    }
    .blog-article-title{
        font-size: var(--font-base);
    }
    .blog-article-description{
        font-size: var(--font-sm);
    }
    .tickets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .themes-grid {
        gap: 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }

    .stat-item:nth-child(1) {
        grid-column: span 2;
    }

    .stat-item:nth-child(2) {
        grid-column: span 4;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4),
    .stat-item:nth-child(5) {
        grid-column: span 2;
    }
    .footer-title{
        font-size: var(--font-4xl);
    }
}



@media (max-width: 969px) {
    .cta-button {
        padding: 12px 24px;
        font-size: var(--font-sm);
        font-weight: 600;
        text-transform: uppercase;
        border-radius: 7px;
        width: fit-content;
        white-space: nowrap;
    }
}

@media (max-width: 968px) {
    .navbar .container {
        grid-template-columns: auto 1fr auto auto;
        gap: 20px;
        justify-items: end;
    }
    
    .nav-logo {
        order: 1;
        justify-self: start;
    }
    
    .nav-links {
        order: 2;
    }
    
    .cta-button {
        display: inline-block;
        order: 3;
        width: fit-content;
        white-space: nowrap;
        margin-right: 0;
    }
    
    .burger-menu-toggle {
        order: 4;
        margin-left: 0;
        display: flex;
    }
    .experts-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-links {
        display: none;
    }

    .burger-menu-toggle {
        display: flex;
    }
    .burger-menu-toggle span {
        background: var(--text-color);
    }

    .expert-card-large {
        grid-template-columns: 1fr;
    }

    .expert-image-wrapper {
        min-height: 300px;
    }
    .location-text{
        font-size: var(--font-4xl);
    }
    .hero-description{
        font-size: var(--font-lg);
    }
    .stat-number{
        font-size: var(--font-lg);
    }
    .stat-label{
        font-size: var(--font-sm);
    }
    .theme-title{
        font-size: var(--font-lg);
    }
    .theme-text{
        font-size: var(--font-sm);
    }
    .ticket-type{
        font-size: var(--font-xl);
    }
    .ticket-includes{
        font-size: var(--font-sm);
    }
    .ticket-features li{
        font-size: var(--font-sm);
    }
    .case-card-title{
        font-size: var(--font-sm);
    }
    .case-card-category{
        font-size: var(--font-xs);
    }
    .blog-article-title{
        font-size: var(--font-sm);
    }
    .blog-article-description{
        font-size: var(--font-xs);
    }
    .partner-card-title{
        font-size: 20px;
    }
    .partner-card-description{
        font-size: 13px;
    }
    .footer-text{
        font-size: var(--font-lg);
    }
    .social-link{
        font-size: var(--font-lg);
    }
    .expert-info {
        padding: 40px 30px;
    }
    .footer-content{
        gap: 40px;
    }

    .experts-label-vertical {
        text-orientation: initial;
    }

    .experts-header .container {
        flex-wrap: wrap;
    }

    .experts-header-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .videos-nav-arrows {
        margin-left: 0;
        margin-top: 20px;
    }

    .blog-view-more-button-wrapper {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .blog-view-more-button {
        width: 100%;
        padding: 10px 20px;
        font-size: 12px;
    }

    .video-nav-arrow {
        width: 45px;
        height: 45px;
    }

    .video-nav-arrow svg {
        width: 20px;
        height: 20px;
    }
    .telegram-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .telegram-phone-section {
        order: -1;
    }
}



@media (max-width: 768px) {
    .footer-left {
        align-items: center;
    }
    .footer-content{
     align-items: center;
    }
    .navbar .container {
        grid-template-columns: auto 1fr auto auto;
        gap: 15px;
        justify-items: end;
    }
    
    .nav-logo {
        justify-self: start;
    }
    
    .cta-button {
        margin-right: 0;
    }
    
    .burger-menu-toggle {
        margin-left: 0;
    }
    .countdown-section{
        padding: 50px 20px;
    }
    .countdown-wrapper{
        margin-bottom: 25px;
    }
    section{
        padding: 50px 20px;
    }
    .content-text-section {
        padding: 60px 20px;
    }
    .content-text {
        font-size: var(--font-base);
        line-height: 1.7;
        text-align: left;
    }
    .nav-logo {
        order: 1;
    }
    
    .nav-links {
        order: 2;
    }
    
    .footer-right{
        align-items: center;
    }
    .footer-subtitle{
        text-align: center;
    }
    .footer-text{
        text-align: center;
    }
    .footer-content{
        gap: 30px;
        margin-bottom: 30px;
    }
    .footer-left{
        align-items: center;
    }
    .nav-links {
        display: none;
        order: 2;
        gap: 15px;
        justify-content: center;
    }

    .cta-button {
        display: inline-block;
        order: 3;
        width: fit-content;
        white-space: nowrap;
    }

    .burger-menu-toggle {
        display: flex;
        order: 4;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .themes-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .themes-intro {
        margin-bottom: 60px;
    }

    .themes-tagline {
        padding-top: 40px;
    }

    .program .container::before {
        left: 14px;
    }

    .program-timeline {
        padding-left: 15px;
    }

    .program-item {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }

    .program-item::before {
        left: -30px;
        width: 30px;
        height: 30px;
    }

    .program-time-wrapper {
        flex-direction: row;
        width: 100%;
        min-width: auto;
        gap: 15px;
    }

    .program-time {
        font-size: var(--font-base);
    }

    .day-header {

        gap: 15px;
    }

    .day-number {
        min-width: auto;
    }

    .tickets-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2),
    .stat-item:nth-child(3),
    .stat-item:nth-child(4),
    .stat-item:nth-child(5) {
        grid-column: span 1;
    }

    .stats {
        padding: 15px 20px 0;
    }

    .stat-item {
        padding: 30px 20px;
    }

    section {
        padding: 30px 20px;
    }

    .scroll-top {
        right: 34px;
    }

    .footer {
        padding: 60px 20px 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        width: 100%;
    }

    .footer-column {
        width: 100%;
    }

    .partners-header {
        padding: 60px 20px 40px;
    }

    .partners-header-content {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .partners-cta-button {
        width: 100%;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .partner-card:last-child {
        border-bottom: none;
    }

    .partner-card-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .partner-card-text {
        padding: 40px 30px;
        order: 2;
    }

    .partner-card-image {
        order: 1;
        min-height: 300px;
    }

    .partner-card-number {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .partner-card-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .partner-card-description {
        font-size: 14px;
    }
    .phone-mockup-wrapper {
        transform: rotateY(-5deg) rotateX(2deg);
    }
    .experts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .experts-grid{
        padding: 50px 0 50px;
    }

    .expert-image-compact {
        height: 450px;
    }
    .expert-card-large {
        border-radius: 16px;
        grid-template-columns: 1fr !important;
    }

    .expert-card-large.expert-card-right {
        grid-template-columns: 1fr !important;
    }

    .expert-card-large .expert-image-wrapper {
        order: 1 !important;
    }

    .expert-card-large .expert-info {
        order: 2 !important;
    }

    .expert-image-placeholder {
        min-height: 250px;
    }

    .expert-initials {
        font-size: var(--font-10xl);
    }

    .expert-info {
        padding: 30px 20px;
    }
    .ticket-type{
        font-size: var(--font-2xl);    
    }
    .ticket-includes{
        font-size: var(--font-sm);
    }
    .ticket-features li{
        font-size: var(--font-sm);
    }
    .expert-name-large,
    .countdown-number {
        font-size: var(--font-3xl);
    }
    .case-card-title{
        font-size: var(--font-base);
    }
    .case-card-category{
        font-size: var(--font-xs);
    }
    .blog-article-title{
        font-size: var(--font-sm);
    }
    .blog-article-description{
        font-size: var(--font-xs);
    }
    .partner-card-title{
        font-size: 22px;
    }
    .partner-card-description{
        font-size: 13px;
    }
    .countdown-item{
        gap: 5px;
    }

    .expert-description {
        font-size: var(--font-sm);
    }

    .experts-list {
        gap: 30px;
        padding: 30px 20px 60px;
    }
    .countdown-box {
        padding: 30px 20px;
        gap: 10px;
    }

    .countdown-separator {
        font-size: clamp(var(--font-2xl), 5vw, var(--font-6xl));
    }



    /* Responsive Gallery */

    .gallery-header {
        top: 80px;
    }

    .gallery-title {
        font-size: clamp(var(--font-7xl), 10vw, var(--font-8xl));
    }
    .chat-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .chat-button svg {
        width: 24px;
        height: 24px;
    }
    .gallery-progress {
        width: 200px;
        bottom: 30px;
    }


    .video-card {
        width: 300px;
        height: 450px;
    }


    .videos-nav-arrows{
        margin-top: 0;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button svg {
        width: 24px;
        height: 24px;
    }

    .video-overlay {
        padding: 20px;
    }

    .video-location,
    .video-date {
        font-size: var(--font-xs);
    }

    .video-sponsor {
        font-size: var(--font-xs);
    }

    .video-description {
        font-size: var(--font-xs);
    }

    .video-title {
        font-size: var(--font-sm);
    }

    .video-text-bottom {
        font-size: var(--font-xs);
    }

    .video-popup-container {
        width: 95%;
        max-height: 85vh;
    }

    .video-popup-close {
        top: -35px;
        width: 35px;
        height: 35px;
    }

    .video-popup-close svg {
        width: 18px;
        height: 18px;
    }

    .application-popup {
        padding: 15px;
    }

    .application-popup-container {
        max-width: 100%;
    }

    .application-popup-close {
        top: 12px;
        right: 12px;
        width: 35px;
        height: 35px;
    }

    .application-popup-close svg {
        width: 18px;
        height: 18px;
    }

    .application-popup-content {
        padding: 30px 25px;
    }

    .application-title-main {
        font-size: 24px;
    }

    .application-title-sub {
        font-size: 28px;
    }

    .application-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 15px;
    }

    .phone-country {
        padding: 12px 10px;
    }

    .form-input-phone {
        padding: 12px 14px;
    }

    .checkbox-label {
        font-size: 13px;
    }

    .application-submit-button {
        padding: 14px 20px;
        font-size: 14px;
    }

    .themes{
        padding: 50px 20px;
    }

    .theme-card {
        text-align: center;
    }

    .theme-title {
        text-align: center;
    }

    .theme-text {
        text-align: center;
    }

    .theme-header-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .theme-divider {
        display: none;
    }

    .themes-intro-text .bracket{
        font-size: var(--font-5xl);
    }
    .location-text{
        font-size: var(--font-4xl);
    }
    .hero-description,
    .countdown-description,
    .stat-number,
    .theme-title,
    .program-type,
    .ticket-price,
    .footer-subtitle{
        font-size: var(--font-xl);
    }
    .experts-label-vertical,
    .countdown-title,
    .themes-intro-text,
    .day-title{
        font-size: var(--font-2xl);
    }
    .stat-label,
    .theme-text,
    .program-description,
    .ticket-includes,
    .ticket-features li,
    .footer-text,
    .social-link,
    .speaker-tag {
        font-size: var(--font-base);
    }
    .ticket-type{
        font-size: var(--font-2xl);
    }
    .case-card-title{
        font-size: var(--font-base);
    }
    .case-card-category{
        font-size: var(--font-xs);
    }
    .blog-article-title{
        font-size: var(--font-sm);
    }
    .blog-article-description{
        font-size: var(--font-xs);
    }
    .partner-card-title{
        font-size: 20px;
    }
    .partner-card-description{
        font-size: 13px;
    }
    .footer-logo {
        height: 50px;
    }
    .footer-right {
        gap: 30px;
    }
    .pd-bottom-0{
        padding-bottom: 50px;
    }

}

@media (max-width: 600px) {
    .social-links{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .day-header{
        flex-direction: column;
    }
    .footer-column {
        width: 100%;
        text-align: center;
    }
    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .program-timeline{
        padding-left: 5px;
    }
    .day-number{
        margin-left: 0;
    }
    .day-title{
        line-height: 1;
        text-align: center;
    }
    .footer {
        padding: 40px 15px 30px;
    }
    .footer-logo {
        height: 45px;
    }
    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }
    .footer-right {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .footer-column-title {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .footer-menu-link {
        font-size: 13px;
    }
    .footer-title{
        text-align: center;
    }
    .experts-header{
        padding: 40px 0 40px;
    }
    .logo-img{
        height: 35px;
    }
    .countdown-box{
        padding: 20px 10px;
    }
  .countdown-number{
    font-size: var(--font-2xl);
  }
  .burger-menu-toggle{
    width: 20px;
    height: 20px;
  }

    .countdown-box{
        gap: 5px;
    }
    .countdown-label{
        font-size: var(--font-xs);
    }
    .cta-button,
    .telegram-button,
    .countdown-button{
        font-size: var(--font-xs);
    }
    .location-text{
        font-size: clamp(var(--font-2xl), 5vw, var(--font-3xl));
    }
    .hero-description{
        font-size: var(--font-base);
    }
    .stat-number{
        font-size: var(--font-base);
    }
    .stat-label{
        font-size: var(--font-xs);
    }
    .theme-title{
        font-size: var(--font-base);
    }
    .theme-text{
        font-size: var(--font-xs);
    }
    .ticket-type{
        font-size: var(--font-lg);
    }
    .ticket-includes{
        font-size: var(--font-xs);
    }
    .ticket-features li{
        font-size: var(--font-xs);
    }
    .case-card-title{
        font-size: var(--font-xs);
    }
    .case-card-category{
        font-size: 11px;
    }
    .blog-article-title{
        font-size: var(--font-xs);
    }
    .blog-article-description{
        font-size: 11px;
    }
    .partner-card-title{
        font-size: 16px;
    }
    .partner-card-description{
        font-size: 11px;
    }
    .hero-description{
        font-size: var(--font-lg);
    }
    .stat-number{
        font-size: var(--font-lg);
    }
    .stat-label{
        font-size: var(--font-sm);
    }
    .theme-title{
        font-size: var(--font-lg);
    }
    .theme-text{
        font-size: var(--font-sm);
    }
    .ticket-type{
        font-size: var(--font-xl);
    }
    .ticket-includes{
        font-size: var(--font-sm);
    }
    .ticket-features li{
        font-size: var(--font-sm);
    }
    .case-card-title{
        font-size: var(--font-sm);
    }
    .case-card-category{
        font-size: var(--font-xs);
    }
    .blog-article-title{
        font-size: var(--font-sm);
    }
    .blog-article-description{
        font-size: var(--font-xs);
    }
    .partner-card-title{
        font-size: 18px;
    }
    .partner-card-description{
        font-size: 12px;
    }


    .video-card {
        width: 280px;
        height: 420px;
    }

    .video-popup-container {
        width: 98%;
        max-height: 80vh;
    }

    .video-popup-close {
        top: -30px;
        right: 5px;
        width: 30px;
        height: 30px;
    }

    .video-popup-close svg {
        width: 16px;
        height: 16px;
    }

    .application-popup {
        padding: 10px;
    }

    .application-popup-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
    }

    .application-popup-close svg {
        width: 16px;
        height: 16px;
    }

    .application-popup-content {
        padding: 25px 20px;
    }

    .application-title-main {
        font-size: 20px;
    }

    .application-title-sub {
        font-size: 24px;
    }

    .application-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .form-input {
        padding: 12px;
        font-size: 14px;
    }

    .phone-country {
        padding: 12px 8px;
    }

    .phone-code {
        font-size: 14px;
    }

    .form-input-phone {
        padding: 12px;
        font-size: 14px;
    }

    .checkbox-label {
        font-size: 12px;
    }

    .form-checkbox {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .application-submit-button {
        padding: 14px 18px;
        font-size: 13px;
    }

    .video-nav-arrow {
        width: 40px;
        height: 40px;
    }

    .video-nav-arrow svg {
        width: 18px;
        height: 18px;
    }

    .video-nav-arrow {
        width: 40px;
        height: 40px;
    }

    .video-nav-arrow svg {
        width: 18px;
        height: 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2),
    .stat-item:nth-child(3),
    .stat-item:nth-child(4),
    .stat-item:nth-child(5) {
        grid-column: span 1;
    }

    .stat-item {
        padding: 30px 20px;
    }
}

@media (max-width: 400px) {
    .cta-button {
        display: none !important;
    }
    
    .navbar .container {
        grid-template-columns: 1fr auto;
        gap: 20px;
        justify-content: space-between;
    }
    
    .nav-logo {
        justify-self: start;
        grid-column: 1;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .burger-menu-toggle {
        justify-self: end;
        grid-column: 2;
        margin-left: auto;
        margin-right: 0;
    }
}
/* Стилі для секції консультації з паралаксом */
.parallax-container {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background-image: url('img/parallax-oformlennya-spadshchyny.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .parallax-container {
        background-attachment: scroll;
    }
}

.parallax-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.parallax-content {
    position: relative;
    z-index: 1;
}

.parallax-content .container {
    text-align: center;
}

.parallax-content .row {
    justify-content: center;
}

.parallax-content .col-md-10,
.parallax-content .col-xl-8 {
    text-align: center;
}

.section-xl {
    padding-top: 90px;
    padding-bottom: 90px;
}

@media (min-width: 992px) {
    .section-xl {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

.context-dark {
    color: #fff;
}

.context-dark h2,
.context-dark .heading-1 {
    color: #fff;
    text-align: center;
}

.context-dark p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.heading-1 {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .heading-1 {
        font-size: 56px;
        line-height: 1;
    }
}

@media (min-width: 1200px) {
    .heading-1 {
        font-size: 64px;
    }
}

.heading-1 + p {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .heading-1 + p {
        margin-top: 25px;
    }
}

@media (min-width: 992px) {
    .heading-1 + p {
        margin-top: 30px;
    }
}

.parallax-container .button-light {
    display: inline-block;
    padding: 12px 24px;
    font-size: var(--font-sm);
    line-height: 1.5;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 7px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    color: var(--secondary-color);
    background: #7D021F;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.parallax-container .button-light::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.parallax-container .button-light:hover::before {
    width: 300px;
    height: 300px;
}

.parallax-container .button-light:hover,
.parallax-container .button-light:focus,
.parallax-container .button-light:active {
    background: #bd1212;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    color: var(--secondary-color);
}

.heading-1 + .button-light {
    margin-top: 30px;
}

@media (min-width: 992px) {
    .heading-1 + .button-light {
        margin-top: 44px;
    }
}

/* Consultation Banner Section - Modern Design */
.consultation-banner-section {
    background: #7d021f;
    padding: 0;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}



.consultation-banner-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 500px;
}

.consultation-banner-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    padding-top: 0;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.consultation-banner-button {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.consultation-banner-button:hover {
    transform: scale(1.05);
    background: rgb(125 2 31 / 95%);
    border-color: rgb(229 30 30 / 30%);
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
}

.consultation-arrow-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 15px;
    stroke: #ffffff;
}

.consultation-button-text {
    font-size: var(--font-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
                visibility 0.4s 0.1s;
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.consultation-button-text-hover {
    font-size: var(--font-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(15px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s;
}

.consultation-banner-button:hover .consultation-button-text {
    opacity: 0;
    transform: translateY(-15px);
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s;
}

.consultation-banner-button:hover .consultation-button-text-hover {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
    visibility: visible;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
                visibility 0.4s 0.1s;
}

.consultation-banner-title {
    margin-top: auto;
    padding-bottom: 40px;
    width: 100%;
    margin-top: 100px;
}

.consultation-title-text {
    font-size: clamp(var(--font-5xl), 8vw, var(--font-11xl));
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    -webkit-text-stroke: 1px transparent;
    background: linear-gradient(180deg, rgb(171 170 170 / 90%) 0%, rgb(255 255 255 / 70%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Consultation Banner */
@media (max-width: 968px) {
    .consultation-banner-section {
        padding: 30px 20px 80px 20px;
        min-height: 500px;
    }

    .consultation-banner-title {
        margin-top: 80px;
    }

    .consultation-banner-button {
        width: 160px;
        height: 160px;
    }

    .consultation-arrow-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 12px;
    }

    .consultation-button-text {
        font-size: var(--font-xs);
    }
}

@media (max-width: 768px) {
    .consultation-banner-section {
        padding: 20px 20px 60px 20px;
        min-height: 400px;
    }

    .consultation-banner-container {
        min-height: 350px;
    }

    .consultation-banner-title {
        margin-top: 60px;
    }

    .consultation-banner-button {
        width: 140px;
        height: 140px;
    }

    .consultation-arrow-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 10px;
    }

    .consultation-title-text {
        font-size: clamp(var(--font-3xl), 6vw, var(--font-6xl));
        letter-spacing: 1px;
    }
}

/* Contact Section Styles */
.section.bg-default {
    overflow: hidden;
}

.section.bg-default .container {
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.row-fix {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.row-50 {
    gap: 40px;
}

.col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 calc(50% - 25px);
        max-width: calc(50% - 25px);
        width: calc(50% - 25px);
    }
    
    .row-50 {
        gap: 40px;
    }
}

/* Column 12 (Full Width) */
.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Contacts Map and Video Section */
.contacts-map-video-section {
    padding-top: 80px;
}

.contacts-map-video-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0;
    width: 100%;
}

.contacts-map-col {
    flex: 0 0 calc(80% - 20px);
    max-width: calc(80% - 20px);
    width: calc(80% - 20px);
    padding: 0;
    box-sizing: border-box;
}

.contacts-video-col {
    flex: 0 0 calc(20% - 20px);
    max-width: calc(20% - 20px);
    width: calc(20% - 20px);
    padding: 0;
    box-sizing: border-box;
}

.contacts-video-col .youtube-video-wrapper {
    max-width: 100%;
    margin: 0;
    height: 400px;
    padding-bottom: 0;
}

/* Map Wrapper */
.map-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* YouTube Video Section */
.youtube-video-wrapper {
    max-width: 365px;
    width: 100%;
    margin: 40px auto;
    position: relative;
    padding-bottom: 35%; /* 16:9 aspect ratio for standard YouTube videos */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* When video is in a column layout, remove max-width and auto margin */
.col-md-6 .youtube-video-wrapper {
    max-width: 100%;
    margin: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.sect-foound{
    padding: 0;
}
.youtube-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .contacts-map-video-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .contacts-map-col,
    .contacts-video-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .contacts-video-col .youtube-video-wrapper {
        margin: 0;
    }
    
    .youtube-video-wrapper {
        max-width: 100%;
        padding-bottom: 56.25%;
        margin: 20px auto;
    }
    
    .col-md-6 .youtube-video-wrapper {
        margin: 20px 0;
    }
    
    .map-wrapper {
        height: 300px;
        margin-bottom: 20px;
    }
}


/* Contact Section Headings */
.section.bg-default h2 {
    font-size: var(--font-5xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section.bg-default h3.heading-6 {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

.section.bg-default h3.heading-6:first-of-type {
    margin-top: 0;
}

.section.bg-default p {
    max-width: 100%;
    font-size: var(--font-base);
    color: var(--accent-color);
    line-height: 1.6;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Address Styles */
.section.bg-default address {
    font-style: normal;
    font-size: var(--font-lg);
    color: var(--accent-color);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* Social Icons */
.list-inline-sm {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.list-social .icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f5f5f5;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    font-size: 18px;
}

.list-social .icon:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #7D021F;
}

.list-social .icon img {
    width: 18px;
    height: 18px;
    display: block;
    transition: filter 0.3s ease;
}

.list-social .icon:hover img {
    filter: brightness(1) invert(1);
}

/* List Terms (Contact Info) */
.list-terms {
    margin: 30px 0;
    padding: 0;
}

.list-terms dt {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    margin-top: 25px;
}

.list-terms dt:first-child {
    margin-top: 0;
}

.list-terms dd {
    margin: 0 0 20px 0;
    padding: 0;
}

.list-terms dd ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-terms dd ul li {
    margin-bottom: 8px;
}

.list-terms dd ul li a {
    font-size: var(--font-lg);
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.list-terms dd ul li a:hover {
    color: #7D021F;
}

.text-decoration-underline {
    text-decoration: underline;
}

/* Contact Form Styles */
.rd-mailform {
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-label-outside {
    display: block;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    margin-top: 20px;
}

.form-label-outside:first-of-type {
    margin-top: 0;
}

.form-wrap {
    position: relative;
    margin-bottom: 20px;
}

.form-wrap .form-input {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: var(--font-base);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.poslugy-page{
    margin-top: 140px;
}
.form-wrap .form-input:focus {
    outline: none;
    border-color: #7D021F;
    box-shadow: 0 0 0 3px rgba(125, 2, 31, 0.1);
}

.form-wrap .form-input::placeholder {
    color: #999999;
}

.form-wrap textarea.form-input {
    min-height: 120px;
    resize: vertical;
    font-family: 'Montserrat', sans-serif;
}

.form-wrap .form-label {
    position: absolute;
    left: 20px;
    top: 16px;
    font-size: var(--font-base);
    color: #999999;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #ffffff;
    padding: 0 5px;
}

.form-wrap .form-input:focus + .form-label,
.form-wrap .form-input:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 15px;
    font-size: var(--font-xs);
    color: #7D021F;
    font-weight: 600;
}

.form-wrap .form-input:placeholder-shown + .form-label {
    top: 16px;
    font-size: var(--font-base);
}

/* Recaptcha Wrapper */
.recaptcha-wrapper {
    margin: 30px 0;
}

/* Submit Button */
.button-primary {
    background: #7D021F;
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    font-size: var(--font-base);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.button-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button-primary:hover::before {
    width: 300px;
    height: 300px;
}

.button-primary:hover {
    background: #bd1212;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 2, 31, 0.4);
}

.button-primary:active {
    transform: translateY(0);
}

/* Responsive Styles for Contact Section */
@media (max-width: 768px) {
    .section.bg-default .container {
        padding: 0 20px;
    }
    
    .section.bg-default h2 {
        font-size: var(--font-3xl);
    }
    
    .section.bg-default h3.heading-6 {
        font-size: var(--font-lg);
    }
    
    .section.bg-default address {
        font-size: var(--font-base);
    }
    
    .list-terms dt {
        font-size: var(--font-lg);
    }
    
    .list-terms dd ul li a {
        font-size: var(--font-base);
    }
    
    .row-50 {
        gap: 30px;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .form-wrap .form-input {
        padding: 14px 16px;
        font-size: var(--font-sm);
        width: 100%;
        max-width: 100%;
    }
    
    .button-primary {
        width: 100%;
        max-width: 100%;
        padding: 14px 30px;
        font-size: var(--font-sm);
        box-sizing: border-box;
    }
}

/* Blog Page Styles */
.blog-page {
    background: #ffffff;
}

/* Hero section text color for blog page */
.blog-page .hero .location-text,
.blog-page .hero .hero-description,
.blog-page .hero .hero-date .location-text,
.blog-page .hero .hero-content .hero-description,
.blog-page .hero .hero-content .hero-date .location-text,
.blog-page .hero .hero-content p.hero-description {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

.blog-section {
    padding: 80px 20px;
}

.blog-container {
    margin: 0 auto;
}

/* Blog Header */
.blog-header {
    margin-bottom: 60px;
}

.blog-header-top {
    margin-bottom: 20px;
}

.blog-latest-updates {
    font-size: var(--font-sm);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.blog-main-title {
    font-size: var(--font-6xl);
    font-weight: 700;
    color: #000000;
    line-height: 1;
    margin: 0;
}

.blog-title-line {
    display: block;
}

/* Blog Content Wrapper */
.blog-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
}

.blog-sidebar-box {
    background: #ffffff;
    padding: 40px 30px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-sidebar-title {
    font-size: var(--font-xl);
    font-weight: 600;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-filter-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
    margin-top: 30px;
    position: relative;
}

.blog-filter-column {
    display: flex;
    flex-direction: column;
}

.blog-filter-column:first-child {
    padding-right: 30px;
    border-right: 1px solid #e0e0e0;
}

.blog-filter-header {
    font-size: var(--font-base);
    font-weight: 600;
    color: #000000;
    margin: 0 0 15px 0;
    padding: 0;
    border: none;
}

.blog-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.blog-nav-item {
    display: block;
    padding: 6px 0;
    font-size: var(--font-base);
    font-weight: 400;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
    border-radius: 0;
    margin: 0;
    position: relative;
    cursor: pointer;
    line-height: 1.6;
}

.blog-nav-item:hover {
    color: #000000;
    background: transparent;
}

.blog-nav-item.active {
    background: transparent;
    color: #000000;
    font-weight: 600;
}

/* Blog Articles */
.blog-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Blog Article Card */
.blog-article-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.blog-article-card.hidden {
    display: none !important;
}

.blog-article-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.blog-article-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.blog-article-card:hover .blog-article-image img {
    transform: scale(1.05);
}

.blog-article-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-article-date {
    font-size: var(--font-sm);
    color: #666666;
    margin-bottom: 12px;
    font-weight: 400;
}

.blog-article-title {
    font-size: var(--font-xl);
    font-weight: 600;
    color: #000000;
    margin: 0 0 15px 0;
    line-height: 1.4;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    flex-grow: 1;
}

.blog-article-description {
    font-size: var(--font-base);
    color: #666666;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.blog-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.blog-article-category {
    font-size: var(--font-xs);
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.blog-article-read-more {
    font-size: var(--font-sm);
    font-weight: 500;
    color: #7D021F;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0;
}

.blog-article-read-more:hover {
    color: #bd1212;
    text-decoration: underline;
}

/* Responsive Blog Styles */
@media (max-width: 1200px) {
    .blog-content-wrapper {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }

    .blog-articles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .blog-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-sidebar-box {
        padding: 30px 20px;
    }

    .blog-filter-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-filter-column:first-child {
        padding-right: 0;
        border-right: none;
        padding-bottom: 30px;
        border-bottom: 1px solid #e0e0e0;
    }

    .blog-filter-column:last-child {
        padding-left: 0;
    }

    .blog-nav {
        flex-direction: column;
    }

    .blog-nav-item {
        margin-bottom: 0;
        margin-right: 10px;
    }

    .blog-articles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 120px 20px 60px;
    }

    .blog-header {
        margin-bottom: 40px;
    }

    .blog-main-title {
        font-size: clamp(var(--font-4xl), 8vw, var(--font-6xl));
    }

    .blog-article-image {
        height: 250px;
    }

    .blog-article-content {
        padding: 20px;
    }

    .blog-article-title {
        font-size: var(--font-lg);
    }
}


.blog-index{
    padding: 80px 0;
}

.row-40{
    display: flex;
    gap: 50px;
}

/* Case Articles Styles */
.case-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Case Card */
.case-card {
    background: #ffffff;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border-radius: 4px;
}

.case-card:hover {
    transform: translateY(-4px);
}

.case-card.hidden {
    display: none !important;
}

.case-card-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.case-card:hover .case-card-image img {
    transform: scale(1.08);
}

.case-card-content {
    padding: 30px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-card-title {
    font-size: var(--font-2xl);
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.case-card-category {
    font-size: var(--font-base);
    font-weight: 400;
    color: #666666;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

/* Responsive Case Styles */
@media (max-width: 1200px) {
    .case-articles {
        gap: 30px;
    }

    .case-card-image {
        height: 450px;
    }
}

@media (max-width: 968px) {
    .case-articles {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .case-card-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .case-card-image {
        height: 350px;
    }

    .case-card-content {
        padding: 20px 0 0 0;
    }

    .case-card-title {
        font-size: var(--font-xl);
    }

    .case-card-category {
        font-size: var(--font-sm);
    }
}


/* Services Grid 4 Columns - Matching Photo Layout */
.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    border-radius: 7px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(125, 2, 31, 0.4);
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* border-radius: 50px; */
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    margin: 0;
}

.service-card:hover .service-card-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.service-card-button:hover {
    background: #9a031e;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(125, 2, 31, 0.6);
}

.service-card-content {
    padding: 25px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card-title {
    font-size: var(--font-xl);
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* Responsive Services Grid Styles */
@media (max-width: 1400px) {
    .services-grid-4 {
        gap: 20px;
    }

    .service-card-image {
        height: 350px;
    }
}

@media (max-width: 1200px) {
    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-card-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .services-grid-4 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-card-image {
        height: 350px;
    }

    .service-card-content {
        padding: 20px 0 0 0;
    }

    .service-card-title {
        font-size: var(--font-lg);
    }

    .service-card-button {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%) scale(0.8);
        font-size: var(--font-xs);
        padding: 10px 20px;
    }
    
    .service-card:hover .service-card-button {
        transform: translateX(-50%) scale(1);
    }
    
    .service-card-button:hover {
        transform: translateX(-50%) scale(1.1);
    }
}

/* Protection Services Section */
.protection-services-section {
    padding: 80px 0;
    background: #ffffff;
}

.protection-services-header {
    text-align: center;
    margin-bottom: 80px;
}

.protection-services-title {
    font-size: clamp(var(--font-3xl), 3vw, var(--font-5xl));
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.protection-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 0 auto;
}

.protection-service-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 50px 40px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.protection-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: #7D021F;
}

.protection-service-number {
    font-size: 72px;
    font-weight: 800;
    color: #7D021F;
    line-height: 1;
    opacity: 0.15;
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: 'Montserrat', sans-serif;
}

.protection-service-content {
    position: relative;
    z-index: 1;
}

.protection-service-title {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.protection-service-description {
    font-size: var(--font-base);
    color: #666666;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.protection-service-category {
    display: inline-block;
    padding: 8px 20px;
    background: #f5f5f5;
    color: #7D021F;
    font-size: var(--font-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-top: auto;
}

/* Responsive Protection Services */
@media (max-width: 1200px) {
    .protection-services-grid {
        gap: 30px;
    }

    .protection-service-card {
        padding: 40px 30px;
    }
}

@media (max-width: 968px) {
    .protection-services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .protection-services-header {
        margin-bottom: 60px;
    }

    .protection-service-card {
        padding: 35px 25px;
    }

    .protection-service-number {
        font-size: 60px;
        top: 20px;
        right: 20px;
    }

    .protection-service-title {
        font-size: var(--font-xl);
    }
}

@media (max-width: 768px) {
    .protection-services-section {
        padding: 60px 0;
    }

    .protection-services-header {
        margin-bottom: 40px;
    }

    .protection-service-card {
        padding: 30px 20px;
    }

    .protection-service-number {
        font-size: 48px;
    }

    .protection-service-title {
        font-size: var(--font-lg);
    }

    .protection-service-description {
        font-size: var(--font-sm);
    }
}

/* Cooperation Stages Section - Two Column Layout */
.cooperation-stages-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.cooperation-stages-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.cooperation-stages-content {
    display: flex;
    flex-direction: column;
}

.cooperation-stages-heading {
    font-size: clamp(var(--font-3xl), 3.5vw, var(--font-5xl));
    font-weight: 700;
    color: #333333;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.cooperation-stages-text {
    font-size: clamp(var(--font-base), 1.8vw, var(--font-lg));
    color: #333333;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.cooperation-stages-text:last-child {
    margin-bottom: 0;
}

.cooperation-stages-text strong {
    font-weight: 700;
    color: #000000;
}

.cooperation-stages-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cooperation-feature-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cooperation-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    flex-shrink: 0;
}

.cooperation-feature-icon svg {
    width: 24px;
    height: 24px;
}

.cooperation-feature-content {
    flex: 1;
    text-align: right;
}

.cooperation-feature-title {
    font-size: clamp(var(--font-lg), 2vw, var(--font-xl));
    font-weight: 600;
    color: #333333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.cooperation-feature-description {
    font-size: clamp(var(--font-sm), 1.5vw, var(--font-base));
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Cooperation Stages */
@media (max-width: 1200px) {
    .cooperation-stages-container {
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .cooperation-stages-section {
        padding: 80px 0;
    }

    .cooperation-stages-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cooperation-stages-features {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .cooperation-stages-section {
        padding: 60px 0;
    }

    .cooperation-stages-container {
        gap: 40px;
    }

    .cooperation-stages-heading {
        margin-bottom: 25px;
    }

    .cooperation-stages-text {
        margin-bottom: 18px;
    }

    .cooperation-stages-features {
        gap: 25px;
    }

    .cooperation-feature-block {
        gap: 15px;
    }

    .cooperation-feature-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .cooperation-feature-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Case Page Specific Styles - Override blog filter styles */
/* 
   Use these selectors to customize filter styles specifically for case.html page.
   Example:
   
   .case-page .blog-sidebar-box {
       background: #f5f5f5;
       padding: 50px 40px;
   }
   
   .case-page .blog-nav-item {
       color: #666666;
       font-size: 14px;
   }
   
   .case-page .blog-nav-item.active {
       color: #000000;
       font-weight: 700;
   }
*/
.case-page .blog-filter-columns{
    display: flex;
    flex-direction: column;
}

.case-page .blog-filter-column:first-child{
    padding-right: 0; 
    border-right: none;
}

/* Panels Section */
.panels-section {
    padding: 100px 0;
    margin: 80px 0;
    background: #ffffff;
}

.panels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    margin: 0 auto;
    max-width: 1400px;
    align-items: stretch;
}

.panel {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.panel-text {
    background: #7D021F;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.panel-number {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: var(--font-2xl);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    letter-spacing: -0.5px;
}

.panel-text-content {
    color: #ffffff;
    font-size: var(--font-lg);
    line-height: 1.7;
    margin: 0;
    padding-top: 60px;
    flex-grow: 1;
    font-weight: 400;
}

.panel-image {
    background: #1a1a1a;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    align-self: stretch;
}

.panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(100%);
    transition: transform 0.5s ease, filter 0.3s ease;
}

.panel-image:hover .panel-img {
    transform: scale(1.08);
    filter: grayscale(80%);
}

/* Top row panels */
.panel-01 {
    grid-column: 1;
    grid-row: 1;
}

.panel-02 {
    grid-column: 2;
    grid-row: 1;
}

.panel-03 {
    grid-column: 3;
    grid-row: 1;
}

.panel-top-image {
    grid-column: 4;
    grid-row: 1;
    height: 100%;
}

/* Bottom row panels */
.panel-bottom-image-large {
    grid-column: 1;
    grid-row: 2;
    height: 100%;
}

.panel-04 {
    grid-column: 2;
    grid-row: 2;
}

.panel-05 {
    grid-column: 3;
    grid-row: 2;
}

.panel-06 {
    grid-column: 4;
    grid-row: 2;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .panels-grid {
        max-width: 1200px;
        gap: 18px;
        grid-template-rows: 260px 260px;
    }
    
    .panel-text {
        padding: 45px 35px;
    }
    
    .panel-number {
        top: 25px;
        left: 25px;
        font-size: var(--font-xl);
    }
    
    .panel-text-content {
        font-size: var(--font-base);
        padding-top: 50px;
    }
}

@media (max-width: 1200px) {
    .panels-grid {
        gap: 15px;
        grid-template-rows: 240px 240px;
    }
    
    .panel-text {
        padding: 40px 30px;
    }
    
    .panel-text-content {
        font-size: var(--font-base);
        padding-top: 45px;
    }
}

@media (max-width: 968px) {
    .panels-section {
        padding: 60px 0;
        margin: 60px 0;
    }
    
    .panels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .panel-01 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .panel-02 {
        grid-column: 2;
        grid-row: 1;
    }
    
    .panel-03 {
        grid-column: 1;
        grid-row: 2;
    }
    
    .panel-top-image {
        grid-column: 2;
        grid-row: 2;
    }
    
    .panel-bottom-image-large {
        grid-column: 1 / 3;
        grid-row: 3;
        min-height: 300px;
    }
    
    .panel-04 {
        grid-column: 1;
        grid-row: 4;
    }
    
    .panel-05 {
        grid-column: 2;
        grid-row: 4;
    }
    
    .panel-06 {
        grid-column: 1;
        grid-row: 5;
    }
}

@media (max-width: 768px) {
    .panels-section {
        padding: 40px 0;
        margin: 40px 0;
    }
    
    .panels-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .panel-01,
    .panel-02,
    .panel-03,
    .panel-top-image,
    .panel-bottom-image-large,
    .panel-04,
    .panel-05,
    .panel-06 {
        grid-column: 1;
    }
    
    .panel-01 {
        grid-row: 1;
    }
    
    .panel-02 {
        grid-row: 2;
    }
    
    .panel-03 {
        grid-row: 3;
    }
    
    .panel-top-image {
        grid-row: 4;
        min-height: 250px;
    }
    
    .panel-bottom-image-large {
        grid-row: 5;
        min-height: 250px;
    }
    
    .panel-04 {
        grid-row: 6;
    }
    
    .panel-05 {
        grid-row: 7;
    }
    
    .panel-06 {
        grid-row: 8;
    }
    
    .panel-text {
        padding: 30px 25px;
        min-height: auto;
    }
    
    .panel-text-content {
        font-size: var(--font-sm);
        padding-top: 40px;
        line-height: 1.6;
    }
    
    .panel-number {
        top: 20px;
        left: 20px;
        font-size: var(--font-lg);
    }
    
    .panel-top-image,
    .panel-bottom-image-large {
        min-height: 250px;
    }
}

/* Services Grid Section */
.services-grid-section {
    padding: 80px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    margin: 0 auto;
}

.service-panel {
    position: relative;
    padding: 80px 60px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
}

.service-panel-line {
    position: absolute;
    height: 1px;
    background: #000000;
    width: 200px;
    top: 40px;
}

/* Left panels - line on the left */
.service-panel-02 .service-panel-line-left,
.service-panel-05 .service-panel-line-left {
    left: 60px;
}

/* Center panels - line in the center */
.service-panel-03 .service-panel-line-center,
.service-panel-06 .service-panel-line-center {
    left: 50%;
    transform: translateX(-50%);
}

/* Right panels - line on the right */
.service-panel-04 .service-panel-line-right,
.service-panel-07 .service-panel-line-right {
    right: 60px;
}

.service-panel-content {
    text-align: center;
    margin-top: 60px;
}

.service-panel-title {
    font-size: var(--font-4xl);
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.service-panel-description {
    font-size: var(--font-base);
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles for Services Grid */
@media (max-width: 1200px) {
    .service-panel {
        padding: 60px 40px;
        min-height: 350px;
    }

    .service-panel-line {
        width: 150px;
        top: 30px;
    }

    /* Left panels - line on the left */
    .service-panel-02 .service-panel-line-left,
    .service-panel-05 .service-panel-line-left {
        left: 40px;
    }

    /* Center panels - line in the center */
    .service-panel-03 .service-panel-line-center,
    .service-panel-06 .service-panel-line-center {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Right panels - line on the right */
    .service-panel-04 .service-panel-line-right,
    .service-panel-07 .service-panel-line-right {
        right: 40px;
    }

    .service-panel-title {
        font-size: var(--font-3xl);
    }
}

@media (max-width: 968px) {
    .services-grid-section {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }

    .service-panel {
        padding: 50px 40px;
        min-height: 300px;
    }

    .service-panel-content {
        margin-top: 40px;
    }

    .service-panel-title {
        font-size: var(--font-2xl);
        margin-bottom: 20px;
    }

    .service-panel-description {
        font-size: var(--font-sm);
    }
}

@media (max-width: 768px) {
    .services-grid-section {
        padding: 30px 0;
    }

    .service-panel {
        padding: 40px 30px;
        min-height: 280px;
    }

    .service-panel-line {
        width: 100px;
        top: 20px;
    }

    /* Left panels - line on the left */
    .service-panel-02 .service-panel-line-left,
    .service-panel-05 .service-panel-line-left {
        left: 30px;
    }

    /* Center panels - line in the center */
    .service-panel-03 .service-panel-line-center,
    .service-panel-06 .service-panel-line-center {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Right panels - line on the right */
    .service-panel-04 .service-panel-line-right,
    .service-panel-07 .service-panel-line-right {
        right: 30px;
    }

    .service-panel-content {
        margin-top: 30px;
    }

    .service-panel-title {
        font-size: var(--font-xl);
        margin-bottom: 15px;
    }

    .service-panel-description {
        font-size: var(--font-xs);
    }
}

.contacts-header-text{
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.section-no-padding{
    padding: 150px 0 0;
}

/* Social Networks Section */
.social-networks-section {
    padding: 80px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.social-networks-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 100, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 100, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.social-networks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0 auto;
}
.index-social-network-name{
    font-size: var(--font-5xl);
    color: #000000;
}
.social-network-card {
    position: relative;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border-radius: 7px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background: rgb(255 255 255 / 5%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 
                0 0 1px #7D021F,
                0 0 3px rgba(125, 2, 31, 0.5);
}

.social-network-card:hover {
    background: rgb(125 2 31);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1),
                0 0 2px #7D021F,
                0 0 8px rgba(125, 2, 31, 0.8),
                0 0 15px rgba(125, 2, 31, 0.4);
    transform: translateY(-2px);
}

.social-network-corner {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.social-network-card:nth-child(2) .social-network-corner,
.social-network-card:nth-child(3) .social-network-corner,
.social-network-card:nth-child(4) .social-network-corner {
    left: auto;
    right: 20px;
}

.corner-x {
    color: #ffffff;
    font-size: 12px;
    font-weight: 300;
    font-family: 'Courier New', monospace;
    opacity: 0.6;
}

.social-network-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1;
    position: relative;
}

.social-network-username {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.social-network-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-transform: lowercase;
    text-align: center;
    opacity: 0.8;
}

.social-network-icon {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-network-icon svg {
    width: 80px;
    height: 80px;
    display: block;
}

.social-network-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

/* Outline with bend effect - SVG path for exact shape */
.outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' viewBox='0 0 100 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 5 5 L 60 5 L 75 20 L 75 120 L 60 135 L 5 135 L 0 120 L 0 20 Z' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
}

/* For right side cards - mirror the outline */

/* Contact Form Section - Dark Theme */
.contact-form-section {
    padding: 80px 20px;
    background: #000000;
    display: flex;
    align-items: center;
}

.contact-form-section .container {
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    align-items: center;
}

.contact-form {
    width: 100%;
    padding: 0 50px 0 0;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-form-row-full {
    grid-template-columns: 1fr;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-label {
    color: #ffffff;
    font-size: var(--font-base);
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form-label .required {
    color: #ff0000;
    padding-left: 5px;
}
/* 
Пояснення:
Ваш селектор .social-network-card .white-text означає, що ви шукаєте елемент з класом white-text ВСЕРЕДИНІ елемента з класом social-network-card.
Але в html у вас у деяких місцях клас white-text призначений саме самій <a class="social-network-card white-text" ...> (див. about.html), тобто .white-text і .social-network-card ЗАЗВИЧАЙ разом на одному елементі, а не бітьків-дитина.

Щоб колір працював — змініть селектор на:
.social-network-card.white-text { color: #ffffff; }

Або додайте !important для пріоритету:
.social-network-card.white-text {
    color: #ffffff !important;
}
*/

/* Працюючий варіант: */
.index-social-network-name.white-text{
    color: #ffffff;
}
.contact-form-input {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-size: var(--font-base);
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background: #2a2a2a;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form-input::placeholder {
    color: #888888;
}

.contact-form-input:focus {
    outline: none;
    background: #333333;
    box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.3);
}

.contact-form-textarea {
    min-height: 150px;
    resize: vertical;
    font-family: 'Montserrat', sans-serif;
}

.contact-form-submit {
    width: 100%;
    padding: 16px 40px;
    background: #7d021f;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: var(--font-base);
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.contact-form-submit:hover {
    background: #ff4d8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
}

.contact-form-submit:active {
    transform: translateY(0);
}

/* Contact Form Side Cards */
.contact-form-side-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    height: 100%;
}

.contact-side-card {
    background: #1a1a1a;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    transition: all 0.3s ease;
}

.contact-side-card:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-side-card:hover {
    background: #222222;
}

.contact-side-card-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.contact-side-card-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-side-card-icon svg {
    width: 48px;
    height: 48px;
}

.contact-side-card-title {
    font-size: var(--font-2xl);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.contact-side-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.contact-side-card-list li {
    color: #ffffff;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.9;
}

.contact-side-card-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: var(--font-lg);
}

.contact-side-card-list li:last-child {
    margin-bottom: 0;
}

.contact-side-card-text {
    color: #ffffff;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 1.8;
    margin: 0 0 20px 0;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.9;
}

.contact-side-card-text:last-child {
    margin-bottom: 0;
}

.contact-side-card-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* Responsive Styles for Contact Form */
@media (max-width: 1200px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-side-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .contact-side-card:first-child {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .section-no-padding {
    padding: 78px 0 0;
}
    .contact-form-section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 40px 20px;
    }

    .contact-form-wrapper {
        gap: 0;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .contact-form-side-cards {
        grid-template-columns: 1fr;
    }

    .contact-side-card:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-side-card {
        min-height: 200px;
        padding: 40px 20px;
    }

    .contact-side-card-icon {
        margin-bottom: 15px;
    }

    .contact-side-card-icon svg {
        width: 40px;
        height: 40px;
    }

    .contact-side-card-title {
        font-size: var(--font-xl);
        margin-bottom: 15px;
    }

    .contact-side-card-list li {
        font-size: var(--font-sm);
        margin-bottom: 10px;
        padding-left: 20px;
    }

    .contact-side-card-text {
        font-size: var(--font-sm);
        margin-bottom: 15px;
    }

    .contact-form-input {
        padding: 12px 16px;
        font-size: var(--font-sm);
    }

    .contact-form-label {
        font-size: var(--font-sm);
        margin-bottom: 8px;
    }

    .contact-form-submit {
        padding: 14px 30px;
        font-size: var(--font-sm);
    }
}

.case-card:hover .case-card-title{
    color: #7d021f;
}

.admin-showcase{
    padding:0;
}

.admin-showcase .container{
    padding:0;
}

.admin-showcase-header{
    margin-bottom:24px;
}

.admin-showcase-label{
    display:inline-block;
    font-weight:700;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:#111;
    font-size:16px;
}

.admin-showcase-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
}

.admin-showcase-card{
    display:flex;
    flex-direction:column;
    gap:12px;
    position:relative;
}

.admin-showcase-image{
    position:relative;
    overflow:hidden;
    background:#f3f3f3;
    aspect-ratio:3/4;
}

.admin-showcase-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.18);
    transition:background 0.25s ease;
    pointer-events:none;
}

.admin-showcase-button{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%) scale(0.9);
    z-index:1;
    width:96px;
    height:96px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    border-radius:50%;
    background:#7d021f;
    color:#fff;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    text-decoration:none;
    opacity:0;
    transition:opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    pointer-events:none;
    overflow:hidden;
}

.admin-showcase-card:hover .admin-showcase-button{
    opacity:1;
    transform:translate(-50%, -50%) scale(1);
    pointer-events:auto;
}

.admin-showcase-card:hover .admin-showcase-image::after{
    background:rgba(0,0,0,0.28);
}

.admin-showcase-button:hover{
    background:#600118;
}

.admin-showcase-btn-label{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:opacity 0.22s ease, transform 0.22s ease;
}

.admin-showcase-btn-default{
    opacity:1;
    transform:translateY(0);
}

.admin-showcase-btn-hover{
    opacity:0;
    transform:translateY(8px);
}

.admin-showcase-button:hover .admin-showcase-btn-default{
    opacity:0;
    transform:translateY(-8px);
}

.admin-showcase-button:hover .admin-showcase-btn-hover{
    opacity:1;
    transform:translateY(0);
}

.admin-showcase-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.35s ease;
}

.admin-showcase-card:hover .admin-showcase-image img{
    transform:scale(1.04);
}

.admin-showcase-caption{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:0.12em;
    font-size:14px;
    font-weight:700;
    color:#fff;
    text-shadow:0 2px 12px rgba(0,0,0,0.35);
    pointer-events:none;
    opacity:1;
    transition:opacity 0.25s ease, transform 0.25s ease;
}

.admin-showcase-card:hover .admin-showcase-caption{
    opacity:0;
    transform:translateY(-8px);
}

@media (max-width:768px){
    .admin-showcase-grid{
            grid-template-columns: repeat(2, 1fr);
    }

.administrative-law-section{
    margin-top: 103px;
}
    .admin-showcase-label{
        font-size:14px;
    }

    .admin-showcase-caption{
        font-size:12px;
    }
}


.services-section{
    padding: 40px 20px;
}

.service-card:hover .service-card-title{
    color: #7d021f;
}

/* Стилі для timeline roadmap етапів співпраці */
.container-timeline {
	max-width: 100%;
}

@media (min-width: 768px) and (max-width: 1200px) {
	.container-timeline {
		max-width: 100%;
	}
}

.timeline-roadmap {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin: 0 auto;
	position: relative;
}

/* Background for timeline section */
.section-timeline-bg {
    position: relative;
    overflow: hidden;
    background: url('img/parallax-02-1920x1080.jpg') center/cover no-repeat;
}

.section-timeline-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(1px);
}

.section-timeline-bg .container-timeline {
    position: relative;
    z-index: 1;
}

.timeline-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	min-width: 0;
}

.timeline-column--offset-up .timeline-card {
	margin-top: -40px;
}



.timeline-column--offset-up .timeline-line {
	min-height: 160px;
}

.timeline-column--offset-down .timeline-line {
	min-height: 280px;
}

.timeline-label {
    background: rgb(0 0 0);
    color: rgb(255, 255, 255);
	padding: 8px 16px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 20px;
	white-space: nowrap;
	text-align: center;
}

.timeline-line {
	position: relative;
	width: 2px;
	flex: 1;
	min-height: 200px;
    background: repeating-linear-gradient(to bottom, #7d021f 0px, #7d021f 4px, transparent 4px, transparent 12px);
	margin-bottom: 0;
	z-index: 1;
}

.timeline-dot {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 16px;
	height: 16px;
	background: #007bff;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 8px rgba(0, 123, 255, 0.3);
	z-index: 2;
}

.timeline-card {
    background: linear-gradient(135deg, #000000 0%, #7d021f 100%);
    border-radius: 7px;
	padding: 25px 20px;
	width: 100%;
	max-width: 200px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	z-index: 2;
}


.timeline-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
}

.timeline-card:hover::before {
	opacity: 1;
}

.timeline-card__content {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 10px;
	line-height: 1.3;
	text-align: center;
}

.timeline-card__description {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

@media (min-width: 768px) and (max-width: 991px) {
	.timeline-roadmap {
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
		padding: 30px 20px;
	}
	
	.timeline-column {
		flex: 0 0 calc(33.333% - 14px);
		max-width: calc(33.333% - 14px);
	}
	
	.timeline-column--offset-up .timeline-card,
	.timeline-column--offset-down .timeline-card {
		margin-top: 0;
	}
	
	.timeline-line {
		min-height: 200px;
	}
	
	.timeline-card {
		max-width: 100%;
	}
}

@media (min-width: 480px) and (max-width: 767px) {
	.timeline-roadmap {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: flex-start;
		gap: 15px;
		padding: 30px 20px;
	}
	
	.timeline-column {
		flex: 0 0 calc(40% - 8px);
		max-width: calc(40% - 8px);
		min-width: 0;
		width: auto;
	}
	
	.timeline-column--offset-up .timeline-card,
	.timeline-column--offset-down .timeline-card {
		margin-top: 0;
	}
	
	.timeline-column--offset-down .timeline-line{
		min-height: 105px;
	}
	.timeline-column--offset-up .timeline-line{
		min-height: 130px;
	}
	.timeline-card {
		max-width: 100%;
	}
}

@media (max-width: 479px) {
	.timeline-roadmap {
		flex-direction: column;
		gap: 40px;
		padding: 30px 20px;
	}
	.timeline-column--offset-down .timeline-line{
		min-height: 100px;
	}
	.timeline-column--offset-up .timeline-line{
		min-height: 100px;
	}
	
	.timeline-column {
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
	}
	
	.timeline-column--offset-up .timeline-card,
	.timeline-column--offset-down .timeline-card {
		margin-top: 0;
	}
	
	.timeline-line {
		width: 2px;
		min-height: 80px;
	}
	
	.timeline-card {
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.timeline-roadmap {
		padding: 20px 10px;
		gap: 30px;
	}
	
	.timeline-label {
		font-size: 12px;
		padding: 6px 12px;
	}
	
	.timeline-card {
		padding: 20px 15px;
	}
	
	.timeline-card__content {
		font-size: 15px;
	}
	
	.timeline-card__description {
		font-size: 12px;
	}
}

/* Inactivity Popup - Callback Request */
.inactivity-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.inactivity-popup.active {
    display: flex;
    opacity: 1;
}

.inactivity-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.inactivity-popup-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    z-index: 10002;
    overflow: hidden;
}

.inactivity-popup-wrapper {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-height: 90vh;
}

.inactivity-popup-image-side {
    position: relative;
    width: 50%;
    min-height: 600px;
    overflow: hidden;
}

.inactivity-popup-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.inactivity-popup-image-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.inactivity-popup-image-content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.inactivity-popup-image-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.inactivity-popup-image-text {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.inactivity-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10003;
    color: #666666;
    transition: all 0.3s ease;
    padding: 0;
}

.inactivity-popup-close:hover {
    color: #000000;
    transform: rotate(90deg);
}

.inactivity-popup-close svg {
    width: 20px;
    height: 20px;
}

.inactivity-popup-content {
    width: 50%;
    background: #ffffff;
    padding: 40px 35px;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
}

.inactivity-popup-title {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.inactivity-phone-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.inactivity-phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
}

.inactivity-phone-input-wrapper:focus-within {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.inactivity-phone-input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 14px 16px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    background: #ffffff;
}

.inactivity-phone-input:focus {
    outline: none;
    box-shadow: none;
}

.inactivity-phone-input::placeholder {
    color: #999999;
}

.inactivity-callback-button {
    width: 100%;
    padding: 16px 24px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inactivity-callback-button:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.inactivity-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.inactivity-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.inactivity-contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 16px;
}

.inactivity-contact-icon i {
    font-size: 18px;
}

.inactivity-contact-text {
    flex: 1;
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
}

.inactivity-contact-text a {
    color: #333333;
    text-decoration: none;
}

.inactivity-contact-text a:hover {
    text-decoration: underline;
}

.inactivity-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

.inactivity-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.inactivity-social-icon:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
}

.inactivity-social-label {
    font-size: 12px;
    color: #666666;
    text-align: center;
    margin-top: 5px;
}

.inactivity-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .inactivity-popup-container {
        max-width: 100%;
    }

    .inactivity-popup-wrapper {
        flex-direction: column;
        max-height: 95vh;
    }

    .inactivity-popup-image-side {
        width: 100%;
        min-height: 200px;
        max-height: 250px;
    }

    .inactivity-popup-image-content {
        padding: 30px 25px;
    }

    .inactivity-popup-image-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .inactivity-popup-image-text {
        font-size: 14px;
    }

    .inactivity-popup-content {
        width: 100%;
        padding: 30px 25px;
        max-height: calc(95vh - 250px);
    }

    .inactivity-popup-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .inactivity-contact-item {
        gap: 10px;
    }

    .inactivity-contact-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 14px;
    }

    .inactivity-contact-text {
        font-size: 13px;
    }

    .inactivity-social-icons {
        gap: 12px;
    }

    .inactivity-social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}


@import url(./index.css);

/* ============================================All============================================= */

.container_form {
    padding: 100px 0px;

    background: url(../images/background/5U0A1202\ \(1\)\ 1.png) no-repeat;
    background-size: cover;
}

/* ==================================== Pin Rotate Sections =========================== */

.pin-rotate-section {
    width: 100vw;
    min-height: 80vh;
    background: #fcfcfc;
}

.pin-intro,
.pin-outro {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 8vw !important;
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pin-intro h2,
.pin-outro h2 {
    font-size: 4vw;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.pin-intro h2 span,
.pin-outro h2 span {
    font-weight: 100;
    display: flex;
    align-items: center;
    margin-left: 0.8vw;
    color: bisque;
}

.pin-outro h2 span {
    margin-right: 0.8vw;
}

.pin-intro p,
.pin-outro p {
    max-width: 800px;
    margin-top: 1rem;
    line-height: 1.4;
    font-size: 1.2rem;
    opacity: 0.8;
}

.pin-intro svg,
.pin-outro svg {
    height: 5vw;
    width: 5vw;
}

.pin-card {
    position: relative;
    display: flex;
    padding: 10vh 8vw !important;
    justify-content: space-between;
    border-bottom: 1px solid #0000003d;
    perspective: 1000px;
    background: #fcfcfc;
    color: #000;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1;
    overflow: hidden;
    isolation: isolate;
}

.pin-card .overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.pin-card span {
    font-size: 8vw;
    font-weight: 600;
    color: #000;
    position: absolute;
    left: 8vw;
    top: 10vh;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
}

.pin-card-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    z-index: 3;
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: auto;
}

.pin-card h2 {
    font-size: 4vw;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.08rem;
    color: #000;
    opacity: 1 !important;
    visibility: visible !important;
}

.pin-card img {
    max-width: 100%;
}

.pin-card p {
    max-width: 70%;
    margin-top: 1.5rem;
    line-height: 1.3;
    color: #000;
}

/* Mobile Responsiveness for Pin Rotate Sections */
@media (max-width: 768px) {
    .pin-intro h2,
    .pin-outro h2 {
        font-size: 8vw;
    }

    .pin-intro svg,
    .pin-outro svg {
        height: 8vw;
        width: 8vw;
    }

    .pin-intro p,
    .pin-outro p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .pin-card {
        flex-direction: column;
        padding: 5vh 6vw;
        gap: 2rem;
    }

    .pin-card span {
        font-size: 12vw;
    }

    .pin-card div {
        width: 100%;
    }

    .pin-card h2 {
        font-size: 8vw;
        margin-bottom: 1rem;
    }

    .pin-card p {
        max-width: 100%;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {

    .pin-intro,
    .pin-outro {
        padding: 0 6vw;
    }

    .pin-intro h2,
    .pin-outro h2 {
        font-size: 10vw;
    }

    .pin-intro svg,
    .pin-outro svg {
        height: 10vw;
        width: 10vw;
    }

    .pin-card span {
        font-size: 15vw;
    }

    .pin-card h2 {
        font-size: 10vw;
    }
}

/* =============================================End-all=================================================== */

.blockImgReviews {
    display: none;
}

.quote {
    width: 30%;
}

.quoteReviewsMobail {
    display: none;
}

.container_about {
    background: url('img/parallax-litigation-1920x1080.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0 100px;
    position: relative;
    overflow: hidden;
}

.container_about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(185 185 165 / 77%);
    z-index: 0;
}

.container_about > .container {
    position: relative;
    z-index: 1;
}

/* Reviews Section Layout */
.reviews-section-wrapper {
    position: relative;
    margin: 0 auto;
    display: grid;
    gap: 40px 60px;
    align-items: start;
    min-height: 700px;
}

/* Title - left side, dark blue */
.reviews-title {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    z-index: 1;
}

.reviews-title h2 {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
    margin: 0;
}

/* Photo - right of title */
.reviews-photo {
    grid-column: 2;
    grid-row: 1 / 3;
    position: relative;
    z-index: 1;
    align-self: start;
}

.reviews-photo img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
}

/* Testimonials */
.reviews-testimonial {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    position: relative;
    border-left: 3px solid rgba(239, 192, 121, 1);
    backdrop-filter: blur(5px);
}

.reviews-testimonial-1 {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    max-width: 500px;
}

.reviews-testimonial-2 {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    z-index: 2;
    margin-top: 10px;
    margin-left: -20px;
    max-width: 500px;
}

.testimonial-quote-icon {
    margin-bottom: 20px;
}

.testimonial-quote-icon img {
    width: 20px;
    height: auto;
    display: block;
}

.testimonial-text {
    font-size: 17px;
    font-weight: 500;
    color: #5B667A;
    line-height: 1.6;
    margin: 0 0 20px 0;
    font-family: 'Montserrat', sans-serif;
}

.testimonial-author {
    font-size: 17px;
    font-weight: 600;
    color: #222B3E;
    text-align: right;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .reviews-section-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .reviews-title {
        grid-column: 1;
        grid-row: 1;
    }
    
    .reviews-photo {
        grid-column: 1;
        grid-row: 2;
    }
    
    .reviews-testimonial-1 {
        grid-column: 1;
        grid-row: 3;
    }
    
    .reviews-testimonial-2 {
        grid-column: 1;
        grid-row: 4;
        margin-top: 0;
        margin-left: 0;
    }
}

.container_reviews {
    background: rgba(255, 255, 255, 1);
}

.containerSection4 {
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3447 100%);
    padding: 120px 0px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.align-items-center{
    align-items: center;
}

.containerSection4::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('img/parallax-02-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px) brightness(0.3);
    opacity: 0.6;
    z-index: 0;
}

.containerSection4 .container {
    position: relative;
    z-index: 1;
}

.containerSection4 .row > div:last-child {
    position: relative;
    z-index: 2;
}

.contentSection4 {
    position: relative;
}

.contentSection4 img[alt="quote"] {
    width: 30px;
    height: auto;
    margin-bottom: 30px;
    filter: brightness(0) saturate(100%) invert(85%) sepia(45%) saturate(2000%) hue-rotate(5deg) brightness(105%) contrast(95%);
}

.contentSection4 > .row > div:first-child {
    position: relative;
    z-index: 2;
}

.contentSection4 p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contentSection4 p.text-end {
    color: rgba(255, 255, 255, 1);
    font-size: 17px;
    font-weight: 600;
    text-align: right;
    margin-top: 20px;
    margin-bottom: 0;
}

/* =================================================================loader============================= */

.blockLoadingSendForm {
    padding: 100px 0px;
    display: none;
}

.blockLoadingSendForm.visible {
    display: block;
}

.blockLoadingSendForm h3{
    font-size: 20px;
}

.form-loader {
    display: block; /* Лоадер скрыт по умолчанию */
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #007bff; /* Цвет вращающейся части */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
body {
    font-family: 'Montserrat', sans-serif;
}

.containerBottomForm {
    display: none;
}


/* =========================================formModal====================================== */

.containerFormModal {
    width: 90%;
    display: none;
    position: fixed;
    top: 80px;
    z-index: 3000;
    left: 50%;
    transform: translateX(-50%);
}

.containerFormModal.visible {
    display: block;
}

.contentFormModal {
    
    width: 100%;
    padding: 30px 40px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.904);
    backdrop-filter: blur(10px);
   }

   
   .contentFormModal h1 {
       color: #222B3E;
       font-size: 32px;
       font-weight: 600;
   }
   
   .contentFormModal form {
       display: flex;
       flex-direction: column;
       color: #222B3E;
       font-size: 14px;
       font-weight: 500;
   }
   
   .contentFormModal form input {
       padding: 8px 16px;
       border: 0px;
       border-radius: 5px;
       background: white;
       color: #AEADBA;
       font-size: 14px;
       font-weight: 500;
   }
   
   .contentFormModal form textarea {
       padding: 8px 16px;
       border: 0px;
       border-radius: 5px;
       background: white;
       color: #AEADBA;
       font-size: 14px;
       font-weight: 500;
   }
   
   .contentFormModal p:nth-child(3) {
       display: block;
   }
   
   .btnForm {
        border: none;
        padding: 12px 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        display: inline-block;
        background: var(--primary-color);
        color: var(--secondary-color);
        font-size: var(--font-sm);
        text-transform: uppercase;
        border-radius: 7px;
        font-weight: 600;
        box-shadow: var(--shadow-sm);
        background: #7D021F;
        width: 100%;
   }
   
   .btnForm::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(193, 38, 38, 0.28);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }
    
    .btnForm:hover::before {
        width: 300px;
        height: 300px;
    }
   
   .btnForm:hover {
        background: var(--accent-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        color: var(--secondary-color);
   }

   /* ================================================EndFormLModal====================== */
/* @font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Gilroy/Gilroy-SemiBold.eot') format('eot'),
         url('../fonts/Gilroy/Gilroy-SemiBold.ttf') format('ttf'),
         url('../fonts/Gilroy/Gilroy-SemiBold.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Gilroy/Gilroy-Regular.eot') format('eot'),
         url('../fonts/Gilroy/Gilroy-Regular.ttf') format('ttf'),
         url('../fonts/Gilroy/Gilroy-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
} */
  
h2 {
    font-family: 'Montserrat';
    font-size: 56px;
    font-weight: 600;
    color: rgba(34, 43, 62, 1);
}

h3 {
    font-family: 'Montserrat';
    font-size: 40px;
    font-weight: 700;
    color: #222B3E;
    line-height: 44px;
}



/* ===========================================Header============================== */

.headerContact {
    margin-right: 10px;
}

.contentHeaderContact {
    display: flex;
    flex-direction: column;
}

.contentHeaderContact a {
    display: flex;
    text-decoration: none;
    color: rgba(34, 43, 62, 1);
    font-size: 17px;
    font-weight: 600;
    font-family: 'Montserrat';
    line-height: 20px;

    transition: 0.5s;
}

.contentHeaderContact a:hover{
    color: rgba(202, 155, 83, 1);

}

.contentHeaderContact a:nth-child(1)::before{
    content: url(../images/footer/phone.png);
}

.contentHeaderContact a:nth-child(2)::before{
    content: url(../images/footer/phone.png);
}

.imgNavBar {
    width: 20px;
    height: 20px;
}


.navBarFAQMobail {
    display: none;
}

/* button-all */

/* end-button-all */

.red {
    border: 1px solid red;
}

a {
    text-decoration: none;
}

.backdropFilter {
    backdrop-filter: blur(10px);
}

.btn-vector {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    font-size: 18px;
    color: white;
    background: transparent; /* Изначально прозрачный фон */
    border: none;
    cursor: pointer;
    border-radius: 50px; /* Закруглённая форма кнопки */
    overflow: hidden; /* Для скрытия заливки */
    transition: color 0.4s ease; /* Плавная смена цвета текста */
}

.btn-vector .circle {
    position: absolute;
    left: 0px; /* Смещение круга влево */
    width: 45px; /* Размер круга */
    height: 45px;
    border: 2px solid rgba(239, 192, 121, 1); /* Пустой круг с золотой рамкой */
    border-radius: 50%;
    transition: opacity 0.4s ease, transform 0.4s ease; /* Эффект исчезновения круга */
    z-index: 1; /* Круг выше заливки */
}

.btn-vector .text {
    position: relative;
    z-index: 2; /* Текст выше заливки и круга */
    white-space: nowrap; /* Предотвращение переноса текста */
    font-size: 15px;
    letter-spacing: 4%;
}

.btn-vector::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(239, 192, 121, 1), rgba(239, 192, 121, 1)); /* Красная заливка */
    z-index: 0; /* Заливка ниже текста */
    transition: width 0.4s ease; /* Плавная заливка */
}

.btn-vector:hover .circle {
    opacity: 0; /* Исчезновение круга */
    transform: scale(0.8); /* Уменьшение круга перед исчезновением */
}

.btn-vector:hover::before {
    width: 100%; /* Полная заливка кнопки */
}

.btn-vector:hover {
    color: white; /* Текст остаётся белым */
}
/* container_header */

.container_header {
    width: 100%;
    background-color: white;
    top: 0;
    left: 0;
    transition: all 0.4s ease-in-out; /* Плавный переход */
}

.container_header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0); /* Остаётся на месте */
    z-index: 2000;
}

.btn_header {
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(202, 155, 83, 1);

    color: rgba(202, 155, 83, 1);
    font-size: 12px;
    font-weight: 600;
    transition: 1s;
}

.btn_header:hover {
    background: rgba(202, 155, 83, 1);
    color: white;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link {
    color: rgba(34, 43, 62, 1);
    font-size: 17px;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: rgba(202, 155, 83, 1);
}

.navlink {
    padding: 15px 0px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(151, 151, 151, 0.1);
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 2500;
}

.navlink p {
    font-size: 16px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: #878787;
}

.btn_navLink {
    background: none;
    width: max-content;
    color: rgba(202, 155, 83, 1);
    border: none;

    font-size: 17px;
    font-weight: 500;
}

.btn_navLink::before {
    content: url(../images/icons/Vector.png);
    margin-right: 10px;
    display: inline-block;
}

.network-link {
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    color: #878787;
    transition: 0.5s;
}

.network-link:hover {
    text-decoration: none;
    color: #E52647;
}

/* =====================================================================================container_header_inner" */

.container_header_inner {
    background: url('../images/background/Main\ page\ \(1\).png') no-repeat;
    background-size: cover;
    background-position: center;
}

.container_header_inner h2 {
    color: white;
    font-size: 56px;
    font-family: 'Montserrat';
    font-weight: 600;
    line-height: 60px;
}

.container_header_inner p {
    color: rgba(255, 255, 255, 0.801);
    font-size: 17px;
}

.container_header_inner .btn {
    color: white;
    font-size: 17px;

}

.headerContentInner {
    margin-bottom: 24px;
}

.block_header_inner {
    margin-bottom: 56px;
    padding-left: 32px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.5);
}


.container_header_inner_content {
    padding: 400px 0px;
    overflow: hidden;

    position: relative;
}

.content_header_inner {
    left: 20px;
    position: absolute;
    top: -10%;
    opacity: 0;
    transition: top 1s ease, opacity 0.5s ease; /* Плавный переход */
}


/* =================================================================================container_about */

.container_about {
    background: url('img/parallax-litigation-1920x1080.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    overflow-x: hidden;
}

.content_about {
    padding: 400px 0px 430px 0px;
}

.container_about h1 {
    font-size: 56px;
    font-weight: 600;
}

.container_about p {
    font-size: 17px;
    font-weight: 500;
    color: #5B667A;
}

.imgHomeDariya {
    width: 400px;
    height: 450px;
}

/* ============animation-Content-about============== */

.blockWidth {
    height: 100%;
    width: 80%;
    position: absolute;
    overflow: hidden;
}

.blockWidth::before {
    content: "";
    position: absolute;
    top: 20%;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 1.5px; /* Толщина границы */
    background: linear-gradient(to left, rgb(194, 194, 194), rgba(194, 194, 194, 0));
    transform: scaleX(0); /* Скрываем градиент */
    transform-origin: left; /* Анимация начинается слева */
    transition: transform 3s ease; /* Используем transition вместо animation */
}

.blockWidth::after {
    content: "";
    position: absolute;
    bottom: 28%; /* Размещаем у нижней границы */
    left: 0;
    width: 100%;
    z-index: 0;
    height: 1.5px; /* Толщина нижней границы */
    background: linear-gradient(to left, rgb(194, 194, 194), rgba(194, 194, 194, 0));
    transform: scaleX(0); /* Скрываем градиент */
    transform-origin: left; /* Анимация начинается слева */
    transition: transform 3s ease; /* Используем transition вместо animation */
}

.blockWidth.animate-border::before,
.blockWidth.animate-border::after {
    transform: scaleX(1); /* Анимация расширения градиента */
}

.blockHeight {
    position: absolute;
    overflow: hidden;
    height: 100%;
    width: 70%;
}

.blockHeight::before {
    content: "";
    position: absolute;
    top: 0;
    /* Градиент начинается сверху */
    left: 66%;
    z-index: 10;
    width: 1.5px;
    /* Полная ширина блока */
    height: 100%;
    /* Высота псевдоэлемента */
    background: linear-gradient(to top, rgb(194, 194, 194), rgba(194, 194, 194, 0));
    /* Градиент сверху вниз */
    transform: scaleY(0);
    /* Изначально невидим */
    transform-origin: top;
    /* Анимация начинается с верхнего края */
    transition: transform 3s ease;
}

.blockHeight::after {
    content: "";
    position: absolute;
    top: 0;
    right: 10%;
    z-index: 1000;
    width: 1.5px;
    /* Полная ширина блока */
    height: 100%;
    /* Высота псевдоэлемента */
    background: linear-gradient(to top,rgba(194, 194, 194, 0), rgb(194, 194, 194));
    /* Градиент сверху вниз */
    transform: scaleY(0);
    /* Изначально невидим */
    transform-origin: bottom;
    /* Анимация начинается с верхнего края */
    transition: transform 3s ease;
}

.blockHeight.animate-border::before,
.blockHeight.animate-border::after {
    transform: scaleY(1); /* Начало анимации */
}

/* ============END-animation-Content-about============== */

.content_img {
    position: relative;
    z-index: 1000;
}

.text_content {
    z-index: 2000;

    top: 25%;
    width: 40%;
    left: 0%;
    position: absolute;
    
    transition: 2s; /* Плавное появление */
    
}

.content_img {
    top: 20%;
    right: 15%;
    position: absolute;
    

    opacity: 0;
    transition: 3s;
}

.quote {
    color: rgba(91, 102, 122, 1);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(40px);
    
    width: 30%;
    padding: 20px;

    position: absolute;
    top: 60%;
    right: 20%;
    z-index: 1500;

    opacity: 0;
    transition: 2s;
}

.header_quote {
    margin-bottom: 10px;
}

.main_quote {
    border-bottom: 1px solid rgba(218, 218, 215, 1);
    margin-bottom: 10px;
}


.text-about {
    padding-left: 50px;

    border-left: 2px solid rgba(239, 192, 121, 1);
}

.container_about button {
    color: rgba(34, 43, 62, 1);
}

.container_about button:hover {
    color: white;
}

/* ===============================================================container-working */

.headerWorking {
    margin-bottom: 72px;
}

.containerWorking {
    position: relative;
    padding: 120px 0px 195px 0px;
    background:
    81% 100% no-repeat url(../images/a-b/R.png),
    43% 100% no-repeat url(../images/a-b/T.png),
    12% 100% no-repeat url(../images/a-b/C.png),
    77% 22% no-repeat url(../images/a-b/O.png), 
    46% 22% no-repeat url(../images/a-b/R.png),
    12% 22% no-repeat url(../images/a-b/P.png),
    rgba(255, 255, 255, 1);
}

.mainWorking {
    display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(2, auto);
    justify-content: space-between;
    row-gap: 50px;
}

.mainWorking h4 {
    font-size: 20px;
    font-family: 'Montserrat';
    font-weight: 700;
    line-height: 24px;
    color: rgba(34, 43, 62, 1);
}

.mainWorking p {
    font-size: 17px;
    font-family: 'Montserrat';
    font-weight: 500;
    line-height: 20px;
    color: rgba(91, 102, 122, 1);
    padding-left: 40px;
}


.blockWorking1 {
    width: 361px;
    height: 176px;
}

.blockWorking1 h4::before {
    content: "01";
    color: rgba(239, 192, 121, 1);

    margin-right: 15px;
}

.blockWorking2 {
    width: 346px;
    height: 176px;
}

.blockWorking2 h4::before {
    content: "02";
    color: rgba(239, 192, 121, 1);

    margin-right: 15px;
}

.blockWorking3 {
    width: 347px;
    height: 176px;
}

.blockWorking3 h4::before {
    content: "03";
    color: rgba(239, 192, 121, 1);

    margin-right: 15px;

}

.blockWorking4 {
    width: 366px;
    height: 176px;
}

.blockWorking4 h4::before {
    content: "04";
    color: rgba(239, 192, 121, 1);

    margin-right: 15px;
}

.blockWorking5 {
    width: 392px;
    height: 176px;
}

.blockWorking5 h4::before {
    content: "05";
    color: rgba(239, 192, 121, 1);

    margin-right: 15px;
}
/* =================================================================Services */
.container_services {
    padding: 100px 0px;
    background: linear-gradient(#213A55, #16283B);
}


.headerServices {
    margin-bottom: 50px;
    color: white;
}

.headerServices h2 {
    color: #FFFFFF;
}

.mainServices {
    width: max-content;
    margin-bottom: 50px;
    margin: 0px auto 50px auto;
}

.blockServices {
    width: 407px;
    height: 375px;
    padding: 30px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 1s;
}

.blockServices:hover {
    box-shadow: inset 0px -120px 120px -120px #EFC079;
}





.blockServices1 {
    background: 100% 100% / 100% 100% no-repeat url(../images/services/Group\ 60.png);
}

.blockServices2 {
    background: 100% 100% / 100% 100% no-repeat url(../images/services/Group\ 59.png);
}

.blockServices3 {
    background: 100% 100% / 100% 100% no-repeat url(../images/services/Group\ 58.png);
}

.blockServices4 {
    background: 100% 100% / 100% 100% no-repeat url(../images/services/Group\ 63.png);
}

.blockServices5 {
    background: 100% 100% / 100% 100% no-repeat url(../images/services/Group\ 64.png);
}

.blockServices6 {
    background: 100% 100% / 100% 100% no-repeat url(../images/services/Group\ 65.png);
}

.blockServices7 {
    background: 100% 100% / 100% 100% no-repeat url(../images/services/Group\ 61.png);
}

.blockServices8 {
    background: 100% 100% / 100% 100% no-repeat url(../images/services/Group\ 62.png);
}

.blockServices9 {
    background: 100% 100% / 100% 100% no-repeat url(../images/services/Group\ 42.png);
}

.textServices {
    width: 100%;
    color: white;
    font-size: 26px;
    border-left: 2px solid white;
    padding: 5px 14px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}



.blockServices {
    width: 407px;
    height: 375px;
    padding: 30px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 1s;
    position: relative; /* Обязательно, чтобы позиционировать содержимое внутри блока */
}

.blockServices:hover {
    box-shadow: inset 0px -100px 100px -100px #EFC079;
}

.blockServices:hover .circle-btn .circle {
    transform: translateX(40px); /* Смещение круга вправо */
    background-color: #EFC079; /* Заливка круга */
}

.blockServices:hover .circle-btn .arrow {
    color: white; /* Стрелка становится белой */
}

.circle-btn {
    position: absolute; /* Позиционируем кнопку внутри блока */
    bottom: 20px; /* Расстояние от нижнего края */
    right: 20px; /* Расстояние от правого края */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Разделение круга и стрелки */
    width: 100px;
    height: 100px;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    overflow: hidden; /* Чтобы анимация не выходила за границы */
}

.circle {
    margin: 0px;
    position: relative;
    width: 40px; /* Размер круга */
    height: 40px;
    border: 2px solid #EFC079; /* Рамка круга */
    border-radius: 50%;
    background: transparent;
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.arrow {
    margin: 0;
    position: absolute;
    top: 40%;
    left: 25%;
    transform: translateY(-50%); /* Центрирование стрелки */
    font-size: 50px;
    color: #EFC079;
    transition: color 0.4s ease; /* Плавное изменение цвета стрелки */
}

  /* .contentServices2 {
    display: none;
  } */

  .contentServices2.d-none {
  display: none;
}

/* =================================================================END-Services */

/* ===========================================================container_customer_assistance */

.container_customer_assistance {
    color: white;
    padding: 120px 0px 144px 0px;

    background: 100% 100% / 50% 100% no-repeat url(../images/background/Photo.png),
    100% 100% / 100% 100% no-repeat url(../images/background/Background.png);
}

.blockCustomer p:nth-child(2) {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat';
    line-height: 24px;
    color: rgba(255, 255, 255, 1);
}

.blockCustomer p:nth-child(3) {
    font-size: 17px;
    font-weight: 500;
    font-family: 'Montserrat';
    line-height: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.container_customer_assistance h2 {
    font-size: 56px;
    font-weight: 600;
    font-family: 'Montserrat';
    line-height: 60px;
    color: rgba(244, 244, 239, 1);
}



.container_progressBar {
    position: relative;
}

.label {
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    position: absolute;
}

.label2 {
    left: 42%;
    top: 55%;
    /* translate: -50% -50%; */
    position: absolute;
}

.loader-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #EFC079;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 2;
  }
  
  .content-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }
  
  .percentage {
    font-size: 72px;
    font-weight: 700;
    color: white;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
  }
  
  .description {
    font-size: 17px;
    color: rgba(255, 255, 255, 1);
    line-height: 22px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    margin-top: 5px;
  }
  
  .line-loader {
    width: 80px;
    height: 1px;
    background: #EFC079;
    border: none;
    margin: 5px 0;
  }

/* ===========================================================================Container-client================ */

.containerClient {
    background: #F4F4EF;
    padding: 93px 0px 130px 0px;
}

/* ========================================================================container_about_in_numbers */
.footerSectionMobail5 {
    display: none;
}

.contentSection5 {
    padding: 100px 0px;
}

.headerSection5 {
    margin-bottom: 50px;
}

.mainSection5 {
    padding: 32px;
    box-shadow: -10px 10px 10px rgba(77, 79, 100, 0.07);
}

.mainSection5 p:nth-child(1) {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat';
    line-height: 24px;
    color: rgba(26, 26, 26, 1);
}

.mainSection5 p:nth-child(2) {
    font-size: 17px;
    font-weight: 500;
    font-family: 'Montserrat';
    line-height: 22px;
    color: rgba(91, 102, 122, 1);
}

.footerSection5 h1 {
    font-size: 72px;
    font-weight: 600;
    color: #EFC079;
}

.footerSection5 span {
    font-size: 50px;
    color: #EFC079;
}

.footerSection5 p {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: rgba(26, 26, 26, 1);
    font-family: 'Montserrat';
}
/* ===================Animation-linear-number */

.lineBlockNumber1 {
    position: relative;
    height: 40px;
}

.lineBlockNumber2 {
    position: relative;
    height: 40px;
}

.lineBlockNumber3 {
    position: relative;
    height: 40px;
}

.lineBlockNumber4 {
    position: relative;
    height: 40px;
}

.blockWidthNumber {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
}


.blockWidthNumber::after {
    content: "";
    position: absolute;
    bottom: 0px; /* Размещаем у нижней границы */
    left: 0;
    width: 100%;
    z-index: 0;
    height: 1.5px; /* Толщина нижней границы */
    background: rgba(218, 218, 215, 1);
    transform: scaleX(0); /* Скрываем градиент */
    transform-origin: left; /* Анимация начинается слева */
    transition: transform 2s ease; /* Используем transition вместо animation */
}

.blockWidthNumber.animate-border::after {
    transform: scaleX(1); /* Анимация расширения градиента */
}

.blockHeightNumber {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
}

.blockHeightNumber::before {
    content: "";
    position: absolute;
    top: 0; /* Градиент начинается сверху */
    left: 0%;
    z-index: 0;
    width: 1.5px; /* Полная ширина блока */
    height: 100%; /* Высота псевдоэлемента */
    background: rgba(218, 218, 215, 1); /* Градиент сверху вниз */
    transform: scaleY(0); /* Изначально невидим */
    transform-origin: top; /* Анимация начинается с верхнего края */
    transition: transform 1s ease;
}

.blockHeightNumber.animate-border::before {
    transform: scaleY(1); /* Начало анимации */
}

.circleNumber {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: 90%;
    left: -2px;
    background: rgba(34, 43, 62, 1);

    opacity: 0;
    transform: scale(1); /* Лёгкое уменьшение размера */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Плавная анимация */
}

.circleNumber.visible {
    opacity: 1;
    transform: scale(1); /* Возвращаем нормальный размер */
}

.contentNumber {
    opacity: 0;
    transition: 1s;
}

/* ===================================================End-animation-linear-number */

/* ================================================containerSection6 */

.containerSection6 {
    padding: 120px 0px;
    background: rgba(244, 244, 239, 1);
    overflow-x: hidden;
    position: relative;

}

.headerSection6 h1{
    margin: 0px;
    padding: 0px;
    font-size: 48px;
    font-weight: 600;
}

.imgSeciton6 {
    position: relative;
    opacity: 0;
    transition: 2s;
}

.imgSeciton6.visible {
    opacity: 1;
}


.itemSection {
    position: relative;
    transform: translateX(100%); /* Скрыт за пределами экрана */
    opacity: 0;
    transition: transform 1s ease, opacity 0.5s ease;
    border-left: 1.5px solid rgba(202, 155, 83, 1);
    padding-left: 20px;
    margin-bottom: 30px;
}

.itemSection.visible {
    transform: translateX(0); /* Перемещаем в видимую область */
    opacity: 1;
}

.itemSection p:nth-child(1) {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat';
    line-height: 24px;
    color: rgba(34, 43, 62, 1);
}

.itemSection p:nth-child(2) {
    font-size: 17px;
    font-weight: 500;
    font-family: 'Montserrat';
    line-height: 20px;
    color: rgba(34, 43, 62, 0.85);
}

.blockHeightSection6 {
    position: absolute;
    overflow: hidden;
    top: 0;
    height: 100%;
    width: 100%;
}

.blockHeightSection6::before {
    content: "";
    position: absolute;
    top: 0;
    /* Градиент начинается сверху */
    left: 15%;
    width: 2px;
    /* Полная ширина блока */
    height: 100%;
    /* Высота псевдоэлемента */
    background: linear-gradient(to top, rgba(194, 194, 194, 1), rgba(194, 194, 194, 0));
    /* Градиент сверху вниз */
    transform: scaleY(0);
    /* Изначально невидим */
    transform-origin: top;
    /* Анимация начинается с верхнего края */
    transition: transform 3s ease;
}

.blockHeightSection6::after {
    content: "";
    position: absolute;
    top: 0;
    left: 37.5%;
    width: 2px;
    /* Полная ширина блока */
    height: 100%;
    /* Высота псевдоэлемента */
    background: linear-gradient(to top,rgba(194, 194, 194, 0), rgb(194, 194, 194));
    /* Градиент сверху вниз */
    transform: scaleY(0);
    /* Изначально невидим */
    transform-origin: bottom;
    /* Анимация начинается с верхнего края */
    transition: transform 3s ease;
}

.blockHeightSection6.animate-border::before,
.blockHeightSection6.animate-border::after {
    transform: scaleY(1); /* Начало анимации */
}

/* ================================================endContainerSerction6 */

/* container_reviews */

.container_reviews {
    padding: 80px 0px;
    background: rgba(255, 255, 255, 1);
}

.contentReviews {
    box-shadow: 0px 10px 20px rgba(77, 79, 100, 0.07);
    border-radius: 3px;
}

.contentReviews .content_reviews:nth-child(1) {
    border: none;
}
.d-flex{
    display:flex;
}
.justify-content-between{
    justify-content: space-between;
}
.container_reviews h2 {
    font-size: 56px;
    font-weight: 600;
    font-family: 'Montserrat';
    line-height: 60px;
}

.content_reviews {
    border-left: 1px solid rgba(218, 218, 215, 1);
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    width: 400px;
    flex-shrink: 0;
}

.content_reviews p {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

/* Reviews Scroll Wrapper */
.reviews-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reviews-scroll-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.reviews-track {
    display: flex;
    gap: 0;
    width: max-content;
}

/* Отступы между отзывами для лучшей видимости */
@media (min-width: 769px) {
    .reviews-track {
        gap: 0;
    }
}

@media (max-width: 768px) {
    .reviews-track {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .reviews-track {
        gap: 12px;
    }
}

.reviews-track .content_reviews:first-child {
    border-left: none;
}

/* Адаптивность для отзывов */
@media (max-width: 1200px) {
    .container_reviews .row {
        flex-wrap: wrap;
    }

    .container_reviews .col-4,
    .container_reviews .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .container_reviews .content_reviews {
        width: 100%;
    }
}

/* Для экранов больше 1280px показываем четыре отзыва */
@media (min-width: 1281px) {
    .container_reviews .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .reviews-scroll-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .reviews-track {
        gap: 20px;
    }

    .reviews-track .content_reviews {
        width: calc(25vw - 25px);
        min-width: calc(25vw - 25px);
        max-width: calc(25vw - 25px);
        padding: 20px;
        box-sizing: border-box;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    /* Планшеты - показываем два отзыва */
    .container_reviews .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .reviews-scroll-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .reviews-track {
        gap: 20px;
    }

    .reviews-track .content_reviews {
        width: calc(50vw - 30px);
        min-width: calc(50vw - 30px);
        max-width: calc(50vw - 30px);
        padding: 18px 16px;
        box-sizing: border-box;
    }

    .content_reviews p {
        font-size: 15px;
        line-height: 22px;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    /* Десктоп средний - показываем три отзыва */
    .container_reviews .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .reviews-scroll-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .reviews-track {
        gap: 20px;
    }

    .reviews-track .content_reviews {
        width: calc(33.333vw - 27px);
        min-width: calc(33.333vw - 27px);
        max-width: calc(33.333vw - 27px);
        padding: 18px 16px;
        box-sizing: border-box;
    }

    .content_reviews p {
        font-size: 15px;
        line-height: 22px;
    }
}

@media (max-width: 768px) {
    .container_reviews .col-4,
    .container_reviews .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Адаптив для мобильных устройств - показываем один отзыв */
    .container_reviews .container {
        padding-left: 0;
        padding-right: 0;
    }

    .reviews-scroll-wrapper {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .reviews-track .content_reviews {
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        padding: 20px 16px;
        box-sizing: border-box;
    }

    .content_reviews p {
        font-size: 14px;
        line-height: 20px;
    }

    .container_reviews {
        padding: 60px 0px;
    }
}

@media (max-width: 480px) {
    /* На маленьких экранах также показываем один отзыв */
    .container_reviews .container {
        padding-left: 0;
        padding-right: 0;
    }

    .reviews-scroll-wrapper {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .reviews-track .content_reviews {
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        padding: 18px 14px;
        box-sizing: border-box;
    }

    .content_reviews p {
        font-size: 13px;
        line-height: 18px;
    }

    .container_reviews {
        padding: 40px 0px;
    }
}

.mg-top-5{
    margin-top: 5px;
}

/* ========================================================================media */
.container_mediaAboutUs {
    padding: 120px 0px;
    background: linear-gradient(#213A55, #16283B);

    color: white;
}

.container_mediaAboutUs time {
    border-bottom: 1.5px solid rgba(239, 192, 121, 1);
    padding-bottom: 10px;
}

.container_mediaAboutUs h1 {
    font-size: 56px;
    font-weight: 700;
}

.contentMedia {
    max-width: 1229px;
    width: 100%;
    margin: 0 auto;
}

.contentMedia h2 {
    line-height: 60px;
    font-size: 56px;
    font-weight: 600;
    font-family: 'Montserrat';
    color: #FFFFFF;
}

.blockMedia1 {
    position: relative;
    width: 605px;
    height: 348px;
    overflow-y: hidden;
    background: 100% 100% / 100% 100% no-repeat url(../images/media/image1.png);
}

.blockMedia1 .textMedia {
    position: absolute;
    bottom: -50px;

    backdrop-filter: blur(10px);
    padding: 10px;
    color: white;
    transition: 1s;
}

.blockMedia1 .textMedia.active {
    bottom: 0px;
}

.blockMedia2 {
    position: relative;
    width: 296px;
    height: 348px;
    overflow-y: hidden;
    background: 100% 100% / 100% 100% no-repeat url(../images/media/snapedit_1736246784051\ 1.png);
}

.blockMedia2 .textMedia {
    position: absolute;
    bottom: -70px;
    backdrop-filter: blur(10px);
    padding: 10px;
    color: white;
    transition: 1s;
}

.blockMedia2 .textMedia.active {
    bottom: 0px;
}

.blockMedia3 {
    position: relative;
    width: 296px;
    height: 348px;
    overflow-y: hidden;
    background: 100% 100% / 100% 100% no-repeat url(../images/media/3\ посилання.png);
}

.blockMedia3 .textMedia {
    position: absolute;
    bottom: -155px;
    backdrop-filter: blur(10px);
    padding: 10px;
    color: white;
    transition: 1s;
}

.blockMedia3 .textMedia.active {
    bottom: 0px;
}

.blockMedia4 {
    position: relative;
    width: 296px;
    height: 348px;
    overflow-y: hidden;
    background: 100% 100% / 100% 100% no-repeat url(../images/media/image\ \(2\).png);
}

.blockMedia4 .textMedia {
    position: absolute;
    bottom: -50px;
    backdrop-filter: blur(10px);
    padding: 10px;
    color: white;
    transition: 1s;
}

.blockMedia4 .textMedia.active {
    bottom: 0px;
}

.blockMedia5 {
    position: relative;
    width: 296px;
    height: 348px;
    overflow-y: hidden;
    background: 100% 100% / 100% 100% no-repeat url(../images/media/5\ посилання.png);
}

.blockMedia5 .textMedia {
    position: absolute;
    bottom: -70px;
    backdrop-filter: blur(10px);
    padding: 10px;
    color: white;
    transition: 1s;
}

.blockMedia5 .textMedia.active {
    bottom: 0px;
}

.blockMedia6 {
    position: relative;
    width: 605px;
    height: 348px;
    overflow-y: hidden;
    background: 100% 100% / 100% 100% no-repeat url(../images/media/6\ посилання.png);
}

.blockMedia6 .textMedia {
    position: absolute;
    bottom: -20px;
    backdrop-filter: blur(10px);
    padding: 10px;
    color: white;
    transition: 1s;
}

.blockMedia6 .textMedia.active {
    bottom: 0px;
}

/* =============================================================FAQ*/

.container_faq {
    background: #F4F4EF;
    padding: 100px 0px;
}


.linkNavBarFAQ {
    font-size: 17px;
    font-weight: 600;
    font-family: 'Montserrat';
    line-height: 20px;
    color: rgba(34, 43, 62, 1);
    transition: 1s;
}

.linkNavBarFAQ:hover {
    color: #CA9B53;
    cursor: pointer;
}

.linkNavBarFAQ.active {
    color: #CA9B53;
}

.contentFAQ {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-in 0.2s, visibility 0s linear 0.2s;
}

.contentFAQ.visible {
    max-height: 500px; /* Задать достаточно большое значение */
    opacity: 1;
    visibility: visible;
}


.blockContentFAQ {
    border-left: 1.5px solid #CA9B53;
    padding-left: 20px;
    margin-bottom: 35px;
}

.blockContentFAQ p:nth-child(1) {
    color: rgba(34, 43, 62, 1);
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat';
    line-height: 24px;
    margin-bottom: 8px;
}

.blockContentFAQ p:nth-child(2) {
    color: rgba(91, 102, 122, 1);
    font-size: 17px;
    font-weight: 500;
    font-family: 'Montserrat';
    line-height: 20px;
}

.blockContentFAQ.visible{
    display: block;
}


/* =============================================ContainerForm */

.successSend {
    display: none;
    padding: 70px 0px;
}

.successSendModal {
    display: none;
}



.container_form {
    padding: 120px 0px;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3447 100%);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.container_form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/parallax-02-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px) brightness(0.3);
    opacity: 0.6;
    z-index: 0;
}

.container_form .container {
    position: relative;
    z-index: 1;
}

.container_form h2 {
    color: rgba(255, 255, 255, 1);
    font-size: 56px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    line-height: 60px;
    margin-bottom: 30px;
}

.successSend p:nth-child(3) {
    display: block;
    font-size: 17px;
    font-weight: 500;
    font-family: 'Montserrat';
    line-height: 20px;
    color: rgba(91, 102, 122, 1);
}

.successSend p:nth-child(4) {
    display: block;
    font-size: 17px;
    font-weight: 500;
    font-family: 'Montserrat';
    line-height: 20px;
    color: rgba(91, 102, 122, 1);
}

.container_form p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin-bottom: 0;
}

.contentForm {
    padding: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contentForm h1 {
    color: #222B3E;
    font-size: 32px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
    text-align: center;
}

.contentForm form {
    display: flex;
    flex-direction: column;
    color: #222B3E;
    font-size: 14px;
    font-weight: 500;
}

.contentForm form label {
    color: #222B3E;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.contentForm form input {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: white;
    color: #222B3E;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.contentForm form input:focus {
    outline: none;
    border-color: #EFC079;
}

.contentForm form textarea {
    padding: 8px 16px;
    border: 0px;
    border-radius: 5px;
    background: white;
    color: #AEADBA;
    font-size: 14px;
    font-weight: 500;
}

.contentForm p:nth-child(3) {
    display: block;
}

.btnForm {
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: var(--font-sm);
    text-transform: uppercase;
    border-radius: 7px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    background: #7D021F;
    width: 100%;
}

.btnForm::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(193, 38, 38, 0.28);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btnForm:hover::before {
    width: 300px;
    height: 300px;
}

.btnForm:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--secondary-color);
}

/* =================================================================loader============================= */

.blockLoadingSendForm {
    padding: 100px 0px;
    display: none;
}

.blockLoadingSendForm.visible {
    display: block;
}

.blockLoadingSendForm h3{
    font-size: 20px;
}

.form-loader {
    display: block; /* Лоадер скрыт по умолчанию */
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #007bff; /* Цвет вращающейся части */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* =================================================================loaderModal============================= */

.blockLoadingSendFormModal {
    padding: 50px 0px;
    display: none;
}

.blockLoadingSendFormModal.visible {
    display: block;
}

.blockLoadingSendFormModal h3{
    font-size: 20px;
}

.form-loader {
    display: block; /* Лоадер скрыт по умолчанию */
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #007bff; /* Цвет вращающейся части */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* =========================================================container_footer */

.container_footer {
    padding: 100px 0px;
}

.container_footerMobail {
    display: none;
}

.headerFooter {
    border-bottom: 2px solid #E4E2E2;
}

.container_footer h2 {
    color: rgba(34, 43, 62, 1);
    font-size: 40px;
    font-weight: 700;
    line-height: 44px;
    font-family: 'Montserrat';
}

.blockContact {
    display: flex;
    flex-direction: column;
    align-items: start;
}


.blockContact p {
    display: flex;
    font-size: 17px;
    font-weight: 500;
    font-family: 'Montserrat';
    color: rgba(91, 102, 122, 1);
    /* line-height: 20px; */
    white-space: normal; /* Разрешает перенос строк */
    word-break: break-word; /* Переносит слова, если они не помещаются */
    line-height: 1.5; /* Делаем текст более читаемым */
}

.btnFooter {
    background: #CA9B53;
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.blockContact a{
    display: flex;
}

.blockContact p:nth-child(1) {
    color: rgba(34, 43, 62, 1);
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat';
    line-height: 24px;
}

.blockContact p:nth-child(7) {
    margin-top: 20px;
    color: rgba(34, 43, 62, 1);
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat';
}

.blockContact p:nth-child(6)::before {
    content: url(../images/contact/sotialMedia.png);
    margin-right: 10px;
}

.blockContact a:nth-child(2)::before {
    content: url(../images/footer/buildings.png);
    margin-right: 10px;
}

.blockContact a:nth-child(3)::before {
    content: url(../images/footer/envelope.png);
    margin-right: 10px;
}

.blockContact a:nth-child(4)::before {
    content: url(../images/footer/phone.png);
    margin-right: 10px;
}

/* .blockContact a:nth-child(5)::before {
    content: url(../images/footer/phone.png);
    margin-right: 10px;
} */

.blockContact a:nth-child(5)::before {
    content: url(../images/footer/telegram.png);
    margin-right: 10px;
}

.blockContact a:nth-child(7)::before {
    content: url(../images/contact/instagram.png);
    margin-right: 10px;
}

.blockContact a:nth-child(8)::before {
    content: url(../images/contact/facebook.png);
    margin-right: 10px;
}

.blockContact a:nth-child(9)::before {
    content: url(../images/contact/tiktok.png);
    margin-right: 10px;
}

.container_footer a {
    text-decoration: none;
    color: rgba(91, 102, 122, 1);
    font-size: 17px;
    font-weight: 500;
    font-family: 'Montserrat';
    line-height: 20px;

    transition: 0.5s;
}

.container_footer a:hover {
    color: rgba(202, 155, 83, 1);
}

.firstContent {
    display: none;
}

.firstContent.visible {
    display: block;
}

.nextContent {
    display: none;
}

.nextContent.visible {
    display: block;
}

.containerModalForm {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.464);
}

.containerModalForm.visible {
    display: block;
    position: fixed;
    z-index: 2000;
    top: 0%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.464);
}

.contentModalForm {
    width: 25%;
    margin: 5% auto;
}

.btnClose {
    background: none;
    border: none;
}

.btnModal {
  width: 100%;  
  font-size: 17px;
  line-height: 20px;
  font-weight: 600;
  color: #222B3E;
  font-family: 'Montserrat';
  padding: 10px 44px;
  border-radius: 4px;
  border: none;
  background: #EFC079;
  transition: 1s;
}

.btnModal:hover {
    background: #CA9B53;
}

.mapProctor {
    width: 100%;
}

@media (min-width: 1200px) {
    .mb-xl-0 {
        margin-bottom: 0 !important;
    }
}
@media (min-width: 1200px) {
    .col-xl-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }
}
@media (min-width: 1200px) {
    .col-xl-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

.btnForm::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(193, 38, 38, 0.28);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btnForm:hover::before {
    width: 300px;
    height: 300px;
}

/* Administrative Law Section */
.administrative-law-section {
    position: relative;
    min-height: 600px;
    padding: 150px 0;
    margin-top: 150px;
    overflow: hidden;
}

.administrative-law-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3447 100%);
    z-index: 0;
}

.administrative-law-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/parallax-administrative-law-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px) brightness(0.4);
    opacity: 0.7;
}

.administrative-law-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 0 auto;
}

.administrative-law-text {
    color: #ffffff;
}

.administrative-law-title {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
}

.title-accent-line {
    width: 4px;
    height: 60px;
    background: #FF6B35;
    flex-shrink: 0;
}

.administrative-law-paragraph {
    font-size: 18px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.administrative-law-paragraph:last-of-type {
    margin-bottom: 0;
}

.administrative-law-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.administrative-law-form {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 32px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #222B3E;
    text-align: center;
    margin-bottom: 30px;
}

.consultation-form {
    display: flex;
    flex-direction: column;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #222B3E;
    margin-bottom: 8px;
}

.form-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    color: #222B3E;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: #EFC079;
}

.form-field input::placeholder {
    color: #AEADBA;
}

.consultation-submit-button {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 5px;
    background: #7D021F;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.consultation-submit-button:hover {
    background: #bd1212;
}

@media (max-width: 1024px) {
    .administrative-law-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .administrative-law-form-wrapper {
        justify-content: center;
    }

    .administrative-law-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .administrative-law-section {
        padding: 60px 0;
    }

    .administrative-law-title {
        font-size: 24px;
    }

    .title-accent-line {
        height: 50px;
    }

    .administrative-law-paragraph {
        font-size: 16px;
    }

    .administrative-law-form {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 28px;
    }
}

/* Stories Section */
.stories-section {
    width: 100%;
    display: flex;
    overflow: hidden;
}

.stories-container {
    display: flex;
    width: 100%;
    min-height: 60vh;
}

.stories-image-side {
    width: 45%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.stories-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7) contrast(1.1);
}

.stories-content-side {
    width: 55%;
    background: #ffffff;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.stories-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 40px;
    display: block;
}

.stories-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: rgb(0 0 0);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.stories-text {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.8;
    color: rgb(0 0 0 / 70%);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 50px;
    max-width: 800px;
}

.stories-link {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.stories-link:hover {
    opacity: 0.8;
}

.stories-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgb(0 0 0 / 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0 0 0 / 70%);
    transition: all 0.3s ease;
}

.stories-link:hover .stories-link-icon {
    border-color: rgb(0 0 0 / 90%);
    color: rgb(0 0 0 / 90%);
    transform: translateY(-2px);
}

.stories-link-icon svg {
    width: 20px;
    height: 20px;
}

.stories-link-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgb(0 0 0 / 70%);
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
}

.stories-link:hover .stories-link-text {
    color: rgb(0 0 0 / 90%);
}

@media (max-width: 1024px) {
    .stories-container {
        flex-direction: column;
    }

    .stories-image-side {
        width: 100%;
        height: 50vh;
    }

    .stories-content-side {
        width: 100%;
        padding: 60px 40px;
    }

    .stories-heading {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .stories-section {
        min-height: auto;
    }

    .stories-image-side {
        height: 40vh;
    }

    .stories-content-side {
        padding: 30px 0 0;
    }

    .stories-label {
        font-size: 11px;
        margin-bottom: 30px;
    }

    .stories-heading {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .stories-text {
        font-size: 14px;
        margin-bottom: 0px;
    }

    .stories-link-icon {
        width: 36px;
        height: 36px;
    }

    .stories-link-icon svg {
        width: 18px;
        height: 18px;
    }

    .stories-link-text {
        font-size: 12px;
    }
}

/* Branding Section */
.branding-section {
    background: #1a1a1a;
    padding: 0;
    position: relative;
    color: #ffffff;
}

.branding-header {
    padding: 40px 60px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.branding-slogan {
    font-size: 42px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.branding-nav {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.branding-nav-link {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.branding-nav-link:hover {
    opacity: 0.7;
}

.branding-content-wrapper {
    display: flex;
}

.branding-sidebar {
    width: 280px;
    padding: 80px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.branding-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding-logo-outer {
    width: 120px;
    height: 120px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: absolute;
}

.branding-logo-inner {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
}

.branding-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-align: center;
}

.branding-separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 40px;
}

.branding-sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.branding-sidebar-link {
    font-size: 13px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    text-align: center;
    transition: color 0.3s ease;
}

.branding-sidebar-link:hover {
    color: #ffffff;
}

.branding-sidebar-button {
    width: 100%;
    padding: 14px 24px;
    background: #ffffff;
    color: #1a1a1a;
    border: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.branding-sidebar-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.branding-main-content {
    flex: 1;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
}

.branding-text-content {
    margin-bottom: 40px;
}

.branding-main-heading {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.branding-main-text {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 900px;
}


.branding-list {
    padding-left: 40px;
}

.branding-list li {
    margin-bottom: 8px;
}

.branding-image-wrapper {
    width: 100%;
    margin-top: auto;
    overflow: hidden;
}

.branding-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.05);
}

@media (max-width: 1200px) {
    .branding-header {
        padding: 30px 40px 20px;
    }

    .branding-slogan {
        font-size: 32px;
    }

    .branding-sidebar {
        width: 240px;
        padding: 40px 30px;
    }

    .branding-main-content {
        padding: 40px 50px;
    }

    .branding-main-heading {
        font-size: 36px;
    }
}

@media (max-width: 968px) {
    .branding-content-wrapper {
        flex-direction: column;
    }

    .branding-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px 30px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .branding-logo {
        margin-bottom: 0;
    }

    .branding-sidebar-title {
        margin-bottom: 0;
    }

    .branding-separator {
        display: none;
    }

    .branding-sidebar-links {
        flex-direction: row;
        margin-bottom: 0;
        width: auto;
    }

    .branding-sidebar-button {
        width: auto;
        min-width: 200px;
        margin-top: 0;
    }

    .branding-main-content {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .branding-header {
        padding: 30px 20px 20px;
    }

    .branding-slogan {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .branding-nav {
        gap: 20px;
    }

    .branding-nav-link {
        font-size: 12px;
    }

    .branding-sidebar {
        padding: 30px 20px;
    }

    .branding-logo {
        width: 100px;
        height: 100px;
    }

    .branding-logo-outer {
        width: 100px;
        height: 100px;
    }

    .branding-logo-inner {
        width: 35px;
        height: 35px;
    }

    .branding-main-content {
        padding: 30px 20px;
    }

    .branding-main-heading {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .branding-main-text {
        font-size: 14px;
    }
}

/* Branding Section - Mirrored Version */
.branding-section-mirrored .branding-content-wrapper-mirrored {
    flex-direction: row;
}

.branding-section-mirrored .branding-sidebar-mirrored {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.branding-section-mirrored .branding-main-content-mirrored {
    order: 0;
}

@media (max-width: 968px) {
    .branding-section-mirrored .branding-content-wrapper-mirrored {
        flex-direction: column;
    }

    .branding-section-mirrored .branding-sidebar-mirrored {
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .branding-section-mirrored .branding-main-content-mirrored {
        order: 0;
    }
}

/* Services Section */
.services-section {
    background: #f5f5f5;
    padding: 80px 0;
    min-height: auto;
}

.services-container {
      /* max-width: 1200px; */
      margin: 0 auto;
      padding: 0 40px;
      /* background: #ffffff; */
      /* padding: 80px 60px; */
      /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);*/
}

.services-title {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    margin-bottom: 60px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.services-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.service-item:last-child {
    border-bottom: none;
}

.service-number {
    font-size: 18px;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    color: #d0d0d0;
    min-width: 60px;
    margin-right: 40px;
    line-height: 1.4;
    letter-spacing: 0;
}

.service-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
}

.service-name {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

.service-description {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    color: #666666;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1024px) {
    .services-container {
        padding: 60px 40px;
    }

    .services-title {
        font-size: 48px;
        margin-bottom: 50px;
    }

    .service-content {
        gap: 40px;
    }

    .service-name {
        font-size: 22px;
    }

    .service-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 30px 0;
    }

    .services-container {
        padding: 40px 30px;
        margin: 0 20px;
    }

    .services-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .service-item {
        padding: 30px 0;
    }

    .service-number {
        min-width: 50px;
        margin-right: 30px;
        font-size: 16px;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-name {
        font-size: 20px;
    }

    .service-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .services-container {
        padding: 0px 20px;
        margin: 0;
    }

    .services-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .service-item {
        padding: 25px 0;
    }

    .service-number {
        min-width: 40px;
        margin-right: 20px;
        font-size: 14px;
    }

    .service-name {
        font-size: 18px;
    }

    .service-description {
        font-size: 13px;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    min-height: auto;
}

.about-container {
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
}

.about-left {
    position: sticky;
    top: 120px;
}

.about-heading {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1200px) {
    .about-container {
        gap: 60px;
        padding: 0 40px;
    }

    .about-heading {
        font-size: 52px;
    }
}

@media (max-width: 968px) {
    .about-section {
        padding: 80px 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 40px;
    }

    .about-left {
        position: static;
    }

    .about-heading {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .about-text {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 30px 0;
    }

    .about-container {
        padding: 0 30px;
        gap: 40px;
    }

    .about-heading {
        font-size: 36px;
    }

    .about-text {
        font-size: 14px;
        gap: 25px;
    }

    .about-right {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 0 20px;
    }

    .about-heading {
        font-size: 28px;
    }

    .about-text {
        font-size: 13px;
    }
}

@import url(./index.css);

/* ====================================All=========================== */

.contentModalForm {
    width: 90%;
}

.imgTeamMobail {
    display: none;
}

.container_form {
    padding: 100px 0px;

    background: url(../images/background/5U0A1202\ \(1\)\ 1.png) no-repeat;
    background-size: cover;
}
@import url(./index.css);

/* ====================================All=========================== */

.contentModalForm {
    width: 90%;
}

.imgTeamMobail {
    display: none;
}

.container_form {
    padding: 100px 0px;

    background: url(../images/background/5U0A1202\ \(1\)\ 1.png) no-repeat;
    background-size: cover;
}

/* ==================================== Pin Rotate Sections =========================== */

.pin-rotate-section {
    width: 100vw;
    min-height: 80vh;
    background: #fcfcfc;
}

.pin-intro,
.pin-outro {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 8vw !important;
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pin-intro h2,
.pin-outro h2 {
    font-size: 4vw;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.pin-intro h2 span,
.pin-outro h2 span {
    font-weight: 100;
    display: flex;
    align-items: center;
    margin-left: 0.8vw;
    color: bisque;
}

.pin-outro h2 span {
    margin-right: 0.8vw;
}

.pin-intro p,
.pin-outro p {
    max-width: 800px;
    margin-top: 1rem;
    line-height: 1.4;
    font-size: 1.2rem;
    opacity: 0.8;
}

.pin-intro svg,
.pin-outro svg {
    height: 5vw;
    width: 5vw;
}

.pin-card {
    position: relative;
    display: flex;
    padding: 10vh 8vw !important;
    justify-content: space-between;
    border-bottom: 1px solid #0000003d;
    perspective: 1000px;
    background: #fcfcfc;
    color: #000;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1;
    overflow: hidden;
    isolation: isolate;
}

.pin-card .overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.pin-card span {
    font-size: 8vw;
    font-weight: 600;
    color: #000;
    position: absolute;
    left: 8vw;
    top: 10vh;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
}

.pin-card-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    z-index: 3;
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: auto;
}

.pin-card h2 {
    font-size: 4vw;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.08rem;
    color: #000;
    opacity: 1 !important;
    visibility: visible !important;
}

.pin-card img {
    max-width: 100%;
}

.pin-card p {
    max-width: 70%;
    margin-top: 1.5rem;
    line-height: 1.3;
    color: #000;
}

/* Mobile Responsiveness for Pin Rotate Sections */
@media (max-width: 768px) {
    .pin-intro h2,
    .pin-outro h2 {
        font-size: 8vw;
    }

    .pin-intro svg,
    .pin-outro svg {
        height: 8vw;
        width: 8vw;
    }

    .pin-intro p,
    .pin-outro p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .pin-card {
        flex-direction: column;
        padding: 5vh 6vw;
        gap: 2rem;
    }

    .pin-card span {
        font-size: 12vw;
    }

    .pin-card div {
        width: 100%;
    }

    .pin-card h2 {
        font-size: 8vw;
        margin-bottom: 1rem;
    }

    .pin-card p {
        max-width: 100%;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .pin-intro,
    .pin-outro {
        padding: 0 6vw;
    }

    .pin-intro h2,
    .pin-outro h2 {
        font-size: 10vw;
    }

    .pin-intro svg,
    .pin-outro svg {
        height: 10vw;
        width: 10vw;
    }

    .pin-card span {
        font-size: 15vw;
    }

    .pin-card h2 {
        font-size: 10vw;
    }
}

.darkness-section {
    background: #0e1113;
    padding: 40px;
    font-family: 'Inter', sans-serif;
    color: #eaeaea;
  }
  
  .grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .image-large,
  .image-small {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
  }
  
  .image-large img,
  .image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .image-large {
    height: 520px;
  }
  
  .right-column {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 24px;
  }
  
  .text-box {
    background: #15191c;
    border-radius: 12px;
    padding: 24px;
  }
  
  .text-box h2 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 500;
  }
  
  .text-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #bfc5c9;
  }
  
  .image-small {
    height: 300px;
  }

/* Our Team Section */
.our-team-section {
    background: #000000;
    padding: 80px 0;
    position: relative;
}

.our-team-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding: 0 20px;
}
.our-team-main:last-child {
    margin-bottom: 0;
}
.our-team-title {
    font-size: var(--font-6xl);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.our-team-find-job-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 12px 24px;
    font-size: var(--font-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.our-team-find-job-button:hover {
    background: #ffffff;
    color: #000000;
}

.our-team-find-job-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.our-team-find-job-button:hover svg {
    transform: translate(2px, -2px);
}

.our-team-main {
    display: grid;
    grid-template-columns: minmax(260px, 550px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}

.our-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.team-member-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #1a1a1a;
}

.team-member-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-social-icons {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.team-member-social-icons .icon{
    font-size: 14px;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.team-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-social-icon svg {
    width: 16px;
    height: 16px;
}

.team-member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.team-member-name {
    font-size: var(--font-lg);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member-role {
    font-size: var(--font-base);
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-member-details {
    margin-top: 0;
    color: #f5f5f5;
    font-size: var(--font-base);
    line-height: 1.8;
}

.our-team-main .team-member-details {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0 10px;
}

.team-member-details-name {
    font-size: var(--font-4xl);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #ffffff;
}

.team-member-details-role {
    font-size: var(--font-base);
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c5c5c5;
}

.team-member-details-list {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.team-member-details-list li {
    margin-bottom: 5px;
}

.team-member-details-quote {
    margin-top: 16px;
    font-style: italic;
    font-weight: 500;
}

.text-people {
    margin: 20px 0;
    color: #e5e5e5;
    line-height: 1.8;
}

.text-people p {
    margin-bottom: 15px;
    font-size: var(--font-base);
}

.text-people p:last-child {
    margin-bottom: 0;
}

.our-team-section .container {
    padding: 0 20px;
    margin: 0 auto;
}
@media (max-width: 1440px) {
    .index-social-network-name {
        font-size: var(--font-4xl);
    }
}
@media (max-width: 1200px) {
    .our-team-main {
        grid-template-columns: minmax(240px, 450px) minmax(0, 1fr);
        gap: 45px;
    }
    .social-networks-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .index-social-network-name{
        font-size: var(--font-3xl);
    }
    .social-network-card{
        min-height: 300px;
    }
    .footer-logo{
        height: 80px;
    }
    .our-team-section {
        padding: 80px 0;
    }

    .our-team-section .container {
        padding: 0 30px;
    }

    .our-team-title {
        font-size: var(--font-5xl);
    }

    .our-team-main {
        grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
        gap: 35px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
    }
    .team-member-card{
        aspect-ratio: 3 / 4;
        max-width: 500px;
    }

    .our-team-main .team-member-card {
        width: 100%;
    }

    .our-team-main .team-member-details {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }

    .team-member-details-name {
        font-size: var(--font-3xl);
    }

    .team-member-details-role {
        font-size: var(--font-sm);
    }

    .text-people p {
        font-size: var(--font-sm);
    }

    .our-team-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .social-networks-grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        width: 100%;
    }
    .index-social-network-name{
        font-size: var(--font-2xl);
    }
    .social-network-card{
        padding: 30px;
        min-height: 200px;
        width: 100%;
    }
    .social-networks-section .container{
        padding: 0 15px;
    }
    .navbar{
        top: 0;
    }
    .our-team-section {
        padding: 60px 0;
    }

    .our-team-section .container {
        padding: 0 20px;
    }

    .our-team-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-bottom: 40px;
        padding: 0;
    }

    .our-team-title {
        font-size: var(--font-4xl);
    }

    .our-team-find-job-button {
        width: 100%;
        justify-content: center;
    }

    .our-team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .our-team-main {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 50px;
    }

    .team-member-card {
        max-width: 100%;
        margin: 0 auto;
        aspect-ratio: 3 / 4;
        max-width: 420px;
    }

    .our-team-main .team-member-details {
        padding: 0;
        max-width: 100%;
    }

    .team-member-details-name {
        font-size: var(--font-2xl);
        margin-bottom: 12px;
    }

    .team-member-details-role {
        font-size: var(--font-sm);
        margin-bottom: 18px;
    }

    .team-member-details-list {
        margin-bottom: 18px;
        font-size: var(--font-sm);
    }

    .text-people {
        margin: 20px 0;
    }

    .text-people p {
        font-size: var(--font-sm);
        margin-bottom: 14px;
        line-height: 1.75;
    }

    .quote-card {
        padding: 20px;
        margin-top: 24px;
    }

    .team-member-details-quote {
        font-size: var(--font-sm);
        line-height: 1.7;
    }

    .team-member-overlay {
        padding: 18px;
    }

    .team-member-name {
        font-size: var(--font-base);
    }

    .team-member-role {
        font-size: var(--font-sm);
    }
}

@media (max-width: 480px) {
    .social-network-card{
        padding: 10px;
    }
    .footer-brand{
        font-size: 14px;
    }
    .our-team-section {
        padding: 40px 0;
    }

    .our-team-section .container {
        padding: 0 15px;
    }

    .our-team-title {
        font-size: var(--font-3xl);
    }

    .our-team-header {
        margin-bottom: 30px;
    }

    .our-team-main {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 40px;
    }

    .team-member-card {
        max-width: 100%;
        aspect-ratio: 3 / 4;
    }

    .team-member-overlay {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .team-member-name {
        font-size: var(--font-sm);
    }

    .team-member-role {
        font-size: var(--font-xs);
    }

    .team-member-details {
        font-size: var(--font-sm);
    }

    .team-member-details-name {
        font-size: var(--font-xl);
        margin-bottom: 8px;
    }

    .team-member-details-role {
        font-size: var(--font-xs);
        margin-bottom: 12px;
    }

    .team-member-details-list {
        margin-bottom: 12px;
        padding-left: 18px;
        font-size: var(--font-sm);
    }

    .team-member-details-list li {
        margin-bottom: 4px;
    }

    .text-people {
        margin: 15px 0;
    }

    .text-people p {
        font-size: var(--font-xs);
        margin-bottom: 12px;
        line-height: 1.7;
    }

    .quote-card {
        padding: 16px;
        margin-top: 16px;
    }

    .quote-card-icon {
        margin-bottom: 8px;
    }

    .quote-card-icon img {
        width: 12px;
        height: 12px;
    }

    .team-member-details-quote {
        font-size: var(--font-xs);
        line-height: 1.6;
    }

    .team-member-social-icons {
        top: 10px;
        right: 10px;
    }

    .team-member-social-icons .icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

.white-logo-icon{
    color: #ffffff;
}

.white-logo-icon img{
    filter: brightness(1) invert(1);
}

.content_reviews p.text-end{
    margin-top: 20px;
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 768px) {
    .administrative-law-section {
        padding: 80px 0;
    }
        .administrative-law-section {
        margin-top: 103px;
    }
    .branding-list {
    padding-left: 17px;
}
.branding-main-text{
      margin-bottom: 30px;
}
.branding-text-content{
    margin-bottom: 0;
}
    .section-no-padding {
    padding: 104px 0 0;
}
}

@media (max-width: 400px) {
        .section-no-padding {
    padding: 78px 0 0;
}
    .administrative-law-form-wrapper {
        justify-content: center;
    }
    .administrative-law-section{
    margin-top: 83px;
}
    .administrative-law-form {
        padding: 20px 15px;
        max-width: 100%;
    }

    .form-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .consultation-form {
        display: flex !important;
        flex-direction: column;
    }

    .consultation-submit-button {
        display: block !important;
        visibility: visible !important;
        width: 100%;
        padding: 14px 24px;
    }

    .form-field {
        margin-bottom: 15px;
    }

    .form-field input {
        font-size: 14px;
        padding: 12px 16px;
    }
}

   .about-list {
    padding-left: 22px;
    }