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

body {
  font-family: 'Inter', sans-serif;
  background: url('images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  line-height: 1.6;
}

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

/* Homepage Tile */
.home-tile {
  border-radius: 1rem;
  margin-bottom: 3rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #004e89;
}

/* Homepage About Section */
.about-section {
  background-color: #fff;
  color: #000;
  padding: 50px 20px;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.about-text p {
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: #000;
  padding: 10px;
  border-radius: 6px;
}

/* Homepage Why Choose Us */
.why-choose-section {
  background-color: #f0f4f8;
  color: #000;
  padding: 50px 20px;
  text-align: center;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.why-item {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #000;
  text-align: center;
}

.why-item i {
  font-size: 2rem;
  color: #0074d9;
  margin-bottom: 10px;
}

/* Services Page Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.service-tile {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.service-icon {
  width: 60px;
  margin-bottom: 1rem;
}

/* Accordion (Scoped to Services) */
.services-accordion .accordion-item {
  margin-bottom: 1rem;
}

.services-accordion .accordion-header {
  background: #0074d9;
  color: white;
  padding: 1rem;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.services-accordion .accordion-content {
  display: none;
  padding: 1rem 0;
  animation: fadeIn 0.3s ease-in-out;
}

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

/* Gallery */
.gallery-placeholder {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* FAQ (Scoped to Services Page) */
.services-faq-container {
  margin-top: 2rem;
}

.services-faq-item {
  background: #fff;
  margin-bottom: 1rem;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}

.services-faq-question {
  font-weight: 600;
  cursor: pointer;
  color: #004e89;
}

.services-faq-answer {
  display: none;
  margin-top: 0.75rem;
  color: #333;
}

.services-faq-question.active + .services-faq-answer {
  display: block;
}

/* Footer */
footer {
  background: #004e89;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

.footer-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  border-radius: 6px;
}

.footer-contact p {
  margin: 5px 0;
}

.footer-bottom {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  justify-content: flex-end;
  background: #eee;
  padding: 10px 20px;
}

.lang-btn {
  background-color: #0074d9;
  color: white;
  border: none;
  padding: 5px 10px;
  margin-left: 8px;
  border-radius: 4px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
.header {
  background: linear-gradient(to right, #004e89, #0074d9);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar {
  display: flex;
  gap: 15px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
}
.language-dropdown {
  position: relative;
}

.lang-toggle {
  background: #0074d9;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  color: black;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  z-index: 100;
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 10px 20px;
  background: white;
  border: none;
  text-align: left;
  cursor: pointer;
}

.lang-menu button:hover {
  background: #f2f2f2;
}
.info-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.info-tile {
  background: #ffffffcc;
  padding: 20px;
  width: 250px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #000;
}
.contact-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.contact-item {
  background: #ffffffcc;
  padding: 20px;
  width: 180px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #000;
}
.contact-icon {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.05);
}

.wechat-qr {
  width: 100px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-top: 15px;
}
.company-info-section {
  margin-top: 40px;
  text-align: center;
}
.accordion-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  display: block;
}
.accordion-header.open {
  font-weight: bold;
  background-color: #eaf3fb;
}
