/* ========================================
   Beijing ZKGX Research Institute of Science and Technology
   Global Testing and Certification Institute
   Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #0056b3;
    --primary-dark: #004494;
    --primary-light: #e6f0fa;
    --secondary-color: #6c757d;
    --accent-color: #17a2b8;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
    background-color: var(--bg-light);
    padding: 0.75rem 0;
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-item::before {
    content: '/';
    margin-right: 0.5rem;
    color: var(--text-light);
}

.breadcrumb-item:first-child::before {
    display: none;
}

.breadcrumb-link {
    color: var(--text-light);
}

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

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 500;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 8rem 0 4rem;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-section h1 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #d9e2e3;
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
}

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

/* ========================================
   Country Entry Section (Home)
   ======================================== */
.country-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.country-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.country-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0,86,179,0.15), 0 4px 8px rgba(0,0,0,0.1);
    border-color: rgba(0,86,179,0.1);
}

.country-card:hover::before {
    transform: scaleX(1);
}

.country-card.hidden {
    display: none;
}

.country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
    transition: all 0.3s ease;
    line-height: 1;
}

.country-card:hover .country-flag {
    transform: scale(1.15);
}

.country-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.country-code {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    background: var(--primary-light);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
}

.country-load-more {
    text-align: center;
    margin-top: 3rem;
    padding: 0 1rem;
}

.country-load-more .btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-white);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
}

.country-load-more .btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,86,179,0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #003377 100%);
}

.country-load-more .btn-load-more:active {
    transform: translateY(-1px);
}

.country-load-more .btn-load-more.hidden {
    display: none;
}

.country-load-more .btn-load-more .loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Features / Services Grid
   ======================================== */
.features-section {
    padding: 4rem 0;
}

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

.faq-section {
    padding-bottom: 4rem;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.news-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.news-image {
    height: 200px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.news-card h3 a {
    color: var(--text-dark);
}

.news-card h3 a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   About Page Styles
   ======================================== */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 8rem 0 3rem;
    text-align: center;
}

.about-hero h1 {
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.about-hero p {
    opacity: 0.9;
    margin-bottom: 0;
}

.about-content {
    padding: 4rem 0;
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

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

.about-image {
    background-color: var(--primary-light);
    border-radius: 12px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 5rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Certifications */
.certifications-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.cert-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.cert-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cert-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Industries */
.industries-section {
    padding: 4rem 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.industry-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.industry-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.industry-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.industry-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========================================
   Services Section
   ======================================== */
.services-section {
    padding: 4rem 0;
}

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

.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   Articles Section (Home)
   ======================================== */
.articles-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.article-image {
    width: 100%;
    /*background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    flex-shrink: 0;
    max-height:350px;
    overflow:hidden;
}

/*.article-image img {max-height:350px;}*/

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.article-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
    flex: 1;
}

.article-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   Equipment Showcase (Home Page)
   ======================================== */
.equipment-showcase {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-choose-us {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
}

.why-choose-us .section-header h2 {
    color: var(--bg-white);
}

.why-choose-us .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.why-choose-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.why-choose-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.why-choose-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
}

.why-choose-card h3 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: var(--bg-white);
}

.why-choose-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   Equipment Page Styles
   ======================================== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.equipment-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.equipment-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #d4e5f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 4rem;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.equipment-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.equipment-info h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.equipment-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex: 1;
}

.equipment-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    order: 2;
}

.contact-form {
    order: 1;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

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

.form-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-error.show {
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: none;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer, .site-footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 3rem 0 1.5rem;
}

.footer-grid, .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-about img {
    height: 45px;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.footer-section h3 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--bg-light);
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ========================================
   Cookie Consent Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 1rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.cookie-text a {
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-cookie-accept {
    background: var(--success-color);
    color: var(--bg-white);
}

.btn-cookie-accept:hover {
    background: #218838;
}

.btn-cookie-decline {
    background: transparent;
    border: 1px solid var(--bg-light);
    color: var(--bg-light);
}

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

/* ========================================
   Process Section
   ======================================== */
.process-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

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

.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-number, .step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
}

.step-icon {
    font-size: 1.5rem;
}

.process-step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
    padding: 4rem 0;
}

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

.team-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #d4e5f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    margin-bottom: 0.25rem;
}

.team-info p {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.team-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.bg-light { background-color: var(--bg-light); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .hero-section {
        padding: 10rem 0 3rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-image {
        max-width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1001;
    }

    .nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
    }

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

    .about-image {
        height: 250px;
        order: -1;
    }

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

    .country-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }

    .country-card {
        padding: 1rem;
    }

    .country-flag {
        font-size: 2.5rem;
    }

    .country-name {
        font-size: 0.85rem;
    }

    .country-code {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

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

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

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

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

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

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

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

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

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

@media (max-width: 480px) {
    .logo-text {
        font-size: 0.9rem;
    }

    .logo img {
        /*height: 40px;*/
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

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

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

    .country-card {
        padding: 0.75rem 0.5rem;
        border-radius: 12px;
    }

    .country-card::before {
        height: 2px;
    }

    .country-flag {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .country-name {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .country-code {
        font-size: 0.6rem;
        padding: 0.15rem 0.35rem;
    }
}






