*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #eaf1fa;
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="30" viewBox="0 0 60 30" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="15" cy="15" r="10" stroke="%2399aabb" stroke-width="1" fill="none" opacity="0.10"/><circle cx="45" cy="15" r="10" stroke="%2399aabb" stroke-width="1" fill="none" opacity="0.10"/><line x1="25" y1="15" x2="35" y2="15" stroke="%2399aabb" stroke-width="1" opacity="0.10"/></svg>');
    background-size: 60px 30px;
    background-repeat: repeat;
    background-position: center center;
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 15px 0; /* Base padding - slightly reduced */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 7px solid #e4c829; /* Added yellow line */
}

.nav-container {
    display: flex;
    justify-content: space-between; /* <<< Change this back */
    align-items: center;
    max-width: 1800px; /* Adjusted max-width */
    margin: 0 auto; /* Center the container */
    padding: 0 15px 0 15px; /* Adjusted horizontal padding */
    gap: 15px; /* Base gap */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 45px; /* Base logo height - slightly reduced */
    flex-shrink: 0; /* Prevent logos from shrinking disproportionately */
}

.nav-links {
    display: flex; /* Ensure nav links are in a flex container */
    align-items: center; /* Vertically align links */
    flex-wrap: nowrap; /* Prevent wrapping by default */
    overflow: hidden; /* Hide overflow for now */
    /* Ensure margin-left: auto; is REMOVED if it exists */
}

.nav-links a {
    color: #002E7D;
    text-decoration: none;
    font-weight: 600;
    margin: 0 15px; /* Base margin */
    transition: color 0.3s ease;
    font-size: 1.0rem;  /* Base font size */
    white-space: nowrap; /* Prevent link text wrapping */
}

.nav-links a:hover {
    color: #e4c829;
}

/* Hero Section Enhancement */
.hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 120vh; /* Increased from 100vh */
    min-height: 600px; /* Increased from 600px */
    max-height: 950px; /* Increased from 800px */
    overflow-y: auto; /* Allow scrolling if content exceeds height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: background-image 1s ease-in-out; /* Added for smooth transition */
    z-index: 2;
}

.hero-overlay {
    /* background: rgba(0, 0, 0, 0.2); */ /* Comment out or remove this line */
    padding: 80px;
    border-radius: 0;
    /* backdrop-filter: blur(5px); */ /* Comment out or remove this line */
    max-width: 1200px;
    margin: 0 20px;
    /* Ensure text is above the background image, though default flow should handle this */
    position: relative; 
    z-index: 1; /* Can be helpful, but might not be strictly necessary */
}

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

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(135deg, #e4c829 0%, #C5A047 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 71, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 71, 0.4);
    background: linear-gradient(135deg, #C5A047 0%, #e4c829 100%);
}

/* Section Enhancements */
.section {
    padding: 80px 0;
    position: relative;
}

#featured-slideshow-section {
    min-height: 750px; /* Increased to accommodate larger image height + padding */
    width: 95%; /* Slightly wider, or use 100% if you want full width of its parent */
    margin: 0 auto;
}

.section h2 {
    font-size: 2.8rem;
    color: #002E7D;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    text-align: center;
    width: 100%;
    font-weight: 700; /* Ensure consistent font weight */
    letter-spacing: 0.5px; /* Add letter spacing for readability */
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #002E7D, #e4c829);
    border-radius: 2px;
    margin-top: 10px; /* Add margin for spacing */
}

/* Service Cards Enhancement */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h4 {
    font-size: 1.8rem;
    color: #002E7D;
    margin: 20px 0 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin-top: 15px;
}

.policy-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}



.service-card:nth-child(1) {
    background: linear-gradient(145deg, rgba(228, 200, 41, 0.1), rgba(255, 255, 255, 0.8));
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #e4c829;
}

.service-card:nth-child(2) {
    background: linear-gradient(145deg, rgba(0, 46, 125, 0.1), rgba(255, 255, 255, 0.8));
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #002E7D;
}

.service-card:nth-child(3) {
    background: linear-gradient(145deg, rgba(197, 160, 71, 0.1), rgba(255, 255, 255, 0.8));
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #C5A047;
}

.service-card:nth-child(4) {
    background: linear-gradient(145deg, rgba(0, 46, 125, 0.1), rgba(255, 255, 255, 0.8));
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #002E7D; /* Green border */
}

.service-card::before {
    display: none;  /* Remove the top gradient line */
}

.service-card i {
    font-size: 3.5rem;
    color: #002E7D;
    margin-bottom: 15px; /* Reduced margin-bottom to decrease gap */
    transition: all 0.3s ease;
}

.service-card h4 {
    font-size: 1.8rem;
    color: #002E7D;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
}

.service-card p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    text-align: center;
}

.service-card:hover {
    transform: none;  /* Remove hover lift effect */
    box-shadow: none;  /* Remove hover shadow */
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 3rem;
    color: #002E7D;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover i {
    color: #e4c829;
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.4rem;
    color: #002E7D;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Adjustments */
.bg-light {
    background-color: #f5f5f5;
}

.two-column {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.two-column img {
    width: 50%;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.center {
    text-align: center;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card,
.service-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-card img,
.service-card i {
    width: 60px;
    margin-bottom: 20px;
}

.service-card i {
    font-size: 2.5rem;
}

.service-card i {
    font-size: 3.5rem;
    color: #002E7D;
    margin-bottom: 25px;
    width: auto;  /* Remove fixed width */
}

.service-card h4 {
    font-size: 1.8rem;
    color: #002E7D;
    margin: 20px 0;
    font-weight: 600;
}

.service-card p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
}

.service-card:hover {
    transform: none;  /* Remove hover lift effect */
    box-shadow: none;  /* Remove hover shadow */
}

.service-card:hover::before {
    opacity: 1;
}

.service-card i {
    font-size: 3rem;
    color: #002E7D;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover i {
    color: #e4c829;
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.4rem;
    color: #002E7D;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-names {
    display: flex;
    flex-direction: column;
}

.company-name, .company-name-translated {
    font-size: 1rem;
    font-weight: 600;
    color: #0a3083; /* Changed color to black */
}


.section.incident-box {
    /* background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%); */ /* REMOVE or COMMENT OUT if using image bg */
    border: none;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 46, 125, 0.08);
    padding: 30px;
    margin: 30px auto;
    max-width: 1800px;
    position: relative; /* ENSURE THIS IS PRESENT */
    overflow: hidden;   /* ADD THIS if not already present for #about */
    text-align: left;
}


.section.incident-box h2 {
    color: #002E7D;
    font-size: 2.8rem;
    margin-bottom: 35px;
    padding-left: 0;  /* Remove left padding */
    position: relative;
    text-align: center;  /* Center the heading */
}

.section.incident-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;  /* Reduced bottom margin */
    padding-left: 20px;
}

/* Update this existing rule */
.section#core-offering {
    /* background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%); */ /* REMOVE or COMMENT OUT this line */
    position: relative; /* ADD THIS: Crucial for positioning the child image */
    overflow: hidden;   /* ADD THIS: To contain the absolutely positioned image */
    padding: 50px 0;
    text-align: center;
    max-width: 1800px;
    margin: 30px auto;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 46, 125, 0.08);
}

/* ADD THESE NEW STYLES if they don't exist or update them */
.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    opacity: 0.3; /* Adjust opacity as needed (e.g., 0.1 for 10%, 0.5 for 50%) */
    z-index: -1;   /* Places the image behind the content */
    border-radius: 0; /* Match parent's border-radius */
}

/* Ensure the content container is styled correctly */
.section#core-offering .container {
    position: relative; /* Ensure content is above the background image */
    z-index: 1;         /* Must be higher than .section-bg-image's z-index */
    /* Add any other existing styles for .container here */
}

.product-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1600px;  /* Increased width */
    margin: 0 auto;
    padding: 30px 40px;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-single img {
    width: 100%;
    max-width: 600px;
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    image-rendering: -webkit-optimize-contrast; /* Chrome/Safari */
    image-rendering: crisp-edges; /* Firefox */
    image-rendering: pixelated; /* Fallback */
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-single img:hover {
    transform: scale(1.01);
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.3));
}

.product-single h4 {
    font-size: 2rem;
    color: #002E7D;
    margin-bottom: 20px;
}

.product-single p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    max-width: 1400px;  /* Control text width */
    margin: 0 auto;
}

.transition-icon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    display: flex;
    flex-direction: column; /* Align items vertically */
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    opacity: 0; /* Initial opacity set to 0 */
    transition: opacity 0.5s ease-in-out; /* Transition effect for opacity */
    z-index: 1000;
}

.loading-text {
    color: #fff; /* White color for visibility */
    font-size: 2.5rem; /* Increased font size */
    margin-top: 20px; /* Space between image and text */
    text-align: center; /* Center the text */
}

/* Map Container */
.map-container {
    margin-top: 15px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 500px; /* Increased width */
    margin-left: auto;
    margin-right: auto;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 220px; /* Reduced height from 250px */
}

/* Quality Policy Section */
.policy-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1800px;
    margin: 50px auto;
    padding: 0 20px;
}

.policy-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.policy-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
}

.policy-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.policy-item i {
    margin: 0 30px;
}

.policy-single-box {
    max-width: 600px;  /* Reduced from previous size */
    margin: 0 auto;
    padding: 15px;  /* Reduced padding */
}

.policy-item {
    margin-bottom: 10px;  /* Reduced spacing between items */
}

.policy-item h4 {
    font-size: 1rem;  /* Smaller heading size */
}

.policy-item i {
    font-size: 1.2rem;  /* Smaller icon size */
}

.policy-item:hover i {
    color: #e4c829;
    transform: scale(1.1);
}

.policy-item i {
    font-size: 3rem;
    color: #002E7D;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.policy-item h4 {
    font-size: 1.6rem;
    color: #002E7D;
    margin: 15px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.policy-item p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-top: 15px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .policy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
}

/* --- Footer Styling --- */
.footer {
    background-color: #002E7D;
    color: #f0f0f0;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 20px 20px;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-map-section,
.footer-contact-section,
.footer-links-section {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: center;
    /* Removed background, padding, border-radius, shadow from individual sections */
}

.footer-map-section .map-container {
    max-width: 100%;
    margin: 0 auto 20px; /* Add bottom margin to map */
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Slightly darker shadow for contrast */
}

.footer-map-section .map-container iframe {
    display: block;
    width: 100%;
    height: 250px;
}

.footer-contact-section h4,
.footer-links-section h4 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-contact-section p {
    margin: 0;
    line-height: 1.7;
    color: #d0d0d0;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-links-section a {
    display: block;
    margin: 10px 0;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-links-section a:hover {
    color: #e4c829;
}

.footer-copyright {
    text-align: center;
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px solid #00408a;
    color: #a0a0a0;
    font-size: 0.9rem;
    background-color: #002159;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.product-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1600px;  /* Increased width */
    margin: 0 auto;
    padding: 30px 40px;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-single img {
    width: 100%;
    max-width: 600px;  /* Increased image width */
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-single h4 {
    font-size: 2rem;
    color: #002E7D;
    margin-bottom: 20px;
}

.product-single p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    max-width: 1400px;  /* Control text width */
    margin: 0 auto;
}

/* --- Our Valued Customers Section --- */

.customers-container {
    max-width: 1000px; 
    margin: 40px auto 0; 
    padding: 0 20px;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 10px; /* <<< Re-confirming 10px gap */
    justify-items: center; 
    align-items: stretch; 
}
/* Make sure there isn't an extra closing brace '}' or other syntax error right before or after this block */

.customer-name-item {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center; /* Keeps the overlay box centered vertically */
    background: linear-gradient(145deg, #d0ecff, #e6f2ff);
    padding: 15px 20px;
    box-shadow: 0 6px 12px rgba(0, 46, 125, 0.06);
    text-align: center;
    border-left: 5px solid #002E7D;
}

.customer-name-item p {
    margin: 0;
    font-size: 1.3rem; /* Larger font size */
    font-weight: 700; /* Bolder */
    color: #002E7D; /* Main brand color */
    letter-spacing: 0.5px; /* Slight spacing */
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  max-width: 1400px; /* Increased max-width */
  margin: 40px auto; 
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px; 
  background-color: rgba(255, 255, 255, 0.699);
}

#slideshow-inner {
    position: relative;
    width: 100%;
    min-height: 700px; /* Increased to match new image height */
}

/* Slides */
.slide {
  display: none; /* Hidden by default */
  width: 100%;
}

.slide img {
  width: 100%;
  height: 700px; /* Increased image height */
  object-fit: contain;
  display: block;
  border-radius: 8px;
  image-rendering: optimizeQuality;
  filter: contrast(1.05) brightness(1.02);
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Caption text */
.slide-caption {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  box-sizing: border-box;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Dots / indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
.policy-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}
.policy-item:nth-child(1) {
    background: linear-gradient(145deg, rgba(228, 200, 41, 0.1), rgba(255, 255, 255, 0.8));
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #e4c829;
}

.policy-item:nth-child(2) {
    background: linear-gradient(145deg, rgba(0, 46, 125, 0.1), rgba(255, 255, 255, 0.8));
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #002E7D;
}

.policy-item:nth-child(3) {
    background: linear-gradient(145deg, rgba(197, 160, 71, 0.1), rgba(255, 255, 255, 0.8));
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #C5A047;
}
.policy-item i {
    font-size: 1.2rem;  /* Smaller icon size */
}

.policy-item:hover i {
    color: #e4c829;
    transform: scale(1.1);
}

.policy-item i {
    font-size: 3rem;
    color: #002E7D;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.policy-item h4 {
    font-size: 1.6rem;
    color: #002E7D;
    margin: 15px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.policy-item p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-top: 15px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .policy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
}

/* --- Footer Styling --- */
.footer {
    background-color: #002E7D;
    color: #f0f0f0;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 20px 20px;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-map-section,
.footer-contact-section,
.footer-links-section {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: center;
    /* Removed background, padding, border-radius, shadow from individual sections */
}

.footer-map-section .map-container {
    max-width: 100%;
    margin: 0 auto 20px; /* Add bottom margin to map */
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Slightly darker shadow for contrast */
}

.footer-map-section .map-container iframe {
    display: block;
    width: 100%;
    height: 250px;
}

.footer-contact-section h4,
.footer-links-section h4 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-contact-section p {
    margin: 0;
    line-height: 1.7;
    color: #d0d0d0;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-links-section a {
    display: block;
    margin: 10px 0;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.footer-links-section a:hover {
    color: #e4c829;
}

.footer-copyright {
    text-align: center;
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px solid #00408a;
    color: #a0a0a0;
    font-size: 0.9rem;
    background-color: #002159;
    font-family: 'DM Sans', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.product-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1600px;  /* Increased width */
    margin: 0 auto;
    padding: 30px 40px;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-single img {
    width: 100%;
    max-width: 600px;  /* Increased image width */
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-single h4 {
    font-size: 2rem;
    color: #002E7D;
    margin-bottom: 20px;
}

.product-single p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    max-width: 1400px;  /* Control text width */
    margin: 0 auto;
}

/* --- Our Valued Customers Section --- */

.customers-container {
    max-width: 1000px; 
    margin: 40px auto 0; 
    padding: 0 20px;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 10px; /* <<< Re-confirming 10px gap */
    justify-items: center; 
    align-items: stretch; 
}
/* Make sure there isn't an extra closing brace '}' or other syntax error right before or after this block */

.customer-name-item {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center; /* Keeps the overlay box centered vertically */
    background: linear-gradient(145deg, #d0ecff, #e6f2ff);
    padding: 15px 20px;
    box-shadow: 0 6px 12px rgba(0, 46, 125, 0.06);
    text-align: center;
    border-left: 5px solid #002E7D;
}

.customer-name-item p {
    margin: 0;
    font-size: 1.3rem; /* Larger font size */
    font-weight: 700; /* Bolder */
    color: #002E7D; /* Main brand color */
    letter-spacing: 0.5px; /* Slight spacing */
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  max-width: 1400px; /* Increased max-width */
  margin: 40px auto; 
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px; 
  background-color: rgba(255, 255, 255, 0.699);
}

#slideshow-inner {
    position: relative;
    width: 100%;
    min-height: 700px; /* Increased to match new image height */
}

/* Slides */
.slide {
  display: none; /* Hidden by default */
  width: 100%;
}

.slide img {
  width: 100%;
  height: 700px; /* Increased image height */
  object-fit: contain;
  display: block;
  border-radius: 8px;
  image-rendering: optimizeQuality;
  filter: contrast(1.05) brightness(1.02);
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Caption text */
.slide-caption {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  box-sizing: border-box;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Dots / indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
