/* CSS Reset and Base Styles */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  font-family: 'Mulish', Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

h1 {
  font-size: 38px;
  line-height: 44px;
  margin-top: 20px;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  margin-top: 20px;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 20px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* Button */
.btn {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  background-color: #000;
  color: #fff;
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.7s;
}

.btn:hover {
  transform: translate(0, -7px);
}

.btn--nav {
  padding: 10px 20px;
  font-size: 16px;
  display: none;
}

/* Navigation */
.nav {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 3% 30px;
}

.nav__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 10px;
}

.nav__logo img {
  width: 15%;
}

.nav__inner {
  background-color: #fff;
  border-top: 1px solid #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 8px;
}

.nav__socials {
  display: flex;
  gap: 12px;
  background-color: #fff;
}

.nav__social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  padding: 4px;
  background-color: #fff;
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.nav__social-link:hover {
  transform: scale(1.1);
}

.nav__social-link:active {
  transform: scale(0.9);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #000;
  transition: all 0.3s;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  padding: 0 5%;
}

.hero__content {
  width: 100%;
  max-width: 1440px;
  margin: 60px auto 100px;
}

.hero__title {
  font-family: 'Mulish', sans-serif;
  text-align: left;
  width: 100%;
  font-size: 4.5vh;
  font-weight: 400;
  line-height: 1em;
  margin-bottom: 25px;
}

.hero__text {
  font-family: 'Mulish', sans-serif;
  text-align: left;
  font-size: 20px;
  font-weight: 200;
  line-height: 26px;
  margin-bottom: 25px;
}

/* Section Header */
.section-header {
  border-bottom: 1px solid #000;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: auto;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Mulish', sans-serif;
  border: 1px #000;
  border-bottom: 3px solid #000;
  width: 15%;
  margin-bottom: 0;
  padding-bottom: 10px;
  font-weight: 200;
}

/* Services Section */
.services {
  background-color: #fafafa;
  padding: 20px 5%;
}

.services__intro {
  font-family: 'Mulish', sans-serif;
  margin-bottom: 40px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 50px;
  grid-row-gap: 75px;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card__icon {
  background-color: #fafafa;
  width: 75px;
  height: 75px;
  margin-bottom: 30px;
  padding: 10px;
}

.service-card__icon img {
  width: 100%;
  height: auto;
}

.service-card__title {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  margin-bottom: 10px;
}

.service-card__text {
  font-family: 'Mulish', sans-serif;
  font-weight: 200;
}

/* CTA Section */
.cta-section {
  padding: 100px 5%;
}

.cta-box {
  background-color: #fff;
  padding: 20px 60px;
}

.cta-box__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  margin-bottom: 30px;
}

.cta-box__content .btn {
  display: inline-block;
  margin: 0 auto;
}

.cta-box__title {
  font-family: 'Mulish', sans-serif;
  text-align: left;
  margin-bottom: 20px;
  font-weight: 400;
}

.cta-box__text {
  font-family: 'Mulish', sans-serif;
  text-align: left;
  font-weight: 200;
  margin-bottom: 40px;
}

/* Team Section */
.team {
  background-color: #fafafa;
  padding: 20px 5%;
}

.team__grid {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding-top: 20px;
}

.team-member {
  display: flex;
  gap: 250px;
  align-items: center;
  justify-content: space-between;
}

.team-member__content {
  width: 75%;
}

.team-member__header {
  border-bottom: 1px solid #000;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.team-member__name {
  font-family: 'Mulish', sans-serif;
  border-bottom: 3px solid #000;
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 400;
}

.team-member__role {
  font-family: 'Mulish', sans-serif;
  margin-top: 20px;
  font-weight: 600;
  line-height: 44px;
}

.team-member__bio {
  font-family: 'Mulish', sans-serif;
  font-weight: 200;
}

.team-member__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-member__image img {
  width: auto;
  max-width: 300px;
  height: auto;
  display: inline-block;
}

/* Testimonials Section */
.testimonials {
  background-color: #fff;
  padding: 5%;
}

.testimonials__slider {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.testimonials__track {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.testimonial {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  padding: 20px 0;
}

.testimonial.active {
  display: flex;
}

.testimonial__quote {
  font-family: 'Mulish', sans-serif;
  margin: 0 0 40px 0;
  font-weight: 200;
  line-height: 36px;
  font-size: 24px;
}

.testimonial__author {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 18px;
}

.testimonials__controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.testimonials__arrow {
  background: none;
  border: 2px solid #000;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.testimonials__arrow:hover {
  background-color: #000;
  color: #fff;
}

.testimonials__dots {
  display: flex;
  gap: 10px;
}

.testimonials__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonials__dot.active {
  background-color: #000;
}

/* Contact Section */
.contact {
  background-color: #fff;
  padding: 80px 5%;
}

.contact__wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact__title {
  text-align: center;
  margin-bottom: 12px;
  width: 100%;
}

.contact__subtitle {
  font-family: 'Mulish', sans-serif;
  color: #707070;
  text-align: center;
  margin-bottom: 48px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group:nth-child(3),
.form-group:nth-child(4),
.btn--submit {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Mulish', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.cf-turnstile {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.btn--submit {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 16px 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Mulish', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
  text-align: center;
}

.btn--submit:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn--submit:active {
  transform: translateY(0);
}

.btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Mulish', sans-serif;
  text-align: center;
  display: none;
  margin-top: 16px;
}

.form-message.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  display: block;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}

/* Footer */
.footer {
  background-color: #fafafa;
  padding: 20px 5% 60px;
}

.footer__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 10px;
}

.footer__link {
  font-family: 'Mulish', sans-serif;
  color: #000;
  margin: 0 15px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.2s;
  display: block;
}

.footer__link:hover {
  opacity: 0.5;
}

.footer__socials {
  display: flex;
  align-items: center;
  padding-bottom: 24px;
}

.footer__social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  padding: 10px;
  transition: all 0.325s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.footer__social-link:hover {
  transform: scale(1.1);
}

.footer__social-link:active {
  transform: scale(0.9);
}

.footer__copyright {
  font-family: 'Mulish', sans-serif;
  color: #707070;
  text-align: center;
  font-size: 13px;
  font-weight: 200;
}

/* Responsive Design */

/* Large Desktop */
@media screen and (min-width: 1280px) {
  .nav__logo {
    max-width: 1440px;
  }
  
  .team-member__image {
    justify-content: flex-end;
  }
  
  .team-member {
    gap: 100px;
  }
  
  .team-member__image img {
    width: 80%;
  }
}

@media screen and (min-width: 1920px) {
  .nav {
    width: 100%;
  }
  
  .hero__content {
    margin-top: 100px;
    margin-bottom: 100px;
    margin-right: 40px;
  }
  
  .hero {
    width: 100%;
  }
  
  .section-header, .services__intro {
    width: 100%;
    max-width: 1440px;
  }
  
  .services__grid {
    width: 100%;
  }
  
  .services {
    width: 100%;
    margin-left: auto;
  }
  
  .team__grid {
    padding-left: 0;
  }
  
  .team {
    width: 100%;
  }
  
  .team-member__bio {
    font-size: 18px;
  }
}

/* Tablet */
@media screen and (max-width: 991px) {
  .nav__toggle {
    display: flex !important;
  }
  
  .nav__socials {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid #000;
    z-index: 1000;
  }
  
  .nav__socials.active {
    display: flex;
  }
  
  .btn--nav {
    display: none;
  }
  
  .nav__inner {
    position: relative;
  }
  
  .service-card__text {
    font-size: 16px;
    line-height: 24px;
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services {
    padding-top: 5%;
    padding-bottom: 5%;
  }
  
  .hero__title {
    text-align: center;
    font-size: 40px;
  }
  
  .hero__text {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
  }
  
  .section-title {
    width: 20%;
    font-size: 24px;
  }
  
  .section-title.services {
    width: 25%;
  }
  
  .services__intro {
    font-size: 16px;
    font-weight: 200;
    line-height: 24px;
  }
  
  .cta-box__title {
    text-align: center;
    font-size: 24px;
  }
  
  .cta-box__text {
    text-align: center;
    font-weight: 200;
  }
  
  .cta-box__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 0;
  }
  
  .cta-box {
    padding-left: 0;
    padding-right: 0;
  }
  
  .cta-section {
    padding-top: 5%;
    padding-bottom: 5%;
  }
  
  .team-member {
    flex-direction: column-reverse;
    gap: 20px;
  }
  
  .team-member__content {
    width: 100%;
  }
  
  .team-member__image {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .team-member__image img {
    width: 50%;
    max-width: none;
  }
  
  .team__grid {
    gap: 50px;
  }
  
  .team {
    padding-top: 5%;
    padding-bottom: 5%;
  }
  
  .nav__logo img {
    width: 30%;
  }
  
  .testimonial__quote {
    margin-bottom: 40px;
  }
  
  .testimonials__slider {
    margin-bottom: 20px;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .hero__title {
    text-align: center;
    font-size: 36px;
  }
  
  .hero__text {
    text-align: center;
  }
  
  .section-title {
    width: 25%;
  }
  
  .section-title.services {
    width: 30%;
  }
  
  .cta-box__title, .cta-box__text {
    text-align: center;
  }
  
  .cta-box__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .team-member__image {
    justify-content: center;
    align-items: center;
  }
  
  .team__grid {
    gap: 40px;
  }
  
  .nav__logo img {
    width: 40%;
  }
}

/* Small Mobile */
@media screen and (max-width: 479px) {
  .nav__inner {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer__socials {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
    grid-row-gap: 26px;
  }
  
  .service-card__icon {
    margin-bottom: 10px;
  }
  
  .service-card__title {
    font-size: 16px;
  }
  
  .services {
    padding: 5% 2%;
  }
  
  .testimonial__quote {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 10px;
  }
  
  .testimonials__slider {
    margin-bottom: 45px;
  }
  
  .team-member__image img {
    width: 100%;
  }
  
  .btn {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
  }
  
  .hero__title {
    font-size: 24px;
    line-height: 1.1em;
  }
  
  .hero__content {
    width: 100%;
  }
  
  .section-title {
    width: 40%;
    font-size: 20px;
    line-height: 30px;
  }
  
  .section-title.services {
    width: 40%;
    font-size: 20px;
  }
  
  .cta-box__title {
    font-size: 20px;
    line-height: 30px;
  }
  
  .cta-box__content {
    padding-right: 0;
  }
  
  .cta-box {
    padding: 40px 0;
  }
  
  .team {
    padding-top: 10%;
    padding-bottom: 10%;
  }
  
  .team-member__name {
    width: 100%;
    font-size: 18px;
    line-height: 26px;
  }
  
  .team-member__role {
    text-align: right;
    font-weight: 600;
    line-height: 18px;
  }
  
  .nav__logo img {
    width: 50%;
  }
  
  .contact__form {
    grid-template-columns: 1fr;
  }
  
  .form-group {
    grid-column: 1;
  }
}
