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

:root {
    --primary-color: #EF4444;
    --primary-dark: #DC2626;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: visible;
    box-sizing: border-box;
}

.header.transparent {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.transparent .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 20px;
    padding-left: 180px;
    overflow: visible;
    position: relative;
}

.logo {
    display: flex;
    align-items: flex-start;
    overflow: visible;
    position: absolute;
    left: 20px;
    top: -2px;
    z-index: 1;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    overflow: visible;
    height: 100%;
    padding-top: 0;
}

.logo-image {
    height: 80px;
    width: auto;
    min-width: 70px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.logo-image:hover {
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-link-with-dropdown {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link-with-dropdown::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover .nav-link-with-dropdown::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
}

.dropdown-item svg {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.dropdown-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown-item:hover svg {
    transform: scale(1.1);
}

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

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.icon-btn:hover {
    color: var(--primary-color);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);
    position: relative;
    transition: color 0.3s;
}

.language-selector:hover {
    color: var(--primary-color);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

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

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s;
}

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

.language-option span:first-child {
    font-size: 1.25rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: 100vw;
    height: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu-overlay.active .mobile-menu-content {
    right: 0;
}

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

.mobile-menu-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    padding: 1rem 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary-color);
}

.mobile-nav-link-with-dropdown svg {
    transition: transform 0.3s ease;
}

.mobile-nav-dropdown.active .mobile-nav-link-with-dropdown svg {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-light);
}

.mobile-nav-dropdown.active .mobile-dropdown-menu {
    max-height: 200px;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 3rem;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-dropdown-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary-color);
    padding-left: 3.5rem;
}

/* Bottom Navigation (Mobile Only) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    font-weight: 500;
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item:hover svg,
.bottom-nav-item.active svg {
    transform: scale(1.1);
}

.bottom-nav-item span {
    font-size: 0.7rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-slide {
    text-align: center;
    color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 3;
}

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

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    transform-origin: center center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--black);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s;
}

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

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

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

.hero-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
}

.hero-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary-color);
}

/* Section Styles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    position: relative;
    padding: 5rem 0;
    background: var(--white);
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-left: 20px;
    padding-right: 0;
    max-width: 100%;
    width: 100%;
}

.about-wrapper {
    display: block;
    max-width: 800px;
    width: auto;
    margin-left: auto;
    margin-right: 0;
    padding-right: 20px;
    flex-shrink: 0;
    transform-origin: right center;
}

.about-wrapper .wrap {
    position: relative;
    z-index: 1;
}

.about-wrapper .main_title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.about-wrapper .main_title em {
    font-style: italic;
    color: var(--white);
}

.about-wrapper .text {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-wrapper .text p {
    color: var(--white);
    font-size: 1rem;
    margin: 0;
}

.cus_list {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.cus_list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1rem;
}

.cus_list li .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: green;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.cus_list li .icon::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.page_more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1rem;
}

.page_more:hover {
    color: var(--white);
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.about-text {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.check-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.learn-more:hover {
    color: var(--primary-dark);
}

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

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

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background: var(--bg-light);
    overflow: hidden;
   
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image .image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.product-name {
    padding: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
}

/* Project Image Gallery Modal */
.project-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-image-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-image-modal-content {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    height: 90vh;
    max-height: 90vh;
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 0.75rem;
}

.project-image-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.project-image-modal-close svg {
    stroke: var(--white);
    width: 20px;
    height: 20px;
}

.project-image-modal-close:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.project-image-gallery {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(90vh - 200px);
    height: calc(90vh - 200px);
    overflow: hidden;
    box-sizing: border-box;
}

.project-gallery-main {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.project-image-modal-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    image-rendering: auto;
    box-sizing: border-box;
    object-position: center;
    /* Ensure both portrait and landscape images scale properly */
    min-width: 0;
    min-height: 0;
}

.project-gallery-counter {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 0.8rem;
    
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.project-gallery-prev,
.project-gallery-next {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 0, 0, 0.8);
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.project-gallery-prev svg,
.project-gallery-next svg {
    stroke: #000;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

.project-gallery-prev:hover,
.project-gallery-next:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 0, 0, 1);
    transform: scale(1.1);
}

.project-gallery-prev:active,
.project-gallery-next:active {
    transform: scale(0.95);
}

.project-gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    flex-shrink: 0;
    max-height: 140px;
    min-height: 80px;
}

.project-gallery-thumbnail {
    width: 70px;
    height: 70px;
    min-width: 70px;
    object-fit: cover;
   
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
    flex-shrink: 0;
}

.project-gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.1);
}

.project-gallery-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.project-image-modal-title {
    margin-top: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    flex-shrink: 0;
    width: 100%;
    padding: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* Hide navigation buttons if only one image */
.project-image-modal[data-total-images="1"] .project-gallery-prev,
.project-image-modal[data-total-images="1"] .project-gallery-next {
    display: none;
}

.projects-section .section-title {
    color: var(--primary-color);
}

.projects-section .title-underline {
    background: var(--primary-color);
}

/* Project Carousel */
.project-carousel-wrapper {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.carousel-active-line {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: var(--primary-color);
    opacity: 0.3;
    z-index: 2;
    transition: all 0.3s ease;
}

.project-carousel {
    display: block;
    /* Remove flex to avoid interference with absolute children */
    perspective: 1200px;
    perspective-origin: center center;
    padding: 2rem 0;
    min-height: 500px;
    position: relative;
    width: 100%;
    overflow: visible;
}

.project-card {
    position: absolute;
    left: 50%;
    top: 50%;
    /* transform is handled by JS */
    width: 520px;
    height: 550px;
    /* Increased height to accommodate content */
    background: #e2e8f000;
  
    overflow: visible;
    cursor: pointer;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, box-shadow 0.3s ease;
    transform-style: flat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Active card - highlighted in lime green */
.project-card.active {
    z-index: 100 !important;
    box-shadow: 0 15px 45px rgba(239, 68, 68, 0.4);
}

.project-card.active .project-number {
    color: var(--white);
    font-weight: 700;
}


.project-image {
    width: 100%;
    height: 420px;
    /* Reduced height to make room for content */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    /* Always visible */
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.project-card.active .project-image {
    opacity: 1;
}

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

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

/* Project Content */
.project-content {
    padding: 1.25rem 1rem;
    background: var(--white);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 130px;
    overflow: visible;
    width: 100%;
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(239, 68, 68, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

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

.project-overlay-content {
    text-align: center;
    padding: 1.5rem;
    color: var(--white);
}

.project-title {
    font-size: 0.8rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    padding: 0;
    color: var(--text-dark, #1f2937);
    /* Dark color for white background */
    background-color: #e2e8f000;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    white-space: normal;
    display: block;
    width: 100%;
}

.project-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Navigation Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.carousel-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.carousel-btn:active {
    transform: translateY(0);
}

.carousel-zoom-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.carousel-zoom-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-zoom-btn span {
    display: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-content: center;
}

.project-image .image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.news-slider {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-item.featured {
    grid-row: span 2;
}

.news-image {
    height: 200px;
    background: var(--bg-light);
}

.news-item.featured .news-image {
    height: 300px;
}

.news-image .image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: var(--text-dark);
}

.news-item.featured .news-title {
    font-size: 1.5rem;
}

.news-excerpt {
    color: var(--text-light);
    margin: 1rem 0;
    line-height: 1.6;
}

.news-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.news-nav {
    background: var(--white);
    border: 2px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s;
}

.news-nav:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.cta-content {
    padding: 2rem;
}

.cta-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.cta-features {
    list-style: none;
}

.cta-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cta-features li:hover {
    background: rgba(239, 68, 68, 0.05);
    transform: translateX(8px);
}

.cta-features li div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cta-features li strong {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.cta-features li span {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.cta-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-form-card {
    transform-origin: center center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 30px 80px rgba(102, 126, 234, 0.2),
        0 0 0 1px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.form-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%),
        repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            rgba(102, 126, 234, 0.1) 2px,
            rgba(102, 126, 234, 0.1) 4px),
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 2px,
            rgba(118, 75, 162, 0.1) 2px,
            rgba(118, 75, 162, 0.1) 4px);
    background-size:
        400px 400px,
        400px 400px,
        40px 40px,
        40px 40px;
    background-position:
        0% 0%,
        100% 100%,
        0 0,
        0 0;
    animation: patternMove 25s linear infinite, patternGlow 8s ease-in-out infinite;
    overflow: hidden;
}

.form-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            rgba(102, 126, 234, 0.1) 90deg,
            transparent 180deg,
            rgba(118, 75, 162, 0.1) 270deg,
            transparent 360deg);
    animation: patternRotate 20s linear infinite;
}

.form-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg,
            rgba(102, 126, 234, 0.1) 0%,
            transparent 30%,
            transparent 70%,
            rgba(118, 75, 162, 0.1) 100%);
    animation: patternShimmer 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes patternMove {
    0% {
        background-position:
            0% 0%,
            100% 100%,
            0 0,
            0 0;
    }

    50% {
        background-position:
            50% 50%,
            50% 50%,
            20px 20px,
            -20px -20px;
    }

    100% {
        background-position:
            100% 100%,
            0% 0%,
            40px 40px,
            -40px -40px;
    }
}

@keyframes patternRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes patternGlow {

    0%,
    100% {
        opacity: 0.15;
        filter: blur(0px);
    }

    50% {
        opacity: 0.25;
        filter: blur(2px);
    }
}

@keyframes patternShimmer {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }

    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

.form-content {
    position: relative;
    z-index: 1;
}

.form-content h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.form-content .title-underline {
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(118, 75, 162, 1) 100%);
    margin-bottom: 2rem;
    height: 3px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    position: relative;
    transition: all 0.3s ease;
}

.form-group.focused {
    transform: translateY(-2px);
}

.input-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.5);
    transform: translate(-50%, -50%) scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: translate(-50%, -50%) scale(20);
        opacity: 0;
    }
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: rgba(102, 126, 234, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 0 4px rgba(102, 126, 234, 0.2),
        0 0 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    opacity: 0.3;
    transform: translateY(-2px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(118, 75, 162, 1) 100%);
    color: var(--white);
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 15px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-submit:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(102, 126, 234, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(102, 126, 234, 0.4);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow:
        0 2px 10px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-submit:disabled {
    background: rgba(107, 114, 128, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.btn-submit:disabled::before {
    display: none;
}

.form-disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 1rem;
    text-align: center;
    font-style: italic;
    position: relative;
    padding-top: 1rem;
}

.form-disclaimer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: none;
    animation: messageSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    font-weight: 500;
    border-left: 4px solid;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.form-message.success {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border-color: #EF4444;
    display: block;
    box-shadow:
        0 4px 15px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(239, 68, 68, 0.1);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: #ef4444;
    display: block;
    box-shadow:
        0 4px 15px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(239, 68, 68, 0.1);
}

/* Footer */
.footer {
    background: #494949;
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

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

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
}

.footer-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.contact-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.contact-value {
    color: var(--white);
    margin-bottom: 0.5rem;
}

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

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

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

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

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-links-bottom {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

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

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

.contact-float-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    color: #333;
    padding: 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e5e7eb;
}

.contact-float-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
}

/* Removed unnecessary animations for better performance */

/* Product card hover animation */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-image {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* News item animation */
.news-item {
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Button hover - simple transition only */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {

    .about-wrapper,
    .cta-wrapper {
        grid-template-columns: 1fr;
    }

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

    .package_box {
        flex-direction: column;
        gap: 1.5rem;
    }

    .package_left,
    .package_right {
        width: 100%;
        flex: 1 1 100%;
    }

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

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

    .news-item.featured {
        grid-row: span 1;
    }

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

@media (max-width: 768px) {
    .header .container {
        padding: 1rem 20px;
        padding-left: 20px;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        position: relative;
        left: 0;
        top: 0;
        height: auto;
    }

    .logo a {
        padding-top: 0;
    }

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

    .nav {
        display: none;
    }

    .header-actions {
        gap: 0.5rem;
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        margin: 0;
    }

    .language-selector,
    .icon-btn {
        display: none;
    }

    .bottom-nav {
        display: flex;
    }

    /* Add padding bottom to body to prevent content from being hidden behind bottom nav */
    body {
        padding-bottom: 80px;
    }

    /* About Section Mobile Styles */
    .about-section {
        padding: 3rem 0;
    }

    .about-section .container {
        padding-left: 20px;
        padding-right: 20px;
        justify-content: center;
        align-items: center;
    }

    .about-wrapper {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-right: 0;
    }

    .about-wrapper .wrap {
        padding: 1.5rem;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .about-wrapper .main_title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .about-wrapper .text {
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .about-wrapper .text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .about-wrapper .text p:last-child {
        margin-bottom: 0;
    }

    .cus_list {
        margin-bottom: 1.5rem;
    }

    .cus_list li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .cus_list li .icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .page_more {
        display: block;
        text-align: center;
        padding: 0.75rem 1.5rem;
        background: var(--primary-color);
        color: var(--white);
        border-radius: 6px;
        font-size: 0.95rem;
        transition: all 0.3s;
    }

    .page_more:hover {
        background: var(--primary-dark);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
    }

    /* Hide contact float button on mobile */
    .contact-float-btn {
        display: none;
    }

    /* Adjust fixed contact bar position on mobile */
    .fixed-contact {
        bottom: 90px;
        top: auto;
        transform: none;
    }

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

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

    /* Project Carousel Mobile */
    .project-carousel-wrapper {
        padding: 2rem 0;
    }

    /* Projects Section Mobile */
    .projects-section {
        padding: 3rem 0;
    }

    .projects-section .container {
        padding: 0 1rem;
    }

    .projects-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .projects-intro {
        margin: 1.5rem auto 2rem !important;
        padding: 0 1rem;
    }

    .projects-intro p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .project-carousel-wrapper {
        padding: 2rem 0;
        overflow: visible;
    }

    .carousel-active-line {
        height: 20px;
        top: 1rem;
    }

    .project-carousel {
        gap: 0.5rem;
        padding: 1rem 0;
        min-height: 300px;
        perspective: 800px;
        overflow: visible;
    }

    .project-card {
        width: 100px;
        height: 150px;
    }

    .project-card.active {
        width: 200px;
        height: 300px;
        z-index: 100 !important;
    }

    /* Simplify 3D effect on mobile - less rotation */
    .project-card[style*="rotateY"] {
        transform: translate(-50%, -50%) !important;
    }

    .project-card.active[style*="rotateY"] {
        transform: translate(-50%, -50%) scale(1.2) !important;
    }

    .project-image {
        opacity: 0.5;
        height: 120px;
        flex-shrink: 1;
    }

    .project-card.active .project-image {
        opacity: 1;
        height: 200px;
    }

    .project-content {
        padding: 0.5rem;
        min-height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: var(--white);
        flex-shrink: 0;
    }

    .project-card.active .project-content {
        padding: 0.75rem;
        min-height: 100px;
    }

    .project-overlay {
        opacity: 0.8;
        pointer-events: auto;
    }

    .project-card.active .project-overlay {
        opacity: 0;
    }

    .project-card:active .project-overlay,
    .project-card.touch-active .project-overlay {
        opacity: 1;
    }

    .project-title {
        font-size: 0.5rem;
        display: block;
        margin: 0;
        padding: 0;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .project-card.active .project-title {
        font-size: 0.9rem;
    }

    .project-description {
        font-size: 0.7rem;
        display: none;
    }

    .project-card.active .project-description {
        display: block;
        font-size: 0.75rem;
    }

    .carousel-controls {
        gap: 0.5rem;
        margin-top: 2rem;
        flex-wrap: wrap;
        padding: 0 1rem;
        justify-content: center;
    }

    .carousel-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        flex: 0 1 auto;
        min-width: 50px;
    }

    .carousel-btn span {
        display: none;
    }

    .carousel-zoom-btn {
        width: 44px;
        height: 44px;
        flex: 0 0 auto;
        padding: 0;
    }

    .carousel-zoom-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Projects Details Mobile */
    .projects-details {
        padding: 2rem 0;
        margin-top: 3rem;
    }

    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem;
    }

    .project-detail-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem;
    }

    .project-detail-card::before {
        font-size: 4rem;
        top: 1rem;
        right: 1rem;
    }

    .project-card-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 1rem !important;
    }

    .project-card-icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .project-card-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.4 !important;
    }

    .project-card-description {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }

    .project-card-highlight,
    .project-card-partners,
    .project-card-standards {
        margin-top: 1rem;
    }

    /* Gallery Modal Mobile */
    .project-image-modal-content {
        width: 95vw;
        height: 95vh;
        max-height: 95vh;
        padding: 0.75rem;
        gap: 0.5rem;
        overflow-y: auto;
    }

    .project-image-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
        z-index: 10001;
    }

    .project-image-modal-close svg {
        width: 18px;
        height: 18px;
    }

    .project-image-gallery {
        max-height: calc(95vh - 200px);
        flex-shrink: 1;
    }

    .project-gallery-main {
        max-height: 100%;
        min-height: 200px;
        overflow: visible;
    }

    .project-gallery-prev,
    .project-gallery-next {
        width: 40px;
        height: 40px;
    }

    .project-gallery-thumbnails {
        max-height: 100px;
        min-height: 70px;
        padding: 0.5rem 0.25rem;
        margin-top: 0.5rem;
    }

    .project-gallery-thumbnail {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .project-image-modal-title {
        font-size: 1rem;
        margin-top: 0.5rem;
        padding: 0.5rem;
        flex-shrink: 0;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }

    /* Touch-friendly carousel on mobile */
    .project-card {
        touch-action: pan-y;
    }

    /* Improve carousel visibility on mobile */
    .project-carousel {
        min-height: 350px;
    }

    /* Make overlay more visible on touch */
    .project-overlay {
        background: rgba(239, 68, 68, 0.85);
    }

    /* Show overlay on tap for mobile */
    .project-card:active .project-overlay,
    .project-card.touch-active .project-overlay {
        opacity: 1 !important;
    }

    .highlight-value {
        font-size: 1.5rem !important;
    }

    .highlight-label {
        font-size: 0.85rem !important;
    }

    .partner-tag,
    .standard-tag {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    /* Gallery Modal Mobile */
    .project-image-modal-content {
        width: 95vw;
        height: 95vh;
        padding: 1rem;
    }

    .project-gallery-prev,
    .project-gallery-next {
        width: 40px;
        height: 40px;
    }

    .project-gallery-thumbnails {
        max-height: 100px;
        padding: 0.25rem;
    }

    .project-gallery-thumbnail {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .project-image-modal-title {
        font-size: 1.1rem;
        margin-top: 0.5rem;
    }

    /* Touch-friendly carousel on mobile */
    .project-card {
        touch-action: pan-y;
    }

    /* Improve carousel visibility on mobile */
    .project-carousel {
        min-height: 350px;
    }

    /* Make overlay more visible on touch */
    .project-overlay {
        background: rgba(239, 68, 68, 0.85);
    }

    .package_right .list {
        grid-template-columns: 1fr;
    }

    /* Mobile styles for package_left - Card Layout */
    .package_left {
        width: 100%;
        margin-bottom: 2rem;
    }

    .cat01 .column {
        min-height: auto;
        border-radius: 12px;
        overflow: hidden;
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
    }

    .cat01 .column .link {
        position: relative;
        width: 100%;
        height: 250px;
        overflow: hidden;
        display: block;
    }

    .cat01 .column .link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Hide duplicate image on mobile */
    .cat01 .column .images {
        display: none !important;
    }

    /* Hide overlay on mobile */
    .cat01 .column .ovrly {
        display: none;
    }

    /* Show content below image on mobile */
    .cat01 .column .wrap {
        position: relative;
        opacity: 1;
        padding: 1.5rem;
        background: var(--white);
        flex: 1;
        display: block;
    }

    .cat01 .column .wrap_box {
        text-align: left;
        color: var(--text-dark);
    }

    .cat01 .column .wrap_box .title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-dark);
        line-height: 1.4;
        margin-bottom: 0.75rem;
        display: block;
    }

    .cat01 .column .wrap_box .title:hover {
        color: var(--primary-color);
    }

    .cat01 .column .wrap_box .text {
        font-size: 0.9rem;
        color: var(--text-light);
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .cat01 .column .wrap_box .more {
        display: inline-block;
        color: var(--primary-color);
        background: transparent;
        border: 2px solid var(--primary-color);
        padding: 0.5rem 1.5rem;
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .cat01 .column .wrap_box .more:hover {
        background: var(--primary-color);
        color: var(--white);
    }

    /* Ensure wrap_box colors are correct on mobile */
    .cat01 .column .wrap_box {
        text-align: left;
        color: var(--text-dark);
    }

    .package_right .column {
        min-height: 200px;
        border-radius: 12px;
        overflow: hidden;
    }

    /* Ensure column doesn't overflow on mobile */
    .cat01 .column,
    .package_right .column {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Ensure package_box and children are full width */
    .package_box {
        width: 100%;
        max-width: 100%;
    }

    .package_left,
    .package_right {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

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

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

    /* Project Card Small Mobile */
    .project-card {
        width: 90px;
        height: 130px;
    }

    .project-card.active {
        width: 180px;
        height: 280px;
    }

    .project-image {
        height: 100px;
    }

    .project-card.active .project-image {
        height: 180px;
    }

    .project-content {
        padding: 0.4rem;
        min-height: 30px;
    }

    .project-card.active .project-content {
        padding: 0.6rem;
        min-height: 100px;
    }

    .project-title {
        font-size: 0.45rem;
    }

    .project-card.active .project-title {
        font-size: 0.85rem;
    }
}

/* Products Section - New Layout */
.pro_content {
    padding: 5rem 0;
    background: var(--bg-light);
}

.pro_box {
    width: 100%;
}

.pro_box .main_title {
    margin-bottom: 3rem;
}

.pro_box .main_title em {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    font-style: italic;
    display: block;
    margin-bottom: 0.5rem;
}

.pro_box .main_title .text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0.5rem;
}

/* New Product Row Layout - Alternating */
.product-row {
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    transition: opacity 0.4s ease, display 0.4s ease;
}

.product-row[style*="display: none"] {
    display: none !important;
}

.product-row:nth-child(even) {
    animation-delay: 0.1s;
}

.product-row:nth-child(odd) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.product-row-content {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-row:hover .product-row-content {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* Animated border effect - Green line running around */
.product-border-top,
.product-border-right,
.product-border-bottom,
.product-border-left {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-border-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #EF4444 50%, transparent 100%);
    transform: translateX(-100%);
}

.product-border-right {
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #EF4444 50%, transparent 100%);
    transform: translateY(-100%);
}

.product-border-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #EF4444 50%, transparent 100%);
    transform: translateX(100%);
}

.product-border-left {
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #EF4444 50%, transparent 100%);
    transform: translateY(100%);
}

.product-row:hover .product-border-top,
.product-row:hover .product-border-right,
.product-row:hover .product-border-bottom,
.product-row:hover .product-border-left {
    opacity: 1;
}

.product-row:hover .product-border-top {
    animation: borderTop 2s linear infinite;
}

.product-row:hover .product-border-right {
    animation: borderRight 2s linear infinite 0.5s;
}

.product-row:hover .product-border-bottom {
    animation: borderBottom 2s linear infinite 1s;
}

.product-row:hover .product-border-left {
    animation: borderLeft 2s linear infinite 1.5s;
}

@keyframes borderTop {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes borderRight {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes borderBottom {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes borderLeft {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.product-row-image {
    flex: 1;
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #f5f5f5;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-row-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: none;
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.product-row:hover .product-image-overlay {
    opacity: 1;
    pointer-events: auto;
}

.product-hover-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.product-hover-buttons a {
    padding: 0.875rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 180px;
}

.product-hover-buttons a:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-row-info {
    flex: 1;
    padding: 3rem;
    min-width: 0;
}

.product-row-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-row-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-row-actions {
    display: none;
}

.btn-product-primary,
.btn-product-secondary {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
}

.btn-product-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(118, 75, 162, 1) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-product-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

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

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

/* Order classes for alternating layout */
.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 968px) {
    .product-row-content {
        flex-direction: column;
        gap: 0;
    }

    .product-row-image {
        width: 100%;
        height: 300px;
        order: 1 !important;
    }

    .product-row-info {
        order: 2 !important;
        padding: 2rem;
    }

    .product-row-title {
        font-size: 1.75rem;
    }

    .product-row-actions {
        flex-direction: column;
    }

    .btn-product-primary,
    .btn-product-secondary {
        width: 100%;
    }
}

/* Only apply new layout to products page */
#productsGrid.package_box {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Keep original layout for home page */
.package_box:not(#productsGrid) {
    display: flex;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.package_left {
    width: 50%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.package_right {
    width: 50%;
    flex-shrink: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .package_box {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .package_left,
    .package_right {
        width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.cat01 .column,
.package_right .column {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border-radius: 0;
}

.cat01 .column {
    min-height: 600px;
}

.package_right .column {
    min-height: 280px;
}

.package_right .list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.package_right .list li {
    margin: 0;
    padding: 0;
}

.column .link,
.column .images {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column .link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (max-width: 768px) {
    .cat01 .column .link {
        position: relative;
        z-index: 1;
        height: 250px;
    }
}

.column .link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column .images {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Hide duplicate image on desktop when link image exists */
.column .link~.images {
    display: none;
}

.ovrly {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(239, 68, 68, 0);
    transition: background 0.3s ease;
    z-index: 2;
}

.column:hover .ovrly {
    background: rgba(239, 68, 68, 0.85);
}

.column .wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    padding: 2rem;
}

.column:hover .wrap {
    opacity: 1;
}

@media (max-width: 768px) {
    .cat01 .column:hover .wrap {
        opacity: 1;
    }

    .cat01 .column .wrap {
        position: relative;
        opacity: 1;
        padding: 1.5rem;
        background: var(--white);
        align-items: flex-start;
        justify-content: flex-start;
        display: block;
    }
}

.wrap_box {
    text-align: center;
    color: var(--white);
}

.wrap_box .title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s;
}

.wrap_box .title:hover {
    color: var(--primary-color);
}

.wrap_box .text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.wrap_box .more {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--white);
    transition: all 0.3s;
}

.wrap_box .more:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Fixed Contact Bar */
.fixed-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    transition: right 0.3s ease;
    pointer-events: none;
}

.fixed-contact .item-list li {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .fixed-contact {
        bottom: 90px;
        top: auto;
        transform: none;
        right: 0;
    }
}

.fixed-contact.show {
    right: 0;
}

.fixed-contact .item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fixed-contact .item-list li {
    margin: 0;
    padding: 0;
    position: relative;
}

.fixed-contact .item-list li .column {
    display: flex;
    align-items: center;
    background: var(--primary-color);
    padding: 1rem 1.5rem;
    padding-right: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    right: 0;
    min-width: 60px;
    width: 60px;
    overflow: hidden;
    box-sizing: border-box;
}

.fixed-contact .item-list li:hover .column {
    right: 0;
    width: auto;
    padding-right: 1.5rem;
}

.fixed-contact .item-list li .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 0.75rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.fixed-contact .item-list li.online_p .icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.fixed-contact .item-list li.online_e .icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.fixed-contact .item-list li.online_w .icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E");
}

.fixed-contact .item-list li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.fixed-contact .item-list li:hover a {
    opacity: 1;
    width: auto;
    margin-left: 0.5rem;
}

.fixed-contact .item-list li.online_p .column {
    background: var(--primary-color);
}

.fixed-contact .item-list li.online_e .column {
    background: #34c759;
}

.fixed-contact .item-list li.online_w .column {
    background: #25d366;
}

.fixed-contact .item-list li:hover .column {
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
}

/* Partnership Section */
.partnership-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.partnership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(239, 68, 68, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.partnership-content {
    position: relative;
    z-index: 1;
}

.partnership-header {
    text-align: center;
    margin-bottom: 4rem;
}

.partnership-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-weight: 400;
}

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

.partnership-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transform-origin: center center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
    position: relative;
    overflow: hidden;
}

.partnership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.partnership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.15);
    border-color: var(--primary-color);
}

.partnership-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.partnership-card:hover .partnership-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
}

.partnership-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.partnership-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Distribution Section */
.distribution-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.distribution-content {
    padding-right: 2rem;
    transform-origin: left center;
}

.distribution-image {
    transform-origin: right center;
}

.distribution-text {
    margin-top: 2rem;
}

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

.distribution-list {
    list-style: none;
    margin-top: 2rem;
}

.distribution-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.distribution-list li:hover {
    background: rgba(239, 68, 68, 0.05);
    transform: translateX(8px);
}

.distribution-list li svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.distribution-list li span {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
}

.distribution-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.distribution-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.2);
}

.distribution-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.4s ease;
}

.distribution-image:hover .distribution-img {
    transform: scale(1.05);
}

/* Removed floating animation for better performance */

.partnership-card:nth-child(3) .partnership-icon {
    animation-delay: 1s;
}

.partnership-card:nth-child(4) .partnership-icon {
    animation-delay: 1.5s;
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .distribution-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .distribution-content {
        padding-right: 0;
    }

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

@media (max-width: 768px) {
    .partnership-grid {
        grid-template-columns: 1fr;
    }

    .partnership-card {
        padding: 2rem 1.5rem;
    }

    .distribution-image .image-placeholder {
        height: 400px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

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

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

.about-main-content {
    margin-bottom: 4rem;
}

.content-text {
    margin-top: 2rem;
}

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

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

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.partnership-info {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.partnership-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.partnership-text p {
    margin-bottom: 1.5rem;
}

.partnership-achievements {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
}

.partnership-achievements h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievements-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.achievements-list li svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.achievements-list li span {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
}

/* Products Filter Section */
.products-filter-section {
    padding: 2rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 2rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

[data-product-type] {
    transition: opacity 0.3s ease;
}

@media (max-width: 1024px) {
    .partnership-info {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .about-features-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-tab {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Product Detail Page */
.product-detail-hero {
    padding: 2rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

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

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

.product-detail-section {
    padding: 4rem 0;
    background: var(--white);
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 120px;
}

.product-main-image {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-main-image:hover img {
    transform: scale(1.05);
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    flex: 1;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.thumbnail:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info */
.product-info {
    padding-left: 2rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.product-badge {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.badge-featured {
    background: var(--primary-color);
    color: var(--white);
}

.product-description {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.product-specs-summary {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.spec-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-item strong {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.spec-item span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.product-features {
    margin-top: 2rem;
}

.product-features h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.features-list li:hover {
    background: rgba(239, 68, 68, 0.05);
    transform: translateX(8px);
}

.features-list li svg {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.features-list li span {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Product Specifications Section */
.product-specs-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.specs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

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

.specs-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    grid-column: 1 / -1;
}

.specs-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.specs-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.specs-category h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 1rem 0;
    font-size: 0.95rem;
}

.specs-table td:first-child {
    color: var(--text-light);
    font-weight: 500;
    width: 50%;
}

.specs-table td:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

/* Related Products Section */
.related-products-section {
    padding: 5rem 0;
    background: var(--white);
}

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

.related-product-card {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.related-product-image {
    width: 100%;
    height: 250px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.1);
}

.related-product-card h3 {
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.related-product-link {
    display: block;
    padding: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.related-product-link:hover {
    color: var(--primary-dark);
}

/* Product CTA Section */
.product-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
}

.product-cta-section .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.product-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-cta-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-images {
        position: static;
    }

    .product-info {
        padding-left: 0;
    }

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

@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

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

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

    .product-cta-section h2 {
        font-size: 2rem;
    }

    .product-cta-section p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Project Image Modal (Lightbox) */
.project-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-image-modal.active {
    opacity: 1;
    visibility: visible;
}

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

.project-image-modal-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.project-image-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.project-image-modal-close svg {
    stroke: var(--white);
    width: 20px;
    height: 20px;
}

.project-image-modal-close:hover {
    background: rgba(239, 68, 68, 0.9);
    border-color: rgba(239, 68, 68, 0.9);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.project-image-modal-image-wrapper {
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-image-modal-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.project-image-modal-title {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

/* Mobile styles for Project Image Modal */
@media (max-width: 768px) {
    .project-image-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        padding: 0.75rem;
        gap: 0.75rem;
        overflow-y: auto;
    }

    .project-image-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
        z-index: 10001;
    }

    .project-image-modal-close svg {
        width: 18px;
        height: 18px;
    }

    .project-image-modal-image-wrapper {
        max-height: calc(95vh - 180px);
        min-height: 200px;
    }

    .project-image-modal-image {
        max-height: calc(95vh - 180px);
    }

    .project-image-modal-title {
        font-size: 1rem;
        padding: 0.5rem;
        flex-shrink: 0;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .project-image-modal-content {
        width: 98vw;
        height: 98vh;
        max-height: 98vh;
        padding: 0.5rem;
        gap: 0.4rem;
    }

    .project-image-modal-close {
        top: 0.25rem;
        right: 0.25rem;
        width: 32px;
        height: 32px;
        z-index: 10001;
    }

    .project-image-modal-close svg {
        width: 16px;
        height: 16px;
    }

    .project-image-gallery {
        max-height: calc(98vh - 160px);
        flex-shrink: 1;
    }

    .project-gallery-main {
        max-height: 100%;
        min-height: 150px;
        overflow: visible;
    }

    .project-image-modal-image-wrapper {
        max-height: calc(98vh - 150px);
        min-height: 150px;
    }

    .project-gallery-thumbnails {
        max-height: 80px;
        min-height: 60px;
        padding: 0.4rem 0.2rem;
        margin-top: 0.4rem;
    }

    .project-gallery-thumbnail {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .project-image-modal-title {
        font-size: 0.9rem;
        padding: 0.4rem;
        line-height: 1.2;
    }
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

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

.search-modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 600px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: searchModalFadeIn 0.3s ease;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

@keyframes searchModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.search-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
    z-index: 2;
}

.search-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.search-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.search-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.search-modal-body {
    padding: 1.5rem 2rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.search-submit-btn {
    padding: 0.875rem 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

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

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-item:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
    transform: translateX(4px);
}

.search-result-type {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.search-result-title {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.search-result-link {
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.search-result-link:hover {
    text-decoration: underline;
}

.search-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Mobile styles for Search Modal */
@media (max-width: 768px) {
    .search-modal {
        padding-top: 2rem;
    }

    .search-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .search-modal-header,
    .search-modal-body {
        padding: 1.5rem;
    }

    .language-dropdown {
        right: -1rem;
        min-width: 160px;
    }
}

/* Staff Section Styles */
.staff-section {
    padding: 5rem 0 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.staff-content-wrapper {
    margin-top: 3rem;
}

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

.stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EF4444, #DC2626);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.2);
}

.stat-icon {
    color: #EF4444;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.staff-map-wrapper {
    margin-top: 3rem;
}

/* Vietnam Map Section */
.vietnam-map-section {
    padding: 1rem 0;
    margin-top: 1rem;
    background: transparent;
}

.map-container-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-layout-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.vietnam-map {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
    min-height: 1000px;
    height: 100vh;
    max-height: 1400px;
    padding: 1rem;
}

.map-svg-object,
.map-svg-fallback {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.map-zoom-controls {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: white;
    padding: 0.25rem;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #EF4444;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: #DC2626;
    transform: scale(1.05);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.map-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    overflow: visible;
}


.map-markers-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform-origin: center center;
}

.map-markers-overlay .location-marker {
    pointer-events: all;
    cursor: pointer;
    transition: all 0.3s ease;
    stroke: #ffffff;
    stroke-width: 2;
}

.map-markers-overlay .location-marker:hover {
    fill: #DC2626;
    filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.8));
    transform: scale(1.2);
    transform-origin: center center;
}

.pulse-circle {
    pointer-events: none;
}

.map-tooltip {
    position: fixed;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    pointer-events: none;
    transform: translateX(-50%);
    border: 2px solid #EF4444;
}

.map-tooltip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #EF4444;
}

.staff-description {
    padding: 2rem;
}

.vietnam-map-section .staff-description {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.vietnam-map-section .staff-main-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.vietnam-map-section .staff-sub-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
}

.staff-main-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.staff-sub-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Projects Details Styles */
.projects-details {
    margin-top: 4rem;
    padding: 2rem 0;
}

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

.project-detail-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.project-detail-card::before {
    content: attr(data-number);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(239, 68, 68, 0.05);
    line-height: 1;
    z-index: 0;
}

.project-detail-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EF4444, #DC2626);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-detail-card:hover::after {
    transform: scaleX(1);
}

.project-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
    border-color: #EF4444;
}

.project-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.project-detail-card:hover .project-card-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.project-card-content {
    position: relative;
    z-index: 1;
}

.project-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-card-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.project-card-description strong {
    color: var(--text-dark);
    font-weight: 600;
}

.project-card-highlight {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.highlight-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #EF4444;
}

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

.project-card-partners,
.project-card-standards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.partner-tag,
.standard-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #EF4444;
    transition: all 0.3s ease;
}

.partner-tag:hover,
.standard-tag:hover {
    background: #EF4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .vietnam-map-section {
        padding: 1.5rem 0;
        margin-top: 1rem;
    }

    .map-layout-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vietnam-map {
        min-height: 550px;
        height: 65vh;
        padding: 0.25rem;
    }

    .vietnam-map-section .staff-description {
        order: -1;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .staff-section {
        padding: 3rem 0 1.5rem 0;
    }

    .staff-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .staff-map-wrapper {
        margin-top: 2rem;
    }

    .vietnam-map {
        min-height: 120vh;
        height: 120vh;
        max-height: none;
        padding: 0;
        width: 100%;
        margin: 0 auto;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .map-container-wrapper {
        width: 100%;
        padding: 0;
        margin: 0 auto;
        overflow: visible;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 120vh;
        height: 120vh;
    }

    .vietnam-map-section {
        padding: 0 !important;
        margin: 0 !important;
    }

    .map-layout-container {
        padding: 0 !important;
        margin: 0 !important;
        gap: 0;
        max-width: 100vw !important;
        width: 100vw !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .map-container-wrapper {
        width: 100vw !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible;
        min-height: 120vh !important;
        height: 120vh !important;
    }

    .vietnam-map {
        width: 100vw !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .map-content-wrapper {
        transform: scale(0.75) translateX(-20%) !important;
        transform-origin: left center;
        width: 150vw !important;
        height: 120%;
        min-height: 120%;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        top: auto !important;
        padding: 0 !important;
    }

    .map-svg-object,
    .map-svg-fallback {
        width: 150vw !important;
        height: 120%;
        min-width: 150vw !important;
        min-height: 120%;
        max-width: 150vw !important;
        max-height: none;
        object-fit: contain;
        object-position: left center;
        margin-left: 0;
        margin-right: 0;
    }

    .staff-description {
        padding: 1.5rem;
    }

    .staff-main-text {
        font-size: 1.1rem;
    }

    .projects-details {
        margin-top: 2rem;
        padding: 1rem 0;
    }

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

    .project-detail-card {
        padding: 2rem 1.5rem;
    }

    .project-detail-card::before {
        font-size: 4rem;
        top: 1rem;
        right: 1rem;
    }

    .project-card-icon {
        width: 56px;
        height: 56px;
    }

    .project-card-title {
        font-size: 1.2rem;
    }
}