﻿:root {
  --ttd-primary: #005cbc;
  --ttd-primary-strong: #0a6dd9;
  --ttd-heading: #005cbc;
  --ttd-text: #485468;
  --ttd-bg: #f5f7fc;
  --ttd-border: rgba(255, 255, 255, 0.5);
  --ttd-glow-blue: rgba(22, 116, 236, 0.5);
  --ttd-glow-orange: rgba(255, 130, 0, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% 0%, rgba(31, 119, 238, 0.14), transparent 32%),
    radial-gradient(circle at 95% 100%, rgba(20, 115, 241, 0.14), transparent 28%),
    var(--ttd-bg);
  color: #1f2937;
}

.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.top-nav {
  position: sticky;
  top: 14px;
  z-index: 200;
  background: transparent;
  padding-bottom: 12px;
}

.top-nav .navbar {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, rgba(246, 249, 255, 0.92), rgba(230, 236, 246, 0.9));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(41, 86, 153, 0.16);
  transition: box-shadow 0.28s ease, background-color 0.28s ease, transform 0.28s ease;
}

.top-nav.is-scrolled .navbar {
  box-shadow: 0 16px 38px rgba(23, 62, 121, 0.22);
  background: linear-gradient(135deg, rgba(250, 252, 255, 0.98), rgba(236, 242, 251, 0.95));
  transform: translateY(-2px);
}

.navbar-brand .brand-text {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: #355279;
  font-weight: 700;
}

.navbar .nav-link {
  position: relative;
  color: #3f506a;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.48rem 0.72rem !important;
  transition: color 0.28s ease, background-color 0.28s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0097df, #1274e7);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--ttd-primary);
  background: rgba(198, 222, 255, 0.4);
}

.navbar .nav-link.active::after,
.navbar .nav-link:hover::after,
.navbar .nav-link.is-current::after {
  transform: scaleX(1);
}

.navbar .btn-primary {
  background: var(--ttd-primary-strong);
  border: 0;
  box-shadow: 0 8px 18px rgba(8, 98, 221, 0.28);
}

.hero-section {
  position: relative;
}

.hero-slider-shell {
  position: relative;
}

.hero-slides {
  position: relative;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  min-height: 560px;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(221, 229, 242, 0.9);
  background: #eff2f7;
  opacity: 0;
  pointer-events: none;
  transform: translateX(2%);
  transition: opacity 0.46s ease, transform 0.46s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-panel-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-panel-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(239, 242, 247, 0.98) 0%, rgba(239, 242, 247, 0.95) 42%, rgba(239, 242, 247, 0.78) 58%, rgba(239, 242, 247, 0.32) 76%, rgba(239, 242, 247, 0) 100%),
    radial-gradient(620px 340px at 24% 56%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 68%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.82;
  pointer-events: none;
}

.hero-glow-left {
  width: 680px;
  height: 680px;
  left: -170px;
  top: -70px;
  background: radial-gradient(circle, rgba(22, 130, 255, 0.42) 0%, rgba(22, 130, 255, 0.22) 40%, rgba(22, 130, 255, 0.1) 62%, rgba(22, 130, 255, 0) 84%);
}

.hero-glow-right {
  width: 600px;
  height: 600px;
  right: -220px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(20, 112, 230, 0.34) 0%, rgba(20, 112, 230, 0.18) 42%, rgba(20, 112, 230, 0.08) 66%, rgba(20, 112, 230, 0) 86%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.82rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(222, 231, 246, 0.96);
  border-radius: 999px;
  color: #0d57b8;
  font-size: 1.02rem;
  font-weight: 500;
}

.hero-title {
  color: var(--ttd-primary);
  font-size: clamp(2.25rem, 3.6vw, 3rem);
  line-height: 130%;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-title span {
  color: #4a6296;
}

.hero-sub {
  color: #4a5261;
  font-size: clamp(1rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.62;
  max-width: 620px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(52rem, 62%);
  min-height: 560px;
  padding: clamp(1.9rem, 4vw, 5.6rem) clamp(1.9rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  margin-inline: 0;
}

.hero-copy .btn {
  min-width: 200px;
  padding-top: 0.92rem;
  padding-bottom: 0.92rem;
  font-weight: 600;
}

.hero-slider-dots {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(228, 234, 244, 0.92);
  border-radius: 999px;
  width: fit-content;
  margin-inline: auto;
  padding: 0.3rem 0.5rem;
}

.hero-dot {
  width: 0.52rem;
  height: 0.52rem;
  border: 0;
  border-radius: 999px;
  background: rgba(119, 126, 140, 0.3);
  transition: width 0.24s ease, background-color 0.24s ease;
}

.hero-dot.is-active {
  width: 1.45rem;
  background: rgba(104, 109, 118, 0.72);
}

.hero-copy .btn-light {
  border: 1px solid rgba(200, 214, 236, 0.95);
  box-shadow: 0 8px 18px rgba(157, 178, 214, 0.3);
}

.hero-media {
  border-radius: 2rem;
  border: 10px solid rgba(245, 249, 255, 0.95);
  overflow: visible;
  box-shadow: 0 18px 44px rgba(60, 108, 174, 0.28);
}

.hero-media img {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  min-height: 560px;
}

.glass-card {
  backdrop-filter: blur(8px);
  background: linear-gradient(110deg, rgba(241, 244, 248, 0.9), rgba(168, 180, 193, 0.76));
  border: 1px solid rgba(225, 234, 248, 0.84);
  border-radius: 1.15rem;
}

.hero-stat {
  position: absolute;
  left: -28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  min-width: 290px;
}

.hero-stat i {
  font-size: 2.05rem;
  color: var(--ttd-primary-strong);
}

.hero-stat strong {
  display: block;
  line-height: 1;
  color: var(--ttd-primary-strong);
  font-size: 3rem;
  font-weight: 500;
}

.hero-stat p {
  margin: 0.2rem 0 0;
  color: #4e5a6f;
  font-size: 1.65rem;
  font-weight: 500;
}

.glass-solid {
  background: rgba(245, 247, 252, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.35rem;
  box-shadow: 0 14px 34px rgba(57, 96, 154, 0.18);
}

.intro-card {
  padding: 2.1rem;
}

.intro-visual {
  border-radius: 1rem;
  min-height: 420px;
  object-fit: cover;
}

.section-title {
  color: var(--ttd-heading);
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(1.8rem, 2.2vw, 2rem);
}

.section-line {
  display: inline-block;
  width: 100px;
  height: 6px;
  border-radius: 999px;
  background: #5b76a8;
}

.section-body {
  color: var(--ttd-text);
  font-size: 1rem;
  line-height: 1.53;
}

.section-link {
  color: #4f6797;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.section-link:hover {
  color: var(--ttd-primary-strong);
}

.section-solutions {
  position: relative;
}

.hero-glow-orange {
  width: 540px;
  height: 540px;
  right: -210px;
  top: 120px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.42) 0%, rgba(255, 138, 0, 0.25) 36%, rgba(255, 138, 0, 0.12) 58%, rgba(255, 138, 0, 0) 82%);
}

.section-header {
  max-width: 980px;
}

.solution-card {
  padding: 2.5rem 2.1rem;
}

.solution-icon {
  display: inline-flex;
  width: 104px;
  height: 104px;
  border-radius: 1.35rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  font-size: 2.2rem;
  color: #12a8e0;
}

.icon-cool,
.icon-sound {
  background: #dfe6f6;
}

.icon-tool {
  background: #f0dfd2;
}

.solution-card h3 {
  color: var(--ttd-heading);
  font-size: 2rem;
  margin-bottom: 1.1rem;
}

.solution-card p {
  margin: 0;
  color: var(--ttd-text);
  font-size: 1rem;
  line-height: 1.52;
}

.section-projects .project-btn {
  font-weight: 600;
  color: var(--ttd-primary);
  min-width: 220px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 32px rgba(32, 88, 165, 0.26);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 46, 104, 0) 34%, rgba(5, 71, 158, 0.74) 100%);
  pointer-events: none;
}

.project-card-lg {
  aspect-ratio: 800.66 / 398;
}

.project-card-sm {
  aspect-ratio: 387.34 / 186;
}

.project-overlay {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  color: #edf4ff;
}

.project-chip {
  display: inline-flex;
  border-radius: 0.66rem;
  background: rgba(113, 163, 228, 0.48);
  padding: 0.42rem 1rem;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.project-overlay h3 {
  font-size: clamp(1.8rem, 1.8vw, 2rem);
  margin: 0 0 0.38rem;
}

.project-overlay p {
  margin: 0;
  font-size: 1rem;
  color: rgba(237, 244, 255, 0.95);
}

.section-home-news {
  position: relative;
}

.section-home-news .section-title {
  font-size: clamp(1.8rem, 2.2vw, 2rem);
}

.home-news-card {
  overflow: hidden;
}

.home-news-media {
  position: relative;
  display: block;
  text-decoration: none;
}

.home-news-media img {
  width: 100%;
  aspect-ratio: 387.33 / 192;
  object-fit: cover;
  display: block;
}

.home-news-chip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  border: 1px solid rgba(222, 232, 247, 0.95);
  background: rgba(241, 245, 251, 0.95);
  color: #0d57b8;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 500;
  padding: 0.52rem 0.95rem;
}

.home-news-body {
  padding: 1.35rem 1.3rem 1.55rem;
}

.home-news-body h3 {
  margin: 0 0 0.9rem;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 500;
}

.home-news-body h3 a {
  text-decoration: none;
  color: #0e5dbf;
}

.home-news-body h3 a:hover {
  color: #0a6dd9;
}

.home-news-body p {
  margin: 0 0 1rem;
  color: #49586e;
  font-size: 1rem;
  line-height: 1.5;
}

.home-news-body time {
  color: #7b8798;
  font-size: 0.95rem;
}

.site-footer {
  background: rgba(238, 240, 245, 0.92);
  margin-top: 2.5rem;
}

.site-footer h4 {
  color: #09a5e4;
  font-size: 1.125rem;
  margin-bottom: 1.55rem;
  font-weight: 700;
}

.site-footer .company {
  font-size: 1rem;
  color: #354052;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: #566175;
  font-size: 0.875rem;
}

.contact-list i {
  color: #0ea5e9;
  font-size: 1.2em;
  margin-top: 0.08rem;
}

.contact-list strong {
  color: #334155;
}

.quick-links li {
  margin-bottom: 1rem;
}

.quick-links a {
  color: #526075;
  font-size: 0.875rem;
  text-decoration: none;
}

.quick-links a:hover {
  color: var(--ttd-primary);
}

.social-title,
.subscribe-title {
  color: #354052;
  font-size: 0.875rem;
  font-weight: 700;
}

.social-link {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid #d8deea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  margin-bottom: 1.4rem;
}

.subscribe-title {
  margin-bottom: 0.6rem;
}

.subscribe-copy {
  color: #5f6d83;
  font-size: 0.875rem;
}

.site-footer .form-control {
  border: 1px solid #bcc8da;
  border-radius: 1rem;
  font-size: 0.875rem;
  color: #526075;
}

.site-footer .btn-info {
  border-radius: 1rem;
  background: #0ea5e9;
  border-color: #0ea5e9;
  font-size: 0.875rem;
}

.site-footer hr {
  margin: 3rem 0 2rem;
  border-color: #cfd8e8;
}

.copyright {
  text-align: center;
  color: #09a5e4;
  font-size: 0.875rem;
}

@media (max-width: 991.98px) {
  .top-nav {
    top: 8px;
    padding-bottom: 8px;
  }

  .top-nav .navbar {
    padding: 0.45rem 0.5rem;
  }

  .top-nav .navbar-collapse {
    margin-top: 8px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(225, 233, 248, 0.9);
    background: rgba(250, 252, 255, 0.98);
  }

  .py-lg-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .hero-panel {
    min-height: 500px;
  }

  .hero-slides {
    min-height: 500px;
  }

  .hero-slide {
    min-height: 500px;
  }

  .hero-copy {
    min-height: 500px;
    max-width: 74%;
    padding: 2.1rem 1.4rem;
  }

  .hero-title {
    font-size: 2.65rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .project-card-lg {
    aspect-ratio: 800.66 / 398;
  }

  .project-card-sm {
    aspect-ratio: 387.34 / 186;
  }

  .home-news-body h3 {
    font-size: 1.35rem;
  }

  .home-news-body p {
    font-size: 0.95rem;
  }

  .home-news-chip {
    font-size: 0.88rem;
  }
}

@media (max-width: 767.98px) {
  .py-lg-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .navbar .nav-link::after {
    left: 8px;
    right: 8px;
    bottom: 6px;
  }

  .hero-panel {
    min-height: 470px;
  }

  .hero-slides {
    min-height: 470px;
  }

  .hero-slide {
    min-height: 470px;
  }

  .hero-panel-image {
    object-position: center bottom;
  }

  .hero-panel-overlay {
    background:
      linear-gradient(180deg, rgba(239, 242, 247, 0.99) 0%, rgba(239, 242, 247, 0.97) 40%, rgba(239, 242, 247, 0.74) 58%, rgba(239, 242, 247, 0.28) 78%, rgba(239, 242, 247, 0) 100%),
      radial-gradient(420px 260px at 50% 20%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 70%);
  }

  .hero-copy {
    min-height: 470px;
    max-width: 100%;
    padding: 2.6rem 1.1rem 1.5rem;
    justify-content: flex-start;
    text-align: center;
  }

  .hero-title {
    font-size: 2.05rem;
    line-height: 1.16;
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-copy .btn {
    width: 100%;
  }

  .hero-slider-dots {
    margin-top: 0.8rem;
  }

  .intro-card {
    padding: 1.2rem;
  }

  .solution-card {
    padding: 1.7rem 1.3rem;
  }

  .solution-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 1.2rem;
  }

  .project-overlay {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
  }

  .project-card-lg {
    aspect-ratio: 800.66 / 398;
  }

  .project-card-sm {
    aspect-ratio: 387.34 / 186;
  }

  .home-news-body {
    padding: 1rem 1rem 1.25rem;
  }

  .home-news-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
  }

  .home-news-body p {
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
  }

  .home-news-body time {
    font-size: 0.85rem;
  }

  .site-footer .btn-info,
  .site-footer .form-control {
    min-height: 54px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 1.86rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }
}
