/* Universal box-sizing for all elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Responsive body styles */
body {
  background: linear-gradient(135deg, #f8fafc 60%, #e6fffa 100%);
  font-family: 'Thasadith', 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: #2d3748;
  text-align: left;
  overflow-x: hidden;
  font-size: 18px;
}

/* ABOUT PAGE STYLES - More Attractive */
.about-section {
  background: linear-gradient(120deg, #f7fafc 60%, #e6fffa 100%);
  border-radius: 36px 36px 28px 28px;
  box-shadow: 0 12px 48px 0 rgba(45,55,72,0.15), 0 2px 0 #38b2ac22;
  padding: 72px 56px 64px 56px;
  margin: 72px auto 56px auto;
  max-width: 1050px;
  position: relative;
  z-index: 2;
  transition: padding 0.3s, box-shadow 0.3s;
  text-align: left;
  clear: both;
  border: 2.5px solid #38b2ac44;
  overflow: visible;
  animation: aboutFadeIn 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes aboutFadeIn {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}
.about-section::before {
  content: "";
  position: absolute;
  top: -36px; left: 36px; right: 36px;
  height: 22px;
  border-radius: 36px 36px 0 0;
  background: linear-gradient(90deg, #38b2ac33 0%, #f7fafc 100%);
  z-index: 0;
  filter: blur(2px);
  opacity: 0.7;
  pointer-events: none;
}
.about-section h1,
.about-section h2 {
  color: #2d3748;
  margin-bottom: 24px;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  text-align: left;
  text-shadow: 0 4px 16px rgba(56,178,172,0.13), 0 1px 0 #38b2ac22;
  position: relative;
}
.about-section h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #38b2ac 0%, #f6ad55 100%);
  border-radius: 2px;
  margin-top: 10px;
  margin-left: 0;
  opacity: 0.7;
}
.about-section h3 {
  color: #38b2ac;
  margin-bottom: 18px;
  font-size: 1.5rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-shadow: 0 2px 8px rgba(56,178,172,0.10);
}
.about-section p {
  color: #4a5568;
  font-size: 1.22rem;
  line-height: 1.85;
  margin-bottom: 24px;
  text-align: left;
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, #f7fafc 80%, #e6fffa 100%);
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: 0 1px 8px rgba(56,178,172,0.04);
  display: inline-block;
}
.about-image {
  display: block;
  margin: 0 auto 32px auto;
  max-width: 220px;
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(45,55,72,0.18), 0 0 0 8px #e6fffa;
  border: 6px solid #38b2ac;
  object-fit: cover;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.3s, border 0.3s, transform 0.3s;
  filter: grayscale(0.08) brightness(1.05);
}
.about-image:hover {
  box-shadow: 0 18px 60px rgba(56,178,172,0.22), 0 0 0 12px #f6ad55;
  border-color: #2d3748;
  transform: scale(1.04) rotate(-2deg);
  filter: grayscale(0) brightness(1.1);
}
.about-highlights {
  margin: 48px 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  text-align: left;
  width: 100%;
  position: relative;
  z-index: 1;
}
.about-highlights li {
  background: linear-gradient(100deg, #f7fafc 80%, #e6fffa 100%);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(45,55,72,0.13);
  padding: 28px 32px;
  color: #2d3748;
  font-size: 1.18rem;
  min-width: 200px;
  max-width: 360px;
  text-align: left;
  flex: 1 1 220px;
  transition: box-shadow 0.25s, transform 0.25s, background 0.25s;
  word-break: break-word;
  overflow-wrap: break-word;
  border: 1.5px solid #38b2ac22;
  position: relative;
  overflow: visible;
}
.about-highlights li::before {
  content: "✨";
  color: #f6ad55;
  font-size: 1.5em;
  margin-right: 12px;
  vertical-align: middle;
  opacity: 0.85;
  filter: drop-shadow(0 2px 4px #38b2ac33);
  transition: color 0.2s;
}
.about-highlights li:hover {
  box-shadow: 0 16px 40px rgba(45,55,72,0.19);
  transform: translateY(-10px) scale(1.06) rotate(-1deg);
  background: linear-gradient(100deg, #e6fffa 60%, #f7fafc 100%);
  border-color: #38b2ac;
}
.about-highlights li:hover::before {
  color: #38b2ac;
}
.about-quote {
  margin: 56px auto 0 auto;
  padding: 32px 56px;
  background: linear-gradient(90deg, #38b2ac22 0%, #e6fffa 100%);
  border-left: 10px solid #38b2ac;
  border-radius: 0 28px 28px 0;
  color: #2d3748;
  font-size: 1.32rem;
  font-style: italic;
  max-width: 800px;
  box-shadow: 0 6px 28px rgba(45,55,72,0.13);
  text-align: left;
  word-break: break-word;
  overflow-wrap: break-word;
  position: relative;
  transition: box-shadow 0.2s, background 0.2s;
}
.about-quote::before {
  content: "❝";
  font-size: 2.6rem;
  color: #38b2ac;
  position: absolute;
  left: 18px;
  top: 12px;
  opacity: 0.22;
  pointer-events: none;
}
.about-quote:hover {
  box-shadow: 0 12px 40px rgba(56,178,172,0.18);
  background: linear-gradient(90deg, #e6fffa 0%, #f7fafc 100%);
}
.about-team {
  margin: 64px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  text-align: left;
  width: 100%;
  position: relative;
  z-index: 1;
}
.about-team-member {
  background: linear-gradient(120deg, #f7fafc 80%, #e6fffa 100%);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(45,55,72,0.13);
  padding: 36px 24px;
  text-align: left;
  max-width: 260px;
  flex: 1 1 200px;
  transition: box-shadow 0.25s, transform 0.25s, background 0.25s;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  border: 1.5px solid #38b2ac22;
  position: relative;
  overflow: visible;
}
.about-team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 5px solid #38b2ac;
  box-shadow: 0 6px 18px rgba(45,55,72,0.15);
  transition: border 0.2s, box-shadow 0.2s, transform 0.2s;
  background: #fff;
}
.about-team-member img:hover {
  border-color: #f6ad55;
  box-shadow: 0 12px 32px rgba(56,178,172,0.22);
  transform: scale(1.07) rotate(2deg);
}
.about-team-member h4 {
  color: #2d3748;
  margin-bottom: 10px;
  font-size: 1.22rem;
  font-weight: 800;
  text-align: left;
  letter-spacing: 0.7px;
  text-shadow: 0 1px 4px #38b2ac22;
}
.about-team-member p {
  color: #4a5568;
  font-size: 1.08rem;
  margin-bottom: 0;
  text-align: left;
}
.about-team-member:hover {
  box-shadow: 0 16px 40px rgba(45,55,72,0.19);
  transform: translateY(-10px) scale(1.08) rotate(-1deg);
  background: linear-gradient(120deg, #e6fffa 60%, #f7fafc 100%);
  border-color: #38b2ac;
}

/* CONTACT US PAGE DESIGN */
.contact-section {
  background: linear-gradient(120deg, #e6fffa 60%, #f7fafc 100%);
  border-radius: 32px 32px 24px 24px;
  box-shadow: 0 8px 32px 0 rgba(56,178,172,0.13), 0 2px 0 #38b2ac22;
  padding: 64px 48px 48px 48px;
  margin: 64px auto 48px auto;
  max-width: 900px;
  position: relative;
  z-index: 2;
  transition: padding 0.3s, box-shadow 0.3s;
  text-align: left;
  clear: both;
  border: 2px solid #38b2ac33;
  overflow: visible;
  animation: contactFadeIn 1.2s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
@keyframes contactFadeIn {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}
.contact-section .contact-info-panel {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  background: #f7fafc;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(45,55,72,0.08);
  padding: 32px 24px;
  margin-bottom: 0;
  border: 1.5px solid #38b2ac22;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.contact-section .contact-info-panel h2 {
  color: #38b2ac;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.contact-section .contact-info-panel .contact-info-block {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  color: #2d3748;
  background: #e6fffa;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 1px 6px rgba(56,178,172,0.06);
  border: 1px solid #38b2ac22;
  width: 100%;
}
.contact-section .contact-info-panel .contact-info-block i {
  color: #38b2ac;
  font-size: 1.4rem;
  margin-right: 8px;
}
.contact-section .contact-info-panel .contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.contact-section .contact-info-panel .contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #38b2ac;
  color: #fff;
  font-size: 1.3rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px rgba(56,178,172,0.10);
  text-decoration: none;
}
.contact-section .contact-info-panel .contact-socials a:hover {
  background: #2d3748;
  color: #f6ad55;
  box-shadow: 0 4px 16px rgba(56,178,172,0.18);
}

.contact-section .contact-form-panel {
  flex: 2 1 400px;
  min-width: 260px;
  max-width: 600px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(45,55,72,0.08);
  padding: 32px 32px;
  border: 1.5px solid #38b2ac22;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
}
.contact-section .contact-form-panel h1 {
  color: #2d3748;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-shadow: 0 4px 16px rgba(56,178,172,0.10), 0 1px 0 #38b2ac22;
}
.contact-section .contact-form-panel p {
  color: #4a5568;
  font-size: 1.08rem;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #f7fafc 80%, #e6fffa 100%);
  border-radius: 8px;
  padding: 8px 14px;
  box-shadow: 0 1px 8px rgba(56,178,172,0.03);
  display: inline-block;
}
.contact-section .contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 0;
  text-align: left;
  align-items: flex-start;
}
.contact-section .form-row {
  display: flex;
  gap: 14px;
  text-align: left;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: wrap;
}
.contact-section .contact-form input,
.contact-section .contact-form textarea {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e0;
  border-radius: 8px;
  font-size: 1rem;
  background: #f7fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  box-shadow: 0 1px 4px rgba(56,178,172,0.04);
  resize: vertical;
}
.contact-section .contact-form input:focus,
.contact-section .contact-form textarea:focus {
  border-color: #38b2ac;
  outline: none;
  box-shadow: 0 0 0 2px #38b2ac33;
}
.contact-section .contact-form textarea {
  min-height: 100px;
  max-height: 300px;
}
.contact-section .contact-form button {
  align-self: flex-end;
  background: linear-gradient(90deg, #38b2ac 60%, #f6ad55 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-align: left;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(56,178,172,0.10);
  letter-spacing: 1px;
}
.contact-section .contact-form button:hover,
.contact-section .contact-form button:focus {
  background: linear-gradient(90deg, #2d3748 60%, #38b2ac 100%);
  color: #f6ad55;
  box-shadow: 0 4px 16px rgba(56,178,172,0.18);
  outline: 2px solid #38b2ac;
  outline-offset: 2px;
}

/* Responsive: Contact Section */
@media (max-width: 1100px) {
  .about-section {
    padding: 48px 18px 32px 18px;
    margin: 36px auto 24px auto;
    max-width: 99vw;
  }
  .about-team {
    gap: 28px;
  }
  .about-highlights {
    gap: 18px;
  }
  .about-quote {
    padding: 18px 10px;
    font-size: 1.12rem;
  }
  .contact-section {
    flex-direction: column;
    gap: 24px;
    padding: 32px 10px 24px 10px;
    margin: 24px auto 18px auto;
    max-width: 99vw;
  }
  .contact-section .contact-info-panel,
  .contact-section .contact-form-panel {
    max-width: 100%;
    min-width: 0;
    padding: 18px 8px;
  }
}
@media (max-width: 700px) {
  .about-section {
    padding: 18px 4px;
    margin: 18px auto 10px auto;
  }
  .about-highlights {
    flex-direction: column;
    gap: 14px;
  }
  .about-team {
    flex-direction: column;
    gap: 18px;
  }
  .about-quote {
    padding: 14px 8px;
    font-size: 1.05rem;
  }
  .about-image {
    max-width: 120px;
  }
  .contact-section {
    flex-direction: column;
    gap: 12px;
    padding: 10px 2px;
    margin: 10px auto 6px auto;
  }
  .contact-section .contact-info-panel,
  .contact-section .contact-form-panel {
    max-width: 100%;
    min-width: 0;
    padding: 10px 2px;
  }
  .contact-section .form-row {
    flex-direction: column;
    gap: 8px;
    text-align: left;
    align-items: flex-start;
  }
  .contact-section .contact-form button {
    width: 100%;
    align-self: stretch;
    text-align: left;
  }
}
@media (max-width: 400px) {
  .about-section {
    padding: 8px 2px;
    margin: 8px auto 2px auto;
  }
  .about-quote {
    font-size: 0.98rem;
    padding: 8px 4px;
  }
  .contact-section {
    padding: 4px 1px;
    margin: 4px auto 1px auto;
    gap: 6px;
  }
  .contact-section .contact-info-panel,
  .contact-section .contact-form-panel {
    padding: 4px 1px;
  }
  .contact-section .form-row {
    gap: 2px;
  }
  .contact-section .contact-form button {
    width: 100%;
    font-size: 0.8rem;
    padding: 6px 8px;
  }
}

/* Responsive touch targets */
button, 
.cta-btn,
.nav-menu a,
.service-card,
.project-card,
.slider button.prev,
.slider button.next,
.slider-dot,
.contact-section .contact-form button {
  min-height: 44px;
  min-width: 44px;
}
@media (max-width: 768px) {
  button, 
  .cta-btn,
  .nav-menu a,
  .service-card,
  .project-card,
  .slider button.prev,
  .slider button.next,
  .slider-dot,
  .contact-section .contact-form button {
    min-height: 40px;
    min-width: 40px;
  }
}
@media (max-width: 480px) {
  button, 
  .cta-btn,
  .nav-menu a,
  .service-card,
  .project-card,
  .slider button.prev,
  .slider button.next,
  .slider-dot,
  .contact-section .contact-form button {
    min-height: 36px;
    min-width: 36px;
  }
}

/* CTA Section Styles */
.cta-section {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 48px 0;
  flex-wrap: wrap;
  padding: 0 16px;
}
.cta-btn {
  background: linear-gradient(90deg, #f6ad55 60%, #38b2ac 100%);
  color: #2d3748;
  padding: 18px 36px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.18rem;
  box-shadow: 0 4px 16px rgba(45,55,72,0.10);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  white-space: nowrap;
  border: none;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}
.cta-btn.cta-dark {
  background: linear-gradient(90deg, #2d3748 60%, #38b2ac 100%);
  color: #f7fafc;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #ed8936 60%, #38b2ac 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(56,178,172,0.18);
}
.cta-btn.cta-dark:hover, .cta-btn.cta-dark:focus {
  background: linear-gradient(90deg, #4a5568 60%, #38b2ac 100%);
  color: #f6ad55;
}
.cta-btn i {
  margin-right: 10px;
}

@media (max-width: 900px) {
  .cta-section {
    gap: 16px;
    margin: 32px 0;
  }
  .cta-btn {
    padding: 14px 24px;
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .cta-section {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .cta-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
@media (max-width: 400px) {
  .cta-btn {
    padding: 10px 8px;
    font-size: 0.95rem;
  }
}

/* Responsive container adjustments */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 100vw;
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* Container styles (do not change as per instruction) */
.container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  z-index: 2;
  margin-top: 80px;
  height: auto;
  text-align: left;
}

/* SLIDER STYLES */
.slider {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  height: 600px;
  z-index: 1;
  background: linear-gradient(135deg, #2d3748 70%, #38b2ac 100%);
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  overflow: hidden;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  transition: box-shadow 0.3s, height 0.3s;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
  clear: both;
}
.slide {
  display: none;
  text-align: left;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
}
.slide.active {
  display: block;
  animation: fadein 0.7s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* SLIDER CAPTION */
.caption {
  color: #f7fafc;
  background: rgba(45,55,72,0.85);
  padding: 1rem 2rem;
  border-radius: 0 0 16px 16px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 70px;
  width: 80%;
  max-width: 700px;
  font-size: 1.35rem;
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 2px 12px rgba(45,55,72,0.10);
  letter-spacing: 1px;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background 0.3s, font-size 0.2s, padding 0.2s, width 0.2s, bottom 0.2s;
  word-break: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 1200px) {
  .slider {
    height: 500px;
  }
}
@media (max-width: 900px) {
  .slider {
    height: 400px;
  }
  .caption {
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    width: 90%;
    bottom: 60px;
  }
}
/* INCREASED SLIDER HEIGHT FOR MOBILE */
@media (max-width: 600px) {
  .slider {
    height: 390px;
  }
  .caption {
    font-size: 1rem;
    padding: 0.7rem 1rem;
    bottom: 40px;
    width: 95%;
  }
}
@media (max-width: 400px) {
  .slider {
    height: 270px;
  }
  .caption {
    font-size: 0.9rem;
    padding: 0.5rem 0.5rem;
    width: 98%;
    bottom: 20px;
  }
}
@media (max-width: 320px) {
  .slider {
    height: 190px;
  }
  .caption {
    font-size: 0.8rem;
    padding: 0.3rem 0.3rem;
    width: 99%;
    bottom: 8px;
  }
}

/* SLIDER BUTTONS - Improved for all device compatibility */
.slider button.prev,
.slider button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(56, 178, 172, 0.92);
  color: #2d3748;
  border: none;
  font-size: 2rem;
  padding: 0.7rem 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(45,55,72,0.15);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, font-size 0.2s, padding 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  outline: none;
  touch-action: manipulation;
  user-select: none;
}
.slider button.prev { left: 18px; }
.slider button.next { right: 18px; }
.slider button.prev:hover,
.slider button.next:hover,
.slider button.prev:focus,
.slider button.next:focus {
  background: #2d3748;
  color: #38b2ac;
  box-shadow: 0 8px 24px rgba(56,178,172,0.18);
  outline: 2px solid #38b2ac;
  outline-offset: 2px;
}
@media (max-width: 1200px) {
  .slider button.prev,
  .slider button.next {
    font-size: 1.8rem;
    padding: 0.6rem 1rem;
    min-width: 40px;
    min-height: 40px;
  }
}
@media (max-width: 900px) {
  .slider button.prev,
  .slider button.next {
    font-size: 1.5rem;
    padding: 0.5rem 0.8rem;
    min-width: 36px;
    min-height: 36px;
  }
}
@media (max-width: 600px) {
  .slider button.prev,
  .slider button.next {
    font-size: 1.1rem;
    padding: 0.3rem 0.5rem;
    min-width: 28px;
    min-height: 28px;
  }
}
@media (max-width: 400px) {
  .slider button.prev,
  .slider button.next {
    font-size: 0.9rem;
    padding: 0.15rem 0.3rem;
    min-width: 20px;
    min-height: 20px;
  }
}
@media (max-width: 320px) {
  .slider button.prev,
  .slider button.next {
    font-size: 0.7rem;
    padding: 0.1rem 0.2rem;
    min-width: 16px;
    min-height: 16px;
  }
}

/* SLIDER DOTS */
.slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  width: auto;
  z-index: 10;
  text-align: left;
  padding: 8px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: yellow; /* Use system color for auto color correction */
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background 0.2s, border-color 0.2s, width 0.2s, height 0.2s;
  min-width: 24px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  touch-action: manipulation;
  user-select: none;
  color: CanvasText;
}
.slider-dot::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: inherit;
  border: inherit;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.slider-dot.active {
  opacity: 1;
  transform: scale(1.25);
  background: AccentColor; /* Use system accent color for active dot */
  border-color: CanvasText;
  box-shadow: 0 0 12px AccentColor;
  color: CanvasText;
}
.slider-dot.active::before {
  background: AccentColor;
  border-color: CanvasText;
}
@media (max-width: 900px) {
  .slider-dots {
    bottom: 20px;
    gap: 0.5rem;
  }
  .slider-dot {
    width: 12px;
    height: 12px;
    min-width: 18px;
    min-height: 18px;
  }
  .slider-dot::before {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 600px) {
  .slider-dots {
    bottom: 10px;
    gap: 0.3rem;
  }
  .slider-dot {
    width: 10px;
    height: 10px;
    min-width: 12px;
    min-height: 12px;
  }
  .slider-dot::before {
    width: 10px;
    height: 10px;
  }
}
@media (max-width: 400px) {
  .slider-dots {
    bottom: 4px;
    gap: 0.15rem;
  }
  .slider-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    min-height: 6px;
  }
  .slider-dot::before {
    width: 6px;
    height: 6px;
  }
}
@media (max-width: 320px) {
  .slider-dots {
    bottom: 2px;
  }
  .slider-dot {
    width: 4px;
    height: 4px;
    min-width: 4px;
    min-height: 4px;
  }
  .slider-dot::before {
    width: 4px;
    height: 4px;
  }
}

/* SLIDER IMAGE */
.slide img {
  width: 100vw;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 32px rgba(45,55,72,0.12);
  transition: box-shadow 0.3s, height 0.3s;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 1200px) {
  .slide img {
    height: 500px;
  }
}
@media (max-width: 900px) {
  .slide img {
    height: 400px;
  }
}
/* INCREASED SLIDER IMAGE HEIGHT FOR MOBILE */
@media (max-width: 600px) {
  .slide img {
    height: 390px;
  }
}
@media (max-width: 400px) {
  .slide img {
    height: 270px;
  }
}
@media (max-width: 320px) {
  .slide img {
    height: 190px;
  }
}

/* Main content spacing */
.main-content {
  max-width: 90vw;
  margin: 40px auto 0 auto;
  padding: 40px 16px 16px 16px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(45,55,72,0.06);
  position: relative;
  z-index: 2;
  transition: padding 0.2s;
  text-align: left;
  clear: both;
  min-height: 1px;
  word-break: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 600px) {
  .main-content {
    padding: 20px 6px 8px 6px;
  }
}
@media (max-width: 400px) {
  .main-content {
    padding: 8px 2px 2px 2px;
  }
}

/* SERVICES */
.services {
  margin-bottom: 32px;
  text-align: left;
  clear: both;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: center;
  text-align: left;
  width: 100%;
}
.service-card {
  flex: 1 1 200px;
  background: #f7fafc;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(45,55,72,0.06);
  padding: 24px;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.2s, padding 0.2s;
  min-width: 180px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
.service-card .service-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(45,55,72,0.08);
  display: block;
}
.service-card i {
  font-size: 2.2rem;
  color: #38b2ac;
  margin-bottom: 12px;
  text-align: left;
  display: block;
}
.service-card h4 {
  margin-bottom: 8px;
  color: #2d3748;
  text-align: left;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(45,55,72,0.12);
  transform: translateY(-8px) scale(1.03);
}
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .service-card {
    min-width: 0;
    width: 100%;
  }
  .service-card .service-image {
    height: 90px;
  }
}
@media (max-width: 600px) {
  .service-card {
    padding: 12px;
  }
  .service-card .service-image {
    height: 60px;
  }
}
@media (max-width: 400px) {
  .service-card {
    padding: 8px;
  }
  .service-card .service-image {
    height: 40px;
  }
}

/* PROJECTS PAGE STYLES */
.projects {
  margin-bottom: 32px;
  text-align: left;
  clear: both;
}
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: center;
  text-align: left;
  width: 100%;
}
.project-card {
  flex: 1 1 250px;
  background: #f7fafc;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(45,55,72,0.06);
  padding: 16px;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.2s, padding 0.2s;
  min-width: 180px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
.project-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(45,55,72,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left;
  display: block;
  margin-left: auto;
  margin-right: auto;
  pointer-events: none;
  user-select: none;
}
.project-card h4 {
  margin-bottom: 8px;
  color: #2d3748;
  font-size: 1.13rem;
  font-weight: 600;
  text-align: left;
}
.project-card p {
  color: #4a5568;
  font-size: 0.98rem;
  margin-bottom: 0;
  text-align: left;
}
.project-card .project-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  text-align: left;
}
.project-card .project-tag {
  background: #38b2ac;
  color: #f7fafc;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin: 0 2px;
  box-shadow: 0 1px 4px rgba(45,55,72,0.06);
  letter-spacing: 0.5px;
  text-align: left;
}
.project-card .project-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  text-align: left;
}
.project-card .project-link {
  color: #f7fafc;
  background: #38b2ac;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(45,55,72,0.08);
  text-align: left;
  display: inline-block;
}
.project-card .project-link:hover {
  background: #2d3748;
  color: #38b2ac;
  box-shadow: 0 4px 12px rgba(56,178,172,0.10);
}
.project-card:hover {
  box-shadow: 0 8px 24px rgba(45,55,72,0.12);
  transform: translateY(-8px) scale(1.03);
}
.project-card:hover img {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(45,55,72,0.14);
}
@media (max-width: 900px) {
  .project-list {
    flex-direction: column;
    gap: 16px;
  }
  .project-card {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .project-card {
    padding: 12px;
  }
  .project-card img {
    height: 90px;
  }
  .project-card .project-links {
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 400px) {
  .project-card {
    padding: 8px;
  }
  .project-card img {
    height: 40px;
  }
}

/* Main content and container margin responsive */
.main-content, .container {
  margin-top: 0;
  text-align: left;
  clear: both;
}
@media (max-width: 600px) {
  .main-content, .container {
    margin-top: 0;
    text-align: left;
    clear: both;
  }
}
@media (max-width: 400px) {
  .main-content, .container {
    margin-top: 0;
    text-align: left;
    clear: both;
  }
}
@media (max-width: 320px) {
  .container, .main-content {
    padding-top: 80px;
  }
}

/* Responsive: highlights, trusted-by, about-us */
.highlights, .trusted-by, .about-us {
  margin-bottom: 32px;
  text-align: left;
  clear: both;
}
.highlights ul, .about-us ul {
  padding-left: 20px;
  text-align: left;
  display: inline-block;
  margin: 0 auto;
  word-break: break-word;
  overflow-wrap: break-word;
}
.highlights h2, .about-us h2 {
  color: #2d3748;
  margin-bottom: 12px;
  text-align: left;
}
.trusted-by h3, .about-us h3 {
  color: #38b2ac;
  margin-bottom: 8px;
  text-align: left;
}

/* Responsive: service-list and project-list grid for tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .service-list, .project-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
  }
  .service-card, .project-card {
    margin: 0;
    min-width: 0;
  }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .project-card,
  .about-highlights li,
  .about-team-member,
  .contact-section .contact-info-panel,
  .contact-section .contact-form-panel,
  .contact-section .contact-info-panel .contact-info-block,
  .contact-section .contact-form {
    border: 2px solid #000;
  }
  .cta-btn,
  .contact-section .contact-form button {
    border: 2px solid #000;
  }
}
