* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   CSS VARIABLES - TEMPLATE SYSTEM
   ============================================
   Modify these variables to update the entire website
   ============================================ */
:root {
    /* Colors */
    --primary-color: #1a4d7a;
    --secondary-color: #2c6b9e;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --button-color: #4a90e2;
    --button-hover: #357abd;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1rem;
    --font-size-small: 0.875rem;
    --font-size-large: 1.125rem;
    --line-height-base: 1.6;
    --line-height-heading: 1.2;
    
    /* Heading Sizes */
    --h1-size: 3rem;
    --h2-size: 2.5rem;
    --h3-size: 1.75rem;
    --h4-size: 1.5rem;
    --h5-size: 1.25rem;
    --h6-size: 1rem;
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 8px;
    --radius-lg: 10px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s;
    --transition-base: 0.3s;
    --transition-slow: 0.5s;
    
    /* Footer Colors - Modify here to update all footers */
    --footer-bg: #171d28;
    --footer-text: #ffffff;
    --footer-link: #b5b5b5;
    --footer-link-hover: #999;
    --footer-title: #ffffff;
    
    /* Navigation Colors */
    --nav-bg: var(--white);
    --nav-text: var(--text-color);
    --nav-link-hover: var(--primary-color);
    
    /* Button Styles - Modify here to update all buttons */
    --btn-bg: var(--button-color);
    --btn-text: var(--white);
    --btn-hover: var(--button-hover);
    --btn-padding: 0.75rem 1.5rem;
    --btn-radius: var(--radius-sm);
    --btn-font-weight: var(--font-weight-semibold);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--white);
}

/* ============================================
   TYPOGRAPHY - Unified Heading Styles
   Modify sizes in :root variables above
   ============================================ */
h1 {
    font-size: var(--h1-size);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-heading);
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: var(--h2-size);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: var(--h3-size);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: var(--h4-size);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

h5 {
    font-size: var(--h5-size);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

h6 {
    font-size: var(--h6-size);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
}

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

/* ============================================
   NAVIGATION - Template Component
   Modify --nav-* variables to update all navigation
   ============================================ */
.navbar {
    background-color: var(--nav-bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

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

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-icon img {
    height: 40px;
    width: auto;
}

.footer-logo-wrapper .logo-icon img {
    height: 50px;
    width: auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

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

/* ============================================
   BUTTONS - Template Component
   Modify --btn-* variables to update all buttons
   ============================================ */
.btn-quote {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: var(--btn-padding);
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-weight: var(--btn-font-weight);
    font-size: var(--font-size-small);
    transition: background-color var(--transition-base);
    white-space: nowrap;
}

.btn-quote:hover {
    background-color: var(--btn-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 900px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.8) 0%, rgba(44, 107, 158, 0.8) 100%);
    background-image: url('../images/home-kv00.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 2rem 0;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    font-weight: 1000;
    line-height: 1.2;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-hero {
    display: inline-block;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-weight: var(--btn-font-weight);
    font-size: var(--font-size-base);
    transition: background-color var(--transition-base), transform var(--transition-base);
}

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

/* Main Heading */
.main-heading {
    padding: 3rem 0;
    text-align: center;
    background-color: var(--light-bg);
}

.main-heading h2 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Expertise Section */
.expertise-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.expertise-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.expertise-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.05) 0%, rgba(44, 107, 158, 0.05) 100%);
    background-image: url('../images/home-kv01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
}

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

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

.about-visual {
    position: relative;
    height: 400px;
}

.world-map-visual {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-svg {
    width: 100%;
    height: 100%;
}

.map-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Quote Section */
.quote-section {
    background-color: var(--white);
    padding: 6rem 0;
}

.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.quote-left h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.quote-left {
    background-image: url('../images/home-kv02.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 4rem 3rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.quote-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 77, 122, 0.4);
    z-index: 1;
    border-radius: 10px;
}

.quote-left h2,
.quote-left .world-map-visual-small {
    position: relative;
    z-index: 2;
}

.world-map-visual-small {
    width: 100%;
    height: 200px;
    margin-top: 2rem;
}

.map-svg-small {
    width: 100%;
    height: 100%;
}

.quote-right {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 10px;
}

.quote-right h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.quote-form {
    background-color: transparent;
    padding: 0;
}

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

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

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

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

.btn-submit {
    width: 100%;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--btn-radius);
    font-size: var(--font-size-base);
    font-weight: var(--btn-font-weight);
    cursor: pointer;
    transition: background-color var(--transition-base);
}

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

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Info */
.contact-info {
    padding: 3rem 0;
    background-color: var(--white);
}

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

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

.contact-item p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

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

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 0.75rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-contact a:hover {
    opacity: 1;
}

.footer-links h5 {
    font-size: var(--h5-size);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--footer-title);
}

.footer-links ul {
    list-style: none;
    margin-bottom: 2rem;
}

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

.footer-links a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.footer-locations h5 {
    font-size: var(--h5-size);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--footer-title);
}

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

.footer-locations ul li {
    color: var(--footer-link);
    margin-bottom: var(--spacing-xs);
}

.footer-social h5 {
    font-size: var(--h5-size);
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-semibold);
    color: var(--footer-title);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 2000;
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cookie:hover {
    background-color: var(--light-bg);
}

.btn-accept {
    background-color: var(--btn-bg);
    color: var(--btn-text);
    border-color: var(--btn-bg);
}

.btn-accept:hover {
    background-color: var(--btn-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .btn-quote {
        display: none;
    }

    .hero {
        min-height: 500px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .quote-wrapper {
        grid-template-columns: 1fr;
    }
    
    .quote-left {
        order: 2;
    }
    
    .quote-right {
        order: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

    .main-heading h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .section-title-left {
        font-size: 2rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .quote-wrapper h2 {
        font-size: 1.5rem;
    }

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

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

    .btn-cookie {
        flex: 1;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Page Content Styles */
.page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-color);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.product-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
}

.product-item p {
    margin-bottom: 0;
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    margin-bottom: 0;
    line-height: 1.7;
}

/* Services List (for backward compatibility) */
.services-list {
    margin: 2rem 0;
}

.service-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    margin-bottom: 1rem;
}

.service-item p {
    margin-bottom: 0;
}

/* Partners Content */
.partners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 3rem 0;
    align-items: start;
}

.partners-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

.partners-text h3:first-child {
    margin-top: 0;
}

.partners-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.partners-visual {
    position: sticky;
    top: 100px;
}

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

/* Partners Info (for backward compatibility) */
.partners-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-block {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.info-block h3 {
    margin-bottom: 1rem;
}

.info-block p {
    margin-bottom: 0;
}

/* Contact Details */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-office {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-office h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-info-block a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info-block a:hover {
    text-decoration: underline;
}

.contact-form-section {
    margin-top: 3rem;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    margin-top: 3rem;
}

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

.cta-section p {
    margin-bottom: 1.5rem;
}

.cta-section .btn-quote {
    display: inline-block;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .content-wrapper h2 {
        font-size: 1.5rem;
    }

    .content-wrapper h3 {
        font-size: 1.3rem;
    }

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

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

    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-content {
        grid-template-columns: 1fr;
    }
    
    .partners-visual {
        position: relative;
        top: 0;
    }
}

/* 404 Error Page */
.error-404-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background-color: var(--white);
}

.error-content {
    text-align: center;
    position: relative;
}

.error-number {
    font-size: 15rem;
    font-weight: 300;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.error-title {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    margin-top: -8rem;
}

.error-message {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.btn-back-home {
    display: inline-block;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-weight: var(--btn-font-weight);
    transition: background-color var(--transition-base);
    position: relative;
    z-index: 2;
}

.btn-back-home:hover {
    background-color: var(--btn-hover);
}

/* Contact Hero */
.contact-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.8) 0%, rgba(44, 107, 158, 0.8) 100%);
    background-image: url('../images/contact-kv01.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.contact-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    font-weight: 700;
}

/* Contact Content Section */
.contact-content-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-panel {
    color: var(--white);
    padding: 3rem;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.95) 0%, rgba(44, 107, 158, 0.95) 100%);
    border-radius: 10px;
}

.contact-info-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--white);
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.office-details {
    margin-bottom: 2.5rem;
}

.office-details h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

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

.contact-icon {
    color: var(--white);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item a,
.contact-item span {
    color: var(--white);
    text-decoration: none;
    line-height: 1.6;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form-panel {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-panel h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

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

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

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

/* Partners Hero */
.partners-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partners-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.8) 0%, rgba(44, 107, 158, 0.8) 100%);
    background-image: url('../images/partners-kv01.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.partners-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.partners-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.partners-hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    font-weight: 700;
}

/* Partners Content Section */
.partners-content-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

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

.partner-logo-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(26, 77, 122, 0.1);
}

.partner-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 77, 122, 0.2);
    border-color: var(--button-color);
}

.partner-logo-placeholder {
    text-align: center;
}

.partner-logo-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partner-logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Services Hero */
.services-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.services-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.8) 0%, rgba(44, 107, 158, 0.8) 100%);
    background-image: url('../images/services-kv01.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.services-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.services-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.services-hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    font-weight: 700;
}

/* Services Content Section */
.services-content-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.services-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.services-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 600;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 1rem;
    align-items: center;
}

.service-detail-item.reverse {
    direction: rtl;
}

.service-detail-item.reverse > * {
    direction: ltr;
}

.service-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.service-image-1 {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.service-image-2 {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.service-image-3 {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.service-image-4 {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
}

.service-text h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

/* Products Hero */
.products-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.products-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.8) 0%, rgba(44, 107, 158, 0.8) 100%);
    background-image: url('../images/products-kv01.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.products-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.products-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.products-hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    font-weight: 700;
}

/* Products Content Section */
.products-content-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.product-series {
    margin-bottom: 5rem;
}

.series-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(26, 77, 122, 0.2);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.product-thumbnail {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(26, 77, 122, 0.1);
}

.product-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(26, 77, 122, 0.3);
    border-color: var(--button-color);
}

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

.thumbnail-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Product Image Placeholders - Different colors for variety */
.product-img-1 { background: linear-gradient(135deg, #e3f2fd 0%, #90caf9 100%); }
.product-img-2 { background: linear-gradient(135deg, #fff3e0 0%, #ffb74d 100%); }
.product-img-3 { background: linear-gradient(135deg, #f3e5f5 0%, #ba68c8 100%); }
.product-img-4 { background: linear-gradient(135deg, #e8f5e9 0%, #81c784 100%); }
.product-img-5 { background: linear-gradient(135deg, #fce4ec 0%, #f48fb1 100%); }
.product-img-6 { background: linear-gradient(135deg, #e0f2f1 0%, #4db6ac 100%); }
.product-img-7 { background: linear-gradient(135deg, #fff8e1 0%, #ffd54f 100%); }
.product-img-8 { background: linear-gradient(135deg, #ede7f6 0%, #9575cd 100%); }
.product-img-9 { background: linear-gradient(135deg, #e1f5fe 0%, #4fc3f7 100%); }
.product-img-10 { background: linear-gradient(135deg, #f1f8e9 0%, #aed581 100%); }
.product-img-11 { background: linear-gradient(135deg, #fce4ec 0%, #f06292 100%); }
.product-img-12 { background: linear-gradient(135deg, #e8eaf6 0%, #7986cb 100%); }
.product-img-13 { background: linear-gradient(135deg, #fff3e0 0%, #ffa726 100%); }
.product-img-14 { background: linear-gradient(135deg, #e0f7fa 0%, #26c6da 100%); }
.product-img-15 { background: linear-gradient(135deg, #f3e5f5 0%, #ab47bc 100%); }
.product-img-16 { background: linear-gradient(135deg, #e8f5e9 0%, #66bb6a 100%); }
.product-img-17 { background: linear-gradient(135deg, #fff9c4 0%, #fdd835 100%); }
.product-img-18 { background: linear-gradient(135deg, #e1bee7 0%, #ce93d8 100%); }
.product-img-19 { background: linear-gradient(135deg, #b2dfdb 0%, #4db6ac 100%); }
.product-img-20 { background: linear-gradient(135deg, #c5cae9 0%, #7986cb 100%); }
.product-img-21 { background: linear-gradient(135deg, #ffccbc 0%, #ff8a65 100%); }
.product-img-22 { background: linear-gradient(135deg, #d1c4e9 0%, #9575cd 100%); }
.product-img-23 { background: linear-gradient(135deg, #b2ebf2 0%, #4dd0e1 100%); }
.product-img-24 { background: linear-gradient(135deg, #c8e6c9 0%, #81c784 100%); }
.product-img-25 { background: linear-gradient(135deg, #ffe0b2 0%, #ffb74d 100%); }
.product-img-26 { background: linear-gradient(135deg, #f8bbd0 0%, #f48fb1 100%); }
.product-img-27 { background: linear-gradient(135deg, #b3e5fc 0%, #4fc3f7 100%); }
.product-img-28 { background: linear-gradient(135deg, #dcedc8 0%, #aed581 100%); }
.product-img-29 { background: linear-gradient(135deg, #ffccbc 0%, #ff8a65 100%); }
.product-img-30 { background: linear-gradient(135deg, #e1bee7 0%, #ce93d8 100%); }
.product-img-31 { background: linear-gradient(135deg, #b2dfdb 0%, #4db6ac 100%); }
.product-img-32 { background: linear-gradient(135deg, #c5cae9 0%, #7986cb 100%); }
.product-img-33 { background: linear-gradient(135deg, #ffccbc 0%, #ff8a65 100%); }
.product-img-34 { background: linear-gradient(135deg, #d1c4e9 0%, #9575cd 100%); }
.product-img-35 { background: linear-gradient(135deg, #b2ebf2 0%, #4dd0e1 100%); }

/* Product Viewer Modal */
.product-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.product-viewer-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    z-index: 3001;
    width: 100%;
    height: 100%;
    background-color: transparent;
    padding: 2rem 3rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1.5rem;
    max-width: 100%;
    overflow: visible;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 3002;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.viewer-left {
    color: var(--white);
    text-align: left;
    padding-left: 2rem;
}

.viewer-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    color: var(--white);
}

.viewer-product-name {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
}

.viewer-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    min-height: 400px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 2rem 0;
}

.nav-arrow {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 3003;
}

.nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.viewer-main-image {
    flex: 1;
    width: 100%;
    max-width: 90vw;
    height: auto;
    border-radius: 10px;
    overflow: visible;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image-placeholder {
    width: 100%;
    min-width: 400px;
    min-height: 400px;
    max-width: 90vw;
    max-height: 85vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    display: block;
    position: relative;
    border-radius: 8px;
}

/* For actual images, allow them to be auto-sized */
.main-image-placeholder img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 85vh;
    display: block;
}

.viewer-thumbnails {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 1rem 2rem;
    max-width: 100%;
}

.viewer-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

.viewer-thumbnail:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.viewer-thumbnail.active {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Footer Updates */
.btn-quote-footer {
    display: inline-block;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: var(--btn-padding);
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-weight: var(--btn-font-weight);
    margin: var(--spacing-md) 0;
    transition: background-color var(--transition-base);
}

.btn-quote-footer:hover {
    background-color: var(--btn-hover);
}

.footer-contact-info {
    margin-top: 1.5rem;
}

.contact-phone {
    margin-bottom: 1rem;
}

.contact-phone h5 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.phone-btn {
    display: inline-block;
    background-color: #4a90e2;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.phone-btn:hover {
    background-color: #357abd;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .error-number {
        font-size: 8rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .contact-hero-content h1,
    .partners-hero-content h1,
    .services-hero-content h1,
    .products-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-item {
        grid-template-columns: 1fr;
    }
    
    .service-detail-item.reverse {
        direction: ltr;
    }
    
    .product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .product-thumbnail {
        aspect-ratio: 1 / 1;
    }
    
    .modal-content {
        width: 95%;
        padding: 1rem;
    }
    
    .viewer-center {
        flex-direction: column;
        min-height: calc(100vh - 200px);
        gap: 1rem;
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .viewer-center {
        min-height: 300px;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .viewer-main-image {
        width: 100%;
        max-width: 95vw;
    }
    
    .main-image-placeholder {
        max-width: 95vw;
        max-height: 60vh;
    }
    
    .viewer-thumbnails {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .viewer-thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .viewer-title {
        font-size: 2rem;
    }
    
    .viewer-product-name {
        font-size: 1.5rem;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.lang-separator {
    color: var(--text-color);
    opacity: 0.5;
    font-size: 0.85rem;
    margin: 0 0.1rem;
}

.lang-btn {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    padding: 0.3rem 0.5rem;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s;
    opacity: 0.8;
}

.lang-btn:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-btn.active {
    opacity: 1;
    color: var(--primary-color);
    font-weight: 600;
}

.footer-language-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 0.85rem;
}

.footer-language-switcher span {
    opacity: 0.7;
    font-size: 0.85rem;
    margin-right: 0.3rem;
}

.footer-language-switcher .lang-btn {
    background-color: transparent;
    border: none;
    color: var(--white);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: all 0.3s;
}

.footer-language-switcher .lang-btn:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-language-switcher .lang-btn.active {
    opacity: 1;
    font-weight: 600;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    z-index: 1000;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Partner Viewer Modal */
.partner-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.partner-viewer-modal.active {
    display: flex;
}

.partner-viewer-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.partner-viewer-modal .modal-content {
    position: relative;
    z-index: 3001;
    width: 100%;
    height: 100%;
    background-color: transparent;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 100%;
}

.partner-viewer-modal .viewer-left {
    text-align: center;
    color: var(--white);
}

.partner-viewer-modal .viewer-main-image {
    width: 90%;
    max-width: 800px;
    max-height: 70vh;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-viewer-modal .viewer-main-image .partner-logo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .nav-right {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .language-switcher {
        order: 2;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .partner-viewer-modal .modal-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .partner-viewer-modal     .viewer-main-image {
        height: 300px;
    }
    
    .viewer-center {
        min-height: calc(100vh - 200px);
        padding: 0 1rem;
    }
    
    .viewer-main-image {
        max-width: 95%;
    }
    
    .error-number {
        font-size: 10rem;
    }
    
    .error-title {
        font-size: 2rem;
        margin-top: -6rem;
    }
}
