/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #5f6062;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: 0;
  background: none;
  font: inherit;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  position: relative;
  z-index: 1000;
  width: 100%;
  height: 150px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-container {
  width: 90%;
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header .logo img {
  display: block;
  width: 150px;
  max-width: 150px;
  height: auto;
  object-fit: contain;
}

.header .nav {
  display: flex;
  align-items: center;
}

.header .nav-list {
  display: flex;
  align-items: center;
  gap: 46px;
  margin: 0;
  padding: 0;
}

.header .nav-list a {
  position: relative;
  display: block;
  padding: 12px 0;
  color: #555658;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.header .nav-list a:hover,
.header .nav-list a.active {
  color: #b51f24;
}

.header .nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #b51f24;
  transition: width 0.3s ease;
}

.header .nav-list a:hover::after,
.header .nav-list a.active::after {
  width: 100%;
}

.header .hamburger {
  position: relative;
  z-index: 1100;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  padding: 0;
  cursor: pointer;
}

.header .hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #555658;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background 0.3s ease;
}

.header .hamburger.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.header .hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header .hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 150px);
  background: #f7f7f7;
  overflow: hidden;
  isolation: isolate;
}

#heroParticles {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1180px;
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 47%;
  max-width: 560px;
}

.hero-eyebrow {
  display: block;
  margin-bottom: 22px;
  color: #77787a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  color: #5f6062;
  font-size: clamp(46px, 4.7vw, 70px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
}

.hero-content h1 span {
  display: block;
  color: #b51f24;
}

.hero-line {
  width: 65px;
  height: 2px;
  margin: 28px 0;
  background: #b51f24;
}

.hero-content p {
  max-width: 500px;
  margin: 0;
  color: #6d6e70;
  font-size: 16px;
  line-height: 1.8;
}

.hero-btn {
  width: fit-content;
  margin-top: 34px;
  padding: 15px 23px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #b51f24;
  color: #b51f24;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.hero-btn span {
  font-size: 19px;
  transition: transform 0.3s ease;
}

.hero-btn:hover {
  background: #b51f24;
  color: #fff;
  transform: translateY(-2px);
}

.hero-btn:hover span {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .hero {
    min-height: calc(100vh - 100px);
  }

  .hero-container {
    width: 88%;
    min-height: calc(100vh - 100px);
  }

  .hero-content {
    width: 50%;
    max-width: 480px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 5.5vw, 58px);
  }

  .hero-content p {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .header {
    height: 100px;
  }

  .header-container {
    width: 90%;
  }

  .header .logo img {
    width: 125px;
    max-width: 125px;
  }

  .header .hamburger {
    display: flex;
  }

  .header .nav {
    position: fixed;
    inset: 0;
    z-index: 1050;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .header .nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header .nav-list {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .header .nav-list a {
    padding: 7px 10px;
    font-size: 25px;
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-container {
    width: 88%;
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 330px;
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    max-width: 520px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 8vw, 55px);
  }

  .hero-content p {
    max-width: 450px;
  }
}

@media (max-width: 600px) {
  .hero-container {
    width: 86%;
    padding-top: 55px;
    padding-bottom: 310px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero-eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
    letter-spacing: 3px;
  }

  .hero-content h1 {
    font-size: clamp(38px, 10.5vw, 48px);
    line-height: 1.03;
    letter-spacing: -1.3px;
  }

  .hero-line {
    width: 45px;
    margin: 22px 0;
  }

  .hero-content p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-btn {
    margin-top: 27px;
    padding: 13px 18px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .header {
    height: 85px;
  }

  .header-container {
    width: 88%;
  }

  .header .logo img {
    width: 105px;
    max-width: 105px;
  }

  .header .hamburger {
    width: 28px;
    height: 21px;
  }

  .header .hamburger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }

  .header .hamburger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  .header .nav-list {
    gap: 20px;
  }

  .header .nav-list a {
    font-size: 22px;
  }

  .hero-container {
    width: 86%;
    padding-top: 45px;
    padding-bottom: 275px;
  }

  .hero-content h1 {
    font-size: clamp(35px, 10.5vw, 44px);
  }

  .hero-content p {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .hero-container {
    width: 84%;
    padding-top: 40px;
    padding-bottom: 215px;
  }

  .hero-content h1 {
    font-size: 33px;
  }

  .hero-eyebrow {
    letter-spacing: 2.4px;
  }

  .hero-btn {
    padding: 12px 15px;
    gap: 14px;
  }
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #eee;
}

.footer-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 65px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-brand a {
  display: inline-block;
}

.footer-brand img {
  display: block;
  width: 150px;
  height: auto;
}

.footer-info {
  display: flex;
  flex-direction: column;
}

.footer-label {
  display: block;
  margin-bottom: 14px;
  color: #b51f24;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer-address {
  align-items: center;
  text-align: center;
}

.footer-address p {
  margin: 0;
  color: #666769;
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact {
  align-items: flex-end;
  text-align: right;
}

.footer-contact a {
  display: block;
  color: #666769;
  font-size: 14px;
  line-height: 1.9;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #b51f24;
}

@media (max-width: 900px) {
  .footer-container {
    width: 90%;
    padding: 55px 0;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 25px;
  }

  .footer-brand img {
    width: 125px;
  }

  .footer-address p,
  .footer-contact a {
    font-size: 13px;
  }

  .footer-label {
    font-size: 9px;
    letter-spacing: 2.5px;
  }
}

@media (max-width: 650px) {
  .footer-container {
    width: 88%;
    padding: 50px 0;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-brand img {
    width: 120px;
  }

  .footer-address,
  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .footer-label {
    margin-bottom: 10px;
  }

  .footer-address p,
  .footer-contact a {
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .footer-container {
    width: 86%;
    padding: 42px 0;
    gap: 32px;
  }

  .footer-brand img {
    width: 110px;
  }

  .footer-address p,
  .footer-contact a {
    font-size: 12px;
  }

  .footer-label {
    font-size: 8px;
    letter-spacing: 2px;
  }
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
  width: 100%;
  background: #fff;
}

.contact-section {
  width: 100%;
  padding: 60px 0 80px;
}

.contact-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-image {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #eee;
}

.contact-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  animation: contactImageZoomOut 7s ease-out forwards;
}

@keyframes contactImageZoomOut {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1);
  }
}

.contact-form-wrapper {
  min-height: 720px;
  padding: 35px 0 35px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-heading {
  margin-bottom: 32px;
}

.contact-heading > span {
  display: block;
  margin-bottom: 13px;
  color: #77787a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.contact-heading h1 {
  margin: 0;
  color: #5f6062;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
}

.contact-heading h1 strong {
  color: #b51f24;
}

.contact-heading-line {
  width: 48px;
  height: 2px;
  margin-top: 18px;
  background: #b51f24;
}

.contact-form {
  width: 100%;
}

.form-group {
  position: relative;
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #555658;
  font-size: 13px;
  font-weight: 500;
}

.form-group label span {
  color: #b51f24;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  outline: none;
  background: #f4f4f4;
  color: #555658;
  font-family: inherit;
  font-size: 14px;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.form-group input {
  height: 52px;
  padding: 0 15px;
}

.form-group textarea {
  min-height: 130px;
  padding: 15px;
  resize: vertical;
  line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #fff;
  border-color: #b51f24;
  box-shadow: 0 0 0 2px rgba(181, 31, 36, 0.06);
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #b51f24;
}

.form-error {
  display: block;
  min-height: 14px;
  margin-top: 5px;
  color: #b51f24;
  font-size: 10px;
  line-height: 1.4;
}

.message-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.message-info .form-error {
  flex: 1;
}

.word-count {
  flex-shrink: 0;
  margin-top: 5px;
  color: #999;
  font-size: 10px;
}

.word-count.valid {
  color: #666769;
}

.contact-submit {
  min-width: 170px;
  padding: 14px 21px;
  border: 1px solid #b51f24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: transparent;
  color: #b51f24;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.contact-submit span {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.contact-submit:hover {
  background: #b51f24;
  color: #fff;
  transform: translateY(-2px);
}

.contact-submit:hover span {
  transform: translateX(5px);
}

.form-success {
  width: 100%;
  margin-top: 22px;
  padding: 16px 18px;
  display: none;
  align-items: flex-start;
  gap: 13px;
  border-left: 2px solid #b51f24;
  background: #f7f7f7;
  opacity: 0;
  transform: translateY(8px);
}

.form-success.show {
  display: flex;
  animation: showSuccess 0.4s ease forwards;
}

.success-icon {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b51f24;
  border-radius: 50%;
  color: #b51f24;
  font-size: 13px;
  font-weight: 700;
}

.form-success strong {
  display: block;
  margin-bottom: 4px;
  color: #555658;
  font-size: 13px;
  font-weight: 600;
}

.form-success p {
  margin: 0;
  color: #77787a;
  font-size: 11px;
  line-height: 1.6;
}

@keyframes showSuccess {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .contact-section {
    padding: 45px 0 65px;
  }

  .contact-container {
    width: 88%;
  }

  .contact-image {
    min-height: 680px;
  }

  .contact-form-wrapper {
    min-height: 680px;
    padding-left: 40px;
  }

  .contact-heading h1 {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 30px 0 55px;
  }

  .contact-container {
    width: 88%;
    grid-template-columns: 1fr;
  }

  .contact-image {
    width: 100%;
    min-height: 0;
    height: 390px;
  }

  .contact-form-wrapper {
    width: 100%;
    min-height: auto;
    padding: 50px 0 0;
  }

  .contact-heading {
    margin-bottom: 30px;
  }

  .contact-heading h1 {
    font-size: 38px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 20px 0 45px;
  }

  .contact-container {
    width: 86%;
  }

  .contact-image {
    height: 310px;
  }

  .contact-form-wrapper {
    padding-top: 40px;
  }

  .contact-heading {
    margin-bottom: 27px;
  }

  .contact-heading > span {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .contact-heading h1 {
    font-size: 34px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group input {
    height: 49px;
  }

  .form-group textarea {
    min-height: 125px;
  }

  .contact-submit {
    width: 100%;
    margin-top: 3px;
    padding: 14px 20px;
  }

  .form-success {
    margin-top: 18px;
    padding: 14px 15px;
  }

  .form-success strong {
    font-size: 12px;
  }

  .form-success p {
    font-size: 10px;
  }
}

@media (max-width: 400px) {
  .contact-container {
    width: 86%;
  }

  .contact-image {
    height: 260px;
  }

  .contact-form-wrapper {
    padding-top: 35px;
  }

  .contact-heading h1 {
    font-size: 31px;
  }
}

/* =========================================================
   HOME - ABOUT
========================================================= */

.home-about {
  width: 100%;
  padding: 110px 0;
  background: #fff;
}

.home-about-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.home-about-content {
  width: 100%;
  max-width: 510px;
}

.section-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #77787a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.home-about-content h2 {
  margin: 0;
  color: #5f6062;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.home-about-content h2 span {
  display: block;
  color: #b51f24;
}

.home-about-line {
  width: 55px;
  height: 2px;
  margin: 27px 0;
  background: #b51f24;
}

.home-about-content p {
  margin: 0 0 17px;
  color: #666769;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
}

.home-about-content p:last-child {
  margin-bottom: 0;
}

.home-about-visual {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #f3f3f3;
  border-radius: 22px;
}

.home-about-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1.2s ease;
}

.home-about-visual:hover img {
  transform: scale(1.04);
}

.about-visual-accent {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 75px;
  height: 4px;
  background: #b51f24;
}

@media (max-width: 1024px) {
  .home-about {
    padding: 90px 0;
  }

  .home-about-container {
    width: 88%;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
  }

  .home-about-content {
    max-width: 470px;
  }

  .home-about-content h2 {
    font-size: clamp(38px, 4.7vw, 50px);
  }

  .home-about-content p {
    font-size: 14px;
  }

  .home-about-visual {
    height: 430px;
  }
}

@media (max-width: 768px) {
  .home-about {
    padding: 75px 0;
  }

  .home-about-container {
    width: 88%;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .home-about-content {
    width: 100%;
    max-width: 560px;
  }

  .home-about-content h2 {
    font-size: 42px;
  }

  .home-about-content p {
    max-width: 540px;
  }

  .home-about-visual {
    width: 100%;
    height: 380px;
  }
}

@media (max-width: 600px) {
  .home-about {
    padding: 60px 0;
  }

  .home-about-container {
    width: 86%;
    gap: 40px;
  }

  .section-eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
    letter-spacing: 3px;
  }

  .home-about-content h2 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.06;
    letter-spacing: -1.2px;
  }

  .home-about-line {
    width: 45px;
    margin: 22px 0;
  }

  .home-about-content p {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.75;
    text-align: justify;
  }

  .home-about-visual {
    height: 300px;
    border-radius: 18px;
  }

  .about-visual-accent {
    width: 55px;
    height: 3px;
  }
}

@media (max-width: 400px) {
  .home-about {
    padding: 50px 0;
  }

  .home-about-container {
    width: 86%;
    gap: 35px;
  }

  .home-about-content h2 {
    font-size: 33px;
  }

  .home-about-content p {
    font-size: 12.5px;
  }

  .home-about-visual {
    height: 250px;
    border-radius: 16px;
  }
}

/* =========================================================
   WHO WE ARE DETAILS
========================================================= */

.who-details {
  width: 100%;
  padding: 100px 0;
  background: #f7f7f7;
}

.who-details-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

.who-details-heading {
  max-width: 650px;
  margin-bottom: 55px;
}

.who-details-heading .section-eyebrow {
  margin-bottom: 15px;
}

.who-details-heading h2 {
  margin: 0;
  color: #5f6062;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.who-details-heading h2 span {
  color: #b51f24;
}

.who-details-line {
  width: 55px;
  height: 2px;
  margin-top: 23px;
  background: #b51f24;
}

.who-accordion {
  width: 100%;
  border-bottom: 1px solid #ddd;
}

.who-accordion:first-of-type {
  border-top: 1px solid #ddd;
}

.who-accordion-header {
  width: 100%;
  min-height: 105px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4f5052;
  font-size: 25px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.3s ease,
    padding 0.3s ease;
}

.who-accordion-header:hover {
  color: #b51f24;
  padding-left: 27px;
}

.who-accordion.active .who-accordion-header {
  color: #b51f24;
}

.who-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1.5px solid #555658;
  border-radius: 50%;
  transition: border-color 0.3s ease;
}

.who-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 15px;
  height: 1.5px;
  background: #555658;
  transform: translate(-50%, -50%);
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.who-toggle span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(90deg);
}

.who-accordion.active .who-toggle {
  border-color: #b51f24;
}

.who-accordion.active .who-toggle span {
  background: #b51f24;
}

.who-accordion.active .who-toggle span:nth-child(2) {
  opacity: 0;
}

.who-accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.6s ease,
    opacity 0.4s ease;
}

.who-accordion.active .who-accordion-content {
  opacity: 1;
}

.who-accordion-inner {
  padding: 0 80px 55px 20px;
}

.who-accordion-inner > p {
  width: 100%;
  margin: 0 0 17px;
  color: #666769;
  font-size: 15px;
  line-height: 1.9;
  text-align: justify;
}

.success-factors-grid {
  width: 100%;
  padding-top: 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 55px;
  row-gap: 65px;
}

.success-factor {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.success-factor-icon {
  height: 65px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b51f24;
  font-size: 49px;
}

.success-factor p {
  max-width: 245px;
  margin: 0;
  color: #555658;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .success-factors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .who-details {
    padding: 60px 0;
  }

  .who-details-container {
    width: 86%;
  }

  .who-details-heading h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .who-accordion-header {
    min-height: 80px;
    padding: 0 8px;
    font-size: 18px;
  }

  .who-accordion-header:hover {
    padding-left: 8px;
  }

  .who-accordion-inner {
    padding: 0 8px 40px;
  }

  .who-accordion-inner > p {
    font-size: 13px;
    line-height: 1.8;
  }

  .success-factors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 20px;
  }

  .success-factor-icon {
    height: 52px;
    margin-bottom: 15px;
    font-size: 39px;
  }

  .success-factor p {
    font-size: 12px;
  }
}

/* =========================================================
   WHAT WE DO
========================================================= */

.what-we-do {
  width: 100%;
  padding: 110px 0;
  background: #fff;
}

.what-we-do-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* =========================================================
   HEADING
========================================================= */

.what-we-do-heading {
  width: 100%;
  max-width: 650px;
  margin: 0 auto 60px;
  text-align: center;
}

.what-we-do-heading .section-eyebrow {
  margin-bottom: 14px;
}

.what-we-do-heading h2 {
  margin: 0;
  color: #5f6062;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.what-we-do-heading h2 span {
  color: #b51f24;
}

.what-we-do-line {
  width: 55px;
  height: 2px;
  margin: 22px auto;
  background: #b51f24;
}

.what-we-do-heading p {
  margin: 0;
  color: #77787a;
  font-size: 15px;
  line-height: 1.8;
}

/* =========================================================
   GRID
========================================================= */

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  align-items: stretch;
}

/* =========================================================
   CARD
========================================================= */

.what-card {
  position: relative;
  min-width: 0;
  min-height: 610px;
  padding: 42px 38px 35px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  overflow: hidden;

  border-radius: 20px;

  color: #fff;

  isolation: isolate;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.what-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   CARD COLORS

   IMPORTANT:
   These names are intentionally different from
   .industry-card and .technology-card used on other pages.
========================================================= */

.what-card-industry {
  background: #a85f52;
}

.what-card-technology {
  background: #5f666d;
}

.what-card-services {
  background: #8f4549;
}

/* =========================================================
   ANIMATED CORNER LINES
========================================================= */

.what-card::before,
.what-card::after {
  content: "";

  position: absolute;
  z-index: 0;

  pointer-events: none;

  border-radius: 50%;

  transform-origin: center;
  will-change: transform;
}

.what-card::before {
  top: -95px;
  right: -100px;

  width: 245px;
  height: 245px;

  opacity: 0.55;

  background: repeating-radial-gradient(
    circle at center,
    transparent 0,
    transparent 27px,
    rgba(255, 255, 255, 0.24) 28px,
    rgba(255, 255, 255, 0.24) 29px,
    transparent 30px,
    transparent 43px
  );

  animation: cornerLinesOne 9s ease-in-out infinite alternate;
}

.what-card::after {
  top: -65px;
  right: -125px;

  width: 235px;
  height: 235px;

  opacity: 0.32;

  background: repeating-radial-gradient(
    circle at center,
    transparent 0,
    transparent 32px,
    rgba(255, 255, 255, 0.22) 33px,
    rgba(255, 255, 255, 0.22) 34px,
    transparent 35px,
    transparent 52px
  );

  animation: cornerLinesTwo 12s ease-in-out infinite alternate;
}

/* =========================================================
   CORNER ANIMATIONS
========================================================= */

@keyframes cornerLinesOne {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-8px, 8px) rotate(4deg) scale(1.03);
  }

  100% {
    transform: translate(5px, 13px) rotate(-3deg) scale(0.98);
  }
}

@keyframes cornerLinesTwo {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate(-10px, 5px) rotate(-5deg) scale(0.97);
  }

  100% {
    transform: translate(-4px, 12px) rotate(3deg) scale(1.03);
  }
}

.what-card:hover::before {
  animation-duration: 6s;
}

.what-card:hover::after {
  animation-duration: 8s;
}

/* =========================================================
   CARD CONTENT
========================================================= */

.what-card-content {
  position: relative;
  z-index: 2;
}

.what-card-number {
  display: block;

  margin-bottom: 25px;

  color: rgba(255, 255, 255, 0.58);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.what-card h3 {
  margin: 0 0 30px;

  color: #fff;

  font-size: 25px;
  font-weight: 700;

  line-height: 1.2;
}

/* =========================================================
   CARD LIST
========================================================= */

.what-card ul {
  margin: 0;
  padding: 0;
}

.what-card li {
  position: relative;

  margin-bottom: 13px;
  padding-left: 19px;

  color: rgba(255, 255, 255, 0.92);

  font-size: 14px;

  line-height: 1.5;
}

.what-card li:last-child {
  margin-bottom: 0;
}

.what-card li::before {
  content: "";

  position: absolute;

  top: 8px;
  left: 0;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #fff;
}

/* =========================================================
   EXPLORE BUTTON
========================================================= */

.what-card-btn {
  position: relative;
  z-index: 3;

  width: 100%;

  margin-top: 40px;
  padding: 15px 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50px;

  background: #fff;
  color: #555658;

  font-size: 13px;
  font-weight: 600;

  text-align: center;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.what-card-btn:hover {
  background: #f5f5f5;
  color: #b51f24;

  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
  .what-we-do {
    padding: 90px 0;
  }

  .what-we-do-container {
    width: 88%;
  }

  .what-we-do-grid {
    gap: 20px;
  }

  .what-card {
    min-height: 590px;
    padding: 37px 30px 30px;
    border-radius: 18px;
  }

  .what-card h3 {
    font-size: 22px;
  }

  .what-card li {
    font-size: 13px;
  }
}

/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 800px) {
  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .what-card {
    min-height: auto;
    padding: 38px 35px 32px;
  }

  .what-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }

  .what-card-btn {
    margin-top: 35px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .what-we-do {
    padding: 60px 0;
  }

  .what-we-do-container {
    width: 86%;
  }

  .what-we-do-heading {
    margin-bottom: 40px;
  }

  .what-we-do-heading .section-eyebrow {
    margin-bottom: 12px;
  }

  .what-we-do-heading h2 {
    font-size: clamp(34px, 10vw, 42px);
    letter-spacing: -1.2px;
  }

  .what-we-do-line {
    width: 45px;
    margin: 19px auto;
  }

  .what-we-do-heading p {
    font-size: 13px;
    line-height: 1.7;
  }

  .what-we-do-grid {
    gap: 20px;
  }

  .what-card {
    min-height: auto;

    padding: 32px 27px 27px;

    border-radius: 17px;
  }

  .what-card ul {
    display: block;
  }

  .what-card-number {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .what-card h3 {
    margin-bottom: 25px;
    font-size: 21px;
  }

  .what-card li {
    margin-bottom: 11px;
    font-size: 13px;
  }

  .what-card-btn {
    margin-top: 30px;
    padding: 14px 18px;
    font-size: 12px;
  }

  .what-card::before {
    width: 210px;
    height: 210px;
    top: -90px;
    right: -90px;
  }

  .what-card::after {
    width: 200px;
    height: 200px;
    top: -65px;
    right: -110px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
  .what-we-do {
    padding: 50px 0;
  }

  .what-we-do-container {
    width: 86%;
  }

  .what-we-do-heading {
    margin-bottom: 35px;
  }

  .what-we-do-heading h2 {
    font-size: 33px;
  }

  .what-card {
    padding: 29px 23px 24px;
    border-radius: 15px;
  }

  .what-card h3 {
    font-size: 20px;
  }

  .what-card li {
    padding-left: 17px;
    font-size: 12.5px;
  }

  .what-card-btn {
    margin-top: 27px;
    padding: 13px 16px;
  }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {
  .what-we-do-container {
    width: 84%;
  }

  .what-card {
    padding: 27px 21px 23px;
  }

  .what-card h3 {
    font-size: 19px;
  }

  .what-card li {
    font-size: 12px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .what-card,
  .what-card-btn {
    transition: none;
  }

  .what-card::before,
  .what-card::after {
    animation: none;
  }
}

/* =========================================================
   HOME CTA
========================================================= */

.home-cta {
  position: relative;
  width: 100%;
  min-height: 500px;
  padding: 120px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f7f7f7;
  isolation: isolate;
}

.home-cta-container {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.home-cta-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #77787a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.home-cta h2 {
  margin: 0;
  color: #5f6062;
  font-size: clamp(42px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
}

.home-cta h2 span {
  display: block;
  color: #b51f24;
}

.home-cta-line {
  width: 55px;
  height: 2px;
  margin: 27px auto;
  background: #b51f24;
}

.home-cta p {
  max-width: 610px;
  margin: 0 auto;
  color: #6d6e70;
  font-size: 15px;
  line-height: 1.8;
}

.home-cta-btn {
  width: fit-content;
  min-width: 165px;
  margin: 35px auto 0;
  padding: 15px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b51f24;
  border-radius: 50px;
  background: #b51f24;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.home-cta-btn:hover {
  background: transparent;
  color: #b51f24;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(181, 31, 36, 0.12);
}

.home-cta-decoration {
  position: absolute;
  z-index: 1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
}

.home-cta-decoration-left {
  left: -155px;
  bottom: -120px;
  border: 1px solid rgba(181, 31, 36, 0.15);
  animation: ctaFloatLeft 10s ease-in-out infinite alternate;
}

.home-cta-decoration-left::before {
  content: "";
  position: absolute;
  inset: 45px;
  border: 1px solid rgba(181, 31, 36, 0.12);
  border-radius: 50%;
}

.home-cta-decoration-left::after {
  content: "";
  position: absolute;
  top: 65px;
  right: 25px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b51f24;
}

.home-cta-decoration-right {
  top: -130px;
  right: -150px;
  border: 1px solid rgba(95, 96, 98, 0.16);
  animation: ctaFloatRight 12s ease-in-out infinite alternate;
}

.home-cta-decoration-right::before {
  content: "";
  position: absolute;
  inset: 48px;
  border: 1px solid rgba(95, 96, 98, 0.12);
  border-radius: 50%;
}

.home-cta-decoration-right::after {
  content: "";
  position: absolute;
  bottom: 52px;
  left: 28px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #77787a;
}

@keyframes ctaFloatLeft {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(15px, -12px) rotate(8deg);
  }

  100% {
    transform: translate(30px, 5px) rotate(-4deg);
  }
}

@keyframes ctaFloatRight {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-18px, 14px) rotate(-7deg);
  }

  100% {
    transform: translate(-30px, -5px) rotate(5deg);
  }
}

.home-cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(181, 31, 36, 0.035) 0%,
    rgba(181, 31, 36, 0.015) 40%,
    transparent 70%
  );
  pointer-events: none;
}

@media (max-width: 600px) {
  .home-cta {
    min-height: auto;
    padding: 85px 0;
  }

  .home-cta-container {
    width: 86%;
  }

  .home-cta h2 {
    font-size: clamp(35px, 10vw, 44px);
  }

  .home-cta p {
    font-size: 13px;
  }

  .home-cta-btn {
    min-width: 150px;
    margin-top: 30px;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 12px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .contact-image img {
    animation: none;
    transform: scale(1);
  }

  .what-card::before,
  .what-card::after {
    animation: none;
  }

  .what-card {
    transition: none;
  }

  .home-cta-decoration {
    animation: none;
  }

  .home-cta-btn {
    transition: none;
  }
}

/* =========================================================
   SERVICES PAGE
========================================================= */

.services-page {
  width: 100%;
  background: #ffffff;
}

/* =========================================================
   SERVICES SECTION
========================================================= */

.services-showcase {
  width: 100%;
  padding: 75px 0 110px;
  background: #ffffff;
}

.services-showcase-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* =========================================================
   SERVICES HEADING
========================================================= */

.services-heading {
  width: 100%;
  margin-bottom: 50px;
  text-align: center;
}

.services-eyebrow {
  display: block;
  margin-bottom: 13px;

  color: #77787a;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;

  text-transform: uppercase;
}

.services-heading h1 {
  margin: 0;

  color: #5f6062;

  font-size: clamp(42px, 4vw, 58px);
  font-weight: 700;

  line-height: 1.08;
  letter-spacing: -1.6px;
}

.services-heading h1 span {
  color: #b51f24;
}

.services-heading-line {
  width: 55px;
  height: 2px;

  margin: 20px auto 0;

  background: #b51f24;
}

/* =========================================================
   SERVICES GRID
========================================================= */

.services-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  align-items: start;
}

/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
  position: relative;

  width: 100%;
  min-width: 0;

  background: transparent;

  border-radius: 20px;

  overflow: visible;
}

/* =========================================================
   SERVICE IMAGE CONTAINER
========================================================= */

.service-card-image {
  position: relative;

  width: 100%;
  height: 300px;

  overflow: hidden;

  border-radius: 20px;

  background: #eeeeee;

  isolation: isolate;

  cursor: pointer;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.service-card:hover .service-card-image {
  transform: translateY(-5px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   SERVICE IMAGE
========================================================= */

.service-card-image img {
  position: absolute;
  inset: 0;

  z-index: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1);

  transition: transform 0.8s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.055);
}

/* =========================================================
   SERVICE IMAGE OVERLAY
========================================================= */

.service-card-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(15, 18, 22, 0.82) 0%,
    rgba(15, 18, 22, 0.46) 28%,
    rgba(15, 18, 22, 0.14) 60%,
    rgba(15, 18, 22, 0.04) 100%
  );

  transition: background 0.4s ease;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 18, 22, 0.88) 0%,
    rgba(15, 18, 22, 0.5) 30%,
    rgba(15, 18, 22, 0.16) 62%,
    rgba(15, 18, 22, 0.05) 100%
  );
}

/* =========================================================
   SERVICE TITLE
========================================================= */

.service-card h2 {
  position: absolute;

  z-index: 2;

  left: 28px;
  right: 78px;
  bottom: 27px;

  margin: 0;

  color: #ffffff;

  font-size: 21px;
  font-weight: 600;

  line-height: 1.25;

  pointer-events: none;

  transition: transform 0.35s ease;
}

.service-card:hover h2 {
  transform: translateY(-2px);
}

/* =========================================================
   PLUS BUTTON
========================================================= */

.service-plus {
  position: absolute;

  z-index: 5;

  top: 20px;
  right: 20px;

  width: 43px;
  height: 43px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);

  cursor: pointer;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.4s ease,
    box-shadow 0.3s ease;
}

/* =========================================================
   PLUS ICON
========================================================= */

.service-plus span {
  position: absolute;

  display: block;

  width: 14px;
  height: 1.5px;

  border-radius: 2px;

  background: #b51f24;

  transition: background 0.3s ease;
}

.service-plus span:nth-child(2) {
  transform: rotate(90deg);
}

/* =========================================================
   PLUS BUTTON HOVER
========================================================= */

.service-plus:hover {
  background: #b51f24;

  border-color: #b51f24;

  box-shadow: 0 7px 20px rgba(181, 31, 36, 0.22);
}

.service-plus:hover span {
  background: #ffffff;
}

/* =========================================================
   ACTIVE CARD
========================================================= */

.service-card.active .service-card-image {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   ACTIVE BUTTON
   PLUS -> X
========================================================= */

.service-card.active .service-plus {
  background: #b51f24;

  border-color: #b51f24;

  transform: rotate(45deg);

  box-shadow: 0 7px 20px rgba(181, 31, 36, 0.24);
}

.service-card.active .service-plus span {
  background: #ffffff;
}

/* =========================================================
   ORIGINAL DETAILS INSIDE EACH CARD

   These stay hidden.
   JavaScript copies the selected service content into
   the full-width panel.
========================================================= */

.service-card > .service-details {
  display: none;
}

/* =========================================================
   FULL-WIDTH INFORMATION PANEL
========================================================= */

.services-info-panel {
  grid-column: 1 / -1;

  position: relative;

  width: 100%;

  max-height: 0;

  margin: 0;

  overflow: hidden;

  opacity: 0;

  border-radius: 20px;

  background: #f7f7f7;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0);

  transform: translateY(-8px);

  transition:
    max-height 0.7s ease,
    opacity 0.4s ease,
    transform 0.4s ease,
    margin 0.4s ease,
    box-shadow 0.4s ease;
}

/* =========================================================
   OPEN INFORMATION PANEL
========================================================= */

.services-info-panel.active {
  opacity: 1;

  margin: 6px 0 16px;

  transform: translateY(0);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

/* =========================================================
   PANEL INNER
========================================================= */

.services-info-panel-inner {
  position: relative;

  width: 100%;

  padding: 46px 50px 50px;
}

/* =========================================================
   PANEL TOP DECORATION
========================================================= */

.services-info-panel-inner::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: #b51f24;
}

/* =========================================================
   PANEL TITLE
========================================================= */

.services-info-title {
  margin: 0 0 15px;

  color: #5f6062;

  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 700;

  line-height: 1.2;
  letter-spacing: -0.6px;
}

/* =========================================================
   PANEL TITLE LINE
========================================================= */

.services-info-line {
  width: 50px;
  height: 2px;

  margin: 0 0 29px;

  background: #b51f24;
}

/* =========================================================
   PANEL CONTENT
========================================================= */

.services-info-content {
  width: 100%;
}

/* Remove padding copied from original hidden details */

.services-info-content .service-details-inner {
  width: 100%;
  padding: 0;
}

/* =========================================================
   SERVICE INTRODUCTION
========================================================= */

.services-info-content .service-intro {
  width: 100%;
  max-width: 1050px;

  margin: 0 0 32px;

  color: #666769;

  font-size: 14px;
  font-weight: 400;

  line-height: 1.85;

  text-align: justify;
}

/* =========================================================
   "OUR APPROACH" HEADING
========================================================= */

.services-info-content .service-details-inner > h3 {
  margin: 0 0 22px;

  color: #b51f24;

  font-size: 17px;
  font-weight: 700;

  line-height: 1.4;
}

/* =========================================================
   DETAIL ITEMS
========================================================= */

.services-info-content .service-detail-item {
  position: relative;

  width: 100%;

  margin: 0;

  padding: 21px 10px 21px 26px;

  border-bottom: 1px solid rgba(95, 96, 98, 0.13);
}

.services-info-content .service-detail-item:first-of-type {
  border-top: 1px solid rgba(95, 96, 98, 0.13);
}

.services-info-content .service-detail-item:last-child {
  border-bottom: 0;
}

/* =========================================================
   DETAIL ITEM RED DOT
========================================================= */

.services-info-content .service-detail-item::before {
  content: "";

  position: absolute;

  top: 29px;
  left: 2px;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #b51f24;
}

/* =========================================================
   DETAIL ITEM TITLE
========================================================= */

.services-info-content .service-detail-item h4 {
  margin: 0 0 7px;

  color: #555658;

  font-size: 14px;
  font-weight: 700;

  line-height: 1.4;
}

/* =========================================================
   DETAIL ITEM TEXT
========================================================= */

.services-info-content .service-detail-item p {
  width: 100%;
  max-width: 1050px;

  margin: 0;

  color: #77787a;

  font-size: 13px;
  font-weight: 400;

  line-height: 1.8;

  text-align: justify;
}

/* =========================================================
   ACTIVE CARD INDICATOR
========================================================= */

.service-card.active::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -12px;

  width: 10px;
  height: 10px;

  background: #b51f24;

  transform: translateX(-50%) rotate(45deg);

  opacity: 1;

  z-index: 3;
}

/* =========================================================
   DESKTOP HOVER - ACTIVE CARD
========================================================= */

@media (hover: hover) {
  .service-card.active:hover .service-card-image {
    transform: translateY(-3px);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
  .services-showcase {
    padding: 65px 0 90px;
  }

  .services-showcase-container {
    width: 88%;
  }

  .services-heading {
    margin-bottom: 45px;
  }

  .services-grid {
    gap: 20px;
  }

  .service-card,
  .service-card-image {
    border-radius: 18px;
  }

  .service-card-image {
    height: 270px;
  }

  .service-card h2 {
    left: 23px;
    right: 68px;
    bottom: 23px;

    font-size: 18px;
  }

  .service-plus {
    top: 17px;
    right: 17px;

    width: 40px;
    height: 40px;
  }

  .service-plus span {
    width: 13px;
  }

  .services-info-panel {
    border-radius: 18px;
  }

  .services-info-panel-inner {
    padding: 40px 38px 43px;
  }

  .services-info-content .service-intro {
    font-size: 13.5px;
  }

  .services-info-content .service-detail-item p {
    font-size: 12.5px;
  }
}

/* =========================================================
   SMALL TABLET
   3 COLUMNS -> 2 COLUMNS
========================================================= */

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-image {
    height: 285px;
  }

  .services-info-panel-inner {
    padding: 38px 34px 40px;
  }
}

/* =========================================================
   MOBILE
   2 COLUMNS -> 1 COLUMN
========================================================= */

@media (max-width: 600px) {
  .services-showcase {
    padding: 55px 0 70px;
  }

  .services-showcase-container {
    width: 86%;
  }

  /* Heading */

  .services-heading {
    margin-bottom: 38px;
  }

  .services-eyebrow {
    margin-bottom: 11px;

    font-size: 9px;
    letter-spacing: 3px;
  }

  .services-heading h1 {
    font-size: clamp(34px, 10vw, 42px);

    letter-spacing: -1.2px;
  }

  .services-heading-line {
    width: 45px;

    margin-top: 18px;
  }

  /* Grid */

  .services-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  /* Card */

  .service-card,
  .service-card-image {
    border-radius: 17px;
  }

  .service-card-image {
    height: 275px;
  }

  /* Title */

  .service-card h2 {
    left: 22px;
    right: 68px;
    bottom: 22px;

    font-size: 18px;
  }

  /* Plus */

  .service-plus {
    top: 16px;
    right: 16px;

    width: 39px;
    height: 39px;
  }

  .service-plus span {
    width: 13px;
  }

  /* Active arrow */

  .service-card.active::after {
    bottom: -10px;

    width: 9px;
    height: 9px;
  }

  /* Panel */

  .services-info-panel {
    border-radius: 17px;
  }

  .services-info-panel.active {
    margin: 2px 0 10px;
  }

  .services-info-panel-inner {
    padding: 32px 24px 35px;
  }

  /* Panel title */

  .services-info-title {
    margin-bottom: 13px;

    font-size: 24px;
    letter-spacing: -0.4px;
  }

  .services-info-line {
    width: 43px;

    margin-bottom: 24px;
  }

  /* Intro */

  .services-info-content .service-intro {
    margin-bottom: 27px;

    font-size: 13px;
    line-height: 1.75;
  }

  /* Our Approach */

  .services-info-content .service-details-inner > h3 {
    margin-bottom: 18px;

    font-size: 15px;
  }

  /* Detail item */

  .services-info-content .service-detail-item {
    padding: 18px 0 18px 20px;
  }

  .services-info-content .service-detail-item::before {
    top: 25px;
    left: 1px;

    width: 5px;
    height: 5px;
  }

  .services-info-content .service-detail-item h4 {
    margin-bottom: 6px;

    font-size: 13px;
  }

  .services-info-content .service-detail-item p {
    font-size: 12px;
    line-height: 1.75;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
  .services-showcase {
    padding: 45px 0 60px;
  }

  .services-showcase-container {
    width: 86%;
  }

  /* Heading */

  .services-heading {
    margin-bottom: 32px;
  }

  .services-heading h1 {
    font-size: 33px;
  }

  /* Card */

  .service-card,
  .service-card-image {
    border-radius: 15px;
  }

  .service-card-image {
    height: 245px;
  }

  /* Title */

  .service-card h2 {
    left: 19px;
    right: 62px;
    bottom: 19px;

    font-size: 17px;
  }

  /* Plus */

  .service-plus {
    top: 14px;
    right: 14px;

    width: 37px;
    height: 37px;
  }

  .service-plus span {
    width: 12px;
  }

  /* Panel */

  .services-info-panel {
    border-radius: 15px;
  }

  .services-info-panel-inner {
    padding: 29px 20px 31px;
  }

  .services-info-title {
    font-size: 22px;
  }

  .services-info-line {
    margin-bottom: 22px;
  }

  .services-info-content .service-intro {
    font-size: 12.5px;
  }

  .services-info-content .service-detail-item h4 {
    font-size: 12.5px;
  }

  .services-info-content .service-detail-item p {
    font-size: 11.5px;
  }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {
  .services-showcase-container {
    width: 84%;
  }

  .service-card-image {
    height: 225px;
  }

  .services-info-panel-inner {
    padding: 27px 18px 29px;
  }

  .services-info-title {
    font-size: 21px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .service-card-image,
  .service-card-image img,
  .service-card h2,
  .service-plus,
  .service-plus span,
  .services-info-panel {
    transition: none;
  }
}

/* =========================================================
   TECHNOLOGIES PAGE
========================================================= */

.technologies-page {
  width: 100%;
  background: #ffffff;
}

/* =========================================================
   TECHNOLOGIES SECTION
========================================================= */

.technologies-showcase {
  width: 100%;
  padding: 75px 0 110px;
  background: #ffffff;
}

.technologies-showcase-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* =========================================================
   TECHNOLOGIES HEADING
========================================================= */

.technologies-heading {
  width: 100%;
  margin-bottom: 50px;
  text-align: center;
}

.technologies-eyebrow {
  display: block;
  margin-bottom: 13px;

  color: #77787a;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;

  text-transform: uppercase;
}

.technologies-heading h1 {
  margin: 0;

  color: #5f6062;

  font-size: clamp(42px, 4vw, 58px);
  font-weight: 700;

  line-height: 1.08;
  letter-spacing: -1.6px;
}

.technologies-heading h1 span {
  color: #b51f24;
}

.technologies-heading-line {
  width: 55px;
  height: 2px;

  margin: 20px auto 0;

  background: #b51f24;
}

/* =========================================================
   TECHNOLOGIES GRID
========================================================= */

.technologies-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  align-items: start;
}

/* =========================================================
   TECHNOLOGY CARD
========================================================= */

.technology-card {
  position: relative;

  width: 100%;
  min-width: 0;

  background: transparent;

  border-radius: 20px;

  overflow: visible;
}

/* =========================================================
   TECHNOLOGY IMAGE CONTAINER
========================================================= */

.technology-card-image {
  position: relative;

  width: 100%;
  height: 300px;

  overflow: hidden;

  border-radius: 20px;

  background: #eeeeee;

  isolation: isolate;

  cursor: pointer;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.technology-card:hover .technology-card-image {
  transform: translateY(-5px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   TECHNOLOGY IMAGE
========================================================= */

.technology-card-image img {
  position: absolute;
  inset: 0;

  z-index: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1);

  transition: transform 0.8s ease;
}

.technology-card:hover .technology-card-image img {
  transform: scale(1.055);
}

/* =========================================================
   IMAGE OVERLAY
========================================================= */

.technology-card-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(15, 18, 22, 0.82) 0%,
    rgba(15, 18, 22, 0.46) 28%,
    rgba(15, 18, 22, 0.14) 60%,
    rgba(15, 18, 22, 0.04) 100%
  );

  transition: background 0.4s ease;
}

.technology-card:hover .technology-card-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 18, 22, 0.88) 0%,
    rgba(15, 18, 22, 0.5) 30%,
    rgba(15, 18, 22, 0.16) 62%,
    rgba(15, 18, 22, 0.05) 100%
  );
}

/* =========================================================
   TECHNOLOGY TITLE
========================================================= */

.technology-card h2 {
  position: absolute;

  z-index: 2;

  left: 28px;
  right: 78px;
  bottom: 27px;

  margin: 0;

  color: #ffffff;

  font-size: 21px;
  font-weight: 600;

  line-height: 1.25;

  pointer-events: none;

  transition: transform 0.35s ease;
}

.technology-card:hover h2 {
  transform: translateY(-2px);
}

/* =========================================================
   PLUS BUTTON
========================================================= */

.technology-plus {
  position: absolute;

  z-index: 5;

  top: 20px;
  right: 20px;

  width: 43px;
  height: 43px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);

  cursor: pointer;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.4s ease,
    box-shadow 0.3s ease;
}

/* =========================================================
   PLUS ICON
========================================================= */

.technology-plus span {
  position: absolute;

  display: block;

  width: 14px;
  height: 1.5px;

  border-radius: 2px;

  background: #b51f24;

  transition: background 0.3s ease;
}

.technology-plus span:nth-child(2) {
  transform: rotate(90deg);
}

/* =========================================================
   PLUS HOVER
========================================================= */

.technology-plus:hover {
  background: #b51f24;
  border-color: #b51f24;

  box-shadow: 0 7px 20px rgba(181, 31, 36, 0.22);
}

.technology-plus:hover span {
  background: #ffffff;
}

/* =========================================================
   ACTIVE TECHNOLOGY
========================================================= */

.technology-card.active .technology-card-image {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   ACTIVE BUTTON
   PLUS -> X
========================================================= */

.technology-card.active .technology-plus {
  background: #b51f24;

  border-color: #b51f24;

  transform: rotate(45deg);

  box-shadow: 0 7px 20px rgba(181, 31, 36, 0.24);
}

.technology-card.active .technology-plus span {
  background: #ffffff;
}

/* =========================================================
   ACTIVE CARD INDICATOR
========================================================= */

.technology-card.active::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -12px;

  z-index: 3;

  width: 10px;
  height: 10px;

  background: #b51f24;

  transform: translateX(-50%) rotate(45deg);
}

/* =========================================================
   ORIGINAL HIDDEN DETAILS

   JavaScript copies these details into the full-width panel.
========================================================= */

.technology-card > .technology-details {
  display: none;
}

/* =========================================================
   FULL-WIDTH TECHNOLOGY PANEL
========================================================= */

.technologies-info-panel {
  grid-column: 1 / -1;

  position: relative;

  width: 100%;

  max-height: 0;

  margin: 0;

  overflow: hidden;

  opacity: 0;

  border-radius: 20px;

  background: #f7f7f7;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0);

  transform: translateY(-8px);

  transition:
    max-height 0.7s ease,
    opacity 0.4s ease,
    transform 0.4s ease,
    margin 0.4s ease,
    box-shadow 0.4s ease;
}

/* =========================================================
   OPEN PANEL
========================================================= */

.technologies-info-panel.active {
  opacity: 1;

  margin: 6px 0 16px;

  transform: translateY(0);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

/* =========================================================
   PANEL INNER
========================================================= */

.technologies-info-panel-inner {
  position: relative;

  width: 100%;

  padding: 46px 50px 50px;
}

/* RED TOP LINE */

.technologies-info-panel-inner::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: #b51f24;
}

/* =========================================================
   PANEL TITLE
========================================================= */

.technologies-info-title {
  margin: 0 0 15px;

  color: #5f6062;

  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 700;

  line-height: 1.2;
  letter-spacing: -0.6px;
}

/* =========================================================
   TITLE LINE
========================================================= */

.technologies-info-line {
  width: 50px;
  height: 2px;

  margin: 0 0 29px;

  background: #b51f24;
}

/* =========================================================
   PANEL CONTENT
========================================================= */

.technologies-info-content {
  width: 100%;
}

.technologies-info-content .technology-details-inner {
  width: 100%;
  padding: 0;
}

/* =========================================================
   INTRODUCTION
========================================================= */

.technologies-info-content .technology-intro {
  width: 100%;
  max-width: 1050px;

  margin: 0 0 31px;

  color: #666769;

  font-size: 14px;
  font-weight: 400;

  line-height: 1.85;

  text-align: justify;
}

/* =========================================================
   CONTENT SECTION HEADINGS
========================================================= */

.technologies-info-content .technology-details-inner > h3 {
  position: relative;

  margin: 31px 0 16px;
  padding-left: 15px;

  color: #555658;

  font-size: 17px;
  font-weight: 700;

  line-height: 1.4;
}

.technologies-info-content .technology-details-inner > h3::before {
  content: "";

  position: absolute;

  top: 3px;
  bottom: 3px;
  left: 0;

  width: 3px;

  border-radius: 3px;

  background: #b51f24;
}

/* First heading after intro */

.technologies-info-content .technology-intro + h3 {
  margin-top: 0;
}

/* =========================================================
   TECHNOLOGY LIST
========================================================= */

.technologies-info-content .technology-list {
  width: 100%;

  margin-bottom: 25px;
}

.technologies-info-content .technology-list:last-child {
  margin-bottom: 0;
}

.technologies-info-content .technology-list ul {
  width: 100%;

  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: 45px;

  list-style: none;
}

/* =========================================================
   TECHNOLOGY LIST ITEMS
========================================================= */

.technologies-info-content .technology-list li {
  position: relative;

  min-width: 0;

  padding: 15px 10px 15px 22px;

  border-bottom: 1px solid rgba(95, 96, 98, 0.13);

  color: #666769;

  font-size: 13px;
  font-weight: 400;

  line-height: 1.6;
}

/* RED DOT */

.technologies-info-content .technology-list li::before {
  content: "";

  position: absolute;

  top: 22px;
  left: 2px;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #b51f24;
}

/* =========================================================
   AI & ANALYTICS FEATURE BLOCKS
========================================================= */

.technologies-info-content .technology-feature {
  position: relative;

  width: 100%;

  padding: 25px 0 25px 27px;

  border-bottom: 1px solid rgba(95, 96, 98, 0.13);
}

.technologies-info-content .technology-feature:first-of-type {
  border-top: 1px solid rgba(95, 96, 98, 0.13);
}

.technologies-info-content .technology-feature:last-child {
  border-bottom: 0;
}

/* FEATURE RED MARK */

.technologies-info-content .technology-feature::before {
  content: "";

  position: absolute;

  top: 29px;
  left: 2px;

  width: 6px;
  height: 28px;

  border-radius: 5px;

  background: #b51f24;
}

/* FEATURE TITLE */

.technologies-info-content .technology-feature h3 {
  margin: 0 0 9px;

  color: #555658;

  font-size: 15px;
  font-weight: 700;

  line-height: 1.4;
}

/* FEATURE TEXT */

.technologies-info-content .technology-feature p {
  max-width: 1050px;

  margin: 0;

  color: #77787a;

  font-size: 13px;
  font-weight: 400;

  line-height: 1.8;

  text-align: justify;
}

/* =========================================================
   ACTIVE DESKTOP HOVER
========================================================= */

@media (hover: hover) {
  .technology-card.active:hover .technology-card-image {
    transform: translateY(-3px);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
  .technologies-showcase {
    padding: 65px 0 90px;
  }

  .technologies-showcase-container {
    width: 88%;
  }

  .technologies-heading {
    margin-bottom: 45px;
  }

  .technologies-grid {
    gap: 20px;
  }

  .technology-card,
  .technology-card-image {
    border-radius: 18px;
  }

  .technology-card-image {
    height: 270px;
  }

  .technology-card h2 {
    left: 23px;
    right: 68px;
    bottom: 23px;

    font-size: 18px;
  }

  .technology-plus {
    top: 17px;
    right: 17px;

    width: 40px;
    height: 40px;
  }

  .technology-plus span {
    width: 13px;
  }

  .technologies-info-panel {
    border-radius: 18px;
  }

  .technologies-info-panel-inner {
    padding: 40px 38px 43px;
  }

  .technologies-info-content .technology-list ul {
    column-gap: 30px;
  }

  .technologies-info-content .technology-intro {
    font-size: 13.5px;
  }
}

/* =========================================================
   SMALL TABLET
   3 -> 2 CARDS
========================================================= */

@media (max-width: 800px) {
  .technologies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .technology-card-image {
    height: 285px;
  }

  .technologies-info-panel-inner {
    padding: 38px 34px 40px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .technologies-showcase {
    padding: 55px 0 70px;
  }

  .technologies-showcase-container {
    width: 86%;
  }

  /* Heading */

  .technologies-heading {
    margin-bottom: 38px;
  }

  .technologies-eyebrow {
    margin-bottom: 11px;

    font-size: 9px;
    letter-spacing: 3px;
  }

  .technologies-heading h1 {
    font-size: clamp(34px, 10vw, 42px);

    letter-spacing: -1.2px;
  }

  .technologies-heading-line {
    width: 45px;

    margin-top: 18px;
  }

  /* Grid */

  .technologies-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  /* Card */

  .technology-card,
  .technology-card-image {
    border-radius: 17px;
  }

  .technology-card-image {
    height: 275px;
  }

  /* Title */

  .technology-card h2 {
    left: 22px;
    right: 68px;
    bottom: 22px;

    font-size: 18px;
  }

  /* Plus */

  .technology-plus {
    top: 16px;
    right: 16px;

    width: 39px;
    height: 39px;
  }

  .technology-plus span {
    width: 13px;
  }

  /* Indicator */

  .technology-card.active::after {
    bottom: -10px;

    width: 9px;
    height: 9px;
  }

  /* Panel */

  .technologies-info-panel {
    border-radius: 17px;
  }

  .technologies-info-panel.active {
    margin: 2px 0 10px;
  }

  .technologies-info-panel-inner {
    padding: 32px 24px 35px;
  }

  /* Panel title */

  .technologies-info-title {
    margin-bottom: 13px;

    font-size: 24px;

    letter-spacing: -0.4px;
  }

  .technologies-info-line {
    width: 43px;

    margin-bottom: 24px;
  }

  /* Intro */

  .technologies-info-content .technology-intro {
    margin-bottom: 26px;

    font-size: 13px;
    line-height: 1.75;
  }

  /* Headings */

  .technologies-info-content .technology-details-inner > h3 {
    margin-top: 27px;

    font-size: 15px;
  }

  /* Lists become one column */

  .technologies-info-content .technology-list ul {
    grid-template-columns: 1fr;

    column-gap: 0;
  }

  .technologies-info-content .technology-list li {
    padding: 14px 0 14px 20px;

    font-size: 12px;
    line-height: 1.6;
  }

  .technologies-info-content .technology-list li::before {
    top: 20px;

    width: 5px;
    height: 5px;
  }

  /* AI feature */

  .technologies-info-content .technology-feature {
    padding: 20px 0 20px 21px;
  }

  .technologies-info-content .technology-feature::before {
    top: 24px;

    width: 5px;
    height: 24px;
  }

  .technologies-info-content .technology-feature h3 {
    font-size: 13px;
  }

  .technologies-info-content .technology-feature p {
    font-size: 12px;
    line-height: 1.75;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
  .technologies-showcase {
    padding: 45px 0 60px;
  }

  .technologies-showcase-container {
    width: 86%;
  }

  .technologies-heading {
    margin-bottom: 32px;
  }

  .technologies-heading h1 {
    font-size: 33px;
  }

  .technology-card,
  .technology-card-image {
    border-radius: 15px;
  }

  .technology-card-image {
    height: 245px;
  }

  .technology-card h2 {
    left: 19px;
    right: 62px;
    bottom: 19px;

    font-size: 17px;
  }

  .technology-plus {
    top: 14px;
    right: 14px;

    width: 37px;
    height: 37px;
  }

  .technology-plus span {
    width: 12px;
  }

  .technologies-info-panel {
    border-radius: 15px;
  }

  .technologies-info-panel-inner {
    padding: 29px 20px 31px;
  }

  .technologies-info-title {
    font-size: 22px;
  }

  .technologies-info-line {
    margin-bottom: 22px;
  }

  .technologies-info-content .technology-intro {
    font-size: 12.5px;
  }

  .technologies-info-content .technology-list li {
    font-size: 11.5px;
  }

  .technologies-info-content .technology-feature p {
    font-size: 11.5px;
  }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {
  .technologies-showcase-container {
    width: 84%;
  }

  .technology-card-image {
    height: 225px;
  }

  .technologies-info-panel-inner {
    padding: 27px 18px 29px;
  }

  .technologies-info-title {
    font-size: 21px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .technology-card-image,
  .technology-card-image img,
  .technology-card h2,
  .technology-plus,
  .technology-plus span,
  .technologies-info-panel {
    transition: none;
  }
}

/* =========================================================
   INDUSTRIES PAGE
========================================================= */

.industries-page {
  width: 100%;
  background: #ffffff;
}

/* =========================================================
   INDUSTRIES SECTION
========================================================= */

.industries-showcase {
  width: 100%;
  padding: 75px 0 110px;
  background: #ffffff;
}

.industries-showcase-container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* =========================================================
   HEADING
========================================================= */

.industries-heading {
  width: 100%;
  margin-bottom: 50px;
  text-align: center;
}

.industries-eyebrow {
  display: block;

  margin-bottom: 13px;

  color: #77787a;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 4px;

  text-transform: uppercase;
}

.industries-heading h1 {
  margin: 0;

  color: #5f6062;

  font-size: clamp(42px, 4vw, 58px);
  font-weight: 700;

  line-height: 1.08;
  letter-spacing: -1.6px;
}

.industries-heading h1 span {
  color: #b51f24;
}

.industries-heading-line {
  width: 55px;
  height: 2px;

  margin: 20px auto 0;

  background: #b51f24;
}

/* =========================================================
   INDUSTRIES GRID
========================================================= */

.industries-grid {
  width: 100%;

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  align-items: start;
}

/* =========================================================
   INDUSTRY CARD
========================================================= */

.industry-card {
  position: relative;

  width: 100%;
  min-width: 0;

  border-radius: 20px;

  background: transparent;

  overflow: visible;
}

/* =========================================================
   IMAGE CONTAINER
========================================================= */

.industry-card-image {
  position: relative;

  width: 100%;
  height: 300px;

  overflow: hidden;

  border-radius: 20px;

  background: #eeeeee;

  isolation: isolate;

  cursor: pointer;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.industry-card:hover .industry-card-image {
  transform: translateY(-5px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   IMAGE
========================================================= */

.industry-card-image img {
  position: absolute;

  inset: 0;

  z-index: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transform: scale(1);

  transition: transform 0.8s ease;
}

.industry-card:hover .industry-card-image img {
  transform: scale(1.055);
}

/* =========================================================
   OVERLAY
========================================================= */

.industry-card-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(15, 18, 22, 0.82) 0%,
    rgba(15, 18, 22, 0.46) 28%,
    rgba(15, 18, 22, 0.14) 60%,
    rgba(15, 18, 22, 0.04) 100%
  );

  transition: background 0.4s ease;
}

.industry-card:hover .industry-card-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 18, 22, 0.88) 0%,
    rgba(15, 18, 22, 0.5) 30%,
    rgba(15, 18, 22, 0.16) 62%,
    rgba(15, 18, 22, 0.05) 100%
  );
}

/* =========================================================
   CARD TITLE
========================================================= */

.industry-card h2 {
  position: absolute;

  z-index: 2;

  left: 28px;
  right: 78px;
  bottom: 27px;

  margin: 0;

  color: #ffffff;

  font-size: 21px;
  font-weight: 600;

  line-height: 1.25;

  pointer-events: none;

  transition: transform 0.35s ease;
}

.industry-card:hover h2 {
  transform: translateY(-2px);
}

/* =========================================================
   PLUS BUTTON
========================================================= */

.industry-plus {
  position: absolute;

  z-index: 5;

  top: 20px;
  right: 20px;

  width: 43px;
  height: 43px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.82);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);

  cursor: pointer;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.4s ease,
    box-shadow 0.3s ease;
}

/* =========================================================
   PLUS ICON
========================================================= */

.industry-plus span {
  position: absolute;

  display: block;

  width: 14px;
  height: 1.5px;

  border-radius: 2px;

  background: #b51f24;

  transition: background 0.3s ease;
}

.industry-plus span:nth-child(2) {
  transform: rotate(90deg);
}

/* =========================================================
   PLUS HOVER
========================================================= */

.industry-plus:hover {
  background: #b51f24;

  border-color: #b51f24;

  box-shadow: 0 7px 20px rgba(181, 31, 36, 0.22);
}

.industry-plus:hover span {
  background: #ffffff;
}

/* =========================================================
   ACTIVE CARD
========================================================= */

.industry-card.active .industry-card-image {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   PLUS -> X
========================================================= */

.industry-card.active .industry-plus {
  background: #b51f24;

  border-color: #b51f24;

  transform: rotate(45deg);

  box-shadow: 0 7px 20px rgba(181, 31, 36, 0.24);
}

.industry-card.active .industry-plus span {
  background: #ffffff;
}

/* =========================================================
   ACTIVE CARD INDICATOR
========================================================= */

.industry-card.active::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -12px;

  z-index: 3;

  width: 10px;
  height: 10px;

  background: #b51f24;

  transform: translateX(-50%) rotate(45deg);
}

/* =========================================================
   HIDE ORIGINAL DETAILS
========================================================= */

.industry-card > .industry-details {
  display: none;
}

/* =========================================================
   FULL-WIDTH INFORMATION PANEL
========================================================= */

.industries-info-panel {
  grid-column: 1 / -1;

  position: relative;

  width: 100%;

  max-height: 0;

  margin: 0;

  overflow: hidden;

  opacity: 0;

  border-radius: 20px;

  background: #f7f7f7;

  transform: translateY(-8px);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0);

  transition:
    max-height 0.7s ease,
    opacity 0.4s ease,
    transform 0.4s ease,
    margin 0.4s ease,
    box-shadow 0.4s ease;
}

/* =========================================================
   OPEN PANEL
========================================================= */

.industries-info-panel.active {
  opacity: 1;

  margin: 6px 0 16px;

  transform: translateY(0);

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

/* =========================================================
   PANEL INNER
========================================================= */

.industries-info-panel-inner {
  position: relative;

  width: 100%;

  padding: 46px 50px 50px;
}

/* TOP RED LINE */

.industries-info-panel-inner::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: #b51f24;
}

/* =========================================================
   PANEL TITLE
========================================================= */

.industries-info-title {
  margin: 0 0 15px;

  color: #5f6062;

  font-size: clamp(25px, 2.5vw, 32px);

  font-weight: 700;

  line-height: 1.2;

  letter-spacing: -0.6px;
}

/* =========================================================
   TITLE LINE
========================================================= */

.industries-info-line {
  width: 50px;
  height: 2px;

  margin: 0 0 29px;

  background: #b51f24;
}

/* =========================================================
   CONTENT
========================================================= */

.industries-info-content {
  width: 100%;
}

.industries-info-content .industry-details-inner {
  width: 100%;
  padding: 0;
}

/* =========================================================
   INTRODUCTION
========================================================= */

.industries-info-content .industry-intro {
  width: 100%;
  max-width: 1050px;

  margin: 0 0 18px;

  color: #666769;

  font-size: 14px;
  font-weight: 400;

  line-height: 1.85;

  text-align: justify;
}

.industries-info-content .industry-intro:last-of-type {
  margin-bottom: 31px;
}

/* =========================================================
   SUBHEADING
========================================================= */

.industries-info-content .industry-details-inner > h3 {
  position: relative;

  margin: 30px 0 16px;

  padding-left: 15px;

  color: #555658;

  font-size: 17px;
  font-weight: 700;

  line-height: 1.4;
}

.industries-info-content .industry-details-inner > h3::before {
  content: "";

  position: absolute;

  top: 3px;
  bottom: 3px;
  left: 0;

  width: 3px;

  border-radius: 3px;

  background: #b51f24;
}

/* =========================================================
   INDUSTRY LIST
========================================================= */

.industries-info-content .industry-list {
  width: 100%;

  margin-top: 5px;
}

.industries-info-content .industry-list ul {
  width: 100%;

  margin: 0;
  padding: 0;

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: 45px;

  list-style: none;
}

/* =========================================================
   LIST ITEM
========================================================= */

.industries-info-content .industry-list li {
  position: relative;

  min-width: 0;

  padding: 15px 10px 15px 22px;

  border-bottom: 1px solid rgba(95, 96, 98, 0.13);

  color: #666769;

  font-size: 13px;
  font-weight: 400;

  line-height: 1.6;
}

/* RED DOT */

.industries-info-content .industry-list li::before {
  content: "";

  position: absolute;

  top: 22px;
  left: 2px;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #b51f24;
}

/* =========================================================
   DESKTOP ACTIVE HOVER
========================================================= */

@media (hover: hover) {
  .industry-card.active:hover .industry-card-image {
    transform: translateY(-3px);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
  .industries-showcase {
    padding: 65px 0 90px;
  }

  .industries-showcase-container {
    width: 88%;
  }

  .industries-heading {
    margin-bottom: 45px;
  }

  .industries-grid {
    gap: 20px;
  }

  .industry-card,
  .industry-card-image {
    border-radius: 18px;
  }

  .industry-card-image {
    height: 270px;
  }

  .industry-card h2 {
    left: 23px;
    right: 68px;
    bottom: 23px;

    font-size: 18px;
  }

  .industry-plus {
    top: 17px;
    right: 17px;

    width: 40px;
    height: 40px;
  }

  .industry-plus span {
    width: 13px;
  }

  .industries-info-panel {
    border-radius: 18px;
  }

  .industries-info-panel-inner {
    padding: 40px 38px 43px;
  }

  .industries-info-content .industry-list ul {
    column-gap: 30px;
  }

  .industries-info-content .industry-intro {
    font-size: 13.5px;
  }
}

/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 800px) {
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-card-image {
    height: 285px;
  }

  .industries-info-panel-inner {
    padding: 38px 34px 40px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .industries-showcase {
    padding: 55px 0 70px;
  }

  .industries-showcase-container {
    width: 86%;
  }

  /* Heading */

  .industries-heading {
    margin-bottom: 38px;
  }

  .industries-eyebrow {
    margin-bottom: 11px;

    font-size: 9px;

    letter-spacing: 3px;
  }

  .industries-heading h1 {
    font-size: clamp(34px, 10vw, 42px);

    letter-spacing: -1.2px;
  }

  .industries-heading-line {
    width: 45px;

    margin-top: 18px;
  }

  /* Grid */

  .industries-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  /* Card */

  .industry-card,
  .industry-card-image {
    border-radius: 17px;
  }

  .industry-card-image {
    height: 275px;
  }

  /* Title */

  .industry-card h2 {
    left: 22px;
    right: 68px;
    bottom: 22px;

    font-size: 18px;
  }

  /* Plus */

  .industry-plus {
    top: 16px;
    right: 16px;

    width: 39px;
    height: 39px;
  }

  .industry-plus span {
    width: 13px;
  }

  /* Indicator */

  .industry-card.active::after {
    bottom: -10px;

    width: 9px;
    height: 9px;
  }

  /* Panel */

  .industries-info-panel {
    border-radius: 17px;
  }

  .industries-info-panel.active {
    margin: 2px 0 10px;
  }

  .industries-info-panel-inner {
    padding: 32px 24px 35px;
  }

  /* Panel title */

  .industries-info-title {
    margin-bottom: 13px;

    font-size: 24px;

    letter-spacing: -0.4px;
  }

  .industries-info-line {
    width: 43px;

    margin-bottom: 24px;
  }

  /* Intro */

  .industries-info-content .industry-intro {
    margin-bottom: 16px;

    font-size: 13px;

    line-height: 1.75;
  }

  .industries-info-content .industry-intro:last-of-type {
    margin-bottom: 26px;
  }

  /* Heading */

  .industries-info-content .industry-details-inner > h3 {
    margin-top: 26px;

    font-size: 15px;
  }

  /* Lists */

  .industries-info-content .industry-list ul {
    grid-template-columns: 1fr;

    column-gap: 0;
  }

  .industries-info-content .industry-list li {
    padding: 14px 0 14px 20px;

    font-size: 12px;

    line-height: 1.6;
  }

  .industries-info-content .industry-list li::before {
    top: 20px;

    width: 5px;
    height: 5px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {
  .industries-showcase {
    padding: 45px 0 60px;
  }

  .industries-showcase-container {
    width: 86%;
  }

  .industries-heading {
    margin-bottom: 32px;
  }

  .industries-heading h1 {
    font-size: 33px;
  }

  .industry-card,
  .industry-card-image {
    border-radius: 15px;
  }

  .industry-card-image {
    height: 245px;
  }

  .industry-card h2 {
    left: 19px;
    right: 62px;
    bottom: 19px;

    font-size: 17px;
  }

  .industry-plus {
    top: 14px;
    right: 14px;

    width: 37px;
    height: 37px;
  }

  .industry-plus span {
    width: 12px;
  }

  .industries-info-panel {
    border-radius: 15px;
  }

  .industries-info-panel-inner {
    padding: 29px 20px 31px;
  }

  .industries-info-title {
    font-size: 22px;
  }

  .industries-info-line {
    margin-bottom: 22px;
  }

  .industries-info-content .industry-intro {
    font-size: 12.5px;
  }

  .industries-info-content .industry-list li {
    font-size: 11.5px;
  }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {
  .industries-showcase-container {
    width: 84%;
  }

  .industry-card-image {
    height: 225px;
  }

  .industries-info-panel-inner {
    padding: 27px 18px 29px;
  }

  .industries-info-title {
    font-size: 21px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .industry-card-image,
  .industry-card-image img,
  .industry-card h2,
  .industry-plus,
  .industry-plus span,
  .industries-info-panel {
    transition: none;
  }
}
