:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Manrope", sans-serif;
  --nav-font: "Plus Jakarta Sans", sans-serif;
  --monospace-font: "JetBrains Mono", "Fira Code", monospace;
}

:root { 
  --primary: #003b93;
  --primary-container: #0051c3;
  --tertiary: #b20f03;
  --surface: #f9f9f9;
  --surface-container-low: #f3f3f4;
  --surface-container-lowest: #ffffff;
  --surface-container-high: #eeeeee;
  --on-surface-variant: #5a5a5a;
  
  --background-color: #f9f9f9;
  --default-color: #444444;
  --heading-color: #003b93;
  --accent-color: #003b93;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --outline-variant: rgba(0, 59, 147, 0.15);
}

:root {
  --nav-color: #124265;
  --nav-hover-color: #0051c3;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #124265;
  --nav-dropdown-hover-color: #0051c3;
  --primary-fixed-dim: rgba(0, 59, 147, 0.08);
  --contrast-color-muted: rgba(255, 255, 255, 0.9);
  --contrast-color-soft: rgba(255, 255, 255, 0.4);
  --contrast-color-subtle: rgba(255, 255, 255, 0.25);
  --contrast-color-faint: rgba(255, 255, 255, 0.15);
  --contrast-color-ghost: rgba(255, 255, 255, 0.12);
  --contrast-color-dim: rgba(255, 255, 255, 0.08);
  --primary-shadow: rgba(0, 59, 147, 0.3);
  --primary-shadow-light: rgba(0, 59, 147, 0.08);
}

.light-background {
  --background-color: #f3f3f4;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1a1a1a;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #003b93;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  --surface-color: #004aad;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-container);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.2;
}

.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--primary);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.header {
  color: var(--default-color);
  background: transparent;
  padding: 16px 0;
  transition: all 0.4s ease;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 40px;
  margin-right: 10px;
}

.header .logo h1,
.header .logo .sitename {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
  padding: 4px 12px;
  border-radius: 8px;
  color: var(--contrast-color);
  display: inline-block;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  font-size: 14px;
  font-family: var(--nav-font);
  font-weight: 600;
  padding: 12px 28px;
  margin: 0 0 0 32px;
  border-radius: 50px;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 20px rgba(0, 59, 147, 0.35), 0 0 0 0 rgba(0, 59, 147, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: buttonPulse 2s infinite;
}

@media (max-width: 1199px) {
  .header .btn-getstarted,
  .header .btn-getstarted:focus {
    display: none;
  }
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 4px 20px rgba(0, 59, 147, 0.35), 0 0 0 0 rgba(0, 59, 147, 0.3);
  }
  50% {
    box-shadow: 0 8px 30px rgba(0, 59, 147, 0.45), 0 0 0 8px rgba(0, 59, 147, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(0, 59, 147, 0.35), 0 0 0 0 rgba(0, 59, 147, 0.3);
  }
}

.header .btn-getstarted i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.header .btn-getstarted:hover i {
  transform: translateX(3px);
}

.header .btn-getstarted::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
  z-index: 1;
  pointer-events: none;
}

.header .btn-getstarted:hover::before {
  opacity: 1;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  background: var(--primary-container);
  color: var(--contrast-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 59, 147, 0.5);
  animation: none;
}

@media (max-width: 1199px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 8px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 59, 147, 0.08);
  padding: 12px 0;
  z-index: 9999;
}

.scrolled .header .logo h1,
.scrolled .header .logo .sitename {
  color: var(--primary);
  background: transparent;
  padding: 4px 12px;
  font-size: 24px;
  font-weight: 700;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.scrolled .header .mobile-nav-toggle {
  background: var(--primary);
  color: var(--contrast-color);
}

.scrolled .header .mobile-nav-toggle:hover {
  background: var(--primary);
  color: var(--contrast-color);
}

/* Mobile toggle - only visible on small screens */
@media (min-width: 1200px) {
  .mobile-nav-toggle {
    display: none !important;
  }
}

/* Mobile header logo */
@media (max-width: 1199px) {
  .header .logo {
    z-index: 9998;
  }
  
  .header .logo h1,
  .header .logo .sitename {
    color: var(--contrast-color);
    padding: 4px 12px;
    border-radius: 8px;
  }
  
  .scrolled .header .logo h1,
  .scrolled .header .logo .sitename {
    color: var(--primary);
    background: transparent;
    padding: 0;
  }
  
  .scrolled .header .mobile-nav-toggle {
    background: var(--primary);
    color: var(--contrast-color);
    border: none;
  }
}

/* Mobile scrolled nav menu links need white text on the blue gradient background */
@media (max-width: 1199px) {
  body.scrolled .navmenu > ul > li > a,
  body.scrolled .navmenu > ul > li > a:focus {
    color: var(--contrast-color-muted);
  }

  body.scrolled .navmenu > ul > li > a:hover,
  body.scrolled .navmenu > ul > li.active > a {
    color: var(--contrast-color);
    background: var(--contrast-color-subtle);
  }

  body.scrolled .navmenu .dropdown ul a,
  body.scrolled .navmenu .dropdown ul a:focus {
    color: var(--contrast-color-muted);
  }

  body.scrolled .navmenu .dropdown ul a:hover {
    color: var(--contrast-color);
    background: var(--contrast-color-faint);
  }
}

.scrolled .header .navmenu a {
  color: var(--nav-color);
}

.scrolled .header .navmenu a:hover,
.scrolled .header .navmenu .active,
.scrolled .header .navmenu .active:focus {
  color: var(--primary);
}

.scrolled .header .navmenu .active,
.scrolled .header .navmenu .active:focus {
  background: var(--primary-fixed-dim);
}

.scrolled .header .btn-getstarted {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--contrast-color);
  box-shadow: 0 4px 20px rgba(0, 59, 147, 0.35);
  animation: none;
}

.scrolled .header .btn-getstarted:hover {
  background: var(--primary-container);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 59, 147, 0.5);
}

@media (max-width: 1199px) {
  .scrolled .header .btn-getstarted,
  .scrolled .header .btn-getstarted:focus {
    display: none;
  }
}

.scrolled .header .navmenu a::after {
  background: var(--primary);
}


/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--contrast-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
  }

  .navmenu a::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--contrast-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  .navmenu a:hover::after {
    transform: scaleX(1);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--contrast-color);
  }

  .navmenu .active,
  .navmenu .active:focus {
    background: var(--primary-fixed-dim);
    border-radius: 20px;
    padding: 8px 16px !important;
  }

  .navmenu .active::after,
  .navmenu .active:focus::after {
    display: none;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 6px;
    transition: transform 0.3s ease;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--primary);
  }

  .navmenu .active,
  .navmenu .active:focus {
    background: var(--contrast-color-subtle);
    border-radius: 20px;
    padding: 8px 16px !important;
  }

  .navmenu .active::after,
  .navmenu .active:focus::after {
    display: none;
  }

  .navmenu .dropdown:hover>a i {
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.85);
    background: color-mix(in srgb, var(--surface-container-lowest) 85%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.25s ease;
    border-radius: 16px;
    z-index: 99;
    box-shadow: 0 20px 40px var(--primary-shadow-light);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 12px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--default-color);
    transition: all 0.3s ease;
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--primary);
    background: var(--primary-fixed-dim);
    border-radius: 8px;
    margin: 0 8px;
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--contrast-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--contrast-color-subtle);
    z-index: 9999;
    flex-shrink: 0;
  }

  .mobile-nav-toggle:hover {
    transform: scale(1.1);
    background: var(--contrast-color-soft);
  }

  body.scrolled .mobile-nav-toggle {
    background: var(--primary);
    color: var(--contrast-color);
    border-color: var(--primary);
  }
  
  body.scrolled .mobile-nav-toggle:hover {
    background: var(--primary-container);
  }

  .header .container-fluid {
    position: relative;
    justify-content: space-between;
    align-items: center;
  }

  .header .logo {
    order: 1;
    flex-shrink: 0;
  }

  .mobile-nav-toggle {
    order: 2;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: fixed;
    top: 60px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 20px;
    margin: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: 0 20px 40px var(--primary-shadow);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--contrast-color-muted);
    padding: 14px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 8px;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--contrast-color);
    background: var(--contrast-color-faint);
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: var(--contrast-color-subtle);
    color: var(--contrast-color);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--contrast-color-soft);
    color: var(--contrast-color);
  }

  .navmenu .dropdown.active > a i,
  .navmenu .dropdown.active > a:focus i {
    background-color: var(--primary);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 9999;
    padding: 8px 0;
    margin: 4px 12px 4px 20px;
    background-color: var(--contrast-color-ghost);
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .navmenu .dropdown ul.show,
  .navmenu .dropdown ul.dropdown-active {
    display: block;
  }

  .navmenu .dropdown ul a,
  .navmenu .dropdown ul a:focus {
    color: var(--contrast-color-muted);
    padding: 12px 20px;
    font-size: 15px;
  }

  .navmenu .dropdown ul a:hover {
    color: var(--contrast-color);
    background: var(--contrast-color-faint);
  }

  .navmenu .dropdown .toggle-dropdown {
    cursor: pointer;
    pointer-events: auto;
  }

  .navmenu .dropdown ul ul {
    background-color: var(--contrast-color-dim);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--contrast-color);
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow-y: auto;
    inset: 0;
    background: rgba(0, 59, 147, 0.9);
    background: color-mix(in srgb, var(--primary) 90%, transparent);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

.footer {
  color: var(--default-color);
  background-color: var(--surface-container-low);
  background-image: radial-gradient(circle at 20% 50%, rgba(0, 59, 147, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(0, 81, 195, 0.03) 0%, transparent 50%);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
  margin-top: 64px;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-container));
}

.footer .footer-top {
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span,
.footer .footer-about .sitename {
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .footer .footer-about .logo span {
    font-size: 24px;
  }

  .footer .footer-about p {
    font-size: 13px;
  }

  .footer h4 {
    font-size: 14px;
  }

  .footer .footer-links ul li {
    padding: 8px 0;
  }

  .footer .footer-links ul a {
    font-size: 13px;
  }

  .footer .footer-contact p {
    font-size: 13px;
  }

  .footer .copyright p {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .footer .footer-about .logo span {
    font-size: 20px;
  }

  .footer .footer-about p {
    font-size: 12px;
  }

  .footer h4 {
    font-size: 13px;
  }

  .footer .footer-links ul a {
    font-size: 12px;
  }

  .footer .footer-contact p {
    font-size: 12px;
  }

  .footer .copyright p {
    font-size: 12px;
  }
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links {
  display: flex;
  gap: 12px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 59, 147, 0.08) 0%, rgba(0, 81, 195, 0.08) 100%);
  font-size: 18px;
  color: var(--primary);
  transition: var(--transition-bounce);
  box-shadow: 0 4px 12px rgba(0, 59, 147, 0.05);
}

.footer .social-links a:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--contrast-color);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 28px rgba(0, 59, 147, 0.3);
}

.footer .social-links a i {
  transition: transform 0.3s ease;
}

.footer .social-links a:hover i {
  transform: scale(1.2);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: var(--on-surface-variant);
  display: inline-block;
  line-height: 1.6;
  transition: all 0.3s ease;
  position: relative;
}

.footer .footer-links ul a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer .footer-links ul a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer .footer-links ul a:hover::after {
  width: 100%;
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 24px;
  padding-bottom: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
}

.footer .copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.footer .copyright p {
  margin-bottom: 0;
  position: relative;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
}

.footer .credits a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer .credits a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.logo-loaders {
  display: flex; /* Ensure it's initially set by JavaScript */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0.6;
  transition: opacity 0.3s ease-in-out;
}

.logo-loader {
	flex: 1 1 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
	box-sizing: border-box;
	background: var(--surface);
}

.logo-loaders.hidden {
  opacity: 0;
  pointer-events: none;
}

.logo-loader--comet-spin {
	.logo-loader__spinner {
		width: 160px;
		height: 160px;
		border-radius: 50%;
		animation: 1s spin linear infinite;
		border-top: calc(160px * .0235) solid var(--primary);
		border-right: calc(160px * .0235) solid transparent;
	}
	.logo-loader__logo {
		img {
			width: calc(160px * .6);
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
		}
	}
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: var(--transition-bounce);
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top i {
  font-size: 20px;
  color: var(--contrast-color);
  line-height: 0;
  transition: transform 0.3s ease;
}

.scroll-top:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 59, 147, 0.4);
}

.scroll-top:hover i {
  transform: translateY(-2px);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  animation: scrollTopBounceIn 0.5s ease forwards;
}

@keyframes scrollTopBounceIn {
  0% {
    transform: translateY(20px) scale(0.8);
    opacity: 0;
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .page-title {
    padding: 80px 0;
  }

  .page-title h1 {
    font-size: 32px;
  }

  .page-title .breadcrumbs ol {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .page-title {
    padding: 60px 0;
  }

  .page-title h1 {
    font-size: 28px;
  }

  .page-title .breadcrumbs ol {
    font-size: 13px;
  }
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol a {
  color: var(--on-surface-variant);
  transition: all 0.3s ease;
}

.page-title .breadcrumbs ol a:hover {
  color: var(--primary);
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: var(--on-surface-variant);
  opacity: 0.5;
}

section,
.section {
  color: var(--default-color);
  background-color: var(--surface);
  padding: 80px 0;
  scroll-margin-top: 100px;
  overflow: hidden;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 76px;
  }
}

.section-title {
  text-align: center;
  padding-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-container));
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-title h2 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: var(--heading-font);
  letter-spacing: -0.03em;
  color: var(--heading-color);
  position: relative;
}

.section-title p {
  font-size: 18px;
  color: var(--on-surface-variant);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section-title {
    padding-bottom: 32px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .section-title p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 15px;
  }
}

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px 0;
  overflow: hidden;
  position: relative;
}

.hero:before {
  content: "";
  background: linear-gradient(135deg, 
    rgba(0, 59, 147, 0.82) 0%, 
    rgba(0, 81, 195, 0.78) 50%, 
    rgba(0, 59, 147, 0.75) 100%);
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero>img,
.hero>video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 4;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-family: var(--heading-font);
  color: var(--contrast-color);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero p {
  margin: 20px 0 0 0;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .icon-box {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 59, 147, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  z-index: 1;
  height: 100%;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
}

.hero .icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 59, 147, 0.15);
  background-color: var(--surface-container-lowest);
}

.hero .icon-box .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.hero .icon-box:hover .icon {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.3);
}

.hero .icon-box .icon i {
  font-size: 28px;
  color: var(--contrast-color);
}

.hero .icon-box .title {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 18px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.hero .icon-box .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.hero .icon-box:hover .title a {
  color: var(--primary);
}

.hero .icon-box .description {
  font-size: 14px;
  margin-bottom: 0;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .hero h2 {
    font-size: 48px;
    line-height: 1.15;
  }

  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px 0;
  }

  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero .btn-get-started {
    font-size: 14px;
    padding: 14px 32px;
  }

  .hero .icon-box {
    padding: 24px 20px;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero .btn-get-started {
    font-size: 13px;
    padding: 12px 28px;
  }
}

.hero .btn-get-started {
  color: var(--primary);
  background: var(--contrast-color);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-top: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero .btn-get-started::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, rgba(0, 59, 147, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
  z-index: 1;
  pointer-events: none;
}

.hero .btn-get-started:hover::before {
  opacity: 1;
}

.hero .btn-get-started:hover {
  background: var(--primary);
  color: var(--contrast-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 59, 147, 0.4);
}

.hero .btn-get-started i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.hero .btn-get-started:hover i {
  transform: translateX(4px);
}

.hero .icon-box {
  background-color: var(--surface-container-lowest);
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 59, 147, 0.05);
  transition: all 0.3s ease-in-out;
  border-radius: 24px;
  z-index: 1;
  height: 100%;
  width: 100%;
  border: none;
}

.hero .icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 59, 147, 0.1);
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about ul i {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.about .read-more {
  background: var(--primary);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 16px 28px;
  border-radius: 24px;
  transition: all 0.3s ease;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 24px rgba(0,59,147,0.25);
  text-align: center;
}

@media (max-width: 768px) {
  .about .read-more {
    font-size: 14px;
    padding: 12px 24px;
  }

  .about .read-more i {
    font-size: 16px;
    margin-left: 6px;
  }
}

@media (max-width: 576px) {
  .about .read-more {
    font-size: 13px;
    padding: 10px 20px;
  }

  .about .read-more i {
    font-size: 14px;
  }
}

.about .read-more i {
  font-size: 18px;
  margin-left: 8px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 16px 32px rgba(0,59,147,0.3);
}

.about .read-more:hover i {
  transform: translate(4px, 0);
}

.clients {
  padding: 48px 0;
  background-color: var(--surface-container-low);
  position: relative;
  overflow: hidden;
}

.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 300%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.2;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  transition: all 0.4s ease;
}

.clients .client-logo:hover {
  background: rgba(0, 59, 147, 0.03);
  border-radius: 12px;
}

.clients .client-logo img {
  padding: 16px 24px;
  max-width: 100%;
  height: auto;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
  filter: grayscale(100%);
  max-height: 60px;
  object-fit: contain;
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1) translateY(-4px);
}

.testimonials {
  background: linear-gradient(135deg, #010d2e 0%, #002266 45%, #001a52 100%);
  position: relative;
  overflow: hidden;
}

/* Soft radial glow behind testimonial cards */
.testimonials::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 81, 195, 0.35) 0%, transparent 65%);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

/* Section title on dark background */
.testimonials .section-title h2 {
  color: #ffffff;
}

.testimonials .section-title p {
  color: rgba(255, 255, 255, 0.72);
}

.testimonials .section-title::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.7), rgba(255,255,255,0.15));
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
  /* background: rgba(255, 255, 255, 0.07); */
  background: var(--contrast-color);
  opacity: 0.9;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.testimonials .testimonial-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.15));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonials .testimonial-item:hover::before {
  transform: scaleX(1);
}

.testimonials .testimonial-item:hover {
  /* background: rgba(255, 255, 255, 0.11); */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  /* transform: translateY(-6px); */
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .testimonials .testimonial-item {
    min-height: 280px;
    padding: 24px;
  }

  .testimonials .testimonial-item .testimonial-img {
    width: 64px;
    margin: 0 0 16px 0;
  }

  .testimonials .testimonial-item h3 {
    font-size: 18px;
    margin: 8px 0 4px 0;
  }

  .testimonials .testimonial-item h4 {
    font-size: 13px;
    margin: 0 0 12px 0;
  }

  .testimonials .testimonial-item p {
    font-size: 14px;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 576px) {
  .testimonials .testimonial-item {
    min-height: 250px;
    padding: 20px;
  }
}

.testimonials .testimonial-item .testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 0 20px 0;
  position: relative;
  border: 4px solid var(--surface);
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.1);
  transition: transform 0.4s ease;
}

.testimonials .testimonial-item:hover .testimonial-img {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 59, 147, 0.2);
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
  font-family: var(--heading-font);
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 16px 0;
}

.testimonials .testimonial-item p {
  color: rgba(255, 255, 255, 0.82);
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  font-size: 24px;
  line-height: 0;
  color: var(--on-surface-variant);
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
  color: var(--on-surface-variant);
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
  color: var(--on-surface-variant);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-surface-variant);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 24px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.25);
  opacity: 1;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ffffff;
  border-color: #ffffff;
}

.services .service-item {
  background-color: var(--surface-container-lowest);
  box-shadow: 0 20px 40px rgba(0, 59, 147, 0.05);
  height: 100%;
  padding: 48px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
  border: none;
  position: relative;
  overflow: hidden;
}

.services .service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-container));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.services .service-item:hover::before {
  transform: scaleX(1);
}

.services .service-item:hover {
  box-shadow: 0 32px 64px rgba(0, 59, 147, 0.12);
  transform: translateY(-8px);
}

.services .service-item .icon {
  margin: 0 auto;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.2);
}

.services .service-item:hover .icon {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 12px 32px rgba(0, 59, 147, 0.3);
}

.services .service-item .icon i {
  font-size: 32px;
  transition: 0.5s;
  position: relative;
  color: var(--contrast-color);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 16px 0 12px 0;
  font-size: 22px;
  font-family: var(--heading-font);
}

.services .service-item p {
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 0;
  color: var(--on-surface-variant);
}

.services .service-item:hover {
  box-shadow: 0 32px 64px rgba(0, 59, 147, 0.1);
  transform: translateY(-8px);
}

/* Per-card colorful icon gradients */
.services .service-item.item-cyan .icon {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.28);
}
.services .service-item.item-cyan:hover .icon { box-shadow: 0 12px 32px rgba(6, 182, 212, 0.45); }
.services .service-item.item-cyan::before { background: linear-gradient(90deg, #06b6d4, #0891b2); }

.services .service-item.item-indigo .icon {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
}
.services .service-item.item-indigo:hover .icon { box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45); }
.services .service-item.item-indigo::before { background: linear-gradient(90deg, #6366f1, #4f46e5); }

.services .service-item.item-teal .icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);
}
.services .service-item.item-teal:hover .icon { box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45); }
.services .service-item.item-teal::before { background: linear-gradient(90deg, #10b981, #059669); }

.services .service-item.item-red .icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.28);
}
.services .service-item.item-red:hover .icon { box-shadow: 0 12px 32px rgba(239, 68, 68, 0.45); }
.services .service-item.item-red::before { background: linear-gradient(90deg, #ef4444, #dc2626); }

.services .service-item.item-orange .icon {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.28);
}
.services .service-item.item-orange:hover .icon { box-shadow: 0 12px 32px rgba(249, 115, 22, 0.45); }
.services .service-item.item-orange::before { background: linear-gradient(90deg, #f97316, #ea580c); }

.services .service-item.item-pink .icon {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.28);
}
.services .service-item.item-pink:hover .icon { box-shadow: 0 12px 32px rgba(236, 72, 153, 0.45); }
.services .service-item.item-pink::before { background: linear-gradient(90deg, #ec4899, #db2777); }

.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
}

.call-to-action h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--contrast-color);
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .call-to-action {
    padding: 60px 0;
  }

  .call-to-action h3 {
    font-size: 28px;
  }

  .call-to-action p {
    font-size: 16px;
  }

  .call-to-action .cta-btn {
    font-size: 14px;
    padding: 12px 28px;
  }
}

@media (max-width: 576px) {
  .call-to-action h3 {
    font-size: 24px;
  }

  .call-to-action p {
    font-size: 15px;
  }

  .call-to-action .cta-btn {
    font-size: 13px;
    padding: 10px 24px;
  }
}

.call-to-action p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
}

.call-to-action .cta-btn {
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 24px;
  transition: 0.3s;
  margin: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--contrast-color);
  color: var(--primary);
}

.team .team-member {
  background-color: var(--surface-container-lowest);
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 59, 147, 0.05);
  height: 100%;
  transition: var(--transition-smooth);
  border: none;
  display: flex;
  flex-direction: column;
}

.team .team-member:hover {
  box-shadow: 0 32px 64px rgba(0, 59, 147, 0.1);
  transform: translateY(-4px);
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.team .team-member .member-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team .team-member:hover .member-img img {
  transform: scale(1.05);
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 59, 147, 0.9), transparent);
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 10px;
}

.team .team-member .social a {
  background: var(--contrast-color);
  color: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: var(--transition-bounce);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 59, 147, 0.2);
}

.team .team-member .social a:hover {
  background: var(--primary);
  color: var(--contrast-color);
  transform: translateY(-4px) scale(1.1);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .team-member .member-info {
  padding: 24px 20px;
  text-align: center;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 20px;
  font-family: var(--heading-font);
}

.team .team-member .member-info span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--on-surface-variant);
}

@media (max-width: 768px) {
  .team .team-member {
    border-radius: 20px;
  }

  .team .team-member .member-img img {
    height: 220px;
  }

  .team .team-member .member-info {
    padding: 20px 16px;
  }

  .team .team-member .member-info h4 {
    font-size: 18px;
  }

  .team .team-member .member-info span {
    font-size: 13px;
  }

  .team-bio {
    padding: 24px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.7;
  }

  .team-bio p {
    margin-bottom: 12px;
  }
}

@media (max-width: 576px) {
  .team .team-member .member-img img {
    height: 180px;
  }

  .team .team-member .member-info h4 {
    font-size: 16px;
  }

  .team .team-member .member-info span {
    font-size: 12px;
  }

  .team .team-member .social a {
    width: 38px;
    height: 38px;
  }

  .team-bio {
    padding: 20px;
    font-size: 14px;
  }
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 10px;
}

.team-bio {
  font-size: 16px;
  line-height: 1.9;
  color: var(--on-surface-variant);
  background: var(--surface-container-lowest);
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(0, 59, 147, 0.05);
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.team-bio:hover {
  box-shadow: 0 24px 48px rgba(0, 59, 147, 0.1);
  border-color: var(--primary-fixed-dim);
}

.team-bio p {
  margin-bottom: 16px;
  font-family: var(--default-font);
}

.team-bio p:last-child {
  margin-bottom: 0;
}

.team-bio p::first-letter {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--primary);
}

.team-bio::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 60px;
  color: var(--primary);
  font-family: Georgia, serif;
  opacity: 0.1;
  line-height: 1;
}

.contact .info-item {
  background: var(--surface-container-lowest);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.05);
  transition: all 0.3s ease;
}

.contact .info-item:hover {
  box-shadow: 0 16px 32px rgba(0, 59, 147, 0.1);
  transform: translateY(-4px);
}

.contact .info-item+.info-item {
  margin-top: 20px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  font-size: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  transition: all 0.3s ease-in-out;
  margin-right: 16px;
  box-shadow: 0 4px 12px rgba(0, 59, 147, 0.2);
}

.contact .info-item:hover i {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 59, 147, 0.3);
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--heading-font);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 15px;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contact .info-item h3 {
    font-size: 16px;
  }

  .contact .info-item p {
    font-size: 13px;
  }

  .contact .info-item i {
    font-size: 18px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 576px) {
  .contact .info-item h3 {
    font-size: 15px;
  }

  .contact .info-item p {
    font-size: 12px;
  }

  .contact .info-item i {
    font-size: 16px;
    width: 32px;
    height: 32px;
  }
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=tel],
.contact .php-email-form textarea {
  font-size: 15px;
  padding: 16px 20px;
  box-shadow: none;
  border-radius: 16px;
  color: var(--default-color);
  background-color: var(--surface-container-high);
  border: none;
  transition: all 0.3s ease;
  font-family: var(--default-font);
  height: 56px;
  width: 100%;
}

.contact .php-email-form textarea {
  height: auto;
  min-height: 140px;
  resize: vertical;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form input[type=tel]:focus,
.contact .php-email-form textarea:focus {
  background-color: var(--surface-container-lowest);
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.1), 0 0 0 3px rgba(0, 59, 147, 0.15);
  transform: translateY(-2px);
  outline: none;
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form input[type=tel]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.contact .php-email-form input[type=text]:focus::placeholder,
.contact .php-email-form input[type=email]:focus::placeholder,
.contact .php-email-form input[type=tel]:focus::placeholder,
.contact .php-email-form textarea:focus::placeholder {
  opacity: 1;
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--primary);
  border: none;
  padding: 16px 36px;
  transition: var(--transition-bounce);
  border-radius: 24px;
  font-weight: 600;
  font-family: var(--nav-font);
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0,59,147,0.25);
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 56px;
  font-size: 16px;
}

.contact .php-email-form button[type=submit]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact .php-email-form button[type=submit]:hover::before {
  opacity: 1;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--primary-container);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,59,147,0.35);
}

.contact .php-email-form button[type=submit]:active {
  transform: translateY(-1px) scale(1.01);
}

.service-details .services-list {
  background-color: var(--surface-container-lowest);
  padding: 16px 24px;
  margin-bottom: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.05);
}

@media (max-width: 768px) {
  .service-details .services-list {
    padding: 15px 20px;
    margin-bottom: 15px;
  }

  .service-details .services-list a {
    font-size: 14px;
    padding: 6px 0 6px 12px;
  }
}

@media (max-width: 576px) {
  .service-details .services-list {
    padding: 12px 15px;
  }

  .service-details .services-list a {
    font-size: 13px;
    padding: 5px 0 5px 10px;
  }
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 12px 0 12px 16px;
  margin: 16px 0;
  color: var(--on-surface-variant);
  transition: 0.3s;
  position: relative;
}

.service-details .services-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s ease;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 600;
}

.service-details .services-list a.active::before {
  height: 24px;
}

.service-details .services-list a:hover {
  color: var(--primary);
}

.service-details .services-list a:hover::before {
  height: 16px;
}

.service-details .services-img {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .service-details .card {
    margin-bottom: 20px;
  }

  .service-details .card-body {
    padding: 15px;
  }

  .service-details .card-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
  }

  .service-details .card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .service-details .card ul li {
    font-size: 14px;
  }

  .service-details .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}

@media (max-width: 576px) {
  .service-details .card-title {
    font-size: 1.1rem;
  }

  .service-details .card p {
    font-size: 13px;
  }

  .service-details .card ul li {
    font-size: 13px;
  }

  .service-details .btn {
    font-size: 13px;
    padding: 6px 12px;
  }
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

@media (max-width: 768px) {
  .service-details h3 {
    font-size: 22px;
  }

  .service-details h4 {
    font-size: 18px;
  }

  .service-details p {
    font-size: 14px;
  }

  .service-details ul li {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .service-details h3 {
    font-size: 20px;
  }

  .service-details h4 {
    font-size: 16px;
  }

  .service-details p {
    font-size: 13px;
  }

  .service-details ul li {
    font-size: 13px;
  }
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--primary);
}


@media (max-width: 768px) {
  .starter-section .text-gradient {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .starter-section .text-gradient {
    font-size: 24px;
  }
}

.text-gradient {
  background: linear-gradient(90deg,#1a1a1a, #e6005c, #0017e6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-ai {
  display: inline-block;
  font-weight: 800;
  background: linear-gradient(135deg, #e6005c, #0017e6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  transition: rotate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.35s ease;
}

.brand-ai:hover {
  rotate: 10deg;
  filter: brightness(1.2);
}

/* Navbar: plain, no gradient — just inherits the sitename color */
.header .brand-ai {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: inherit;
  font-weight: inherit;
  filter: none;
}

.header .brand-ai:hover {
  filter: none;
}

/* Hero: gradient retained but muted — softer pink and blue */
.hero .brand-ai {
  background: linear-gradient(135deg, #e87da3, #7092e8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-ai.spin {
  animation: brand-ai-wobble 0.5s ease-in-out;
}

@keyframes brand-ai-wobble {
  0%   { rotate: 0deg; }
  25%  { rotate: -12deg; }
  60%  { rotate: 10deg; }
  80%  { rotate: -5deg; }
  100% { rotate: 0deg; }
}

.technology{
  color:#1a1a1a;
}

.plus{
  color: #e6005c;
}

.innovative{
  color:#0017e6;
}

/* Blog Styles */
.blog-post {
  margin-bottom: 32px;
  padding: 32px;
  border-radius: 24px;
  background-color: var(--surface-container-lowest);
  box-shadow: 0 20px 40px rgba(0, 59, 147, 0.05);
  transition: all 0.3s ease;
  border: none;
}

.blog-post:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0, 59, 147, 0.1);
}

.blog-post:last-child {
  margin-bottom: 0;
}

.post-thumbnail {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 16px;
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-meta {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--on-surface-variant);
}

.post-meta .date,
.post-meta .category,
.post-meta .author {
  display: inline-block;
  margin-right: 16px;
}

.post-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
  font-family: var(--heading-font);
  letter-spacing: -0.01em;
}

.post-title a {
  color: var(--heading-color);
  text-decoration: none;
  transition: 0.3s;
}

.post-title a:hover {
  color: var(--primary);
}

.post-excerpt {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--on-surface-variant);
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  font-family: var(--nav-font);
  text-decoration: none;
  transition: 0.3s;
}

.read-more i {
  margin-left: 8px;
  transition: 0.3s;
}

.read-more:hover i {
  transform: translateX(4px);
}

/* Blog Post Full Article */
.blog-post-full {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-full h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 20px 0;
  color: var(--heading-color);
}

.blog-post-full p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-post-full table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-container-lowest);
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.05);
}

.blog-post-full table th,
.blog-post-full table td {
  padding: 16px 20px;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--surface-container-low);
}

.blog-post-full table th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  font-weight: 600;
  color: var(--contrast-color);
}

.blog-post-full table tr:nth-child(even) {
  background-color: var(--surface-container-low);
}

.blog-post-full table tr:hover {
  background-color: var(--primary-fixed-dim);
}

.blog-navigation {
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  background: transparent;
}

.blog-navigation .btn {
  padding: 14px 28px;
  font-weight: 600;
  font-family: var(--nav-font);
  text-decoration: none;
  border-radius: 24px;
  transition: 0.3s;
}

.blog-navigation .btn-primary {
  background-color: var(--primary);
  color: var(--contrast-color);
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.2);
}

.blog-navigation .btn-primary:hover {
  background-color: var(--primary-container);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 59, 147, 0.25);
}

/* Featured Image Styling */
.post-featured-image {
  margin-bottom: 30px;
  text-align: center;
}

.post-featured-image img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.1);
  margin-bottom: 20px;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.post-featured-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 59, 147, 0.15);
}

.image-caption {
  font-size: 14px;
  color: var(--on-surface-variant);
  font-style: italic;
  margin-bottom: 0;
}

.blog-post-full blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--on-surface-variant);
  background-color: var(--surface-container-low);
  padding: 24px 28px;
  border-radius: 0 16px 16px 0;
}

/* Verdict Section */
.blog-post-full .verdict-highlight {
  background: linear-gradient(135deg, var(--primary-fixed-dim) 0%, var(--surface-container-low));
  border-radius: 24px;
  padding: 32px;
  margin: 32px 0;
  position: relative;
  box-shadow: 0 16px 32px rgba(0, 59, 147, 0.08);
}

.blog-post-full .verdict-highlight::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 56px;
  color: var(--primary);
  font-family: Georgia, serif;
  opacity: 0.25;
}

/* Book Purchase Section */
.book-purchase-section {
  text-align: center;
  margin: 48px 0;
  padding: 32px;
  background: linear-gradient(135deg, var(--primary-fixed-dim) 0%, var(--surface-container-low));
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(0, 59, 147, 0.08);
}

.book-purchase-section .purchase-button {
  margin-top: 24px;
}

.book-purchase-section .btn {
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--nav-font);
  border-radius: 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  background: var(--primary);
  color: var(--contrast-color);
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.25);
}

.book-purchase-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 59, 147, 0.3);
}

.blog-post-full table th,
.blog-post-full table td {
  padding: 16px 20px;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--surface-container-low);
  vertical-align: top;
}

.blog-post-full table th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--contrast-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-post-full table tr:nth-child(even) {
  background-color: var(--surface-container-low);
}

.blog-post-full table tr:hover {
  background-color: var(--primary-fixed-dim);
  transition: background-color 0.3s ease;
}

/* Enhanced Typography */
.blog-post-full h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 24px 0;
  color: var(--heading-color);
  position: relative;
  padding-bottom: 12px;
  font-family: var(--heading-font);
}

.blog-post-full h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-container));
  border-radius: 2px;
}

.blog-post-full p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--on-surface-variant);
}

.blog-post-full ul {
  padding-left: 25px;
  margin-bottom: 25px;
}

.blog-post-full ul li {
  margin-bottom: 10px;
  position: relative;
}

.blog-post-full ul li::marker {
  color: var(--primary);
  font-weight: bold;
}

/* Enhanced List Styling */
.blog-post-full ol {
  counter-reset: item;
  padding-left: 0;
}

.blog-post-full ol li {
  counter-increment: item;
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
}

.blog-post-full ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: var(--primary);
  font-size: 18px;
}

.blog-post-full ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.blog-post-full ul li::marker {
  color: var(--primary);
  font-weight: bold;
}

/* Nested List Styling */
.blog-post-full ol ol {
  margin-top: 10px;
  margin-bottom: 10px;
}

.blog-post-full ol ol li {
  font-size: 15px;
  margin-bottom: 8px;
}

.blog-post-full ol ol li::before {
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .post-title {
    font-size: 24px;
  }

  .blog-post-full h2 {
    font-size: 22px;
  }

  .blog-post-full table th,
  .blog-post-full table td {
    padding: 12px 15px;
    font-size: 14px;
  }

  .post-featured-image img {
    border-radius: 6px;
  }

  .blog-post-full .verdict-highlight {
    padding: 20px;
  }

  .book-purchase-section {
    padding: 20px;
  }

  .book-purchase-section .btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .blog-post-card img {
    height: 180px;
  }

  .blog-post-content h3 {
    font-size: 1.1rem;
  }

  .blog-post-content p {
    font-size: 0.85rem;
  }

  .post-meta {
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .blog-post-card img {
    height: 160px;
  }

  .blog-post-content {
    padding: 15px;
  }

  .blog-post-content h3 {
    font-size: 1rem;
  }

  .blog-post-content p {
    font-size: 0.8rem;
  }

  .post-meta {
    font-size: 0.7rem;
  }

  .read-more {
    font-size: 0.85rem;
  }
}

/* Careers page — hidden-by-default state elements (visibility toggled by JS) */
#errorMessage,
#noJobs,
#applyInstruction {
  display: none;
}

/* ============================================================
   LIVEN-UP ENHANCEMENTS
   ============================================================ */

/* About — subtle blue-tinted gradient + decorative glow */
#about.section {
  background: linear-gradient(160deg, #ffffff 0%, #f0f5ff 60%, #e8f0fe 100%);
  position: relative;
  overflow: hidden;
}

#about.section::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0, 59, 147, 0.06) 0%, transparent 68%);
  border-radius: 50%;
  top: -140px;
  right: -140px;
  pointer-events: none;
}

/* Hero — atmospheric floating orbs for depth */
.hero::after {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 65%);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
  z-index: 2;
  pointer-events: none;
}

/* Second orb — upper right */
.hero .container::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
  border-radius: 50%;
  top: -120px;
  right: -60px;
  pointer-events: none;
  z-index: 0;
}

/* Footer — gradient background */
.footer.light-background {
  background: linear-gradient(180deg, #eef4ff 0%, #e4edfc 100%) !important;
  --background-color: #eef4ff;
}

/* Footer — gradient top accent line */
.footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-container), #06b6d4);
}

/* Clients — softer grayscale, quicker hover reveal */
.clients .client-logo img {
  opacity: 0.45;
  filter: grayscale(100%) brightness(0.85);
  transition: all 0.35s ease;
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

/* Services section — very subtle tinted background */
#services.section {
  background: linear-gradient(180deg, #f3f6fd 0%, #eef3fb 100%) !important;
}

/* Team section — warm off-white background for contrast */
#team.section {
  background: linear-gradient(180deg, #f8f9fe 0%, #f0f4fd 100%) !important;
}

/* Contact section info icon — lift on hover */
.contact .info-item:hover i {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 59, 147, 0.3);
}

@media (max-width: 768px) {
  #about.section::after {
    width: 320px;
    height: 320px;
    top: -80px;
    right: -80px;
  }

  .hero::after {
    width: 280px;
    height: 280px;
  }
}

/* --- Hero eyebrow label --- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tertiary);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* --- Hero metrics strip --- */
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.hero-metric {
  text-align: center;
  padding: 0 28px;
}

.hero-metric-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  padding: 0 4px;
  flex-shrink: 0;
}

.hero-metric-num {
  display: block;
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-metric-unit {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  opacity: 0.75;
}

.hero-metric-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 5px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-metrics {
    gap: 8px 0;
    padding-top: 24px;
    margin-top: 28px;
  }
  .hero-metric {
    padding: 8px 16px;
    flex: 0 0 50%;
  }
  .hero-metric-sep {
    display: none;
  }
  .hero-metric-num {
    font-size: 30px;
  }
  .hero-metric-label {
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .hero-metric {
    flex: 0 0 100%;
  }
}

/* --- Section eyebrow labels --- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.55);
}

.section-eyebrow--light::before {
  background: rgba(255, 255, 255, 0.35);
}

/* --- About pull quote --- */
.about-pull-quote {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--heading-color);
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
  position: relative;
}

@media (max-width: 768px) {
  .about-pull-quote {
    font-size: 20px;
    margin-bottom: 28px;
  }
}

/* --- Editorial service cards --- */
.services .service-item.editorial {
  text-align: left;
  padding: 36px 32px 32px;
}

.services .service-item.editorial .service-num {
  display: block;
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
  opacity: 0.45;
}

.services .service-item.editorial .icon {
  margin: 0 0 20px 0;
  width: 52px;
  height: 52px;
  border-radius: 13px;
}

.services .service-item.editorial h3 {
  text-align: left;
  font-size: 19px;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.services .service-item.editorial p {
  text-align: left;
  font-size: 14px;
}

.service-arrow-icon {
  font-size: 14px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
  color: var(--primary);
}

.services .service-item.editorial:hover .service-arrow-icon {
  opacity: 1;
  transform: translateX(0);
}

/* --- Clients "Trusted by" label --- */
.clients-label {
  text-align: center;
  font-family: var(--nav-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.clients-label::before,
.clients-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--outline-variant);
  max-width: 100px;
  opacity: 0.6;
}
/* --- Bio expand/collapse --- */
.bio-expanded {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  opacity: 0;
}

.bio-expanded[aria-hidden="false"] {
  max-height: 600px;
  opacity: 1;
}

.bio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: gap 0.3s ease, color 0.2s ease;
}

.bio-toggle:hover {
  color: var(--primary-container);
  gap: 10px;
}

.bio-toggle i {
  font-size: 12px;
  transition: transform 0.35s ease;
}

.bio-toggle.is-open i {
  transform: rotate(180deg);
}

/* --- Blog teaser section --- */
#blog-teaser.section {
  background: linear-gradient(180deg, #f3f6fd 0%, #eef3fb 100%) !important;
}

.blog-card {
  background: var(--surface-container-lowest);
  border-radius: 20px;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 59, 147, 0.05);
  border: 1px solid transparent;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-container));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.blog-card:hover {
  box-shadow: 0 24px 56px rgba(0, 59, 147, 0.11);
  border-color: var(--outline-variant);
  transform: translateY(-6px);
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-card-category {
  font-family: var(--nav-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 59, 147, 0.07);
  padding: 3px 10px;
  border-radius: 100px;
}

.blog-card-date {
  font-size: 12px;
  color: var(--on-surface-variant);
  font-weight: 500;
}

.blog-card-title {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.blog-card-title a {
  color: var(--heading-color);
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--on-surface-variant);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s ease, color 0.2s ease;
  margin-top: auto;
}

.blog-card-link:hover {
  color: var(--primary-container);
  gap: 10px;
}

.blog-card-link i {
  font-size: 12px;
}

.blog-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.blog-view-all:hover {
  background: var(--primary);
  color: var(--contrast-color);
  gap: 12px;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 59, 147, 0.25);
}

.blog-view-all i {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.blog-view-all:hover i {
  transform: translateX(3px);
}

/* ============================================================
   GLASSMORPHISM / CRYSTAL SURFACE EFFECTS
   ============================================================ */

/* --- Hero icon boxes: frosted glass floating on the blue field --- */
.hero .icon-box {
  background: rgba(255, 255, 255, 0.88) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Crystal top-face shine on hero icon boxes */
.hero .icon-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.08) 35%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

/* --- Scrolled nav: proper glass panel --- */
.scrolled .header {
  background: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(0, 59, 147, 0.06), 0 4px 20px rgba(0, 59, 147, 0.06) !important;
}

/* --- Service cards: crystal shimmer sweep on hover --- */
.services .service-item.editorial::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.52) 50%,
    transparent 62%
  );
  transform: skewX(-12deg);
  transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 3;
}

.services .service-item.editorial:hover::after {
  left: 140%;
}

/* --- Blog cards: same crystal shimmer sweep --- */
.blog-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 62%
  );
  transform: skewX(-12deg);
  transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 3;
}

.blog-card:hover::after {
  left: 140%;
}

/* --- Testimonial cards: true frosted glass on the dark background --- */
.testimonials .testimonial-item {
  background: rgba(255, 255, 255, 0.08) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06) !important;
}

/* Make text legible on the now-transparent glass cards */
.testimonials .testimonial-item p,
.testimonials .testimonial-item .testimonial-item p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.testimonials .testimonial-item h3 {
  color: #ffffff !important;
}

.testimonials .testimonial-item h4 {
  color: rgba(255, 255, 255, 0.58) !important;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.22) !important;
}

/* Glass top-face shine on testimonial cards */
.testimonials .testimonial-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 30%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 0;
}

.testimonials .testimonial-item > * {
  position: relative;
  z-index: 1;
}

/* Crystal iridescent glow on testimonial hover */
.testimonials .testimonial-item:hover {
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 0 0 1px rgba(100, 160, 255, 0.12),
    0 0 32px rgba(100, 160, 255, 0.08) !important;
  transform: translateY(-4px);
}

/* --- Crystal ring on the Book a Call CTA button --- */
.hero .btn-get-started {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 59, 147, 0.1) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
