body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

input:focus,
textarea:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-card {
  background: linear-gradient(135deg, #fff 0%, #949494 15%, #222 100%);
  position: relative;
  overflow: hidden;
}
.gradient-card > * {
  position: relative;
  z-index: 2;
}

.bg-secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.bg-white:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
  position: relative;
}

.nav-link:hover::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  bottom: -5px;
  left: 0;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

/* Team member image hover effect */
.team-member:hover img {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Service card hover effect */
.service-card:hover {
  background-color: #2a2a2a5c;
  transition: all 0.3s ease;
}

/* FAQ accordion styles */
.faq-question {
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #2a2a2a;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.social-icon:hover {
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease-in-out;
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slideInFromLeft {
  animation: slideInFromLeft 1s ease-in-out;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slideInFromRight {
  animation: slideInFromRight 1s ease-in-out;
}

@media (max-width: 768px) {
  .bg-secondary:hover {
    transform: translateY(-3px);
  }

  .bg-white:hover {
    transform: scale(1.03);
  }
}

@media (min-width: 768px) {
  #about .team-row {
    align-items: flex-start;
  }

  #about .team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #about .team-member .profile-box {
    display: block;
  }

  #about .team-member .profile-box > p {
    display: block;
  }
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Custom styling for the hero section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.9),
    rgba(10, 10, 10, 0.6)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Custom styling for the services section */
.service-icon {
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.2);
}
.dotted-background {
  background-color: #000000;
  position: relative;
}
.icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #111;
  z-index: 1;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05),
    0 0 40px rgba(255, 255, 255, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.05);
}
.icon-wrapper svg {
  font-size: 28px;
  color: #fff;
  z-index: 2;
  position: relative;
}
.icon-wrapper::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100px;
  width: 400px;
  background-image: radial-gradient(
    circle,
    rgba(128, 128, 128, 0.3) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  z-index: -1;
}

.services-section {
  padding: 15px 24px;
  background: #000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 60px;
  color: #fff;
}

.cards-tight {
  display: contents;
}

.profile-box--lee {
  min-height: 310px;
  height: auto;
  overflow: auto;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .profile-box--lee {
    min-height: 380px;
  }
}

@media (max-width: 767px) {
  .profile-box--lee {
    min-height: 504px;
  }
}

.profile-box--lee {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.profile-box--lee::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.profile-box--lee::-webkit-scrollbar-track {
  background: transparent;
}
.profile-box--lee::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.profile-box--lee::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.18);
}
.profile-box--lee::-webkit-scrollbar-corner {
  background: transparent;
}

.cards-black .gradient-card {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.177) !important;
  box-shadow: none !important;
  border: 1px solid;
}
.cards-black .gradient-card h3,
.cards-black .gradient-card .text-white {
  color: #ffffff !important;
}
.cards-black .gradient-card p {
  color: #cfcfcf !important;
}
.cards-black .gradient-card .fa {
  color: #ffffff !important;
}

.cards-black .gradient-card a {
  color: #ffffff;
}

.services-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.services-sidebar {
  position: sticky;
  top: 40px;
}

.service-nav {
  list-style: none;
}

.service-nav li {
  margin-bottom: 8px;
}

.service-nav-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
}

.service-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.service-nav-item.active {
  background: linear-gradient(135deg, #949494 0%, #000000 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 32px rgba(8, 8, 8, 0.3);
}

.service-icon {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}

.services-content {
  min-height: 600px;
}

.service-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.service-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-header {
  margin-bottom: 40px;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.service-description {
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
  max-width: 800px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  color: #ccc;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.feature-list li::before {
  content: ".";
  position: absolute;
  left: 0;
  color: #818181;
  font-weight: bold;
}

.feature-text {
  color: #ccc;
  line-height: 1.6;
}

.design-process {
  background: linear-gradient(
    135deg,
    rgba(65, 65, 67, 0.386) 0%,
    rgba(62, 58, 58, 0.1) 100%
  );
  border: 1px solid rgba(230, 230, 230, 0.2);
  border-radius: 12px;
  padding: 32px;
  margin-top: 40px;
}

.process-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

/* FAQ - mobile */
@media (max-width: 640px) {
  section h2 {
    font-size: 1.6rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.75rem !important;
  }

  .faq-item {
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .faq-question {
    padding: 10px 12px !important;
    gap: 8px;
  }

  .faq-question span {
    font-size: 14px !important;
  }

  .faq-icon {
    font-size: 18px !important;
  }

  .faq-answer p {
    padding: 10px 12px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .max-w-6xl.mx-auto.grid.grid-cols-1.md\:grid-cols-2.gap-6.items-start {
    gap: 10px;
  }

  .faq-icon {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 22px !important;
    line-height: 1.18 !important;
    margin-bottom: 0.5rem !important;
  }
  h2 {
    font-size: 20px !important;
    line-height: 1.18 !important;
    margin-bottom: 0.45rem !important;
  }
  h3 {
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin-bottom: 0.35rem !important;
  }
  h4,
  h5 {
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin-bottom: 0.3rem !important;
  }

  p,
  li,
  a,
  button,
  .section-title,
  .service-title,
  .feature-title,
  .faq-question span {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .profile-box p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .text-3xl,
  .text-4xl {
    font-size: 20px !important;
  }
}

.process-description {
  color: #ccc;
  margin-bottom: 24px;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.process-item h4 {
  color: #ccc;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-item p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-sidebar {
    position: static;
  }

  .service-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-title {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #mobile-menu {
    background: #0f0f0f;
    padding: 12px 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    max-height: 0;
    transition: max-height 280ms ease, opacity 200ms ease;
    opacity: 0;
  }

  #mobile-menu:not(.hidden) {
    max-height: 1000px;
    opacity: 1;
  }

  #mobile-menu a {
    display: block;
    padding: 12px 8px;
    color: #e6e6e6;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
  }

  #mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
  }

  header .logo {
    gap: 10px;
  }
  #mobile-menu-button {
    background: transparent;
    padding: 8px;
    border-radius: 8px;
  }

  footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 20px !important;
    padding-bottom: 24px !important;
    background: #0f0f0f;
  }

  footer .grid {
    display: block;
  }

  footer h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #fff;
  }

  footer a {
    display: block;
    padding: 8px 0;
    color: #cfcfcf;
    font-size: 15px;
    text-decoration: none;
  }

  footer a:hover {
    color: #ffffff;
  }

  .border-t {
    border-top-color: rgba(255, 255, 255, 0.03) !important;
  }
}
.contact-form input,
.contact-form textarea {
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  transform: translateY(-2px);
}
