:root {
    --primary-color: #0056b3;
    --secondary-color: #004494;
    --accent-color: #ff9800;
    --text-color: #333;
    --bg-color: #f4f7f6;
    --white: #ffffff;
    --header-bg: #ffffff;
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --spacing-unit: 1rem;
    --container-width: 1280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 90px; /* Компенсация фиксированного хедера */
    width: 100%;
    overflow-wrap: break-word; /* Prevent long words from overflowing */
    /* overflow-x: hidden; Removed to restore sticky positioning */
}

html {
    max-width: 100%;
    /* overflow-x: hidden; Removed to restore sticky positioning */
}

/* Header & Navigation */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed; /* РР·РјРµРЅРµРЅРѕ СЃ sticky РЅР° fixed */
    left: 0;
    right: 0;
    width: auto; /* Use auto width with left/right 0 to avoid overflow */
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-unit);
    transition: transform 0.3s ease-in-out; /* РџР»Р°РІРЅРѕРµ СЃРєСЂС‹С‚РёРµ */
}

header.header-hidden {
    transform: translateY(-100%); /* РЎРґРІРёРі РІРІРµСЂС… Р·Р° РїСЂРµРґРµР»С‹ СЌРєСЂР°РЅР° */
}

nav {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative; /* Add positioning context for absolute children */
}

/* Logo Styles */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo-icon {
    background-color: transparent;
    color: var(--white);
    padding: 0;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    filter: drop-shadow(0 0 5px rgba(0, 114, 255, 0.5));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0056b3; /* Darker blue like in screenshot */
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: flex-start; /* Align left */
    gap: 0;
    line-height: 0.9;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.logo-suffix {
    font-size: 0.8rem;
    font-weight: 400;
    color: #555; /* Dark grey */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* Nav Links Container */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(0, 86, 179, 0.05);
}

/* Main Content */
main#page-content {
    flex: 1;
    width: 100%;
    /* Reset default card styles to allow full width */
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* Apply card style to all pages EXCEPT home, digitalservices, and commercialbrokerage */
main#page-content:not(.page-home):not(.page-digitalservices):not(.page-commercialbrokerage):not(.page-certification):not(.page-electronics):not(.page-logistics):not(.page-contacts) {
    max-width: var(--container-width);
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    width: calc(100% - 2rem); /* Отступы по краям на мобильных */
}

/* Fix for full-width pages horizontal scroll */
main.page-digitalservices,
main.page-commercialbrokerage {
    overflow-x: hidden;
    width: 100%;
}
/* Home Page Banner Styles */
.home-banner {
    width: 100%;
    background: linear-gradient(135deg, #effcff 0%, #3573ef 100%);
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 1rem;
    flex-wrap: wrap;
}

.banner-text {
    flex: 1;
    min-width: 300px;
}

.banner-text h1 {
    font-size: 4rem; /* Немного увеличим для эффекта */
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 900; /* Жирный шрифт лучше смотрится с обводкой */
    filter: drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.2)); /* Жесткая тень без размытия */
}

.banner-text p {
    font-size: 1.25rem;
    color: #00000094;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.banner-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 300px;
}

@media (max-width: 768px) {
    .banner-text, 
    .banner-image {
        min-width: 100%; /* Allow full width on mobile */
        justify-content: center; /* Center image on mobile */
        text-align: center; /* Center text on mobile */
    }

    .banner-text h1 {
        font-size: 2.5rem; /* Reduce font size on mobile */
    }
    
    .banner-image {
        order: -1; /* Show image first on mobile if desired, or keep as is */
        margin-bottom: 2rem;
    }
}

.banner-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* РћРіСЂР°РЅРёС‡РµРЅРёРµ РІС‹СЃРѕС‚С‹ */
    object-fit: contain;
}

/* Director Message Section */
.director-message-section {
    width: 100%;
    /* РЈР±СЂР°Р»Рё background-color: var(--white); С‡С‚РѕР±С‹ РЅРµ РєРѕРЅС„Р»РёРєС‚РѕРІР°Р» СЃ РєРѕРЅС‚РµР№РЅРµСЂРѕРј, РµСЃР»Рё РЅСѓР¶РЅРѕ */
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
}

.director-message-container {
    max-width: 1280px; /* Р¤РёРєСЃРёСЂРѕРІР°РЅРЅР°СЏ С€РёСЂРёРЅР° */
    width: 100%;
    text-align: left; /* РР·РјРµРЅРёР»Рё РЅР° left, С‡С‚РѕР±С‹ РґРѕС‡РµСЂРЅРёРµ СЌР»РµРјРµРЅС‚С‹ СѓРїСЂР°РІР»СЏР»Рё СЃРІРѕРёРј РІС‹СЂР°РІРЅРёРІР°РЅРёРµРј */
    position: relative;
    padding: 2rem 2rem; /* РћС‚СЃС‚СѓРїС‹ РІРЅСѓС‚СЂРё */
    background-color: var(--white); /* РЎРІРѕР№ С†РІРµС‚ С„РѕРЅР° */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* РќРµР±РѕР»СЊС€Р°СЏ С‚РµРЅСЊ Р±Р»РѕРєР° */
    border-radius: 8px; /* РЎРєСЂСѓРіР»РµРЅРёРµ СѓРіР»РѕРІ */
}

.director-text {
    font-size: 1.5rem;
    line-height: 1.3; /* РЈРјРµРЅСЊС€РёР»Рё СЃ 1.6 */
    color: #0056b3; 
    font-weight: 400;
    margin-bottom: 2rem; /* РЈРјРµРЅСЊС€РёР»Рё РѕС‚СЃС‚СѓРї РґРѕ РїРѕРґРїРёСЃРё */
    font-style: normal;
    text-align: justify; /* Р’С‹СЂР°РІРЅРёРІР°РЅРёРµ РїРѕ С€РёСЂРёРЅРµ */
}

.director-sign {
    text-align: right;
    font-size: 1.25rem;
    color: #6c757d; /* Muted gray for signature */
    font-weight: 500;
    margin-bottom: 0; /* РЈР±СЂР°Р»Рё РѕС‚СЃС‚СѓРї СЃРЅРёР·Сѓ */
}

/* Typography & Elements */
h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: #f1f5f9; /* Light gray to match the image context */
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-info-wrapper {
    flex: 1;
    padding-left: 2rem;
}

.contact-title {
    font-size: 2.5rem;
    color: #3b82f6; /* Blue title */
    font-weight: 800;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #3b82f6; /* Blue border */
    border-radius: 999px; /* Pill shape for inputs */
    font-size: 1rem;
    color: #3b82f6;
    background-color: white;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.form-textarea {
    border-radius: 2rem; /* Rounded rect for textarea */
    min-height: 150px;
    resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #60a5fa; /* Lighter blue placeholder */
}

.form-input:focus,
.form-textarea:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.contact-btn {
    align-self: flex-end;
    padding: 0.75rem 2.5rem;
    background: linear-gradient(135deg, #7dd3fc 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: right;
    align-self: flex-end;
    width: 100%;
    min-height: 1.5em;
}

.form-message.success {
    color: #10b981; /* Green */
}

.form-message.error {
    color: #ef4444; /* Red */
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    flex: 0 0 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    fill: #7dd3fc; /* Light blue icon color */
}

.contact-text p {
    color: #1e3a8a; /* Dark blue text */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-text a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-text a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Responsive Contact Section */
@media (max-width: 1024px) {
    .contact-layout {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-info-wrapper {
        padding-left: 0;
        width: 100%;
        margin-top: 2rem; /* Add separation when stacked */
    }

    .contact-form-wrapper {
        width: 100%; /* Ensure form takes full width */
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 5rem 0;
    }

    .contact-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-layout {
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-container {
        padding: 0 1rem; /* Smaller side padding */
    }

    .contact-title {
        font-size: 1.75rem; /* Smaller title */
        text-align: center; /* Center title on mobile */
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        width: 100%;
    }

    .contact-btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    .contact-detail-item {
        gap: 1rem; /* Reduce gap */
    }

    .contact-text p {
        font-size: 1rem; /* Slightly smaller text */
    }
}

@media (max-width: 480px) {
    header {
        padding: 0 0.5rem; /* Reduce padding on mobile */
    }

    .contact-section {
        padding: 3rem 0;
    }

    /* Ensure icons stay aligned with text top on mobile */
    .contact-detail-item {
        align-items: flex-start; 
    }

    .contact-icon {
        margin-top: 0.25rem; /* Align icon with first line of text */
        flex-shrink: 0; /* Prevent icon shrinking */
    }

    .contact-text {
        word-break: break-word; /* Prevent long emails from breaking layout */
    }
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

footer .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Buttons (if any) */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
}

/* Responsive */
.burger-menu {
    display: none; /* Hide by default to prevent flash on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0; /* Prevent shrinking on small screens */
}

@media (max-width: 1024px) {
    .burger-menu {
        display: flex;
        position: absolute;
        right: 10px; /* Align to the right edge of nav */
        top: 50%;
        transform: translateY(-50%); /* Center vertically */
    }

    /* Ensure logo doesn't overlap the absolute positioned burger menu */
    .logo {
        max-width: calc(100% - 40px);
        z-index: 1002; /* Ensure logo is clickable */
    }
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Burger Animation */
.burger-menu.open span:nth-child(1) {
    transform: rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px); /* Move left instead of right to prevent overflow */
}

.burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg);
}

@media (max-width: 1024px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 90px; /* Header height */
        right: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        transition: right 0.3s ease-in-out, visibility 0.3s ease-in-out;
        padding: 2rem;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        align-items: center;
        overflow-y: auto;
        z-index: 1000; /* Behind burger (1001) */
        visibility: hidden; /* Hide from layout/scroll when closed */
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.2rem;
        margin: 1rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
        padding-bottom: 1rem;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* РћС‚РєР»СЋС‡Р°РµРј СЃС‚Р°СЂС‹Р№ СЃС‚РёР»СЊ РґР»СЏ РјРѕР±РёР»РєРё, РµСЃР»Рё РѕРЅ РјРµС€Р°РµС‚ */
    nav {
        flex-wrap: nowrap;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .banner-image {
        justify-content: center;
        margin-bottom: 2rem;
        min-width: auto; /* Reset min-width for mobile */
        width: 100%;
    }
    
    .banner-text {
        min-width: auto; /* Reset min-width for mobile */
        width: 100%;
    }

    .banner-text h1 {
        font-size: 2.5rem;
    }

    /* Director Section Mobile */
    .director-message-section {
        padding: 1.5rem 1rem;
    }

    .director-message-container {
        padding: 1.5rem 1rem;
        width: 100%;
    }

    .director-text {
        font-size: 1.1rem;
        line-height: 1.4;
        text-align: justify;
    }

    .director-sign {
        font-size: 1rem;
        text-align: right;
    }
}

/* Who We Are Section */
.who-we-are-section {
    width: 100%;
    background-color: #dbeafe; /* Light blue background */
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
}

.who-we-are-container {
    max-width: 1280px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.who-title {
    flex: 1;
    min-width: 300px;
}

.who-title h2 {
    font-size: 3.5rem;
    color: #2563eb; /* Bright blue title */
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.1;
}

.who-content {
    flex: 1.5;
    min-width: 300px;
    background-color: #bfdbfe; /* Slightly darker blue text box */
    padding: 3rem;
    color: #334155; /* Dark grey-blue text */
    font-size: 1.25rem;
    line-height: 1.6;
    border-radius: 4px; /* Optional: slight radius */
}

@media (max-width: 1024px) {
    .who-we-are-container {
        gap: 2rem;
        padding: 0 1rem;
    }

    .who-title h2 {
        font-size: 3rem;
    }

    .who-content {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .who-we-are-section {
        padding: 3rem 1rem;
    }

    .who-we-are-container {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch; /* Р Р°СЃС‚СЏРіРёРІР°РµРј РЅР° РІСЃСЋ С€РёСЂРёРЅСѓ */
    }

    .who-title {
        min-width: auto;
        text-align: center;
    }

    .who-title h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .who-content {
        min-width: auto;
        padding: 2rem;
        font-size: 1.1rem;
        text-align: justify; /* Р”Р»СЏ Р»СѓС‡С€РµРіРѕ РІРёРґР° С‚РµРєСЃС‚Р° */
    }
}

@media (max-width: 480px) {
    .who-we-are-section {
        padding: 2rem 1rem;
    }

    .who-title h2 {
        font-size: 2rem;
    }

    .who-content {
        padding: 1.5rem;
        font-size: 1rem;
    }

    /* Reduce logo size on small screens to prevent pushing burger menu off-screen */
    .logo-text {
        font-size: 1.1rem; 
        max-width: 160px; /* РћРіСЂР°РЅРёС‡РёРІР°РµРј С€РёСЂРёРЅСѓ, С‡С‚РѕР±С‹ РЅРµ РІС‹С‚Р°Р»РєРёРІР°С‚СЊ Р±СѓСЂРіРµСЂ */
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-suffix {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    .logo-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* Principles Section */
.principles-section {
    width: 100%;
    padding: 4rem 1rem;
    background-color: #fff;
}

.principles-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.principles-title {
    font-size: 3.5rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: stretch; /* Cards stretch to equal height */
}

.principle-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%; /* Ensure full height for equal columns */
}

.principle-card h3 {
    font-size: 1.05rem;
    color: #1e40af; /* Dark blue */
    margin-bottom: 1rem;
    font-weight: 700;
}

.principle-card p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    text-align: justify; /* Justify text for clean edges */
}

.principle-card.light-blue {
    background-color: #f0f9ff; /* Very light blue */
}

.principle-card.dark-blue {
    background-color: #dbeafe; /* Light blue */
}

.principle-card.image-card {
    padding: 0;
    overflow: hidden;
    height: 100%; /* Force full height */
    border-radius: 4px; /* Optional match corner */
    display: flex; /* Ensure image stretches */
}

.principle-card.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Principles */
@media (max-width: 1280px) {
    .principles-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .principles-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .principles-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .principle-card {
        padding: 2rem;
    }
    
    .principle-card.image-card {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .principles-section {
        padding: 3rem 1rem;
    }

    .principles-title {
        font-size: 2rem;
    }
    
    .principle-card {
        padding: 1.5rem;
    }

    .principle-card h3 {
        font-size: 1.1rem;
    }

    .principle-card p {
        font-size: 0.9rem;
    }
    
    .principle-card.image-card {
        min-height: 200px;
    }
}

/* Warranty Section */
.warranty-section {
    padding: 3rem 0;
    background-color: #fff;
    overflow: hidden;
}

.warranty-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.warranty-image {
    flex: 0 0 400px;
    height: 500px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.warranty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.warranty-content {
    flex: 1;
    background-color: #dbeafe; /* Light blue from principles */
    padding: 4rem 4rem 4rem 6rem; /* Extra left padding for overlap */
    margin-left: -3rem; /* Overlap image */
    position: relative;
    z-index: 1;
    border-radius: 0 8px 8px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 350px;
}

.warranty-content h3 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.warranty-content p {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive Warranty */
@media (max-width: 1280px) {
    .warranty-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 1024px) {
    .warranty-image {
        flex: 0 0 350px;
        height: 450px;
    }
    
    .warranty-content {
        padding: 3rem 3rem 3rem 5rem;
    }
}

@media (max-width: 768px) {
    .warranty-section {
        padding: 4rem 0;
    }

    .warranty-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .warranty-image {
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin-bottom: -2rem; /* Overlap vertical */
        flex: none;
        margin-left: auto;
        margin-right: auto;
    }
    
    .warranty-content {
        margin-left: 0;
        padding: 4rem 2rem 2rem 2rem; /* Top padding for image overlap */
        border-radius: 8px;
        text-align: center;
        min-height: auto;
    }

    .warranty-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .warranty-content p {
        text-align: center;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .warranty-section {
        padding: 1rem 0;
    }

    .warranty-image {
        height: 250px;
        max-width: 100%;
        margin-bottom: -1.5rem;
    }
    
    .warranty-content {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }
    
    .warranty-content h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .warranty-content p {
        font-size: 0.95rem;
    }
}

/* Advantages Section */
.advantages-section {
    padding: 6rem 0;
    background-color: #f8fafc; /* Very light blue/gray background */
}

.advantages-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.advantage-item {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Vertical separator lines for desktop */
.advantage-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #e2e8f0;
}

.advantage-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #7dd3fc 0%, #3b82f6 100%); /* Light blue to blue gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: translateY(-5px);
}

.advantage-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.advantage-item h3 {
    color: #2563eb;
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}

.advantage-item p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px; /* Prevent text from getting too wide */
}

/* Responsive Advantages */

/* Laptop / Small Desktop */
@media (max-width: 1280px) {
    .advantage-item {
        padding: 0 1rem;
    }
    
    .advantage-item h3 {
        font-size: 1.25rem;
    }
}

/* Tablet (Landscape & Portrait) */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 2rem;
    }
    
    /* Remove vertical lines */
    .advantage-item::after {
        display: none;
    }
    
    .advantage-item {
        padding: 0;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .advantages-section {
        padding: 4rem 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .advantage-item {
        padding: 0 1rem;
    }
    
    .advantage-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .advantage-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .advantage-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .advantage-item p {
        font-size: 0.95rem;
    }
}

/* Logistics Section */
.logistics-section {
    padding: 6rem 0;
    background-color: #f4f7f6; /* Matching site bg */
}

.logistics-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logistics-title {
    font-size: 3.5rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 3rem;
    line-height: 1.1;
}

.logistics-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.logistics-image {
    flex: 1;
    position: sticky;
    top: 120px;
}

.logistics-image img {
    width: 100%;
    height: auto;
    display: block;
    /* Image itself has the design, so no extra styling needed */
}

.logistics-list {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.logistics-item {
    background-color: #dbeafe; /* Light blue background */
    padding: 2rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logistics-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.logistics-item h3 {
    color: #1e40af; /* Dark blue */
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.logistics-item p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.logistics-item p:last-child {
    margin-bottom: 0;
}

.logistics-item strong {
    color: #1e40af;
    font-weight: 600;
}

/* Responsive Logistics */

/* Laptop / Small Desktop */
@media (max-width: 1280px) {
    .logistics-container {
        padding: 0 2rem;
    }

    .logistics-content {
        gap: 3rem;
    }
    
    .logistics-title {
        font-size: 3.25rem;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .logistics-content {
        flex-direction: column;
        align-items: center;
    }
    
    .logistics-image {
        position: static;
        width: 100%;
        max-width: 600px;
        margin-bottom: 3rem;
        /* Center image */
        margin-left: auto;
        margin-right: auto;
    }
    
    .logistics-title {
        text-align: center;
        font-size: 3rem;
    }
    
    .logistics-list {
        width: 100%;
        max-width: 800px; /* Limit width for readability */
        margin: 0 auto;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .logistics-section {
        padding: 5rem 0;
    }

    .logistics-title {
        font-size: 2.5rem;
    }
    
    .logistics-content {
        gap: 2rem;
    }
    
    .logistics-image {
        margin-bottom: 2rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .logistics-section {
        padding: 4rem 0;
    }
    
    .logistics-container {
        padding: 0 1rem;
    }
    
    .logistics-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .logistics-item {
        padding: 1.5rem;
    }
    
    .logistics-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .logistics-item p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
}

/* Electronics Distribution Section */
.electronics-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.electronics-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.electronics-title {
    font-size: 3.5rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 4rem;
    line-height: 1.1;
    text-align: left; /* Default left alignment */
}

.electronics-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.electronics-image {
    flex: 0 0 400px; /* Fixed width for the truck image */
}

.electronics-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    /* Optional: shadow for depth */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
}

.electronics-text-block {
    flex: 1;
    background-color: #dbeafe; /* Light blue background like in the image */
    padding: 3rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.electronics-text-block p {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: left;
}

.electronics-products {
    margin-top: 1rem;
    display: flex;
    justify-content: center; /* Center the product icons */
}

.electronics-products img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Electronics */
@media (max-width: 1280px) {
    .electronics-container {
        padding: 0 2rem;
    }
    
    .electronics-title {
        font-size: 3.25rem;
    }
}

@media (max-width: 1024px) {
    .electronics-content {
        flex-direction: column;
        align-items: center;
    }
    
    .electronics-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin-bottom: 2rem;
    }
    
    .electronics-text-block {
        width: 100%;
        padding: 2.5rem;
    }
    
    .electronics-title {
        text-align: center;
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .electronics-section {
        padding: 5rem 0;
    }

    .electronics-title {
        font-size: 2.5rem;
    }
    
    .electronics-text-block {
        padding: 2rem;
    }
    
    .electronics-text-block p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .electronics-section {
        padding: 4rem 0;
    }
    
    .electronics-container {
        padding: 0 1rem;
    }

    .electronics-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .electronics-text-block {
        padding: 1.5rem;
    }
}

/* Our Services Section */
.services-section {
    padding: 6rem 0;
    background-color: #f8fafc; /* Very light background */
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.services-title {
    font-size: 3.5rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 4rem;
    line-height: 1.1;
    text-align: left;
}

.services-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.services-left {
    flex: 0 0 300px; /* Fixed width for the image column */
    position: sticky;
    top: 120px;
}

.services-left img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.services-images-wrapper {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.services-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-column-staggered {
    margin-top: 3rem; /* Stagger effect */
}

.services-column img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.services-column img:hover {
    transform: scale(1.05);
}

.services-right {
    flex: 1;
    background-color: #f1f5f9; /* Light gray background for content area */
    padding: 3rem 4rem;
    border-radius: 4px;
}

.service-category-title {
    font-size: 2rem;
    color: #3b82f6; /* Blue title */
    font-weight: 700;
    text-align: right;
    margin-bottom: 1.5rem;
}

.service-category-desc {
    color: #1e3a8a; /* Darker blue text */
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: right;
    margin-bottom: 3rem;
    font-weight: 500;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-number {
    flex: 0 0 60px;
    height: 60px;
    background-color: #7dd3fc; /* Light blue number bg */
    color: #1e40af; /* Dark blue number text */
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.service-text {
    flex: 1;
}

.service-text h4 {
    color: #64748b; /* Gray title */
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.service-text p {
    color: #64748b; /* Gray text matching image */
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive Services */
@media (max-width: 1280px) {
    .services-container {
        padding: 0 2rem;
    }
    
    .services-title {
        font-size: 3.25rem;
    }
    
    .services-right {
        padding: 2.5rem 3rem;
    }
}

@media (max-width: 1024px) {
    .services-layout {
        flex-direction: column;
    }
    
    .services-left {
        width: 100%;
        max-width: 600px; /* Limit width on tablet */
        flex: none;
        position: static;
        margin: 0 auto 3rem auto;
        display: block; /* Show images */
    }
    
    .services-left img {
        width: 100%;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }
    
    .services-right {
        width: 100%;
        padding: 2rem;
    }
    
    .services-title {
        text-align: center;
        font-size: 3rem;
    }
    
    .service-category-title, 
    .service-category-desc {
        text-align: center; /* Center align on tablet/mobile */
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 5rem 0;
    }

    .services-title {
        font-size: 2.5rem;
    }
    
    .service-item {
        flex-direction: column; /* Stack number and text */
        gap: 1rem;
        align-items: center; /* Center items */
        text-align: center;
    }
    
    .service-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .service-text h4 {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .services-container {
        padding: 0 1rem;
    }

    .services-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-right {
        padding: 1.5rem;
    }
    
    .service-category-title {
        font-size: 1.75rem;
    }
    
    .service-category-desc {
        font-size: 1rem;
    }
}

/* Animation Utilities */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px); /* Changed to Y-axis to prevent horizontal overflow */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

@media (max-width: 768px) {
    .animate-on-scroll {
        transform: translateY(30px); /* Smaller shift on mobile */
    }
}

.animate-on-scroll.animate-up {
    transform: translateY(50px); /* Same as default now */
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.animate-up.visible {
    transform: translateY(0);
}

.animate-on-scroll.animate-right {
    transform: translateY(50px); /* Changed from translateX(50px) to prevent horizontal overflow */
}

.animate-on-scroll.animate-right.visible {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {    .animate-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.why-choose-us-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 2rem;
    align-items: stretch;
}

.why-card {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.why-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.why-image-card {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.why-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.why-image-card:hover img {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .why-choose-us-grid {
        grid-template-columns: 1fr;
    }
    
    .why-image-card {
        order: -1; /* Image on top on mobile */
        margin-bottom: 2rem;
        min-height: 250px; /* Ensure visible height on mobile */
    }
}

/* New Why Choose Us Grid (Image Left + Text Right) */
.why-choose-us-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.why-item-2 {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.why-item-img {
    flex-shrink: 0;
    width: 310px;
    height: 260px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.why-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.why-item-2:hover .why-item-img img {
    transform: scale(1.05);
}

.why-item-text h3 {
    color: #3366cc; /* Blue color */
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .why-choose-us-grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-item-2 {
        flex-direction: column;
        text-align: center;
        background-color: #f8fafc;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .why-item-img {
        width: 100%;
        height: 200px;
    }
    
    .why-item-text h3 {
        margin-top: 1rem;
    }
}
