:root {
    /* 主要色系 */
    --primary-color: #df321e;      /* 主要紅色 */
    --primary-dark: #c0392b;       /* 深紅色 */
    --secondary-color: #2c3e50;    /* 深灰色 */
    --dark-color: #1a1a1a;         /* 近黑色 */
    
    /* 中性色系 */
    --gray-dark: #333333;          /* 深灰 */
    --gray-medium: #666666;        /* 中灰 */
    --gray-light: #999999;         /* 淺灰 */
    --gray-lighter: #f5f5f5;       /* 最淺灰 */
    
    /* 文字顏色 */
    --text-color: #333333;         /* 主要文字 */
    --text-light: #ffffff;         /* 淺色文字 */
    --text-gray: #666666;          /* 次要文字 */
    
    /* 背景色 */
    --background-color: #ffffff;    /* 主背景 */
    --background-gray: #f5f5f5;    /* 灰色背景 */
    
    /* 其他 */
    --section-padding: 80px 0;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
}

/* 重設 margin/padding，但排除 ul 和 li */
*:not(ul):not(li):not(ol) {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: overlay;
}

body {
    font-family: "Microsoft JhengHei", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* 自訂捲軸樣式 */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
}

html::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-dark);
}

/* 頁尾容器 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.footer-container div {
    padding-right: 10px;
}   

.footer-container div a {
    text-decoration: none;
    font-weight: 300;
    color: rgb(205, 56, 56);
    transition: 1s;
}

.footer-container div a:hover {
    transition: 1s;
    color: rgb(228, 36, 36);
}

/* 導航欄 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

.logo {
    z-index: 1001;
}

.logo a {
    display: block;
    text-decoration: none;
    display: flex; 
    align-items: center;
    gap: 5px;
    color: black;
    font-weight: 700;
    font-size: 24px;
}

.logo-img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.nav-right {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* 首頁區塊 */
.home-section {
    padding: 0;
    height: 100vh;
    position: relative;
    background: #323232;
}

/* 輪播容器 */
.slider-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    display: block;
    will-change: transform, opacity;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.5em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 輪播導航按鈕 */
.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
}

.slider-nav button:hover {
    background: rgba(231, 76, 60, 0.8);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* 輪播指示點 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: transparent;
}

.dot.active::before {
    transform: scale(1);
}

.dot:hover {
    transform: scale(1.2);
}

.dot:hover::before {
    transform: scale(0.8);
}

/* 為圖片添加暗色遮罩 */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* 區段樣式 */
.section {
    padding-top: 80px;
    padding-bottom: 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    font-size: 2.5em;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.company-intro {
    padding: 0 20px;
}

.company-intro p {
    background: transparent !important;
}

.company-intro span {
    background: transparent !important;
}

/* 關於我們 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding: 20px 0;
    border-left: 2px solid var(--primary-color);
    margin-left: 20px;
}

.timeline-item .year {
    position: absolute;
    left: -50px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 4px;
}

/* 產品區塊 - 赤紅背景 */
#products {
    background-color: #9e2d21;
    padding: 80px 0;
}

#products .section-title {
    color: white;
}

#products .section-title::after {
    background: white;
}



/* 產品卡片容器 - 桌面版橫向排列 */
.product-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

/* 產品卡片樣式 */
.product-card {
    width: 300px;
    height: 380px;
    background: var(--background-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    border-color: white;
}

/* 桌面版卡片內容樣式 */
.product-card img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.product-card-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.product-card h3 {
    margin: 0 0 10px 0;
    padding: 10px 15px 0 15px;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card p {
    margin: 0;
    padding: 0 15px 15px 15px;
    font-size: 1em;
    color: var(--text-gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 手機版樣式 - 圖左文右，降低高度 */
@media (max-width: 768px) {
    .product-grid {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    #products .container {
        padding: 0;
        margin: 0;
    }
    
    .product-card {
        width: 350px;
        height: 160px;
        flex-direction: row;
        align-items: stretch;
    }
    
    .product-card img {
        width: 160px;
        height: 100%;
        object-fit: cover;
        border-radius: 12px 0 0 12px;
        flex-shrink: 0;
    }
    
    .product-card-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        min-width: 0;
        overflow: hidden;
    }
    
    .product-card h3 {
        font-size: 1.2em !important;
        margin: 0 0 10px 0 !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        text-overflow: unset !important;
        height: auto !important;
        font-weight: 600 !important;
        color: var(--text-color) !important;
    }
    
    .product-card p {
        font-size: 1em !important;
        margin: 0 !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        text-overflow: unset !important;
        height: auto !important;
        color: var(--text-gray) !important;
    }
}

/* 設備廠區 */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-item {
    background: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.1);
    border-color: var(--primary-color);
}

/* 聯絡區塊 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.contact-form-wrapper,
.contact-info-wrapper {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    font-size: 16px;
    background: var(--background-color);
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

button[type="submit"] {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background: var(--primary-dark);
}

/* 公司/聯絡資訊 */
.contact-info {
    background: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 6px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    max-width: 350px;
    word-break: break-all;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}

/* 頁尾 */
footer {
    background: var(--dark-color);
    color: var(--text-light);
    padding: 20px 0;
    text-align: center;
}

/* 動畫效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

/* 按鈕樣式 */
.btn {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.btn:hover::after {
    left: 100%;
}

/* 滾動進度條 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 1001;
    transition: width 0.3s ease;
}

/* 確保圖片覆蓋範圍正確 */
.slide img,
.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 關於我們區塊的背景特效 */
.section#about {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--background-gray) 100%);
}

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

.particles-bg::before,
.particles-bg::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: float 8s infinite;
    opacity: 0.5;
}

.particles-bg::before {
    left: 10%;
    animation-delay: -4s;
}

.particles-bg::after {
    right: 10%;
    animation-delay: -2s;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50px) translateX(100px);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-150px) translateX(-50px);
        opacity: 0.7;
    }
}

.particles-bg::before {
    box-shadow: 
        0 0 10px var(--primary-color),
        200px 300px 0 var(--primary-color),
        400px 100px 0 var(--primary-color),
        600px 200px 0 var(--primary-color),
        800px 400px 0 var(--primary-color),
        1000px 500px 0 var(--primary-color);
}

.particles-bg::after {
    box-shadow: 
        0 0 10px var(--primary-color),
        -200px -300px 0 var(--primary-color),
        -400px -100px 0 var(--primary-color),
        -600px -200px 0 var(--primary-color),
        -800px -400px 0 var(--primary-color),
        -1000px -500px 0 var(--primary-color);
}

.section#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(223, 50, 30, 0.05) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(223, 50, 30, 0.05) 100%);
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* PQC 區塊的特殊樣式 */
.section#pqc {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--background-gray) 0%, var(--background-color) 100%);
}

.particles-bg-pqc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles-bg-pqc::before,
.particles-bg-pqc::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary-color);
    animation: floatPqc 10s infinite;
    opacity: 0.6;
}

.particles-bg-pqc::before {
    left: 15%;
    animation-delay: -5s;
}

.particles-bg-pqc::after {
    right: 15%;
    animation-delay: -3s;
}

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

@keyframes floatPqc {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-80px) translateX(30px);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-40px) translateX(60px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-120px) translateX(-30px);
        opacity: 0.8;
    }
}

.particles-bg-pqc::before {
    box-shadow: 
        0 0 8px var(--secondary-color),
        150px 250px 0 var(--secondary-color),
        350px 80px 0 var(--secondary-color),
        550px 180px 0 var(--secondary-color),
        750px 350px 0 var(--secondary-color),
        950px 450px 0 var(--secondary-color);
}

.particles-bg-pqc::after {
    box-shadow: 
        0 0 8px var(--secondary-color),
        -150px -250px 0 var(--secondary-color),
        -350px -80px 0 var(--secondary-color),
        -550px -180px 0 var(--secondary-color),
        -750px -350px 0 var(--secondary-color),
        -950px -450px 0 var(--secondary-color);
}

.section#pqc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(44, 62, 80, 0.08) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(44, 62, 80, 0.08) 100%);
    animation: gradientMovePqc 18s ease infinite;
}

@keyframes gradientMovePqc {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 驗證碼樣式 */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-image {
    display: inline-block;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 4px;
}

.captcha-image img {
    height: 40px;
    border-radius: 4px;
}

.refresh-captcha {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.refresh-captcha:hover {
    color: #333;
}

.refresh-captcha i {
    font-size: 16px;
}

#captcha {
    width: 170px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

#captcha:focus {
    border-color: var(--primary-color);
    outline: none;
}

.captcha-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.captcha-error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.captcha-error-message.show {
    display: block;
}

.captcha-container.error {
    border: 1px solid #dc3545;
    border-radius: 4px;
    padding: 5px;
}

/* 懸浮提示框樣式 */
.toast-message {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 15px 25px;
    background-color: #4CAF50;
    color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideIn 0.5s ease-out, fadeOut 0.5s ease-out 4.5s forwards;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-message.error {
    background-color: #f44336;
}

.toast-message i {
    font-size: 20px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.alert-success {
    background-color: #4CAF50;
    color: white;
    border: none;
}

.alert-success i {
    color: white;
}

/* RWD 調整 */
@media (max-width: 1100px) {
    .slide-content h2 {
        font-size: 2em;
    }

    .slide-content p {
        font-size: 1.2em;
    }

    .slider-nav button {
        width: 40px;
        height: 40px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        right: 0;
        width: 200px;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 4px 4px;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-right {
        order: 2;
    }

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

    .section-title {
        font-size: 2em;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        margin-bottom: 30px;
    }

    .map-container {
        height: 300px;
        margin-top: 20px;
    }

    .contact-info {
        padding: 20px;
    }

    .particles-bg::before,
    .particles-bg::after {
        width: 6px;
        height: 6px;
        animation-duration: 12s;
    }

    .particles-bg-pqc::before,
    .particles-bg-pqc::after {
        animation-duration: 14s;
    }

    .particles-bg::before {
        box-shadow: 
            0 0 10px var(--primary-color),
            50px 80px 0 var(--primary-color),
            100px 30px 0 var(--primary-color),
            150px 60px 0 var(--primary-color),
            200px 100px 0 var(--primary-color),
            250px 150px 0 var(--primary-color),
            300px 80px 0 var(--primary-color),
            350px 120px 0 var(--primary-color),
            400px 60px 0 var(--primary-color),
            450px 90px 0 var(--primary-color);
    }

    .particles-bg::after {
        box-shadow: 
            0 0 10px var(--primary-color),
            -50px -80px 0 var(--primary-color),
            -100px -30px 0 var(--primary-color),
            -150px -60px 0 var(--primary-color),
            -200px -100px 0 var(--primary-color),
            -250px -150px 0 var(--primary-color),
            -300px -80px 0 var(--primary-color),
            -350px -120px 0 var(--primary-color),
            -400px -60px 0 var(--primary-color),
            -450px -90px 0 var(--primary-color);
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0) translateX(0);
            opacity: 0.5;
        }
        25% {
            transform: translateY(-50px) translateX(25px);
            opacity: 0.8;
        }
        50% {
            transform: translateY(-25px) translateX(50px);
            opacity: 0.3;
        }
        75% {
            transform: translateY(-75px) translateX(-25px);
            opacity: 0.7;
        }
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 1100px) {
    .contact-grid {
        display: block !important;
    }

    .contact-form-wrapper {
        margin-bottom: 30px;
    }

    .contact-info-wrapper {
        width: 100%;
    }

    .contact-info {
        margin-top: 0;
    }

    .map-container {
        margin-top: 20px;
        height: 300px;
    }

    .contact-form,
    .contact-info {
        width: 100%;
    }
}
