/* Modern theme overrides for static site on Amplify */
:root {
  --wdt-primary: #1e40af;
  --wdt-primary-dark: #1e3a8a;
  --wdt-accent: #16a34a;
  --wdt-bg: #f6f7fb;
  --wdt-surface: #ffffff;
  --wdt-text: #1f2937;
  --wdt-muted: #6b7280;
  --wdt-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: var(--wdt-text);
  line-height: 1.7;
}

a {
  color: var(--wdt-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--wdt-primary-dark);
}

.navbar {
  background-color: #0b0b0b !important;
  border-bottom: none !important;
  box-shadow: none;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .navbar-brand {
  order: 1;
  margin-left: 0;
}

.navbar .navbar-collapse {
  order: 2;
  justify-content: flex-end !important;
}

.navbar .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--wdt-accent) !important;
}


.navbar .nav-link.active {
  color: #ffffff !important;
  background: var(--wdt-accent);
  animation: navPulse 1.6s ease-in-out infinite;
}

@keyframes navPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

.navbar-nav {
  justify-content: flex-end !important;

}

.navbar-nav.mr-auto {
  margin-right: 0 !important;
}

/* Offset for anchor targets under fixed navbar */
section[id] {
  scroll-margin-top: 90px;
}

@media (max-width: 767px) {
  .bg-inverse {
    background: #0b0b0b !important;
  }

  .navbar {
    padding: 6px 0;
  }

  .navbar-collapse {
    background: #0b0b0b;
    width: 100%;
  }

  .navbar-nav {
    gap: 6px;
    width: 100%;
    padding: 8px 0;
  }

  .navbar .nav-link {
    color: #ffffff !important;
    display: block;
    padding: 8px 12px;
  }

  .navbar .nav-link.active {
    background: var(--wdt-accent);
    padding: 6px 12px;
    border-radius: 6px;
  }
}

@media (max-width: 991px) {
  .navbar .navbar-brand {
    margin-right: 12px;
  }

  .navbar-nav {
    gap: 12px;
  }
}

.hero-area {
  background: radial-gradient(circle at top left, rgba(27, 139, 74, 0.14), transparent 45%),
    radial-gradient(circle at top right, rgba(11, 114, 133, 0.12), transparent 45%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(246, 247, 251, 0.9));
}


.section-header .section-title,
.features-text h3 {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.section-header {
  color: #fff;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  margin-top: 100px;
}

.features-text h3,
.section-title {
  color: black !important;
}

.features-text.section-header {
  margin-bottom: 28px;
}

.business-item-info p,
.services-item p,
.blog-item-wrapper p {
  color: var(--wdt-text);
}

/* Intro (home) section after image removal */
#home .business-item-info {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

#home .business-item-info p {
  font-size: 20px;
  line-height: 1.8;
  text-align: center;
}

#home .business-item-info .btn {
  margin-top: 8px;
}

.services-item,
.blog-item-wrapper,
.team-item,
.pricing-table {
  background: var(--wdt-surface);
  border-radius: 18px;
  box-shadow: var(--wdt-shadow);
  border: 1px solid rgba(16, 24, 40, 0.06);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* People cards */
.single-team {
  background: var(--wdt-surface);
  border-radius: 20px;
  box-shadow: var(--wdt-shadow);
  border: 1px solid rgba(16, 24, 40, 0.06);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.single-team:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(16, 24, 40, 0.18);
}

.single-team .team-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
}

.single-team .team-thumb {
  height: 260px;
  overflow: hidden;
  background: #f3f4f6;
}

.single-team .team-inner {
  padding: 18px 16px 22px;
  margin-top: auto;
}

.single-team .team-title {
  color: var(--wdt-primary) !important;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.team-social-icons ul.social-list li {
  background: var(--wdt-primary);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  border: none;
}

.team-social-icons ul.social-list li i {
  color: #ffffff !important;
}

.services-item:hover,
.blog-item-wrapper:hover,
.team-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

.services-item h4,
.blog-item-wrapper h3,
.team-item h3 {
  min-height: 56px;
}

.services-item p,
.blog-item-wrapper p,
.team-item p {
  margin-bottom: 0;
}

.services-item .icon i,
.blog-item-wrapper .icon i {
  color: var(--wdt-primary);
}

.blog-item-wrapper img,
.business-item-img img,
.team-item img,
.img-fluid {
  border-radius: 16px;
}

.btn,
.btn-common,
.btn-singin {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 10px 20px rgba(27, 139, 74, 0.15);
}

.btn-common {
  background: var(--wdt-primary);
  color: #ffffff !important;
  border: none;
}

.btn-common:hover {
  background: var(--wdt-primary-dark);
}

.author .name,
.author .date {
  color: var(--wdt-muted);
}

.business-item-img img {
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.14);
}

.blog-item-wrapper img {
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
}

header .overlay span {
  opacity: 0.1;
}

/* Binary section */
.binary-section {
  color: #ffffff;
  background-color: #0b1220;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, rgba(30, 64, 175, 0.55), rgba(22, 163, 74, 0.45));
}

.binary-section .section-title,
.binary-section .desc-text p {
  color: #ffffff !important;
}

.binary-section .desc-text p {
  max-width: 720px;
  margin: 0 auto;
}

.binary-section .section-title {
  margin-top: 40px;
}

/* Services grid (WDT SERVICES) */
#features .featured-bg {
  row-gap: 24px;
}

#features .feature-item {
  background: var(--wdt-surface);
  border-radius: 18px;
  box-shadow: var(--wdt-shadow);
  padding: 24px 28px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#features .featured-bg > [class*="col-"] {
  padding: 20px !important;
}

#features .feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

#features .feature-info h4 {
  color: var(--wdt-primary) !important;
  font-weight: 600;
  margin-bottom: 12px;
}

#features .feature-info p {
  color: var(--wdt-text);
  margin-bottom: 0;
}

#features .featured-border1,
#features .featured-border2,
#features .featured-border3 {
  border: none !important;
}

/* Partners section */
.partners-section {
  background: #ffffff;
}

.partners-section .section-title {
  color: black !important;
}

.partners-grid {
  margin-top: 10px;
}

.partners-item {
  padding: 14px;
}

.partners-card {
  background: var(--wdt-surface);
  border: 1px dashed rgba(16, 24, 40, 0.2);
  border-radius: 16px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wdt-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
}

/* Congress section */
#showcase {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(135deg, rgba(15, 81, 50, 0.95), rgba(27, 139, 74, 0.92));
  color: #f9fafb;
}

#showcase .gradient-bg {
  background: transparent;
  margin: 0;
  padding: 60px 32px 50px;
}

#showcase .section-title {
  color: #ffffff !important;
  font-size: 32px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

#showcase .desc-text p {
  color: #f1f5f9 !important;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

#showcase .showcase-btn {
  width: min(420px, 90%);
  background: #ffffff !important;
  color: var(--wdt-primary) !important;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.24);
  border-radius: 999px;
}

#showcase .showcase-btn:hover {
  background: #f1f5f9 !important;
  color: var(--wdt-primary-dark) !important;
}

/* Timeline page */
.timeline-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.timeline-section .single-team {
  border-radius: 18px;
  box-shadow: var(--wdt-shadow);
  border: 1px solid rgba(16, 24, 40, 0.06);
}

.timeline-section .team-details {
  padding: 28px 22px 24px !important;
}

.timeline-section h3 {
  color: var(--wdt-primary) !important;
  margin-bottom: 12px;
}

.timeline-section .team-social-icons {
  position: static !important;
  margin-bottom: 10px;
}

.timeline-section .team-social-icons h3 {
  margin: 0;
}

.timeline-section .history {
  color: var(--wdt-text);
  line-height: 1.7;
}

.timeline-section .link {
  color: var(--wdt-accent);
  font-weight: 600;
}

/* People section */
#team {
  background: #ffffff;
}

#team .section-title {
  color: black !important;
}

#team .desc-text p {
  max-width: 840px;
  margin: 0 auto 18px;
  color: var(--wdt-text);
}


footer {
  background: var(--wdt-primary-dark) !important;
}

footer .site-info,
footer a,
footer span {
  color: #f9fafb !important;
}

footer .section-title {
  color: #e6f4ea !important;
  letter-spacing: 0.4px;
}

footer .desc-text {
  max-width: 820px;
  margin: 0 auto;
}

footer .wrapper a {
  background: transparent;
  border-radius: 0;
  width: auto;
  height: auto;
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.2s ease, color 0.2s ease;
}

footer .wrapper a:hover {
  background: transparent;
  transform: translateY(-2px);
}

footer .wrapper i {
  color: #ffffff;
}

/* Back to top button */
.back-to-top {
  background: var(--wdt-accent) !important;
  background: linear-gradient(95deg, var(--wdt-accent) 40%, var(--wdt-accent) 100%) !important;
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .services-item,
  .blog-item-wrapper {
    margin-bottom: 20px;
  }
}
