/* ========================================================================
   PANTEX WEBSITE STYLESHEET
   Created: 2026/1/5
   Description: Main stylesheet for Pantex company website
   ======================================================================== */

/* ========================================================================
   GOOGLE FONTS IMPORT
   ======================================================================== */

@import url('https://fonts.bluecdn.com/css2?family=Leckerli+One&display=swap');
@import url('https://fonts.bluecdn.com/css2?family=Cabin:wght@400;500;600;700&display=swap');
@import url('https://fonts.bluecdn.com/css2?family=Cinzel:wght@400;500;600;700&display=swap');
@import url('https://fonts.bluecdn.com/css2?family=Cormorant+SC:wght@400;500;600;700&display=swap');
@import url('https://fonts.bluecdn.com/css2?family=Faustina:wght@400;500;600;700&display=swap');

/* ========================================================================
   1. GLOBAL STYLES
   ======================================================================== */

/* Overall Page Style */
body {
    font-family: 'Cabin', 'Microsoft JhengHei', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #9ebeff #f4f6fa;
    scrollbar-gutter: stable;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* 深色模式 */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode #container {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode #welcome {
    background-color: #1f1f1f;
}

body.dark-mode .stylish-heading {
    color: #5b9cff;
}

body.dark-mode .welcome-text p {
    color: #d0d0d0;
}

body.dark-mode .business-item {
    background-color: #2a2a2a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .business-item p {
    color: #c0c0c0;
}

body.dark-mode .business-item h3 {
    background: linear-gradient(135deg, #1a4080 0%, #235596 100%);
}

body.dark-mode .business-overlay {
    background-color: rgba(26, 64, 128, 0.9);
}

body.dark-mode .tag {
    background-color: #1a4080;
    box-shadow: 0 2px 8px rgba(26, 64, 128, 0.4);
}

body.dark-mode .timeline-item {
    background-color: #2a2a2a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .description h3 {
    color: #e0e0e0;
}

body.dark-mode .description p {
    color: #b0b0b0;
}

body.dark-mode .modal-content {
    background-color: #2a2a2a;
    color: #e0e0e0;
}

body.dark-mode .contact-form {
    background-color: #2a2a2a;
}

body.dark-mode .contact-form h3 {
    color: #5b9cff;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background-color: #1f1f1f;
    border-color: #404040;
    color: #e0e0e0;
}

body.dark-mode .modal-close {
    color: #b0b0b0;
}

body.dark-mode .modal-close:hover {
    color: #5b9cff;
}

body.dark-mode ::-webkit-scrollbar-track {
    background: #2a2a2a;
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4a5a7f, #5b6a8f);
    border-color: #2a2a2a;
}

body.modal-open {
    overflow: hidden;
}

/* Custom scrollbar to avoid overlaying header/footer */
::-webkit-scrollbar {
    width: 10px;
    background: #f4f6fa;
}

::-webkit-scrollbar-track {
    background: #f4f6fa;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #97b7ff, #b4cbff);
    border-radius: 8px;
    border: 2px solid #f4f6fa;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #b4cbff, #97b7ff);
}

/* Smooth transitions for all elements */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========================================================================
   2. PRELOADER / LOADING ANIMATION
   ======================================================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #013DC4 0%, #0153e8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-cubes {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* From Uiverse.io by dexter-st — adapted to PANTEX and theme blue */
.wrapper-grid {
    --animation-duration: 2.1s;
    --cube-color: rgba(255, 255, 255, 0.05);
    --highlight-color: #ffffff;
    --cube-width: 48px;
    --cube-height: 48px;
    --font-size: 1.8em;

    position: relative;
    inset: 0;

    display: grid;
    grid-template-columns: repeat(6, var(--cube-width));
    grid-template-rows: auto;
    grid-gap: 0;

    width: calc(6 * var(--cube-width));
    height: var(--cube-height);
    perspective: 350px;

    font-size: var(--font-size);
    font-weight: 800;
    color: #ffffff;
}

.cube {
    position: relative;
    transform-style: preserve-3d;
    animation: translate-z var(--animation-duration) ease-in-out infinite;
}

.face {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--cube-width);
    height: var(--cube-height);
    background-color: var(--cube-color);
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    animation: face-color var(--animation-duration) ease-in-out infinite,
               edge-glow var(--animation-duration) ease-in-out infinite;
    animation-delay: inherit;
}

.face-left,
.face-right,
.face-back,
.face-front {
    box-shadow:
      inset 0 0 2px 1px #0001,
      inset 0 0 12px 1px #fff1;
}

.face-front {
    animation:
      face-color var(--animation-duration) ease-in-out infinite,
      face-glow var(--animation-duration) ease-in-out infinite,
      edge-glow var(--animation-duration) ease-in-out infinite;
    animation-delay: inherit;
    transform: rotateY(0deg) translateZ(calc(var(--cube-width) / 2));
}

.face-back {
    transform: rotateY(180deg) translateZ(calc(var(--cube-width) / 2));
    opacity: 0.6;
}

.face-left {
    transform: rotateY(-90deg) translateZ(calc(var(--cube-width) / 2));
    opacity: 0.6;
}

.face-right {
    transform: rotateY(90deg) translateZ(calc(var(--cube-width) / 2));
    opacity: 0.6;
}

.face-top {
    height: var(--cube-width);
    transform: rotateX(90deg) translateZ(calc(var(--cube-width) / 2));
    opacity: 0.8;
}

.face-bottom {
    height: var(--cube-width);
    transform: rotateX(-90deg) translateZ(calc(var(--cube-height) - var(--cube-width) * 0.5));
    opacity: 0.8;
}

.cube:nth-child(1) { z-index: 0; animation-delay: 0s; }
.cube:nth-child(2) { z-index: 1; animation-delay: 0.2s; }
.cube:nth-child(3) { z-index: 2; animation-delay: 0.4s; }
.cube:nth-child(4) { z-index: 3; animation-delay: 0.6s; }
.cube:nth-child(5) { z-index: 2; animation-delay: 0.8s; }
.cube:nth-child(6) { z-index: 1; animation-delay: 1.0s; }

@keyframes translate-z {
    0%, 40%, 100% { transform: translateZ(-2px); }
    30% { transform: translateZ(16px) translateY(-1px); }
}

@keyframes face-color {
    0%, 50%, 100% { background-color: var(--cube-color); }
    10% { background-color: rgba(255, 255, 255, 0.2); }
}

@keyframes face-glow {
    0%, 50%, 100% { color: #ffffff; filter: none; }
    30% { color: #ffffff; filter: drop-shadow(0 14px 10px rgba(255, 255, 255, 0.8)); }
}

@keyframes edge-glow {
    0%, 40%, 100% {
        box-shadow:
          inset 0 0 2px 1px #0001,
          inset 0 0 12px 1px #fff1;
    }
    30% { box-shadow: 0 0 2px 0px var(--highlight-color); }
}

/* ========================================================================
   3. HEADER & NAVIGATION
   ======================================================================== */

/* Header Section */
#head {
    padding: 0;
    border-bottom: 1px solid #013DC4;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #013DC4;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    position: relative;
    min-height: 80px;
}

#head.scrolled {
    box-shadow: 0px 6px 20px rgba(1, 61, 196, 0.3);
}

body.dark-mode #head {
    background-color: #1a4080;
    border-bottom-color: #1a4080;
}

body.dark-mode #head.scrolled {
    box-shadow: 0px 6px 20px rgba(26, 64, 128, 0.4);
}

/* Logo Styling */
.logo {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    z-index: 10;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-svg {
    height: 50px;
    width: auto;
    display: block;
    transform: scale(2.5);
    transform-origin: left center;
}

/* Navigation Menu */
#menu {
    background: transparent;
    text-align: center;
    padding: 0;
    width: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex: 1;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: auto;
}

.toggle {
    width: auto;
    height: auto;
    border-radius: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    line-height: 1;
    background: transparent;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.toggle:hover {
    background: transparent;
}

.input {
    display: none;
}

.icon {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
    transition: transform 500ms;
    line-height: 0.1;
}

.icon--moon {
    transition-delay: 200ms;
    color: #b4b4b4;
}

.icon--sun {
    transform: scale(0);
    color: #ffa500;
}

#switch:checked + .icon--moon {
    transform: rotate(360deg) scale(0);
}

#switch:checked ~ .icon--sun {
    transition-delay: 200ms;
    transform: scale(1) rotate(360deg);
}

.lang-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    padding: 4px 6px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.lang-link:hover {
    color: #fff;
    background: transparent;
}

.lang-link.active {
    color: #fff;
    font-weight: 700;
    background: transparent;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    user-select: none;
}

#menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 15px;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

#menu a:after {
    content: '';
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 2px;
    height: 3px;
    background-color: #fff;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#menu a:hover {
    color: #fff;
    transform: translateY(-1px);
}

#menu a:hover:after {
    opacity: 1;
    transform: scaleX(1);
}

/* ========================================================================
   4. ANNOUNCEMENT BANNER
   ======================================================================== */

.announcement-banner {
    background: linear-gradient(135deg, #013DC4 0%, #5b9cff 100%);
    color: #ffffff;
    padding: 15px 20px;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.announcement-banner.hidden {
    transform: translateY(-100%);
}

.announcement-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.announcement-content i.fa-bullhorn {
    font-size: 1.2em;
    flex-shrink: 0;
}

.announcement-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.announcement-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px 10px;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.announcement-close:hover {
    opacity: 0.7;
}

body.dark-mode .announcement-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-bottom: 1px solid #5b9cff;
}

/* ========================================================================
   5. MAIN CONTENT CONTAINER
   ======================================================================== */

#container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    margin-top: 175px;
    transition: margin-top 0.3s ease;
    background-color: #fff;
    padding: 20px;
    flex-grow: 1;
}

#container.no-banner {
    margin-top: 120px;
}

/* ========================================================================
   5. WELCOME SECTION
   ======================================================================== */

#welcome {
    padding: 40px 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.stylish-heading {
    font-family: 'Cormorant SC', 'Microsoft JhengHei', cursive;
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    color: #013DC4;
    margin-bottom: 20px;
    line-height: 1.4;
    position: relative;
    padding-bottom: 20px;
}

.welcome-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.welcome-image {
    flex: 0 0 35%;
}

.welcome-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.welcome-text {
    flex: 1;
    min-width: 300px;
}

.welcome-text p {
    font-family: 'Faustina', 'Microsoft JhengHei', sans-serif;
    font-size: 1.0em;
    line-height: 1.5;
    color: #333;
    margin-bottom: 10px;
}

.welcome-divider {
    margin-top: 20px;
    height: 4px;
    width: 80px;
    background-color: #013DC4;
    border-radius: 2px;
}

/* ========================================================================
   6. PRODUCTS / SOLUTIONS SECTION
   ======================================================================== */

.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.business-item {
    text-align: center;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
}

.business-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(1, 61, 196, 0.2);
}

.business-front {
    position: relative;
    overflow: hidden;
}

.business-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

/* Business Title on Image with Frosted Glass Effect */
.business-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #ffffff;
    font-size: 1.2em;
    margin: 0;
    padding: 20px 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.business-item h3 i {
    margin-right: 8px;
    color: #ffffff;
}

/* Business Overlay on Hover */
.business-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 61, 196, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.business-item:hover .business-overlay {
    opacity: 1;
}

.business-overlay i {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.business-item:hover .business-overlay i {
    transform: translateY(0);
}

/* Business Content */
.business-content {
    padding: 25px 20px;
    text-align: left;
}

.business-item p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.7;
    margin: 15px 0;
    min-height: 60px;
    text-align: left;
}

/* Business Tags */
.business-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tag {
    background-color: #013DC4;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(1, 61, 196, 0.3);
}

/* ========================================================================
   7. HISTORY / TIMELINE SECTION - 横向滑动卡片
   ======================================================================== */

.history-timeline {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 40px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.history-timeline::-webkit-scrollbar {
    display: none;
}

.timeline-item {
    position: relative;
    min-width: 360px;
    max-width: 360px;
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px 25px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    overflow: hidden;
    flex-shrink: 0;
}

body.dark-mode .timeline-item {
    background: #2a2a2a;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.timeline-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(1, 61, 196, 0.25);
    border-color: #013DC4;
}

body.dark-mode .timeline-item:hover {
    border-color: #5b9cff;
    box-shadow: 0 15px 40px rgba(91, 156, 255, 0.3);
}

/* 年份背景 - 左上角 */
.timeline-item .year {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 6em;
    font-weight: 900;
    color: rgba(1, 61, 196, 0.08);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    font-family: 'Cabin', sans-serif;
}

body.dark-mode .timeline-item .year {
    color: rgba(91, 156, 255, 0.12);
}

.timeline-item:hover .year {
    color: rgba(1, 61, 196, 0.20);
}

body.dark-mode .timeline-item:hover .year {
    color: rgba(91, 156, 255, 0.25);
}

/* 图标 - 右上角 */
.timeline-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #013DC4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6em;
    box-shadow: 0 5px 15px rgba(1, 61, 196, 0.3);
    transition: all 0.4s ease;
    z-index: 2;
}

body.dark-mode .timeline-icon {
    background: #5b9cff;
    box-shadow: 0 5px 15px rgba(91, 156, 255, 0.4);
}

.timeline-item:hover .timeline-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 8px 25px rgba(1, 61, 196, 0.5);
}

body.dark-mode .timeline-item:hover .timeline-icon {
    box-shadow: 0 8px 25px rgba(91, 156, 255, 0.6);
}

/* 内容区域 - 下方 */
.description {
    position: relative;
    z-index: 2;
    margin-top: 80px;
}

.description h3 {
    color: #013DC4;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

body.dark-mode .description h3 {
    color: #5b9cff;
}

.description p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.7;
    margin: 0;
}

body.dark-mode .description p {
    color: #b0b0b0;
}

/* ========================================================================
   7.5 VALUES SECTION
   ======================================================================== */

.values-section {
    margin: 50px 0;
    padding: 20px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.value-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(1, 61, 196, 0.15);
    border-color: #013DC4;
}

.value-icon {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(1, 61, 196, 0.08), rgba(91, 156, 255, 0.08));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    color: rgba(1, 61, 196, 0.15);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(91, 156, 255, 0.12), rgba(1, 61, 196, 0.12));
    color: rgba(1, 61, 196, 0.25);
}

.value-item h3 {
    font-size: 1.3em;
    color: #013DC4;
    margin: 0 0 12px 0;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.value-item p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

body.dark-mode .value-item {
    background: #2a2a2a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .value-item:hover {
    border-color: #5b9cff;
    box-shadow: 0 15px 35px rgba(91, 156, 255, 0.2);
}

body.dark-mode .value-icon {
    background: linear-gradient(135deg, rgba(91, 156, 255, 0.1), rgba(122, 180, 255, 0.1));
    color: rgba(91, 156, 255, 0.2);
}

body.dark-mode .value-item:hover .value-icon {
    background: linear-gradient(135deg, rgba(122, 180, 255, 0.15), rgba(91, 156, 255, 0.15));
    color: rgba(91, 156, 255, 0.3);
}

body.dark-mode .value-item h3 {
    color: #5b9cff;
}

body.dark-mode .value-item p {
    color: #c0c0c0;
}

/* ========================================================================
   8. CONTACT SECTION
   ======================================================================== */

/* Contact Section - Full Width Map + Overlay Card */
.contact-section {
    margin: 0 -20px 0 -20px;
    padding-top: 50px;
}

.contact-section .section-header {
    margin-left: 20px;
    margin-right: 20px;
}

.contact-map-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.contact-map {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: saturate(0.9) contrast(1.05);
}

body.dark-mode .contact-map iframe {
    filter: saturate(0.7) brightness(0.7) contrast(1.1);
}

/* Contact Info Card - Overlay on Map */
.contact-info-card {
    position: absolute;
    top: 30px;
    right: 20px;
    transform: none;
    background: linear-gradient(135deg, rgba(1, 61, 196, 0.96) 0%, rgba(1, 83, 232, 0.96) 100%);
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    width: 275px !important;
    max-width: 275px !important;
    z-index: 10;
    backdrop-filter: blur(20px);
}

.info-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.info-header i {
    font-size: 1.4em;
    margin: 0;
    opacity: 0.95;
}

.info-header h3 {
    font-size: 1.25em;
    margin: 0;
    font-weight: 700;
    color: #ffffff;
}

.info-items {
    display: grid;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.info-icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1em;
    color: #ffffff;
}

.info-text {
    flex: 1;
}

.info-label {
    display: block;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.85;
    margin-bottom: 2px;
    font-weight: 600;
}

.info-text a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88em;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.info-text a:hover {
    transform: translateX(4px);
    opacity: 0.9;
}

.info-text p {
    margin: 0;
    font-size: 0.82em;
    line-height: 1.45;
    opacity: 0.95;
}

/* Dark Mode Contact Info Card */
body.dark-mode .contact-info-card {
    background: linear-gradient(135deg, rgba(26, 64, 128, 0.96) 0%, rgba(35, 85, 150, 0.96) 100%);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

body.dark-mode .info-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .info-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .info-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

body.dark-mode .info-icon {
    background: rgba(255, 255, 255, 0.15);
}

/* ========================================================================
   9. CONTACT FORM (Modal)
   ======================================================================== */

/* Contact Form Styling */
.contact-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    color: #013DC4;
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-form h3 i {
    margin-right: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Cabin', sans-serif;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #013DC4;
    box-shadow: 0 0 0 3px rgba(1, 61, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #013DC4;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(1, 61, 196, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(1, 61, 196, 0.4);
}

.submit-btn i {
    margin-right: 8px;
}

/* ========================================================================
   10. MODAL / POPUP
   ======================================================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 0;
    border-radius: 15px;
    max-width: 520px;
    width: calc(100% - 60px);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #013DC4;
}

.modal .contact-form {
    padding: 40px 30px 30px;
}

.modal .contact-form h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #013DC4;
    font-size: 1.5em;
}

/* ========================================================================
   11. FLOATING BUTTONS (Messenger & Back to Top)
   ======================================================================== */

/* Messenger Button */
.messenger-btn {
    position: fixed;
    bottom: 20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #013DC4;
    color: #fff;
    border: 2px solid #013DC4;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 2px 8px rgba(1, 61, 196, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.messenger-btn:hover {
    background-color: #0153e8;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(1, 61, 196, 0.5);
    border-color: #0153e8;
}

.messenger-btn.inverted {
    background-color: #fff;
    color: #013DC4;
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.messenger-btn.inverted:hover {
    background-color: #f0f4ff;
    border-color: #f0f4ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.messenger-btn i {
    animation: pulse 2s infinite;
}

body.dark-mode .messenger-btn {
    background-color: #1a4080;
    border-color: #1a4080;
    box-shadow: 0 2px 8px rgba(26, 64, 128, 0.4);
}

body.dark-mode .messenger-btn:hover {
    background-color: #235596;
    border-color: #235596;
    box-shadow: 0 4px 12px rgba(35, 85, 150, 0.5);
}

body.dark-mode .messenger-btn.inverted {
    background-color: #fff;
    color: #1a4080;
    border-color: #fff;
}

body.dark-mode .messenger-btn.inverted:hover {
    background-color: #f0f4ff;
    color: #1a4080;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #013DC4;
    color: #fff;
    border: 2px solid #013DC4;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(1, 61, 196, 0.3);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(1, 61, 196, 0.5);
    background-color: #0153e8;
    border-color: #0153e8;
}

.back-to-top.inverted {
    background-color: #fff;
    color: #013DC4;
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top.inverted:hover {
    background-color: #f0f4ff;
    border-color: #f0f4ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

body.dark-mode .back-to-top {
    background-color: #1a4080;
    border-color: #1a4080;
    box-shadow: 0 2px 8px rgba(26, 64, 128, 0.4);
}

body.dark-mode .back-to-top:hover {
    background-color: #235596;
    border-color: #235596;
    box-shadow: 0 4px 12px rgba(35, 85, 150, 0.5);
}

body.dark-mode .back-to-top.inverted {
    background-color: #fff;
    color: #1a4080;
    border-color: #fff;
}

body.dark-mode .back-to-top.inverted:hover {
    background-color: #f0f4ff;
    color: #1a4080;
}

/* ========================================================================
   12. FOOTER
   ======================================================================== */

#footer {
    background-color: #013DC4;
    color: #fff;
    padding: 0;
    width: 100%;
    box-shadow: 0 -5px 20px rgba(1, 61, 196, 0.3);
    min-height: 80px;
    display: flex;
    align-items: center;
}

body.dark-mode #footer {
    background-color: #1a4080;
    color: #e0e0e0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left p {
    margin: 0;
    font-size: 0.95em;
    color: #fff;
    letter-spacing: 0.3px;
}

body.dark-mode .footer-left p {
    color: #e0e0e0;
}

.footer-right {
    display: flex;
    align-items: center;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    font-size: 1.3em;
    color: #fff;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

body.dark-mode .social-icons a {
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

body.dark-mode .social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.25);
}

/* ========================================================================
   13. SECTION TITLES & UTILITIES
   ======================================================================== */

/* General section styling */
.business-section,
.history-section,
.values-section {
    margin: 0;
    padding: 0;
}

/* History Section Navigation */
.history-section {
    position: relative;
}

.timeline-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.timeline-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #013DC4;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2em;
    box-shadow: 0 3px 10px rgba(1, 61, 196, 0.3);
}

.timeline-nav-btn:hover {
    background: #0153e8;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(1, 61, 196, 0.5);
}

.timeline-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #ccc;
}

.timeline-nav-btn:disabled:hover {
    transform: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .timeline-nav-btn {
    background: #5b9cff;
    box-shadow: 0 3px 10px rgba(91, 156, 255, 0.4);
}

body.dark-mode .timeline-nav-btn:hover {
    background: #7ab4ff;
    box-shadow: 0 5px 15px rgba(91, 156, 255, 0.6);
}

body.dark-mode .timeline-nav-btn:disabled {
    background: #555;
}

/* Section header wrapper to keep title and subtitle on same line */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    margin: 50px 0 40px 0;
    border-bottom: 3px solid #013DC4;
    padding-bottom: 8px;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
}

.history-section .section-header {
    justify-content: space-between;
    align-items: center;
}

.history-section .section-header .timeline-nav {
    margin-left: auto;
}

.section-title {
    color: #013DC4;
    font-size: 2em;
    margin: 0;
    padding: 0;
    font-weight: bold;
    text-transform: uppercase;
    display: inline;
    border: none;
    line-height: 1.2;
}

.section-subtitle {
    display: inline;
    color: #888;
    font-size: 1.1em;
    margin: 0;
    padding: 0;
    font-style: normal;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.2;
    font-family: 'Faustina', 'Microsoft JhengHei', serif;
}

.section-subtitle::before {
    content: '|';
    color: #ccc;
    margin: 0 15px;
    font-weight: 300;
}

body.dark-mode .section-header {
    border-bottom-color: #5b9cff;
}

body.dark-mode .section-title {
    color: #5b9cff;
}

body.dark-mode .section-subtitle {
    color: #b0b0b0;
}

body.dark-mode .section-subtitle::before {
    color: #666;
}

.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========================================================================
   14. KEYFRAME ANIMATIONS
   ======================================================================== */

/* Spinner Rotation (legacy, unused) */
@keyframes spinRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========================================================================
   15. RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================================================== */

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
    /* Header & Navigation */
    #container {
        margin-top: 80px;
        padding: 15px;
        box-sizing: border-box;
    }
    
    #head {
        padding: 12px 0;
    }
    
    .nav-inner {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px;
        align-items: center;
    }
    
    .logo {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo-svg {
        transform: scale(1.5);
        transform-origin: center center;
        height: 40px;
    }
    
    #menu {
        width: 100%;
        flex-wrap: wrap;
        gap: 6px;
        font-size: 0.8em;
        justify-content: center;
    }
    
    #menu a {
        padding: 5px 8px;
        white-space: nowrap;
    }
    
    .lang-switcher {
        width: 100%;
        justify-content: center;
        gap: 6px;
        display: flex;
        align-items: center;
    }
    
    .lang-link {
        font-size: 0.85em;
        padding: 3px 5px;
    }
    
    .toggle {
        margin-left: 6px;
    }
    
    .icon svg {
        width: 26px;
        height: 26px;
    }
    
    /* Welcome Section */
    #welcome {
        padding: 30px 20px;
    }
    
    .welcome-content {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-image {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .stylish-heading {
        font-size: 2em;
    }
    
    /* Business */
    .business-section {
        padding: 30px 20px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .business-item img {
        height: 220px;
    }
    
    /* History Timeline */
    .history-section {
        padding: 30px 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .history-section .section-header {
        align-items: center;
    }
    
    .history-section .section-header .timeline-nav {
        display: none;
    }
    
    .section-title {
        font-size: 1.6em;
    }
    
    .section-subtitle {
        font-size: 0.95em;
    }
    
    .section-subtitle::before {
        content: '';
    }
    
    .history-timeline {
        padding: 20px 10px;
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    .history-timeline::-webkit-scrollbar {
        height: 6px;
    }
    
    .history-timeline::-webkit-scrollbar-track {
        background: rgba(1, 61, 196, 0.1);
        border-radius: 3px;
    }
    
    .history-timeline::-webkit-scrollbar-thumb {
        background: rgba(1, 61, 196, 0.4);
        border-radius: 3px;
    }
    
    .history-timeline::-webkit-scrollbar-thumb:hover {
        background: rgba(1, 61, 196, 0.6);
    }
    
    body.dark-mode .history-timeline::-webkit-scrollbar-track {
        background: rgba(91, 156, 255, 0.15);
    }
    
    body.dark-mode .history-timeline::-webkit-scrollbar-thumb {
        background: rgba(91, 156, 255, 0.5);
    }
    
    body.dark-mode .history-timeline::-webkit-scrollbar-thumb:hover {
        background: rgba(91, 156, 255, 0.7);
    }
    
    .timeline-item {
        width: 320px;
        min-width: 320px;
        padding: 20px;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3em;
    }
    
    .year {
        font-size: 4.5em;
    }
    
    .description h3 {
        font-size: 1.1em;
    }
    
    .description p {
        font-size: 0.9em;
    }
    
    /* Values */
    .values-section {
        padding: 30px 20px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .value-item {
        padding: 25px 20px;
        min-height: 240px;
    }
    
    .value-icon {
        font-size: 2.2em;
        margin-bottom: 12px;
    }
    
    .value-item h3 {
        font-size: 1.1em;
    }
    
    .value-item p {
        font-size: 0.85em;
    }
    
    /* Contact */
    .contact-section {
        margin: 0;
        padding: 30px 20px;
    }
    
    .contact-map {
        display: none;
    }
    
    .contact-info-card {
        position: static;
        padding: 20px;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto;
        top: auto;
        right: auto;
        left: auto;
        background: linear-gradient(135deg, rgba(1, 61, 196, 0.98) 0%, rgba(1, 83, 232, 0.98) 100%);
    }
    
    body.dark-mode .contact-info-card {
        background: linear-gradient(135deg, rgba(26, 64, 128, 0.98) 0%, rgba(35, 85, 150, 0.98) 100%);
    }
    
    .info-header h3 {
        font-size: 1.1em;
    }
    
    .info-header i {
        font-size: 1.4em;
    }
    
    .info-item {
        padding: 8px 10px;
        gap: 10px;
    }
    
    .info-icon {
        width: 30px;
        height: 30px;
    }
    
    .info-icon i {
        font-size: 0.9em;
    }
    
    .info-text {
        font-size: 0.85em;
    }
    
    /* Modal */
    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 25px;
    }
    
    .contact-form h3 {
        font-size: 1.3em;
    }
    
    /* Floating Buttons */
    .back-to-top,
    .messenger-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-width: 2px;
    }
    
    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
    }
    
    .messenger-btn {
        position: fixed;
        bottom: 20px;
        left: 20px;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-left p {
        font-size: 0.85em;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    /* Header */
    #head {
        padding: 10px 0;
    }
    
    .nav-inner {
        gap: 10px;
        padding: 0 10px;
        align-items: center;
    }
    
    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .logo-svg {
        transform: scale(1.2);
        transform-origin: center center;
        height: 35px;
    }
    
    #menu {
        gap: 4px;
        font-size: 0.7em;
        justify-content: center;
    }
    
    #menu a {
        padding: 4px 6px;
        white-space: nowrap;
    }
    
    .lang-switcher {
        gap: 4px;
        display: flex;
        align-items: center;
    }
    
    .lang-link {
        font-size: 0.8em;
        padding: 2px 4px;
    }
    
    .icon svg {
        width: 22px;
        height: 22px;
    }
    
    /* Welcome */
    #welcome {
        padding: 20px 15px;
    }
    
    .stylish-heading {
        font-size: 1.6em;
    }
    
    .compact-text {
        font-size: 0.9em;
        line-height: 1.6;
    }
    
    .welcome-image {
        max-width: 100%;
    }
    
    /* Sections */
    .business-section,
    .history-section,
    .values-section,
    .contact-section {
        padding: 25px 15px;
    }
    
    .contact-section {
        margin: 0;
    }
    
    .section-header {
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.3em;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 0.75em;
        text-align: center;
    }
    
    /* Business */
    .business-item {
        padding: 15px;
    }
    
    .business-item img {
        height: 200px;
    }
    
    .business-item h3 {
        font-size: 1.1em;
    }
    
    .business-content p {
        font-size: 0.85em;
    }
    
    .tag {
        font-size: 0.75em;
        padding: 4px 10px;
    }
    
    /* History Timeline */
    .history-timeline {
        padding: 15px 5px;
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    .timeline-item {
        width: 280px;
        min-width: 280px;
        padding: 18px;
    }
    
    .timeline-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }
    
    .year {
        font-size: 4em;
    }
    
    .description h3 {
        font-size: 1em;
    }
    
    .description p {
        font-size: 0.85em;
    }
    
    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .value-item {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .value-icon {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    .value-item h3 {
        font-size: 1em;
    }
    
    .value-item p {
        font-size: 0.8em;
    }
    
    /* Contact */
    .contact-map-wrapper {
        position: relative;
    }
    
    .contact-map {
        display: none;
    }
    
    .contact-info-card {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        width: calc(100% - 30px) !important;
        max-width: 320px !important;
        padding: 18px;
        margin: 0 auto;
        background: linear-gradient(135deg, rgba(1, 61, 196, 0.98) 0%, rgba(1, 83, 232, 0.98) 100%);
    }
    
    body.dark-mode .contact-info-card {
        background: linear-gradient(135deg, rgba(26, 64, 128, 0.98) 0%, rgba(35, 85, 150, 0.98) 100%);
    }
    
    .info-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .info-header h3 {
        font-size: 0.95em;
    }
    
    .info-header i {
        font-size: 1.1em;
    }
    
    .info-item {
        padding: 8px 10px;
        gap: 10px;
    }
    
    .info-icon {
        width: 30px;
        height: 30px;
    }
    
    .info-icon i {
        font-size: 0.9em;
    }
    
    .info-text {
        font-size: 0.85em;
    }
    
    .info-text a {
        font-size: 1em;
    }
    
    .info-text p {
        font-size: 0.95em;
    }
    
    .info-text a,
    .info-text p {
        font-size: 0.85em;
    }
    
    .contact-map {
        height: 350px;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
    
    .contact-form h3 {
        font-size: 1.2em;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9em;
        padding: 10px;
    }
    
    .submit-btn {
        font-size: 0.9em;
        padding: 12px 20px;
    }
    
    /* Footer */
    .footer-content {
        padding: 15px 10px;
    }
    
    .footer-left p {
        font-size: 0.75em;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 0.9em;
    }
    
    /* Announcement Banner */
    .announcement-banner {
        padding: 8px 10px;
    }
    
    .announcement-content {
        font-size: 0.85em;
        gap: 8px;
    }
    
    .announcement-content i {
        font-size: 1em;
    }
    
    .announcement-close {
        width: 24px;
        height: 24px;
        font-size: 0.9em;
    }
}

/* ========================================================================
   END OF STYLESHEET
   ======================================================================== */
