/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}
#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Back to Top ***/
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Typography System ***/
h1, .h1 { font-size: 3rem; }
h2, .h2 { font-size: 2.35rem; }
h3, .h3 { font-size: 1.8rem; }
h4, .h4 { font-size: 1.45rem; }
h5, .h5 { font-size: 1.2rem; }
h6, .h6 { font-size: 1.05rem; }

.display-1 { font-size: clamp(3.2rem, 6.5vw, 5.5rem); }
.display-2 { font-size: clamp(2.8rem, 5.5vw, 4.6rem); }
.display-3 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.display-4 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
.display-5 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
.display-6 { font-size: clamp(1.45rem, 3.2vw, 2.35rem); }

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  margin-bottom: .85rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

p.lead {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
}

.text-muted {
  font-size: 1rem;
}

/*** Section spacing ***/
.section-pad {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 2.2rem; }
  h2, .h2 { font-size: 1.8rem; }
  h3, .h3 { font-size: 1.5rem; }
  h4, .h4 { font-size: 1.25rem; }
  h5, .h5 { font-size: 1.1rem; }
  .display-4 { font-size: 2.2rem; }
  .display-5 { font-size: 1.8rem; }
  .display-6 { font-size: 1.4rem; }
  .section-pad { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

/*** Navbar ***/
.sticky-top {
  top: -150px;
  transition: .5s;
}
.navbar {
  padding: 11px 0 !important;
  height: 75px;
}
.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 0;
  color: var(--text-muted);
  outline: none;
  font-weight: 500;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

/*** Navbar Dropdown ***/
.navbar .dropdown-toggle {
  margin-right: 35px;
  padding: 0;
  color: var(--text-muted);
  font-weight: 500;
  outline: none;
}
.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle.show {
  color: var(--primary);
}
.navbar .dropdown-toggle::after {
  vertical-align: 2px;
  font-size: .7rem;
}
.navbar .dropdown-menu {
  margin-top: 8px !important;
  border: 1px solid rgba(0, 98, 156, .08);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
  padding: .5rem;
  background: #fff;
  min-width: 180px;
}
.navbar .dropdown-item {
  border-radius: 8px;
  padding: .55rem 1rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: all .2s ease;
}
.navbar .dropdown-item:hover {
  background: rgba(0, 98, 156, .06);
  color: var(--primary);
}
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .navbar .dropdown > .dropdown-toggle:active {
    pointer-events: none;
  }
}
@media (max-width: 991.98px) {
  .navbar .dropdown-toggle {
    margin-right: 0;
    padding: 10px 0;
  }
  .navbar .dropdown-menu {
    margin-top: 0 !important;
    border: none;
    box-shadow: none;
    padding: 0 0 .25rem .75rem;
    background: transparent;
    min-width: auto;
  }
  .navbar .dropdown-item {
    padding: .4rem .75rem;
    font-size: .85rem;
  }
  .navbar .dropdown-item:hover {
    background: rgba(0, 98, 156, .04);
  }
}

.badge-new {
  display: inline-block;
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .15rem .45rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #00629C, #42A5F5);
  color: #fff;
  line-height: 1.2;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 98, 156, .4); }
  50% { box-shadow: 0 0 0 4px rgba(0, 98, 156, 0); }
}

@media (max-width: 991.98px) {
  .badge-new {
    font-size: .5rem;
    padding: .1rem .35rem;
  }
  .navbar .navbar-nav {
    padding: 0 15px;
    background: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--border);
  }
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

/*** Hero Slider Premium 16:9 ***/
.hero-premium {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 600px;
  max-height: 95vh;
  overflow: hidden;
  background: var(--bg);
}

.hero-premium .hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-premium .hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 40%, #90CAF9 70%, #E3F2FD 100%);
}

.hero-premium .hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 98, 156, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 98, 156, .03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-premium .hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
  animation: heroBlob 20s ease-in-out infinite alternate;
}

.hero-premium .hero-blob-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-premium .hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--primary-light);
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
}

.hero-premium .hero-blob-3 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  top: 50%;
  right: 30%;
  animation-delay: -14s;
}

@keyframes heroBlob {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(.95); }
  100% { transform: translate(10px, -10px) scale(1.05); }
}

.hero-premium .hero-slides-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-premium .hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}

.hero-premium .hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-premium .hero-slide-inner {
  width: 100%;
  padding: 120px 0 80px;
}

.hero-premium .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 1.25rem;
  background: rgba(0, 98, 156, .08);
  border: 1px solid rgba(0, 98, 156, .15);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
  animation: heroFadeUp .6s ease both;
}

.hero-premium .hero-slide.active .hero-tag {
  animation-delay: .2s;
}

.hero-premium .hero-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.5); }
}

.hero-premium .hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 700px;
  animation: heroFadeUp .6s ease both;
}

.hero-premium .hero-slide.active .hero-title {
  animation-delay: .35s;
}

.hero-premium .hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-premium .hero-desc {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-premium .hero-slide.active .hero-desc {
  animation-delay: .5s;
}

.hero-premium .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: heroFadeUp .6s ease both;
}

.hero-premium .hero-slide.active .hero-actions {
  animation-delay: .65s;
}

.hero-premium .hero-actions .btn {
  padding: .85rem 2rem;
  font-weight: 600;
  font-size: .9rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.hero-premium .hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroFadeUp .8s ease both;
}

.hero-premium .hero-slide.active .hero-illustration {
  animation-delay: .3s;
}

.hero-premium .hero-illustration img {
  max-height: 420px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 98, 156, .15));
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-premium .hero-illustration .glow-ring {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(0, 98, 156, .1);
  animation: spinSlow 30s linear infinite;
}

.hero-premium .hero-illustration .glow-ring-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 98, 156, .12);
  animation: spinSlow 20s linear infinite reverse;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Navigation */
.hero-premium .hero-nav {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 5;
}

.hero-premium .hero-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.hero-premium .hero-dot {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  opacity: .4;
  transition: all .4s ease;
}

.hero-premium .hero-dot:hover {
  opacity: .7;
}

.hero-premium .hero-dot.active {
  opacity: 1;
  color: var(--primary);
}

.hero-premium .hero-dot-line {
  width: 32px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width .4s ease;
}

.hero-premium .hero-dot.active .hero-dot-line {
  width: 48px;
  background: var(--primary);
}

.hero-premium .hero-dot-label {
  display: none;
}

.hero-premium .hero-dot.active .hero-dot-label {
  display: inline;
}

.hero-premium .hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all .3s ease;
  opacity: 0;
}

.hero-premium:hover .hero-arrow {
  opacity: 1;
}

.hero-premium .hero-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.hero-premium .hero-arrow-prev {
  left: 24px;
}

.hero-premium .hero-arrow-next {
  right: 24px;
}

@media (max-width: 991.98px) {
  .hero-premium {
    aspect-ratio: auto;
    min-height: auto;
  }
  .hero-premium .hero-slide-inner {
    padding: 100px 0 60px;
  }
  .hero-premium .hero-title {
    font-size: 1.75rem;
  }
  .hero-premium .hero-illustration {
    display: none;
  }
  .hero-premium .hero-arrow {
    display: none !important;
  }
  .hero-premium .hero-nav {
    bottom: 20px;
  }
  .hero-premium .hero-dot-label {
    display: none !important;
  }
  .hero-premium .hero-dot-line {
    width: 24px;
  }
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 4px;
  bottom: 0;
  left: 0;
  background: var(--primary);
}
.section-title::after {
  position: absolute;
  content: "";
  width: 4px;
  height: 4px;
  bottom: 0;
  left: 50px;
  background: var(--primary-light);
}
.section-title.text-center::before {
  left: 50%;
  margin-left: -25px;
}
.section-title.text-center::after {
  left: 50%;
  margin-left: 25px;
}

/*** Buttons ***/
.btn {
  font-weight: 500;
  transition: .5s;
}
.btn-square {
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
}
.btn-sm-square {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
}
.btn-lg-square {
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
}
.btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}
.btn-primary:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}
.btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}
.btn-outline-primary:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

/*** Service Cards Premium ***/
.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  height: 100%;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
  overflow: hidden;
}
.service-card-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, opacity .5s ease;
  opacity: 0;
}
.service-card:hover .service-card-img img {
  opacity: 1;
  transform: scale(1.08);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 40%, var(--card) 85%);
  opacity: 0;
  transition: opacity .5s ease;
}
.service-card:hover .service-card-overlay {
  opacity: 1;
}
.service-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  height: 100%;
}
.service-card:hover .service-card-content {
  background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.98) 100%);
}
.service-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 4px 12px rgba(0, 98, 156, .25);
  transition: all .4s ease;
}
.service-card:hover .service-card-icon {
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 6px 20px rgba(0, 98, 156, .35);
}
.service-card-body {
  flex: 1;
  min-width: 0;
  position: relative;
}
.service-card-number {
  position: absolute;
  top: -4px;
  right: 0;
  font-size: .65rem;
  font-weight: 700;
  color: var(--border);
  letter-spacing: .05em;
  transition: color .3s ease;
}
.service-card:hover .service-card-number {
  color: var(--primary-light);
}
.service-card-body h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
  padding-right: 2rem;
}
.service-card-body p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all .3s ease;
  gap: .25rem;
}
.service-card:hover .service-card-link {
  gap: .5rem;
  color: var(--primary-dark);
}

/*** Service Modal ***/
.service-modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
}
.service-modal-header {
  padding: 1.5rem 1.5rem 1.25rem;
}
.service-modal-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255,255,255,.15);
  color: #fff;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
    gap: 1rem;
  }
  .service-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
}

/*** Case Study ***/
.case-item {
  overflow: hidden;
  border-radius: 10px;
}
.case-item img {
  transition: .5s;
}
.case-item:hover img {
  transform: scale(1.2);
}
.case-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(rgba(3, 7, 18, 0), rgba(3, 7, 18, .85));
  z-index: 1;
}
.case-overlay small {
  display: inline-block;
  padding: 3px 15px;
  color: #FFFFFF;
  background: rgba(3, 7, 18, .7);
  border-radius: 25px;
  margin-bottom: 15px;
}
.case-overlay span.btn:hover {
  color: var(--primary);
  background: #FFFFFF;
  border-color: #FFFFFF;
}

/*** About Img ***/
.about-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.about-img img {
  width: 100%;
  border-radius: 10px;
}

/*** Footer ***/
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer .btn.btn-social {
  margin-right: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 40px;
  transition: .3s;
}
.footer .btn.btn-social:hover {
  color: var(--primary);
  background: rgba(0, 98, 156, .05);
  border-color: var(--primary);
}
.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: var(--text-muted);
  font-weight: normal;
  transition: .3s;
}
.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}
.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}
.footer .copyright {
  padding: 25px 0;
  font-size: 14px;
  border-top: 1px solid var(--border);
}
.footer .copyright a {
  color: var(--text-muted);
}
.footer .copyright a:hover {
  color: var(--primary);
}
.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid var(--border);
}
.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/*** Stats / Counters ***/
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 98, 156, .08);
  color: var(--primary);
  margin: 0 auto .75rem;
  transition: all .4s ease;
}

.stat-item:hover .stat-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}

.stat-item h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .15rem;
  line-height: 1.1;
}

.stat-item p {
  color: var(--text-muted);
  font-size: .85rem;
  margin-top: .25rem;
  font-weight: 500;
}

/*** 3P Premium Pillars ***/
.pillar-premium {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  text-align: center;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
  position: relative;
  overflow: hidden;
}

.pillar-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity .4s ease;
}

.pillar-premium:hover::after {
  opacity: 1;
}

.pillar-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 98, 156, .1);
  border-color: rgba(0, 98, 156, .2);
}

.pillar-premium-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  transition: all .4s ease;
}

.pillar-premium:hover .pillar-premium-icon {
  transform: scale(1.05) rotate(-3deg);
}

.pillar-premium-badge {
  display: inline-block;
  padding: .25rem 1rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.pillar-premium-desc {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.pillar-premium-items {
  text-align: left;
}

.pillar-premium-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 0;
  font-size: .85rem;
  color: var(--text);
}

/*** FAQ ***/
.faq-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: .5s;
}
.faq-card:hover {
  border-color: var(--primary);
}
.faq-card .faq-header {
  padding: 1.35rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.faq-card .faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-card .faq-body-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}
.faq-card.active .faq-body {
  max-height: 500px;
}
.faq-card.active .faq-header svg {
  transform: rotate(180deg);
}

/*** Skills Premium ***/
.skill-card-premium {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.skill-card-premium::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
  transition: width .4s ease;
  z-index: 1;
}

.skill-card-premium:hover::before {
  width: 80%;
}

.skill-card-premium:hover {
  box-shadow: 0 20px 40px rgba(0, 98, 156, .12);
  border-color: rgba(0, 98, 156, .2);
}

.skill-card-premium h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--text);
  transform: translateZ(24px);
}

.skill-card-premium p {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0;
  transform: translateZ(12px);
}

/*** Skill Ring ***/
.skill-ring-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  transform: translateZ(36px);
}

.skill-ring {
  width: 100%;
  height: 100%;
  display: block;
}

.skill-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 6;
}

.skill-ring-progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1);
  transform: rotate(-90deg);
  transform-origin: center;
}

.skill-ring-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  background: rgba(0, 98, 156, .08);
  transition: all .5s cubic-bezier(.34,1.56,.64,1);
}

.skill-card-premium.visible .skill-ring-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 98, 156, .3);
  transform: translate(-50%, -50%) scale(1.05);
}

.skill-card-premium:hover .skill-ring-icon {
  transform: translate(-50%, -50%) scale(1.1) rotate(0deg) !important;
  box-shadow: 0 8px 24px rgba(0, 98, 156, .35) !important;
}

.skill-level-badge {
  margin-top: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transform: translateZ(18px);
}

.skill-level-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.skill-level-suffix {
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  opacity: .7;
  margin-top: 2px;
}

/*** Skill card entrance staggering ***/
.skill-card-premium {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease, box-shadow .4s ease, border-color .4s ease;
}

.skill-card-premium.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-card-premium.visible:hover {
  box-shadow: 0 24px 48px rgba(0, 98, 156, .15);
  border-color: rgba(0, 98, 156, .25);
}

/*** CTA / Contact ***/
.cta-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 15px;
  padding: 3rem;
  color: #fff;
}

/*** Background Variants ***/
.bg-surface {
  background: var(--surface) !important;
}

/*** Mobile Responsive ***/
@media (max-width: 768px) {
  .hero-header h1.display-4 {
    font-size: 2.2rem;
  }
  .stat-item h2 {
    font-size: 2rem;
  }
}

/*** PAD Enterprise ***/
.pad-level-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: all .4s ease;
  height: 100%;
}

.pad-level-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 98, 156, .1);
  border-color: rgba(0, 98, 156, .2);
}

.pad-premium-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #001F3F, #003366, #004D80);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 98, 156, .25);
}

.pad-premium-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pad-premium-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 165, 245, .15), transparent);
  top: -20%;
  right: -20%;
  animation: padBlob 8s ease-in-out infinite alternate;
}

@keyframes padBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 40px) scale(1.2); }
}

.pad-premium-content {
  position: relative;
  z-index: 1;
}

/*** PAD Diagnostic Data ***/
.pad-diag-card {
  background: linear-gradient(135deg, #001a33, #002a4d, #003a5c);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 12px 40px rgba(0, 98, 156, .15);
  position: relative;
  overflow: hidden;
}

.pad-diag-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: .5;
}

.pad-diag-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pad-diag-flag {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.pad-diag-badge {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .25rem .7rem;
  border-radius: 20px;
  background: rgba(0, 98, 156, .2);
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(0, 98, 156, .25);
}

.pad-diag-metric {
  margin-bottom: 1rem;
}

.pad-diag-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: .35rem;
}

.pad-diag-bar {
  height: 6px;
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: .15rem;
}

.pad-diag-fill {
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: var(--primary);
  transition: width 1.4s cubic-bezier(.22,1,.36,1);
}

.pad-diag-fill.bg-danger {
  background: #ef4444;
}

.pad-diag-fill.bg-warning {
  background: #f59e0b;
}

.pad-diag-fill.animated {
  /* width set via JS */
}

.pad-diag-insight {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.6;
}

.pad-diag-insight strong {
  color: #fff;
}

/*** Misión Visión ***/
.mv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity .4s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 98, 156, .1);
  border-color: rgba(0, 98, 156, .2);
}

.mv-card:hover::before {
  opacity: 1;
}

.mv-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  background: var(--primary);
  margin-bottom: 1.25rem;
  transition: all .4s ease;
}

.mv-card:hover .mv-card-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 98, 156, .3);
}

.mv-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--text);
}

.mv-card p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0;
}

.mv-value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 100%;
  transition: all .3s ease;
}

.mv-value-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 98, 156, .08);
  border-color: rgba(0, 98, 156, .15);
}

.mv-value-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: var(--primary);
  background: rgba(0, 98, 156, .08);
  transition: all .3s ease;
}

.mv-value-item:hover .mv-value-icon {
  background: var(--primary);
  color: #fff;
}

.mv-value-item h6 {
  font-size: .92rem;
  margin-bottom: .35rem;
  color: var(--text);
}

.mv-value-item p {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/*** Aliados / Strategic Partners ***/
.aliado-card {
  background: #fff;
  border: 1px solid rgba(0, 98, 156, .08);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
  height: 100%;
  transition: all .35s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.aliado-card:hover {
  border-color: rgba(0, 98, 156, .18);
  box-shadow: 0 8px 32px rgba(0, 98, 156, .1);
  transform: translateY(-3px);
}
.aliado-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #004d7a);
  margin: 0 auto 1.1rem;
  transition: all .35s ease;
}
.aliado-card:hover .aliado-card-icon {
  border-radius: 12px;
  transform: scale(1.08);
}
.aliado-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--text);
}
.aliado-card-role {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: .65rem;
}
.aliado-card-desc {
  font-size: .87rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}
.aliado-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 98, 156, .15);
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  transition: all .25s ease;
}
.aliado-nav-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.aliado-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 98, 156, .2);
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
.aliado-dot.active {
  background: var(--primary);
  width: 26px;
  border-radius: 5px;
}
