/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Colors */
:root {
    --primary-color: #0b1f3a;
    --secondary-color: #1e3a5f;
    --accent-color: #3b82f6;
    --light-blue: #60a5fa;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav {
    padding: 0.8rem 2rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    color: var(--text-white);
    font-size: 1.8rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap; 
}

.nav-menu a:hover {
    color: var(--light-blue);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

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

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--text-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 8px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.lang-option {
    display: block;
    width: 100%;
    padding: 8px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease;
    color: var(--text-dark);
}

.lang-option:hover {
    background: var(--bg-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.hero-text {
    color: var(--text-white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--light-blue), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(11, 31, 58, 0.3), rgba(59, 130, 246, 0.2));
}

.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.decoration-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-image-decorations {
    position: absolute;
    inset: 0;
}

.decoration-4 {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    top: -20px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.decoration-5 {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(11, 31, 58, 0.2);
    border-radius: 50%;
    bottom: -15px;
    left: -15px;
    animation: float 4s ease-in-out infinite reverse;
}

.about-mission {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--text-white);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.about-mission h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-values h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--text-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.value-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.services-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    color: var(--text-white);
}

.services-cta h3 {
    margin-bottom: 1rem;
}

.services-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Projects Section */
.projects {
    background: var(--bg-light);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--text-white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--text-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-view-btn {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-view-btn {
    transform: translateY(0);
}

.project-info {
    padding: 2rem;
    color: var(--text-dark);
}

.project-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.project-year {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.project-description {
    color: var(--text-dark);
    margin: 0;
}
.project-area {
    color: var(--text-dark) !important;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--text-white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    margin-bottom: 2.4rem;
}

.member-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
}

.member-name {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-position {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.member-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.member-stat {
    text-align: center;
}

.member-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.member-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.member-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Partners Section */
.partners {
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    background: var(--text-white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover .partner-img {
    filter: grayscale(0%);
}

/* Video Section */
.video-section {
    background: var(--primary-color);
    color: var(--text-white);
}

.video-section .section-title {
    color: var(--text-white);
}

.video-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.video-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}
.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px; /* ограничение ширины блока */
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9; /* современный способ задать пропорции */
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Contacts Section */
.contacts {
    background: var(--bg-light);
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.working-hours {
    margin: 2rem 0;
}

.working-hours h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hours-list {
    background: var(--text-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.social-links h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--text-white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contact Form */
.contact-form {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-form h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-logo h3 {
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-blue);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

.footer-social .social-link:hover {
    background: var(--light-blue);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--text-white);
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

.modal-body {
    padding: 2rem;
}

.modal-image {
    margin-bottom: 2rem;
}

.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.modal-info h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.modal-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    font-size: 1.2rem;
}

.meta-label {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-value {
    color: var(--text-dark);
    font-weight: 600;
}

.modal-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

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

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .modal-meta {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

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

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}


/* Service Modal Styles */
.service-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.service-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.service-modal-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
}

.service-modal-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.service-modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.service-modal-section {
    margin-bottom: 2rem;
}

.service-modal-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.service-modal-section ul,
.service-modal-section ol {
    padding-left: 1.5rem;
}

.service-modal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: var(--text-color);
}

.service-modal-section ol li {
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.service-modal-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.service-modal-footer .btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Project area styling */
.project-area {
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Enhanced project meta styling */
.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-meta span {
    background: #f5f5f5;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-year {
    background: var(--primary-color) !important;
    color: white !important;
}

.project-location {
    background: #e3f2fd !important;
    color: var(--primary-color) !important;
}



/* Enhanced Contact Section Styles */
.contacts {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.contacts::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.contact-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.contact-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
}

.contact-details h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-color), var(--light-blue));
    transition: width 0.3s ease;
}

.contact-link:hover::after {
    width: 100%;
}

.contact-link:hover {
    color: var(--accent-color);
}

.working-hours {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.working-hours h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.hours-list {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.hours-item:hover {
    background: rgba(59, 130, 246, 0.05);
    padding-left: 1rem;
    border-radius: 8px;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.hours-item span:last-child {
    color: var(--text-light);
    font-weight: 500;
}

/* Enhanced Social Links */
.social-links {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.social-links h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: var(--text-dark);
}

.social-link.facebook:hover {
    border-color: #1877f2;
    background: linear-gradient(135deg, #f0f7ff, #e3f2fd);
}

.social-link.linkedin:hover {
    border-color: #0077b5;
    background: linear-gradient(135deg, #f0f8ff, #e1f5fe);
}

.social-link.instagram:hover {
    border-color: #e4405f;
    background: linear-gradient(135deg, #fff0f3, #fce4ec);
}

.social-link.whatsapp:hover {
    border-color: #25d366;
    background: linear-gradient(135deg, #f0fff4, #e8f5e8);
}

.social-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.social-text {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Enhanced Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.05));
    border-radius: 20px;
    z-index: -1;
}

.contact-form h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

/* Map Section */
.map-section {
    margin-top: 4rem;
    text-align: center;
}

.map-section h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
}

.map-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-color), var(--light-blue));
    border-radius: 2px;
}

.map-container {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 3rem;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.05));
    z-index: -1;
}

.map-placeholder {
    text-align: center;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.map-placeholder p {
    margin: 0.75rem 0;
    font-size: 1.1rem;
}

.map-placeholder p:first-child {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Responsive Design for Enhanced Contacts */
@media (max-width: 768px) {
    .contact-info,
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .social-icons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .social-link {
        min-width: auto;
        justify-content: center;
    }
    
    .map-container {
        padding: 2rem;
        min-height: 250px;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .working-hours,
    .social-links {
        padding: 1.5rem;
    }

    .social-links {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .social-link {
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    overflow: auto;
}
.modal-content {
    background: #fff;
    margin: 40px auto;
    padding: 30px 20px;
    border-radius: 16px;
    max-width: 700px;
    position: relative;
}
.close {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
}
.modal-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}
.gallery-media {
    min-width: 300px;
    max-width: 500px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-media img, .gallery-media video {
    max-width: 100%;
    max-height: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.prev, .next {
    background: #eee;
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: background 0.2s;
}
.prev:hover, .next:hover {
    background: #dbeafe;
}
@media (max-width: 600px) {
    .modal-content { max-width: 98vw; padding: 10px; }
    .gallery-media { min-width: 180px; max-width: 98vw; }
}
.modal-gallery {
    position: relative;
    text-align: center;
}
.modal-gallery button.prev,
.modal-gallery button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}
.modal-gallery button.prev:hover,
.modal-gallery button.next:hover {
    background: rgba(0,0,0,0.7);
}
.modal-gallery button.prev { left: 10px; }
.modal-gallery button.next { right: 10px; }



/* Стили для секции */
.client-testimonials-section {
    padding: 60px 0; /* Отступы сверху/снизу */
    background-color: #f7f9fc; /* Светлый фон для секции, чтобы выделить ее */
}

/* Общий контейнер (если не используется основной контейнер сайта) */
.client-testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Стиль заголовка - должен соответствовать стилю "Наши ценности" */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #003366; /* Темно-синий, как в шапке */
    margin-bottom: 40px;
    font-weight: 700;
}

/* Сетка для карточек (3 в ряд) */
.testimonials-grid {
    display: flex;
    gap: 30px; /* Расстояние между карточками */
    flex-wrap: wrap; /* Для адаптивности на маленьких экранах */
    justify-content: center;
}

/* Стиль отдельной карточки - ИМИТАЦИЯ БЛОКА "НАШИ ЦЕННОСТИ" */
.testimonial-card {
    background-color: #ffffff;
    border-radius: 8px; /* Закругленные углы */
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Легкая тень */
    flex: 1 1 calc(33.333% - 20px); /* 3 карточки в ряд */
    min-width: 300px; /* Минимальная ширина для адаптива */
    display: flex;
    flex-direction: column;
}

/* Стиль иконки цитаты */
.quote-icon {
    font-size: 48px;
    color: #007bff; /* Яркий акцентный синий */
    line-height: 1;
    margin-bottom: 15px;
    font-weight: 900;
    opacity: 0.6; /* Слегка приглушенный */
}

/* Текст цитаты */
.quote-text {
    font-size: 16px;
    font-style: italic; /* Цитата должна быть курсивом */
    color: #333;
    line-height: 1.6;
    margin-bottom: auto; /* Чтобы прижать инфо клиента к низу */
}

/* Блок информации о клиенте */
.client-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 20px;
}

/* Имя клиента */
.client-name {
    font-weight: 600;
    color: #003366; /* Темный цвет для имени */
    margin: 0;
    font-size: 15px;
}

/* Должность/Компания клиента */
.client-title {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .testimonials-grid {
        gap: 20px;
    }
    .testimonial-card {
        flex: 1 1 calc(50% - 10px); /* 2 карточки в ряд */
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 1 1 100%; /* 1 карточка в ряд */
    }
    .section-title {
        font-size: 28px;
    }
}
