body {
  font-family: var(--font-body);
  font-size: var(--text-base);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.tagline-heading {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.5px;
}
.tagline-base{
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.about-title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.tagline-small {
  font-size: var(--text-sm);
  line-height: 1.4;
}

.slider-wrapper {
  display: flex;
  align-items: stretch;
  height: 620px;
  min-height: 620px;
  gap: 15px;
  padding: 20px;
  overflow: hidden;
}

.slider-sidebar {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px;
  background: rgba(60, 70, 90, 0.5);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.sidebar-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #999;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.sidebar-dots {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  justify-content: flex-start;
  padding-top: 20px;
}

.sidebar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #666;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.sidebar-dot.active {
  background: #1764bd;
  border-color: #1764bd;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.sidebar-dot:hover {
  border-color: #1764bd;
}

.slider-container {
      display: flex;
      align-items: stretch;
      padding: clamp(8px, 2vw, 20px);
      gap: clamp(10px, 1.5vw, 15px);
      height: 620px;       
      max-height: 620px;
      min-height: 620px;
      overflow: hidden;
      position: relative;
      box-sizing: border-box;
      max-width: 1280px;
      margin: 0 auto;
      width: 100%;
    }

.slider-thumbnails {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
  padding: 10px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

    .slide {
      position: relative;
      flex: 0.22;
      min-width: clamp(80px, 10vw, 200px);
      max-width: clamp(300px, 85vw, 1080px);
      height: 100%;
      border-radius: 15px;
      overflow: hidden;
      cursor: pointer;
      transition: flex 0.6s cubic-bezier(0.65, 0, 0.35, 1),
                  box-shadow 0.5s cubic-bezier(0.83, 0, 0.22, 1);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      z-index: 1;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      box-sizing: border-box;
    }

    .slide-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      z-index: 1;
      transition: filter 0.6s cubic-bezier(0.33, 0, 0.5, 1),
                  opacity 0.45s;
      filter: brightness(70%) blur(2px) grayscale(30%);
    }

    .slide.active .slide-img {
      filter: brightness(100%) blur(0px) grayscale(5%);
    }

    .slide:hover:not(.active) .slide-img {
      filter: brightness(80%) blur(5px) grayscale(25%);
    }

    .slide.active {
      flex: 4.5;
      box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
      z-index: 2;
    }

    .slide:hover:not(.active) {
      flex: 0.28;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .slide-content {
      position: relative;
      z-index: 3;
      padding: clamp(20px, 4vw, 60px) clamp(25px, 5vw, 60px);
      opacity: 0;
      transform: translateY(20px) scale(0.95);
      transition: opacity 0.6s cubic-bezier(0.3, 0.84, 0.63, 0.98) 0.2s,
                  transform 0.6s cubic-bezier(0.3, 0.84, 0.63, 0.98) 0.2s;
      box-sizing: border-box;
    }

    .slide.active .slide-content {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .slide-category {
      display: inline-block;
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      color: var(--color-primary-50);
      text-transform: uppercase;
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--color-primary-50);
      min-width: 120px;
    }

    .slide-title2 {
      font-family: Georgia, Times, serif;
      font-size: 2.5rem;
      font-weight: 600;
      margin-bottom: clamp(12px, 2vw, 20px);
      margin-bottom: 20px;
      letter-spacing: -0.5px;
      color: #ffffff;
      text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
      line-height: 1.2;
    }

    .slide-desc {
      font-size: clamp(0.9rem, 1.2vw, 1.1rem);
      max-width: 550px;
      line-height: 1.6;
      margin-bottom: clamp(20px, 2vw, 30px);
      color: rgba(255, 255, 255, 0.9);
    }

    .industries-track .industry-card p {
      font-size: var(--text-sm);
    }

    .slide-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      font-size: 1rem;
      font-weight: 600;
      color: #fff;
      background: rgba(255, 255, 255, 0.15);
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      align-items: center;
      gap: 8px;
      margin-top: 12px;
    }

    .slide-btn:hover {
      background: var(--color-primary-600);
      border-color: var(--color-primary-600);
      box-shadow: 0 6px 20px rgba(249, 150, 2, 0.4);
    }

    .slide-btn svg {
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .slide-subtitle {
      position: absolute;
      bottom: 30%;
      left: 60%;
      transform: translateX(-50%) translateY(50%) rotate(-90deg);
      transform-origin: bottom center;
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: 2px;
      color: rgba(255, 255, 255, 0.85);
      text-transform: uppercase;
      z-index: 4;
      opacity: 0;
      transition: opacity 0.4s ease;
      display: flex;
      align-items: center;
      gap: 12px;
      white-space: nowrap;
    }

.slide-subtitle::before {
  content: "○";
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}    .slide:not(.active) .slide-subtitle {
      opacity: 1;
    }

    .slide.active .slide-subtitle {
      opacity: 0;
      pointer-events: none;
    }

    .nav-arrows {
      position: absolute;
      bottom: clamp(20px, 3vw, 36px);
      right: clamp(30px, 4vw, 56px);
      display: flex;
      gap: clamp(15px, 2vw, 22px);
      z-index: 10;
    }

    .arrow {
      width: clamp(32px, 5vw, 48px);
      height: clamp(32px, 5vw, 48px);
      border-radius: 50%;
      border: 2px solid #fff;
      background: rgba(40, 50, 85, 0.22);
      color: #fff;
      font-size: clamp(1rem, 2vw, 1.5rem);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 16px rgba(30, 40, 60, 0.12);
      transition: background 0.3s, transform 0.27s;
      flex-shrink: 0;
    }

    .arrow:hover {
      background: var(--color-primary-600);
      color: #fff;
      transform: scale(1.13);
    }

    .nav-arrows:not(.active-slide-controls) {
      display: none;
    }

    .thumbnail {
      width: 100%;
      aspect-ratio: 3/4;
      border-radius: 10px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.3s;
      opacity: 0.6;
      position: relative;
      border: 2px solid transparent;
    }

    .thumbnail.active {
      opacity: 1;
      border-color: #1764bd;
      box-shadow: 0 0 16px rgba(249, 115, 22, 0.5);
    }

    .thumbnail:hover {
      opacity: 0.85;
      transform: scale(1.05);
    }

    .thumbnail-img {
      width: 100%;
      height: 85%;
      background-size: cover;
      background-position: center;
      border-radius: 8px;
    }

    .thumbnail span {
      position: absolute;
      bottom: 8px;
      left: 8px;
      right: 8px;
      font-size: 0.75rem;
      font-weight: 600;
      color: #fff;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .progress-bar {
      position: relative;
      height: 3px;
      width: 100%;
      background: var(--color-primary-600);
      margin: 16px 0 24px 0;
      border-radius: 2px;
      z-index: 100;
      transform-origin: left;
      transform: scaleX(0);
    }

    .slide.active .progress-bar {
      animation: progress 6s linear;
    }

    @keyframes progress {
      from {
        transform: scaleX(0);
      }
      to {
        transform: scaleX(1);
      }
    }

    .autoplay-control {
      position: absolute;
      bottom: 30px;
      left: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(249, 115, 22, 0.9);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 11;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      transition: all 0.3s;
    }

    @media (max-width: 768px) {
      .autoplay-control {
        display: none;
      }

      /* Hide slide subtitle on smaller screens (mobile) for the index slider */
      .slide-subtitle {
        display: none;
      }
    }

    .autoplay-control:hover {
      transform: scale(1.1);
      background: rgba(249, 115, 22, 1);
    }

    @media (max-width: 900px) {
      .slider-container {
        flex-direction: column;
        height: auto;
        gap: 10px;
        min-height: 540px;
        max-width: 1280px;
        margin: 0 auto;
      }

      .slide {
        width: 100%;
        height: 45vh;
        border-radius: 13px;
      }

      .arrow {
        width: 40px;
        height: 40px;
        border-width: 1.5px;
      }

      .autoplay-control {
        display: none;
      }
    }

.industries-carousel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 10;
}

.industries-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.8s cubic-bezier(0.45, 0, 0.15, 1);
  flex: 1;
  min-width: 0;
}

.industry-card {
  flex: 0 0 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.industry-card .industry-icon svg {
  transition: transform 0.3s ease, color 0.3s ease;
}

.industry-card:hover .industry-icon svg {
  transform: scale(1.1);
  color: #2563eb;

}

.industry-image {
  width: 100%;
  bottom: 0;
  height: 180px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.industry-card:hover .industry-image {
  transform: scale(1.20);
}

.carousel-btn {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--color-primary-600);
  color: #fff;
  transform: scale(1.05);
}

.carousel-btn svg {
  stroke-width: 2.5;
}

#prevIndustry, #nextIndustry {
  z-index: 10;
}

@media (max-width: 1023px) {
  #prevIndustry, #nextIndustry {
    position: static;
    flex-shrink: 0;
  }
}

.industry-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}
.industry-card:nth-child(1) { animation-delay: 0.1s; }
.industry-card:nth-child(2) { animation-delay: 0.2s; }
.industry-card:nth-child(3) { animation-delay: 0.3s; }
.industry-card:nth-child(4) { animation-delay: 0.4s; }
.industry-card:nth-child(5) { animation-delay: 0.5s; }
.industry-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#highlights {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

footer {
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 1200 600" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="white" stroke-width="0.5"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)" /></svg>') repeat;
  opacity: 0.05;
  z-index: 1;
}

footer > div {
  position: relative;
  z-index: 2;
}

footer a {
  position: relative;
  display: inline-block;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

footer h4 {
  position: relative;
  display: inline-block;
}

footer h4::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #F99602, transparent);
  border-radius: 2px;
}

#contact .lg\:grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.items-start {
  align-items: start;
}

#contact .lg\:grid-cols-2 > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

#contact .lg\:grid-cols-2 > div:last-child {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#contact .space-y-6 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

#contact .space-y-6 > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#contact .space-y-6 > div:last-child {
  flex: 1;
}

.rounded-xl.shadow-xl.p-8 {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.rounded-xl.shadow-xl.p-8 form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rounded-xl.shadow-xl.p-8 .space-y-6:last-of-type {
  flex: 1;
}

@media (max-width: 768px) {
  footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  footer .grid {
    gap: 2rem;
  }

  footer .flex:not(.flex-row) {
    flex-direction: column;
    text-align: center;
  }

  #socialIcons {
    flex-direction: row !important;
  }

  footer .border-t {
    margin: 2rem 0;
    
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: clamp(280px, 70vh, 70vh);
    padding: 8px;
    gap: 0;
    margin-top: 56px;
    position: relative;
    display: block;
    perspective: 1000px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }

  .slide {
    min-width: 100%;
    border-radius: 16px;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
    transform-origin: center;
  }

  .slide:not(.active) {
    transform: scale(0.9) translateY(20px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .slide.active {
    display: flex;
    position: relative;
    flex: 1;
    max-width: 100%;
    transform: scale(1) translateY(0);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }

  .slide-content {
    padding: 20px !important;
    padding-bottom: 100px !important;
    max-height: calc(100% - 100px);
    overflow-y: auto;
  }

  .slide-title2 {
    font-size: 1.5rem !important;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .slide-desc {
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .industries-track .industry-card p {
    font-size: var(--text-sm);
  }

  .slide-btn {
    padding: 10px 20px;
    font-size: 0.875rem;
  }

  .slide-category {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-gray-400);
  }

  .progress-bar {
    height: 3px;
    margin: 0.75rem 0;
  }

  .nav-arrows {
    gap: 8px;
    bottom: 20px !important;
  }

  .arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .industry-card {
    flex: 0 0 78vw !important;
    width: 78vw !important;
    min-width: unset !important;
    height: 400px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
  }

  .industry-card > .relative.z-20 {
    flex: 1;
    overflow-y: auto;
  }

  .industries-carousel {
    gap: 4px;
  }

  .industries-track {
    gap: 1rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    min-height: unset;
    min-width: unset;
  }

  input, textarea, select {
    font-size: 16px !important; 
  }

  nav ul li {
    padding: 0.5rem 0;
  }
}

@media (max-width: 640px) {
  .slider-container {
    height: clamp(250px, 65vh, 65vh);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 6px;
    gap: 0;
    perspective: 1000px;
  }

  .slide {
    min-width: 100%;
    border-radius: 14px;
  }

  .slide:not(.active) {
    transform: scale(0.88) translateY(25px);
    opacity: 0.4;
  }

  .slide.active {
    display: flex;
    position: relative;
    width: 100%;
  }

  .slide-content {
    padding: 16px !important;
    padding-bottom: 100px !important;
    max-height: calc(100% - 90px);
    overflow-y: auto;
  }

  .slide-category {
    font-size: 0.7rem;
    color: var(--color-gray-400);
  }

  .slide-title2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem;
  }

  .slide-desc {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;

    /* Ensure full description shows on mobile (override line-clamp behavior) */
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: unset;
  }

  /* Fix mobile list layout inside the service cards */
  .industry-card ul {
    font-size: var(--text-sm);
    padding-left: 1.25rem;
  }

  .industry-card ul li {
    font-size: var(--text-sm);
    white-space: normal;
    margin-bottom: 0.25rem;
  }

  .industries-track .industry-card p {
    font-size: var(--text-sm);
  }

  .slide-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .nav-arrows {
    bottom: 15px !important;
    right: 15px !important;
  }

  .arrow {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  button, a {
    min-height: 44px;
    min-width: 44px;
  }

  .carousel-btn {
    min-height: unset !important;
    min-width: unset !important;
    width: 32px !important;
    height: 32px !important;
  }

  .industry-card {
    flex: 0 0 80vw !important;
    width: 80vw !important;
    height: 400px !important;
    justify-content: flex-start !important;
  }

  .space-y-3 > * + * {
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .slider-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    height: clamp(220px, 60vh, 60vh);
    padding: 4px;
    perspective: 1000px;
  }

  .slide {
    border-radius: 12px;
  }

  .slide:not(.active) {
    transform: scale(0.85) translateY(30px);
    opacity: 0.35;
  }

  .slide-title2 {
    font-size: 1.1rem !important;
  }

  .slide-desc {
    font-size: 0.75rem;
  }

  .industries-track .industry-card p {
    font-size: var(--text-sm);
  }

  .slide-btn {
    padding: 6px 14px;
    font-size: 0.75rem;
  }
}

.primary-title {
      display: inline-block;
      letter-spacing: 1px;
      color: var(--color-primary-600);
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--color-primary-600);
      min-width: 20px;
    }

    .ethics-item{
  height:56px;
  display:flex;
  align-items:center;
} 

.ethics-word{
  transition: all 0.5s ease;
  padding:2px 6px;
  border-radius:6px;
}

.ethics-word.active{

  font-weight: 600;
  color:#ea580c;

}

.industries-track {
  align-items: stretch;
}

.industry-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Content div fills the card and starts from top */
.industry-card > .relative.z-20 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}