/* Global Reset and Base */
* {
  box-sizing: border-box;
}
body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fafafa;
  color: #333;
  scroll-behavior: smooth;
}
a {
  color: #00bfa5;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover,
a:focus {
  color: #008e78;
  outline: none;
}

/* Sidebar Navigation */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  background: #222;
  color: #00bfa5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.8);
  z-index: 1100;
}
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-img {
  width: 210px;
  height: auto;
}
.menu-toggle {
  display: none;
}
.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin-top: 4rem;
  text-align: center;
  width: 100%;
}
.sidebar nav ul li {
  margin: 2.4rem 0;
}
.sidebar nav ul li a {
  color: #00bfa5;
  font-weight: 600;
  font-size: 1.2rem;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: 0.3s ease;
}
.sidebar nav ul li a.active,
.sidebar nav ul li a:hover {
  background: #00bfa5;
  color: #222;
}

/* Main Section */
#maincontent {
  margin-left: 240px;
  padding: 4rem 4rem 6rem 4rem;
}

/* Unified Section Title */
section h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #00bfa5;
  text-align: center;
  margin-bottom: 1.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
}
section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #00bfa5, #34e8bb);
  border-radius: 5px;
}
@media (max-width: 768px) {
  section h2 {
    font-size: 1.8rem;
  }
  section h2::after {
    width: 60px;
  }
}

/* Hero Section */
.home-section {
  height: 95vh;
  background: url("https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=1500&q=60")
    no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.hero-overlay {
  background: rgba(0, 191, 165, 0.85);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 14px;
}
.hero-overlay h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Hero Button */
.btn-teal {
  background: linear-gradient(90deg, #00bfa5 0%, #34e8bb 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 3rem;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 8px 36px rgba(0, 191, 165, 0.3);
}
.btn-teal:hover {
  background: linear-gradient(90deg, #00cfc0 0%, #1ee7ae 100%);
  color: #222;
  transform: scale(1.05);
}

/* Two Column Section */
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}
.two-column > article {
  flex: 1 1 45%;
  background: #fff;
  padding: 2.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* Services Section */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}
.service-card {
  background: #e0f1ef;
  padding: 2.5rem 2rem;
  border-radius: 18px;
  flex: 1 1 28%;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(0, 191, 165, 0.15);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 191, 165, 0.25);
}
.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.bg-blue {
  color: #296d98;
}
.bg-teal {
  color: #00bfa5;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e0e0e0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 1.13rem;
  text-align: left;
  color: #00bfa5;
  padding: 1rem 0.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-arrow {
  transition: transform 0.3s;
}
.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 1.05rem;
  color: #444;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0.5rem 0;
}

/* Contact Form */
#contact {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
input,
textarea {
  padding: 0.9rem 1rem;
  border: 2px solid #00bfa5;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
}
input:focus,
textarea:focus {
  border-color: #007964;
  outline: none;
}

/* Address Styling */
address {
  text-align: center;
  color: #333;
  font-size: 1.1rem;
  font-style: normal;
}
address a {
  color: #00bfa5;
  font-weight: 600;
}

/* Sticky Mobile Footer */
.mobile-footer-nav {
  display: none;
}
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
  .mobile-footer-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1.5px solid #e0e0e0;
    box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.06);
    height: 60px;
    z-index: 1200;
  }
  .footer-link {
    flex: 1;
    text-align: center;
    color: #00bfa5;
    font-size: 1em;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .footer-link:hover,
  .footer-link.active {
    background: #e0f8f6;
    color: #006e62;
  }
  .footer-icon {
    font-size: 1.4rem;
  }
}

/* Desktop Footer */
.pc-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, #004d40 0%, #00796b 100%);
  color: #f0f8ff;
  padding: 14px 24px;
  font-size: 0.95rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}
.pc-footer-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pc-footer a {
  color: #80ffd4;
  text-decoration: none;
  font-weight: 600;
}
.pc-footer a:hover {
  color: #fff;
}
.pc-footer-right a {
  margin: 0 6px;
}
@media (max-width: 768px) {
  .pc-footer {
    display: none;
  }
}

/* Responsive Sidebar Header */
@media (max-width: 1024px) {
  #maincontent {
    margin-left: 0;
    padding: 3rem 1.5rem 4rem;
  }
  .sidebar {
    width: 100%;
    height: 56px;
    top: 0;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1rem;
  }
  .logo-img {
    width: 140px;
  }
  .sidebar nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #222;
    display: none;
    flex-direction: column;
  }
  .sidebar nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
    font-size: 2rem;
    color: #00bfa5;
    cursor: pointer;
  }
  .two-column {
    flex-direction: column;
  }
  .two-column > article {
    flex: 1 1 100%;
  }
  .services-grid {
    flex-direction: column;
  }
  .service-card {
    flex: 1 1 100%;
  }
}
