        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        :root {
            --primary-blue: #0057b7;
            --primary-yellow: #ffd700;
            --dark-blue: #004494;
            --light-blue: #e6f0ff;
            --light-gray: #f5f5f5;
            --medium-gray: #e0e0e0;
            --dark-gray: #333;
            --white: #ffffff;
            --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }
        
        body {
            background-color: var(--light-gray);
            color: var(--dark-gray);
            line-height: 1.6;
        }
        
        /* Header Styles */
        header {
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
            color: var(--white);
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo-icon {
            color: var(--primary-yellow);
            font-size: 2rem;
        }
        
        .logo-text {
            font-size: 1.8rem;
            font-weight: bold;
        }
        
        .logo-text span {
            color: var(--primary-yellow);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 1.5rem;
        }
        
        nav ul li a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            padding: 0.5rem 0;
            position: relative;
        }
        
        nav ul li a:hover {
            color: var(--primary-yellow);
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-yellow);
            transition: width 0.3s;
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0, 87, 183, 0.8), rgba(0, 87, 183, 0.9)), 
                        url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            position: relative;
        }
        
        .hero-content {
            max-width: 800px;
            padding: 0 1rem;
        }
        
        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }
        
        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
        }
        
        .cta-button {
            display: inline-block;
            background-color: var(--primary-yellow);
            color: var(--dark-gray);
            padding: 0.8rem 2rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        .cta-button:hover {
            background-color: var(--white);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        }
        
        /* Categories Section */
        .categories {
            padding: 4rem 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2.2rem;
            color: var(--primary-blue);
            position: relative;
        }
        
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--primary-yellow);
            margin: 0.5rem auto;
            border-radius: 2px;
        }
        
        .category-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 3rem;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .tab {
            padding: 0.8rem 1.8rem;
            background: var(--white);
            border: 2px solid var(--medium-gray);
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            color: var(--dark-gray);
        }
        
        .tab:hover {
            background: var(--light-blue);
            border-color: var(--primary-blue);
        }
        

        
        /* Gallery Grid */
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .car-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: all 0.3s;
        }
        
        .car-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--hover-shadow);
        }
        
        .car-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .car-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .car-card:hover .car-image img {
            transform: scale(1.1);
        }
        
        .car-info {
            padding: 1.5rem;
        }
        
        .car-info h3 {
            margin-bottom: 0.5rem;
            color: var(--primary-blue);
            font-size: 1.3rem;
        }
        
        .car-info p {
            color: #666;
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }
        
        .car-category {
            display: inline-block;
            background: var(--primary-yellow);
            color: var(--dark-gray);
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
        }
        
        /* Documents Section */
.documents-horizontal {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 25px 0;
    margin-bottom: 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) var(--light-gray);
}

.documents-horizontal::-webkit-scrollbar {
    height: 10px;
}

.documents-horizontal::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.documents-horizontal::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.document-item {
    flex: 0 0 auto;
    width: 280px;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    border: 2px solid var(--medium-gray);
    position: relative;
}

.document-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.document-preview {
    position: relative;
    margin-bottom: 0;
}

.doc-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--light-gray);
    transition: all 0.3s;
}

.document-item:hover .doc-image {
    transform: scale(1.02);
}

.doc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 87, 183, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    border-radius: 8px;
    transition: all 0.3s;
}

.document-item:hover .doc-overlay {
    opacity: 1;
}

.doc-action-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    cursor: pointer;
}

.zoom-btn {
    background: var(--white);
    color: var(--primary-blue);
}

.download-btn {
    background: var(--primary-yellow);
    color: var(--dark-gray);
}

.doc-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Modal стили */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 800px;
    text-align: center;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-yellow);
}

.modal-actions {
    margin-top: 20px;
}

.modal-download-btn {
    background: var(--primary-yellow);
    color: var(--dark-gray);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modal-download-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.document-tabs {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
    gap: 12px;
}

.doc-tab {
    padding: 1rem 2rem;
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--dark-gray);
    font-size: 1rem;
}

.doc-tab:hover {
    background: var(--light-blue);
    border-color: var(--primary-blue);
}

.doc-tab.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}
        /* About Section */
        .about {
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
            color: var(--white);
            padding: 4rem 0;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 3rem;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-text h2 {
            margin-bottom: 1.5rem;
            font-size: 2rem;
        }
        
        .about-text p {
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }
        
        .about-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* Footer */
        footer {
            background: var(--dark-gray);
            color: var(--white);
            padding: 3rem 0 1.5rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-column h3 {
            margin-bottom: 1.5rem;
            color: var(--primary-yellow);
            font-size: 1.3rem;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 0.8rem;
        }
        
        .footer-column ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column ul li a:hover {
            color: var(--primary-yellow);
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        
        .contact-icon {
            color: var(--primary-yellow);
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: #444;
            border-radius: 50%;
            color: var(--white);
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .social-link:hover {
            background: var(--primary-blue);
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
        }
        
        /* Government Institutions Section */
        .government-institutions {
            background: var(--white);
            padding: 3rem 0;
            border-top: 3px solid var(--primary-blue);
            border-bottom: 3px solid var(--primary-yellow);
        }
        
        .institutions-title {
            text-align: center;
            margin-bottom: 2rem;
            color: var(--primary-blue);
            font-size: 1.8rem;
            font-weight: 600;
        }
        
        .institution-item {
            text-align: center;
            margin-bottom: 2rem;
            transition: transform 0.3s;
        }
        
        .institution-item:hover {
            transform: translateY(-5px);
        }
        
        .institution-logo {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--primary-blue);
            margin: 0 auto 1rem;
            transition: all 0.3s;
        }
        
        .institution-name {
            font-weight: 600;
            color: var(--dark-gray);
            line-height: 1.3;
            font-size: 0.9rem;
            margin-top: 8px;
            padding: 4px 12px;
            background-color: var(--primary-yellow);
            border-radius: 20px;
            display: inline-block;
        }
        
        .institution-link:hover .institution-name {
            background-color: #ffed4e;
            box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
        }
		
		/* НКППК секція */
.organization {
  padding: 60px 0;
  background: #fff; /* білий фон як у решти */
}

.organization .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.organization .document-tabs {
  text-align: center;
  margin-bottom: 25px;
}

.organization .about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.organization .about-image img {
  max-width: 100%;
  border-radius: 8px;
}

.organization .about-text {
  flex: 1;
}
.doc-video {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--light-gray);
}
.media-list {
  display: grid;
  gap: 16px;
}

.media-card {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  background: var(--white);
  border: 2px solid var(--medium-gray);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all .3s;
}

.media-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--hover-shadow);
  transform: translateY(-3px);
}

.media-thumb {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 160px;
}

.media-body h4 {
  margin: 0 0 6px;
  color: var(--primary-blue);
  font-size: 1.05rem;
}

.media-body p {
  margin: 0 0 8px;
  color: #555;
  font-size: .95rem;
}

.media-source {
  font-size: .85rem;
  color: #777;
}

        
        /* Responsive Design */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }
            
            nav ul {
                justify-content: center;
                flex-wrap: wrap;
            }
            
            nav ul li {
                margin: 0 0.5rem;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .about-content {
                flex-direction: column;
            }
            
            .category-tabs {
                justify-content: flex-start;
                overflow-x: auto;
                padding-bottom: 10px;
            }
            
            .gallery {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .hero {
                height: 400px;
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .tab {
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }
            
            .institution-logo {
                width: 70px;
                height: 70px;
            }
            
            .institution-name {
                font-size: 0.8rem;
            }
        }
		
		