
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.header {
    background: linear-gradient(135deg, #002138 0%, #003255 50%, #004472 100%);
    box-shadow: 0 2px 20px rgba(0, 33, 56, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}


.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: polygraphPulse 3s ease-in-out infinite;
}

.logo-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(96, 165, 250, 0.4));
    animation-play-state: paused;
}

.logo-icon:hover .scan-line {
    animation-play-state: paused;
}


@keyframes polygraphPulse {
    0%, 100% { 
        opacity: 0.9; 
        transform: scale(1);
    }
    25% { 
        opacity: 1; 
        transform: scale(1.04);
    }
    50% { 
        opacity: 0.95; 
        transform: scale(1.02);
    }
    75% { 
        opacity: 1; 
        transform: scale(1.06);
    }
}


@keyframes scanLine {
    0% { 
        transform: translateX(-10px);
        opacity: 0;
    }
    10% { 
        opacity: 0.9;
    }
    90% { 
        opacity: 0.9;
    }
    100% { 
        transform: translateX(110px);
        opacity: 0;
    }
}

.scan-line {
    animation: scanLine 2.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.header__logo .logo-text {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.header__logo .logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

.header__logo:hover .logo-text::after {
    width: 100%;
}


.header__nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



.nav-item.phone {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.15);
}

.nav-item.phone {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.phone-number:hover {
     color: #fbbf24;
    
}


.header.scrolled {
    padding: 8px 0;
    background: linear-gradient(135deg, #001a2e 0%, #002138 50%, #003255 100%);
    box-shadow: 0 4px 25px rgba(0, 33, 56, 0.5);
}


.hero {
    background: linear-gradient(45deg, #f8fafc, #e2e8f0);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}


/*about us*/
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(0,33,56,0.05)"/><circle cx="90" cy="20" r="1.5" fill="rgba(0,33,56,0.05)"/><circle cx="70" cy="80" r="1" fill="rgba(0,33,56,0.05)"/><circle cx="20" cy="90" r="1.5" fill="rgba(0,33,56,0.05)"/></svg>');
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    font-size: 20px;
    line-height: 1.6;
    color: #1e293b;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border-left: 5px solid #60a5fa;
}

.about-intro strong {
    color: #002138;
    font-size: 22px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 25px;
    text-align: justify;
    text-justify: inter-word;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(0, 33, 56, 0.1);
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 33, 56, 0.15);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 10px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.feature-content h4 {
    color: #002138;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.about-conclusion {
    font-size: 17px;
    line-height: 1.6;
    color: #1e293b;
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    font-style: italic;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(0, 33, 56, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 33, 56, 0.15);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #002138;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.stat-item.counting .stat-number {
    animation: pulse 0.1s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.main-content {
    padding: 60px 0;
}

.main-content h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #002138;
    font-size: 32px;
}

.main-content > .container > p {
    text-align: center;
    margin-bottom: 50px;
    font-size: 18px;
    color: #64748b;
}

/*Animation for content*/
.animate-element {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateX(0);
}


.animate-element:nth-child(1) { transition-delay: 0.1s; }
.animate-element:nth-child(2) { transition-delay: 0.2s; }
.animate-element:nth-child(3) { transition-delay: 0.3s; }
.animate-element:nth-child(4) { transition-delay: 0.4s; }
.animate-element:nth-child(5) { transition-delay: 0.5s; }
.animate-element:nth-child(6) { transition-delay: 0.6s; }
.animate-element:nth-child(7) { transition-delay: 0.7s; }
.animate-element:nth-child(8) { transition-delay: 0.8s; }


.services-title {
    text-align: center;
    margin-bottom: 20px;
    color: #0b4268;
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 2px;
}

.services-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 18px;
    color: #64748b;
    font-style: italic;
    opacity: 0.9;
}


.content-block {
    background: white;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(0, 33, 56, 0.1);
    border-left: 5px solid #60a5fa; 
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.6s ease;
}

.content-block:hover::before {
    left: 100%;
}

.content-block:hover {
    transform: translateY(-8px) translateX(5px);
    box-shadow: 0 12px 40px rgba(0, 33, 56, 0.2);
    border-left-color: #3b82f6;
}

.content-block h3 {
    color: #0b4268;
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    padding-left: 30px;
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

.content-block h3::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0;
    color: #60a5fa;
    font-size: 18px;
    transform: rotate(45deg);
}

.content-block p {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
    padding-left: 30px;
}




.main-nav {
    background: linear-gradient(135deg, #003255 0%, #004472 50%, #005891 100%);
    box-shadow: 0 2px 10px rgba(0, 33, 56, 0.2);
    position: relative;
    z-index: 999;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    width: 100%;
    justify-content: space-between;
}

.nav-menu-item {
    position: relative;
}

.nav-menu-link {
    display: block;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-menu-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
    transform: translateY(-2px);
}

.nav-menu-link:hover::before {
    width: 80%;
}

.nav-menu-item:first-child .nav-menu-link {
    border-radius: 0 0 0 15px;
}

.nav-menu-item:last-child .nav-menu-link {
    border-radius: 0 0 15px 0;
}


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}



/*submit form after cont*/

.contact-form-wrapper {
    margin-top: 50px;
    margin-bottom: 0;
}

.contact-form-container {
    background: linear-gradient(135deg, #002138 0%, #003255 50%, #004472 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.form-icon {
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: polygraphFormPulse 3s ease-in-out infinite;
}

@keyframes polygraphFormPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

.form-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-header p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
    color: #e2e8f0;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e2e8f0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group textarea {
    resize: vertical; 
    min-height: 100px; 
    max-height: 300px; 
    font-family: inherit; 
    line-height: 1.5; 
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-icon-input {
    position: absolute;
    right: 15px;
    top: 67%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.7;
    pointer-events: none;
}

.form-group:has(textarea) .form-icon-input {
    top: 45px;
    transform: none;
}


.form-group select {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.form-group select:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-group select option {
    background: #002138;
    color: white;
    padding: 10px;
}

.form-group select option:hover {
    background: #003255;
}


.form-group:has(select) .form-icon-input {
    right: 35px;
}


.form-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(96, 165, 250, 0.4);
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.form-submit-btn:disabled:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.form-submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
    color: #cbd5e1;
}

.form-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #60a5fa;
    cursor: pointer;
}

.form-privacy label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
}


/*contacts*/

.main-sections {
    transition: all 0.3s ease;
}

.main-sections.hidden {
    display: none;
}

.contacts-section {
    padding: 80px 0;
    background: #f8fafc;
    display: none;
    transition: all 0.3s ease;
}

.contacts-section.active {
    display: block;
    animation: fadeInUp 0.5s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.yandex-map {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: grid;
    gap: 25px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(0, 33, 56, 0.1);
    border-left: 5px solid #60a5fa;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 33, 56, 0.15);
    border-left-color: #3b82f6;
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 15px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    filter: grayscale(0);
    transform: scale(1.1);
}

.contact-card h3 {
    color: #002138;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-card p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.contact-card a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.map-container {
    position: relative;
}

.map-wrapper {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(0, 33, 56, 0.1);
}

.map-wrapper h3 {
    color: #002138;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="30" r="8" fill="rgba(96,165,250,0.6)"/><path d="M50 38v30" stroke="rgba(96,165,250,0.6)" stroke-width="3"/><circle cx="20" cy="60" r="3" fill="rgba(96,165,250,0.3)"/><circle cx="80" cy="70" r="2" fill="rgba(96,165,250,0.3)"/></svg>');
    pointer-events: none;
}

.map-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.map-info p {
    margin: 10px 0;
    color: #002138;
    font-weight: 500;
}

.map-btn {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.map-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4);
}



.section-active {
    position: relative;
}

.section-active::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    animation: sectionHighlight 0.5s ease-in-out forwards;
}

@keyframes sectionHighlight {
    to { opacity: 1; }
}


.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 15px;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.service-price:hover::before {
    left: 100%;
}

.price-label {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
}

.price-amount {
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.price-currency {
    font-size: 16px;
    font-weight: 600;
}

.price-note {
    font-size: 11px;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
}


.service-price-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}


.service-price-vip {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    animation: premiumPulse 3s ease-in-out infinite;
}

@keyframes premiumPulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
    }
}


/*art and faq*/

.articles-section, .faq-section {
    padding: 80px 0;
    background: #f8fafc;
    display: none;
    transition: all 0.3s ease;
}

.articles-section.active, .faq-section.active {
    display: block;
    animation: fadeInUp 0.5s ease-in-out;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(0, 33, 56, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 33, 56, 0.2);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
}

.article-content-full {
    padding: 30px 25px; 
}

.article-content h3 {
    color: #002138;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-excerpt {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.article-date {
    font-weight: 500;
}

.article-read-time {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}


.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(0, 33, 56, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 8px 30px rgba(0, 33, 56, 0.15);
    border-color: #60a5fa;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
}

.faq-question h3 {
    color: #002138;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 20px;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    transform-origin: center;
}

.faq-item.active .faq-icon {
    background: white;
    color: #3b82f6;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 25px 30px 30px;
}

.faq-answer p {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}


/*popup modal*/
.article-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease-out;
}

.article-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    margin: 0 20px;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    
}

/*scroll kits*/

.modal-content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: var(--scroll-progress, 0%);
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 0 0 4px 4px;
    transition: opacity 0.3s ease, height 0.1s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.3);
}

.modal-content.scrolling::after {
    opacity: 1;
}

@keyframes scrollIndicatorShow {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.modal-content.scrolling::after {
    animation: scrollIndicatorShow 0.3s ease-out;
}





@keyframes modalSlideIn {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #002138 0%, #003255 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.modal-body {
    padding: 40px;
}

.modal-article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-date, .modal-read-time {
    font-size: 14px;
    color: #64748b;
}

.modal-read-time {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
}

.modal-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.modal-article-content h3 {
    color: #002138;
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.modal-article-content h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 12px 0;
}

.modal-article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.modal-article-content ul, .modal-article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.modal-article-content li {
    margin-bottom: 8px;
}

.modal-article-content blockquote {
    background: #f8fafc;
    border-left: 4px solid #60a5fa;
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}


/*reviews*/

.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: none;
    transition: all 0.3s ease;
}

.reviews-section.active {
    display: block;
    animation: fadeInUp 0.5s ease-in-out;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(0, 33, 56, 0.1);
    border-left: 5px solid #60a5fa;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.6s ease;
}

.review-card:hover::before {
    left: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 33, 56, 0.15);
    border-left-color: #3b82f6;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.review-info h4 {
    color: #002138;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.review-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 5px;
}

.review-rating .star {
    color: #fbbf24;
    font-size: 16px;
}

.review-date {
    color: #64748b;
    font-size: 12px;
}

.review-text {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.review-service {
    display: inline-block;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Форма отзыва */
.review-form-wrapper {
    margin-top: 50px;
}

.review-form-container {
    background: linear-gradient(135deg, #002138 0%, #003255 50%, #004472 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.review-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.review-form {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
    margin-top: 10px;
}

.rating-input input[type="radio"] {
    display: none;
}

.star-label {
    font-size: 30px;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.star-label:hover,
.star-label:hover ~ .star-label,
.rating-input input[type="radio"]:checked ~ .star-label {
    color: #fbbf24;
    transform: scale(1.1);
}


/*pagination*/
.reviews-container {
    margin-top: 50px;
    margin-bottom: 60px;
}

.reviews-page {
    display: none;
    animation: fadeInPage 0.5s ease-in-out;
}

.reviews-page.active {
    display: block;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pagination-wrapper {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 33, 56, 0.1);
    border: 1px solid rgba(0, 33, 56, 0.1);
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #f8fafc;
    color: #3b82f6;
    transform: scale(1.1);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.pagination-number:hover {
    background: #f8fafc;
    color: #3b82f6;
    transform: translateY(-2px);
}

.pagination-number.active {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.pagination-number.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
}

.pagination-info {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

/*footer*/

.footer {
    background: linear-gradient(315deg, #002138 0%, #003255 50%, #004472 100%);
    color: white;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="85" cy="25" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="85" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    color: #e2e8f0;
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}

.footer-legal a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


@media (min-width: 1400px) {
    .modal-content {
        max-width: 1200px;
    }
}


@media (min-width: 1024px) and (max-width: 1399px) {
    .modal-content {
        max-width: 1000px;
    }
}

@media (max-width: 1200px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .header__nav {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .nav-item {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .nav-item.phone {
        padding: 6px 12px;
    }
    
    .phone-number {
        font-size: 12px;
    }
    
    .header__logo .logo-text {
        font-size: 24px;
    }
    
    .logo-icon {
        width: 8vh;
        height: 8vh;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
        padding: 0 20px;
    }


    .main-nav .container {
        padding: 15px 20px;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #002138 0%, #003255 100%);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 33, 56, 0.3);
    }
    
    .nav-menu.active {
        max-height: 400px;
    }
    
    .nav-menu-link {
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 !important;
    }
    
    .nav-menu-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(10px);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .services-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .content-block {
        padding: 25px 20px;
    }
    
    .content-block h3 {
        font-size: 22px;
        padding-left: 25px;
        min-width: auto;
    }
    
    .content-block p {
        padding-left: 25px;
        font-size: 15px;
    }
    
    .animate-element {
        transition-duration: 0.6s;
    }

    /* submit form after cont*/

    .contact-form-container {
        padding: 30px 25px;
        border-radius: 15px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .form-header p {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 40px 12px 12px;
        font-size: 14px;
    }
    
    .form-submit-btn {
        padding: 14px 25px;
        font-size: 14px;
    }

    /*about us*/
    .about-section {
        padding: 60px 0;
    }
    
    .about-intro {
        font-size: 18px;
        padding: 20px;
    }
    
    .about-intro strong {
        font-size: 20px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .feature-item {
        padding: 25px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
    
    .about-conclusion {
        font-size: 16px;
        padding: 25px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }

    /*contacts*/
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .map-placeholder {
        height: 250px;
    }

    /*prices*/
     .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .service-price {
        align-self: flex-end;
        padding: 6px 14px;
    }
    
    .price-amount {
        font-size: 18px;
    }
    
    .price-currency {
        font-size: 14px;
    }

    /*art and faq*/

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .article-card {
        margin: 0 10px;
    }
    
    .article-content h3 {
        font-size: 18px;
    }
    
    .article-excerpt {
        font-size: 14px;
    }
    
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-question h3 {
        font-size: 16px;
        padding-right: 15px;
    }
    
    .faq-icon {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px 25px 25px;
    }
    
    .faq-answer p {
        font-size: 15px;
    }

    /*popup modal*/
     .modal-content {
        margin: 10px;
        max-height: 95vh;
        max-width: none;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .modal-article-content {
        font-size: 15px;
    }
    
    .modal-article-content h3 {
        font-size: 20px;
    }
    
    .modal-article-content h4 {
        font-size: 17px;
    }

    /*scrollbar*/
    
    .modal-content::-webkit-scrollbar {
        width: 10px;
    }
    
    .modal-content::-webkit-scrollbar-track {
        margin: 15px 0;
    }
    
    .modal-content::-webkit-scrollbar-thumb {
        border: 1px solid #f1f5f9;
    }

    /*reviews*/
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .review-card {
        padding: 25px;
        margin: 0 10px;
    }
    
    .review-form-container {
        padding: 30px 25px;
        border-radius: 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .star-label {
        font-size: 25px;
    }

    .form-group select {
        padding: 12px 40px 12px 12px;
        font-size: 14px;
        background-size: 14px;
        background-position: right 12px center;
    }
    
    .form-group:has(select) .form-icon-input {
        right: 30px;
        top: 67%;
        font-size: 16px;
    }
    
    
    .review-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .review-form .form-group {
        margin-bottom: 20px;
    }

    /*pagination*/
    .pagination {
        padding: 12px 15px;
        gap: 8px;
    }
    
    .pagination-btn,
    .pagination-number {
        width: 35px;
        height: 35px;
    }
    
    .pagination-wrapper {
        margin-top: 40px;
        gap: 15px;
    }

    /*footer*/
     .footer {
        padding: 20px 0;
        
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-copyright p {
        font-size: 14px;
    }
    
    .footer-legal a {
        font-size: 14px;
        padding: 8px 16px;
    }

}

@media (max-width: 480px) {

     .logo-icon {
        width: 6vh;
        height: 6vh;
    }
    

    .header__nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .nav-item.phone {
        align-items: center;
    }

       .nav-menu-link {
        padding: 12px 20px;
        font-size: 14px;
    }

    .animate-element {
        transform: translateX(-30px); 
    }
    
    .content-block h3 {
        padding-left: 20px;
        font-size: 20px;
    }
    
    .content-block p {
        padding-left: 20px;
        font-size: 14px;
    }

    /*submit form after content*/
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .form-header h3 {
        font-size: 22px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 35px 10px 10px;
    }
    
    .form-icon-input {
        font-size: 16px;
        right: 12px;
    }

    /*about*/
     .about-intro {
        font-size: 16px;
        padding: 15px;
    }
    
    .about-intro strong {
        font-size: 18px;
    }
    
    .about-text p {
        font-size: 14px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 24px;
    }

    /*contacts*/
    .contacts-section {
        padding: 60px 0;
    }
    
    .contacts-content {
        gap: 20px;
        margin-top: 30px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-card h3 {
        font-size: 18px;
    }
    
    .contact-card p {
        font-size: 14px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        padding: 12px;
    }
    
    .map-wrapper {
        padding: 20px;
    }
    
    .map-wrapper h3 {
        font-size: 20px;
    }
    
    .map-placeholder {
        height: 200px;
    }
    
    .map-info {
        padding: 15px;
    }
    
    .map-info p {
        font-size: 14px;
        margin: 8px 0;
    }
    
    .map-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    
    .services-title {
        font-size: 24px;
    }
    
    .services-subtitle {
        font-size: 14px;
    }

    /*prices*/
     .service-header {
        gap: 8px;
    }

    .service-price {
        padding: 5px 12px;
    }
    
    .price-amount {
        font-size: 16px;
    }
    
    .price-label {
        font-size: 11px;
    }
    
    .price-currency {
        font-size: 13px;
    }
    
    .price-note {
        font-size: 10px;
        padding: 1px 6px;
    }

    /*art and faq*/
    .articles-section, .faq-section {
        padding: 60px 0;
    }
    
    .articles-grid {
        margin-top: 30px;
        gap: 20px;
    }
    
    .article-content, .article-content-full {
        padding: 20px;
    }
    
    .article-content h3 {
        font-size: 17px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 18px 20px 22px;
    }

    /*popup modal*/
     .modal-header {
        padding: 15px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-close {
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .modal-article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    /*scrollbar*/

    
    
    .modal-content::-webkit-scrollbar {
        width: 8px;
    }
    
    .modal-content::-webkit-scrollbar-track {
        margin: 10px 0;
        background: #f8fafc;
    }
    
    .modal-content::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
        border: 1px solid #f8fafc;
        border-radius: 8px;
    }
    
    .modal-content::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    }

    /*reviews*/
    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .review-form-container {
        padding: 25px 20px;
    }
    
    .star-label {
        font-size: 22px;
    }

    .form-group select {
        padding: 10px 35px 10px 10px;
        font-size: 14px;
        background-size: 12px;
        background-position: right 10px center;
    }
    
    .form-group:has(select) .form-icon-input {
        right: 25px;
        font-size: 14px;
    }
    
    .form-group select option {
        padding: 8px;
        font-size: 14px;
    }
    
    
    .review-form-container {
        padding: 20px 15px;
    }
    
    .review-form .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 35px 10px 10px;
        font-size: 14px;
    }
    
    .form-icon-input {
        font-size: 14px;
        right: 10px;
    }

    /*pagination*/
    .pagination {
        padding: 10px 12px;
        gap: 6px;
    }
    
    .pagination-btn,
    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .pagination-info {
        font-size: 13px;
    }

    /*footer*/
     .footer {
        padding: 15px 0;
    }
    
    .footer-copyright p {
        font-size: 13px;
    }
    
    .footer-legal a {
        font-size: 13px;
        padding: 6px 14px;
    }

}