@font-face {
  font-family: 'Tw Cen MT';
  src: url('/assets/fonts/Tw-Cen-MT/TCM.TTF') format('TTF'), 
       url('/assets/fonts/Tw-Cen-MT/TCM.TTF') format('TTF');
  font-weight: normal;
  font-style: normal;
}
/* 
* {
  box-sizing: border-box;
} */

.homeRoot {
  font-family: 'Tw Cen MT', Arial, sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/******** HERO SECTION ********/
.heroSection {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: none;
  border-radius: 0;
  padding: 4rem 3rem 3rem 3rem;
  min-height: 80vh;
  max-height: 1100px;
  box-sizing: border-box;
  overflow: hidden;
}

.heroSection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/page headers/home.jpg') center center/cover no-repeat;
  width: 100%;
  height: auto;
  z-index: 0;
}

.heroSection::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.052);
  z-index: 1;
}

.heroLeft {
  position: relative;
  z-index: 2;
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 900px;
}

.heroTitle {
  font-size:rem;
  color: #363636;
  font-weight: bold;
  margin-bottom: 0.3em;
  letter-spacing: 0.5px;
  text-align: left;
  line-height: 1.1;
  padding-left: 2.5rem;
}

.heroTitleAccent {
  color: #1081c9;
  font-weight: bold;
}

.heroSubtitle {
  color: #363636;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  margin: 1em 0 1em 0;
  max-width: 700px;
  text-align: left;
  font-weight: 500;
  padding-left: 2.5rem;
  line-height: 1.4;
}

.heroButton {
  background: linear-gradient(90deg, #1081c9, #1081c9);
  color: #fff;
  font-weight: 500;
  border-radius: 8px;
  font-size: 1.5rem !important;
  margin-top: 2em;
  margin-left: 2.5rem;
  border: none;
  letter-spacing: 0.5px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  padding: 1.5rem 2rem;
  cursor: pointer;
}

.heroButton:hover {
  background: linear-gradient(90deg, #1081c9, #2d368f);
  transform: translateY(-2px);
}

.heroRight {
  display: none;
}

/* Desktop Optimizations */
@media (min-width: 1400px) {
  .heroSection {
    padding: 5rem 4rem 4rem 4rem;
    min-height: 85vh;
  }
  .heroTitle {
    font-size: 4.5rem;
    padding-left: 3rem;
  }
  .heroSubtitle {
    font-size: 1.65rem;
    padding-left: 3rem;
    max-width: 800px;
  }
  .heroButton {
    font-size: 1.35rem !important;
    margin-left: 3rem;
    padding: 1.8rem 2.5rem;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .heroSection {
    padding: 4rem 3rem;
  }
  .heroTitle {
    font-size: 4.5rem;
  }
  .heroSubtitle {
    font-size: 1.9rem;
  }
  .heroButton {
    font-size: 1.5rem !important;
    padding: 1.6rem 2.2rem;
  }
}

@media (max-width: 1199px) {
  .heroTitle { 
    font-size: clamp(4rem, 9vw, 6rem);
    padding-left: 2rem;
  }
  .heroSubtitle { 
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    max-width: 80%;
    padding-left: 2rem;
  }
  .heroButton { 
    font-size: clamp(1rem, 2.5vw, 1.4rem) !important;
    margin-top: 2em;
    margin-left: 2rem;
    padding: 1.4rem 1.8rem;
  }
}

@media (max-width: 900px) {
  .heroSection {
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 1.5rem;
    min-height: 60vh;
  }
  .heroLeft {
    padding-right: 0;
  }
  .heroTitle {
    font-size: clamp(3rem, 8.5vw, 5rem);
    padding-left: 1rem;
  }
  .heroSubtitle {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    max-width: 85%;
    padding-left: 1rem;
  }
  .heroButton {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem) !important;
    margin-top: 1.5em;
    margin-left: 1rem;
    padding: 1.3rem 1.6rem;
  }
}

@media (max-width: 600px) {
  .heroSection {
    padding: 2rem 1rem;
    min-height: 50vh;
  }
  .heroTitle {
    font-size: clamp(2.5rem, 8vw, 4rem);
    padding-left: 0.5rem;
  }
  .heroSubtitle {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
    max-width: 90%;
    padding-left: 0.5rem;
  }
  .heroButton {
    font-size: clamp(0.9rem, 4vw, 1.1rem) !important;
    margin-top: 1.2em;
    margin-left: 0.5rem;
    padding: 1.2rem 1.4rem;
  }
}

/******** WHO WE ARE SECTION ********/
.whoWeAreSection {
  background: #1081c9;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
  justify-content: space-between;
  min-height: 450px;
}

.whoWeAreLeft {
  flex: 1 1 65%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 2.5rem;
}

.whoWeAreTitle {
  font-size: 2.75rem;
  font-weight: bold;
  margin-bottom: 0.5em;
  letter-spacing: 1px;
}

.whoWeAreBox {
  background: #fff;
  color: #1081c9;
  border-radius: 24px;
  padding: 3rem 3rem;
  max-width: 1000px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  margin-bottom: 0;
  line-height: 1.6;
  font-weight: 400;
}

.learnMoreLink {
  color: #de751c !important;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.learnMoreLink:hover {
  color: #c5631a !important;
}

.whoWeAreBox a {
  color: #1081c9;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.whoWeAreBox a:hover {
  color: #1e2460;
}

.whoWeAreRight {
  flex: 1 1 35%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.whoWeAreLogo {
  min-width: 350px;
  min-height: 350px;
  max-width: 400px;
  max-height: 400px;
  object-fit: contain;
  padding-right: 2.5rem;
}

/* Desktop Optimizations for Who We Are */
@media (min-width: 1400px) {
  .whoWeAreSection {
    padding: 5rem 4rem;
  }
  .whoWeAreLeft {
    padding-left: 3rem;
  }
  .whoWeAreTitle {
    font-size: 2.75rem;
  }
  .whoWeAreBox {
    font-size: 1.35rem;
    padding: 3.5rem 3.5rem;
  }
  .whoWeAreLogo {
    min-width: 300px;
    min-height: 300px;
    padding-right: 3rem;
  }
}

@media (max-width: 1199px) {
  .whoWeAreTitle { 
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .whoWeAreBox { 
    font-size: clamp(1rem, 2vw, 1.6rem);
    padding: 2.5rem 2.5rem; 
    max-width: 95%;
  }
  .whoWeAreLogo { 
    min-width: 280px; 
    min-height: 280px;
    max-width: 320px;
    max-height: 320px;
  }
}

@media (max-width: 900px) {
  .whoWeAreSection {
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    gap: 3rem;
  }
  .whoWeAreLeft { 
    padding-left: 0;
    width: 100%;
    align-items: center;
  }
  .whoWeAreTitle { 
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
  }
  .whoWeAreBox { 
    font-size: clamp(1rem, 3vw, 1.3rem);
    padding: 2rem 2rem; 
    max-width: 100%;
    text-align: center;
  }
  .whoWeAreRight { 
    display: none;
  }
  .whoWeAreLogo { 
    display: none;
  }
}

@media (max-width: 600px) {
  .whoWeAreSection { 
    padding: 2.5rem 1rem;
    gap: 2rem;
  }
  .whoWeAreTitle { 
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  .whoWeAreBox { 
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    padding: 1.8rem 1.8rem;
  }
}

/******** AREAS OF PRACTICE SECTION ********/
.areasOfPracticeSection {
  max-width: 100%;
  background: #fff;
  padding: 4rem 0 3rem 0;
  text-align: center;
  margin-bottom: 2rem;
  overflow: hidden;
}

.areasOfPracticeTitle {
  color: #e88c2a;
  font-size: 2.75rem;
  text-align: left;
  font-weight: bold;
  text-shadow: 0 0 2px rgba(34, 34, 34, 0.15);
  letter-spacing: 1px;
  margin-bottom: 2.5em;
  text-transform: uppercase;
  padding-left: 4.5rem;
}

.areasOfPracticeCarousel {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
  margin: 0 auto;
  position: relative;
}

.areasOfPracticeList {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: calc(100% - 120px); /* Account for arrow buttons */
}

.practiceItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 200px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: blur(0);
  opacity: 1;
  transform-origin: center center;
  cursor: pointer;
}

.centerItem {
  transform: scale(1.3);
  z-index: 2;
  font-weight: bold;
}

.practiceIconWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 4px solid #1081c9;
  box-shadow: 0 4px 20px rgba(34, 44, 122, 0.2);
  width: 180px;
  height: 180px;
  background: #fff;
  margin-bottom: 1rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.practiceItem:not(.centerItem) .practiceIconWrap {
  width: 130px;
  height: 130px;
  border-width: 3px;
  box-shadow: 0 2px 12px rgba(34, 44, 122, 0.15);
  opacity: 0.8;
}

.practiceIcon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.practiceLabel {
  color: #1081c9;
  font-weight: bold;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  margin-top: 0.5em;
  text-align: center;
  letter-spacing: 0.3px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
  line-height: 1.3;
}

.centerItem .practiceLabel {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  opacity: 1;
  font-weight: 700;
}

.arrow {
  font-size: clamp(2rem, 4vw, 4rem);
  color: #1081c9;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  margin-top: 0;
  opacity: 0.7;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.arrow:hover {
  color: #de751c;
  text-shadow: 2px 2px 16px rgba(222, 117, 28, 0.3), 0 0 8px rgba(222, 117, 28, 0.2);
  opacity: 1;
  transform: scale(1.1);
  background: rgba(222, 117, 28, 0.05);
}

.arrowDisabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.animating {
  pointer-events: none;
}

/* Desktop Optimizations for Practice Areas */
@media (min-width: 1400px) {
  .areasOfPracticeSection {
    padding: 5rem 0 4rem 0;
    max-width: 1800px;
    margin: 0 auto;
  }
  .areasOfPracticeTitle {
    font-size: 3rem;
    padding-left: 5rem;
  }
  .areasOfPracticeCarousel {
    gap: 2rem;
    padding: 0 2rem;
  }
  .areasOfPracticeList {
    gap: 4rem;
    max-width: calc(100% - 160px);
  }
  .practiceItem {
    width: 220px;
  }
  .practiceIconWrap {
    width: 200px;
    height: 200px;
  }
  .practiceItem:not(.centerItem) .practiceIconWrap {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 1199px) {
  .areasOfPracticeTitle { 
    font-size: clamp(1.8rem, 4vw, 3rem);
    padding-left: 3rem; 
  }
  .practiceItem { 
    width: 160px; 
  }
  .practiceIconWrap { 
    width: 150px; 
    height: 150px; 
  }
  .practiceItem:not(.centerItem) .practiceIconWrap { 
    width: 110px; 
    height: 110px; 
  }
  .arrow { 
    font-size: clamp(3rem, 5vw, 5rem);
  }
  .areasOfPracticeCarousel,
  .ourClientsCarousel {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  .areasOfPracticeList,
  .ourClientsList {
    gap: 2rem;
    max-width: calc(100% - 100px);
  }
}

@media (max-width: 900px) {
  .areasOfPracticeTitle { 
    font-size: clamp(1.5rem, 5vw, 2rem);
    padding-left: 1.5rem; 
    text-align: center;
  }
  .areasOfPracticeList { 
    gap: 1.5rem; 
  }
  .practiceItem { 
    width: 100px; 
  }
  .practiceIconWrap { 
    width: 90px; 
    height: 90px; 
  }
  .centerItem .practiceIconWrap { 
    width: 110px; 
    height: 110px; 
  }
  .practiceItem:not(.centerItem) .practiceIconWrap { 
    width: 70px; 
    height: 70px; 
  }
  .arrow { 
    font-size: 3rem;
    padding: 0 0.5rem;
    width: 60px;
    height: 60px;
  }
  .areasOfPracticeCarousel,
  .ourClientsCarousel {
    gap: 0.25rem;
    padding: 0 0.25rem;
  }
  .areasOfPracticeList,
  .ourClientsList {
    gap: 1.5rem;
    max-width: calc(100% - 80px);
  }
}

@media (max-width: 600px) {
  .areasOfPracticeSection { 
    padding: 2.5rem 0; 
  }
  .areasOfPracticeTitle { 
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    padding-left: 1rem; 
  }
  .areasOfPracticeCarousel {
    gap: 0.25rem;
    padding: 0 0.25rem;
  }
  .areasOfPracticeList { 
    gap: 0.8rem; 
  }
  .practiceItem { 
    width: 70px; 
  }
  .practiceIconWrap { 
    width: 60px; 
    height: 60px; 
  }
  .centerItem .practiceIconWrap { 
    width: 80px; 
    height: 80px; 
  }
  .practiceItem:not(.centerItem) .practiceIconWrap { 
    width: 45px; 
    height: 45px; 
  }
  .arrow { 
    font-size: 2rem;
    width: 40px;
    height: 40px;
    padding: 0;
  }
  .areasOfPracticeCarousel,
  .ourClientsCarousel {
    gap: 0.25rem;
    padding: 0 0.25rem;
  }
  .areasOfPracticeList,
  .ourClientsList {
    gap: 0.8rem;
    max-width: calc(100% - 60px);
  }
}

/******** OUR CLIENTS SECTION ********/
.ourClientsSection {
  background: linear-gradient(180deg, #bcbcbc 0%, #e0e0e0 100%);
  padding: 4rem 0 3rem 0;
  text-align: center;
  overflow: hidden;
}

.ourClientsTitle {
  color: #444;
  font-size: 2.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 2.5em;
  text-transform: uppercase;
  text-align: left;
  padding-left: 4.5rem;
}

.ourClientsCarousel {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
  margin: 0 auto;
  position: relative;
}

.ourClientsList {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: calc(100% - 120px); /* Account for arrow buttons */
}

.clientItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 200px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: blur(0);
  opacity: 1;
  transform-origin: center center;
  cursor: pointer;
}

.clientLogoWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  margin-bottom: 1rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* background: rgba(255, 255, 255, 0.8); */
  border-radius: 12px;
  /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
  padding: 1rem;
}

.clientItem:not(.centerItem) .clientLogoWrap {
  width: 130px;
  height: 130px;
  opacity: 0.7;
  /* box-shadow: 0 2px 12px rgba(0,0,0,0.08); */
}

.centerItem .clientLogoWrap {
  width: 180px;
  height: 180px;
  opacity: 1;
  /* background: rgba(255, 255, 255, 0.95); */
  transform: scale(1.1);
}

.clientLogo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  filter: grayscale(70%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.centerItem .clientLogo {
  filter: grayscale(0%);
}

.clientLabel {
  color: #1081c9;
  font-weight: bold;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  margin-top: 0.5em;
  text-align: center;
  letter-spacing: 0.3px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
  line-height: 1.3;
}

.centerItem .clientLabel {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  opacity: 1;
  font-weight: 700;
}

.ourClientsCarousel .arrow {
  font-size: clamp(2rem, 4vw, 4rem);
  color: #1081c9;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  margin-top: 0;
  opacity: 0.7;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.ourClientsCarousel .arrow:hover {
  color: #e88c2a;
  text-shadow: 2px 2px 16px rgba(232, 140, 42, 0.3), 0 0 8px rgba(232, 140, 42, 0.2);
  opacity: 1;
  transform: scale(1.1);
  background: rgba(232, 140, 42, 0.05);
}

/* Desktop Optimizations for Clients */
@media (min-width: 1400px) {
  .ourClientsSection {
    padding: 5rem 0 4rem 0;
    max-width: 1800px;
    margin: 0 auto;
  }
  .ourClientsTitle {
    font-size: 2.75rem;
    padding-left: 5rem;
  }
  .ourClientsCarousel {
    gap: 2rem;
    padding: 0 2rem;
  }
  .ourClientsList {
    gap: 4rem;
    max-width: calc(100% - 160px);
  }
  .clientItem {
    width: 220px;
  }
  .clientLogoWrap {
    width: 200px;
    height: 200px;
  }
  .clientItem:not(.centerItem) .clientLogoWrap {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 1199px) {
  .ourClientsTitle { 
    font-size: clamp(1.8rem, 4vw, 3rem);
    padding-left: 3rem;
  }
  .clientItem { 
    width: 160px; 
  }
  .clientLogoWrap { 
    width: 150px; 
    height: 150px; 
  }
  .clientItem:not(.centerItem) .clientLogoWrap { 
    width: 110px; 
    height: 110px; 
  }
  .ourClientsCarousel .arrow { 
    font-size: clamp(3rem, 5vw, 5rem);
  }
  .areasOfPracticeCarousel,
  .ourClientsCarousel {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  .areasOfPracticeList,
  .ourClientsList {
    gap: 2rem;
    max-width: calc(100% - 100px);
  }
}

@media (max-width: 900px) {
  .ourClientsTitle { 
    font-size: clamp(1.5rem, 5vw, 2rem);
    padding-left: 1.5rem;
    text-align: center;
  }
  .ourClientsList { 
    gap: 1.5rem; 
  }
  .clientItem { 
    width: 100px; 
  }
  .clientLogoWrap { 
    width: 90px; 
    height: 90px; 
  }
  .centerItem .clientLogoWrap { 
    width: 110px; 
    height: 110px; 
  }
  .clientItem:not(.centerItem) .clientLogoWrap { 
    width: 70px; 
    height: 70px; 
  }
  .ourClientsCarousel .arrow { 
    font-size: 3rem;
    padding: 0 0.5rem;
    width: 60px;
    height: 60px;
  }
  .areasOfPracticeCarousel,
  .ourClientsCarousel {
    gap: 0.25rem;
    padding: 0 0.25rem;
  }
  .areasOfPracticeList,
  .ourClientsList {
    gap: 1.5rem;
    max-width: calc(100% - 80px);
  }
}

@media (max-width: 600px) {
  .ourClientsSection { 
    padding: 2.5rem 0; 
  }
  .ourClientsTitle { 
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    padding-left: 1rem; 
  }
  .ourClientsCarousel {
    gap: 0.25rem;
    padding: 0 0.25rem;
  }
  .ourClientsList { 
    gap: 0.8rem; 
  }
  .clientItem { 
    width: 70px; 
  }
  .clientLogoWrap { 
    width: 60px; 
    height: 60px; 
  }
  .centerItem .clientLogoWrap { 
    width: 80px; 
    height: 80px; 
  }
  .clientItem:not(.centerItem) .clientLogoWrap { 
    width: 45px; 
    height: 45px; 
  }
  .ourClientsCarousel .arrow { 
    font-size: 2rem;
    width: 40px;
    height: 40px;
    padding: 0;
  }
  .areasOfPracticeCarousel,
  .ourClientsCarousel {
    gap: 0.25rem;
    padding: 0 0.25rem;
  }
  .areasOfPracticeList,
  .ourClientsList {
    gap: 0.8rem;
    max-width: calc(100% - 60px);
  }
}