﻿.text-primary {
  color: #00AEEF !important;
}

.btn-primary {
  background-color: #00AEEF !important;
  border-color: #00AEEF !important;
  color: #fff !important;
}
.btn-primary:hover {
  background-color: rgb(0, 136.870292887, 188) !important;
  border-color: rgb(0, 136.870292887, 188) !important;
}

.bg-primary {
  background-color: #00AEEF !important;
}

body {
  font-family: "Roboto", sans-serif;
  color: #495057;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn, .footer-title, .dropdown-item {
  font-family: "Poppins", sans-serif;
}

p {
  font-size: 1.25rem;
}

.section-padding {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #212529;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #495057;
}

.btn-annodyne-orange {
  background-color: #F58220;
  border-color: #F58220;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  transition: all 0.2s ease-in-out;
}
.btn-annodyne-orange:hover {
  background-color: rgb(216.3004291845, 104.7553648069, 9.6995708155);
  border-color: rgb(216.3004291845, 104.7553648069, 9.6995708155);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bg-gradient-light {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.py-6 {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

@media (max-width: 768px) {
  .py-6 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #dee2e6;
}
.site-header .navbar {
  padding: 0.5rem 0;
}
.site-header .navbar-nav .nav-link {
  font-weight: bold;
  text-transform: uppercase;
  color: #212529;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease-in-out;
}
.site-header .navbar-nav .nav-link.active {
  color: #00AEEF;
  border-bottom-color: #00AEEF;
}
.site-header .navbar-nav .nav-link:hover {
  color: #00AEEF;
}

.site-footer {
  background-color: #212529;
  color: #adb5bd;
  padding: 5rem 0 2rem 0;
  font-size: 0.9rem;
}
.site-footer .footer-title {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.site-footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  line-height: 2;
}
.site-footer a:hover {
  color: #00AEEF;
  text-decoration: none;
}
.site-footer .footer-bottom-bar {
  border-top: 1px solid #343a40;
  padding-top: 2rem;
  margin-top: 3rem;
  font-size: 0.8rem;
}
.site-footer .footer-contact-info {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.site-footer .footer-contact-info a {
  line-height: 1.5;
}
.site-footer .footer-legal-info {
  color: #6c757d;
}
.site-footer .footer-legal-info a {
  color: #6c757d;
  text-decoration: underline;
}
.site-footer .footer-legal-info a:hover {
  color: #00AEEF;
}
.site-footer .separator {
  margin: 0 0.75rem;
  color: #495057;
}

.dropdown-menu {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.5rem 1.2rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.dropdown-item:hover {
  background-color: rgb(188, 236.7782426778, 255);
  color: #00AEEF;
}
.dropdown-item:active {
  background-color: #00AEEF;
  color: #fff;
}

.hero-vibrant-base,
.hero-section-vibrant,
.page-hero-advanced {
  position: relative;
  padding: 11rem 0 9rem;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}
.hero-vibrant-base::before,
.hero-section-vibrant::before,
.page-hero-advanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.92) 0%, rgba(10, 20, 30, 0.85) 100%);
  z-index: -1;
}
.hero-vibrant-base .container,
.hero-section-vibrant .container,
.page-hero-advanced .container {
  position: relative;
  z-index: 2;
}
.hero-vibrant-base .eyebrow,
.hero-section-vibrant .eyebrow,
.page-hero-advanced .eyebrow {
  color: #F58220;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: block;
}
.hero-vibrant-base .hero-headline, .hero-vibrant-base h1,
.hero-section-vibrant .hero-headline,
.hero-section-vibrant h1,
.page-hero-advanced .hero-headline,
.page-hero-advanced h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}
.hero-vibrant-base .hero-headline span, .hero-vibrant-base h1 span,
.hero-section-vibrant .hero-headline span,
.hero-section-vibrant h1 span,
.page-hero-advanced .hero-headline span,
.page-hero-advanced h1 span {
  display: block;
  font-size: 0.6em;
  font-weight: 300;
  opacity: 0.9;
  margin-top: 0.5rem;
}
.hero-vibrant-base .hero-subheadline, .hero-vibrant-base .lead,
.hero-section-vibrant .hero-subheadline,
.hero-section-vibrant .lead,
.page-hero-advanced .hero-subheadline,
.page-hero-advanced .lead {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 850px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.texture-tech {
  background-image: url("/images/annodyne-evolution.jpg");
}

.texture-change {
  background-image: url("/images/change-wall.jpg");
}

.texture-flow {
  background-image: url("/images/service-flow.jpg");
}

.texture-rocks {
  background-image: url("/images/precision-rocks.jpg");
}

.analytics-hero {
  background-image: url("/images/analytics-hero.jpg");
}

.high-art {
  background-image: url("/images/high-art-office-pice.jpg");
}

.background1 {
  background-image: url("/images/background1.jpg");
}

.background2 {
  background-image: url("/images/background2.jpg");
}

.background3 {
  background-image: url("/images/background3.jpg");
}

.background-robot {
  background-image: url("/images/background-robot.png");
}

.services-section .service-item {
  padding: 2.5rem 1.5rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}
.services-section .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border-top-color: #00AEEF;
}
.services-section .service-icon {
  font-size: 2.5rem;
  color: #00AEEF;
  margin-bottom: 1.5rem;
}
.services-section .service-title {
  color: #212529;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* --- PARALLAX ENGINE --- */
.parallax-wrapper {
  position: relative;
  /* Ensure this image path is correct in your /wwwroot/images/ folder */
  background-image: url("/images/annodyne-home-bg-main-image-philly-city-hall.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.parallax-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 20, 30, 0.85);
  z-index: 1;
}
.parallax-wrapper .platforms-section-dark {
  background-color: transparent !important;
  position: relative;
  z-index: 2;
}

/* Fix for Mobile: Parallax (fixed attachment) often breaks on iOS/Android */
@media (max-width: 1024px) {
  .parallax-wrapper {
    background-attachment: scroll;
  }
}
.platforms-section {
  position: relative;
}
.platforms-section .section-title, .platforms-section .section-subtitle {
  color: #ffffff;
}
.platforms-section .platform-card {
  width: 100%;
  padding: 2.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.platforms-section .platform-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #00AEEF;
  transform: translateY(-8px);
}
.platforms-section .platform-card .platform-icon {
  font-size: 2.5rem;
  color: #F58220;
  margin-bottom: 1.5rem;
}
.platforms-section .platform-card:hover .platform-icon {
  color: rgb(248.2832618026, 171.0407725322, 105.2167381974);
}
.platforms-section .platform-card .platform-title {
  color: #ffffff;
  font-weight: bold;
}
.platforms-section .platform-card p {
  color: rgba(255, 255, 255, 0.8);
}
.platforms-section .platform-card a {
  color: #F58220;
  text-decoration: none;
  font-weight: bold;
}
.platforms-section .platform-card a:hover {
  text-decoration: underline;
}

/* High-Contrast Tech Section */
.platforms-section-dark {
  padding: 8rem 0;
  background-color: #0b0d11;
  position: relative;
  overflow: hidden;
}
.platforms-section-dark .section-title {
  color: white !important;
}
.platforms-section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
}
.platforms-section-dark .platform-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 16px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.platforms-section-dark .platform-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: #00AEEF;
}
.platforms-section-dark .platform-card .platform-icon {
  font-size: 3rem;
  color: #00AEEF;
  margin-bottom: 1.5rem;
  /* Suble glow for the icon */
  filter: drop-shadow(0 0 10px rgba(0, 174, 239, 0.3));
}
.platforms-section-dark .platform-card .platform-title {
  color: white;
  font-weight: 800;
  margin-bottom: 1rem;
}
.platforms-section-dark .platform-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.divisions-section .division-card {
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  border: 2px solid;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.divisions-section .division-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}
.divisions-section .division-card .division-logo-container {
  margin-bottom: 1.5rem;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.divisions-section .division-card .division-logo {
  max-height: 100%;
  max-width: 250px;
}
.divisions-section .division-card .division-title {
  color: #212529;
  font-weight: bold;
  text-align: left;
}
.divisions-section .division-card p {
  flex-grow: 1;
  text-align: left;
}
.divisions-section .division-card .btn-division {
  align-self: flex-start;
  background-color: transparent;
  border-width: 2px;
  font-weight: bold;
  padding: 0.6rem 2rem;
  border-radius: 50px;
  margin-top: 1.5rem;
  transition: all 0.2s ease;
}
.divisions-section .gprs-card {
  border-color: #ec0e17;
}
.divisions-section .gprs-card .btn-division {
  border-color: #ec0e17;
  color: #ec0e17;
}
.divisions-section .gprs-card .btn-division:hover {
  background-color: #ec0e17;
  color: #fff;
}
.divisions-section .health-card {
  border-color: #174ea0;
}
.divisions-section .health-card .btn-division {
  border-color: #174ea0;
  color: #174ea0;
}
.divisions-section .health-card .btn-division:hover {
  background-color: #174ea0;
  color: #fff;
}

.stats-section-interactive {
  padding: 6rem 0;
  background-color: #282c30;
}
.stats-section-interactive .stat-card {
  background: #343a40;
  border: 1px solid #495057;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.stats-section-interactive .stat-card::before {
  content: "";
  position: absolute;
  left: var(--mouse-x);
  top: var(--mouse-y);
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.stats-section-interactive .stat-card:hover::before {
  opacity: 1;
}
.stats-section-interactive .stat-number-wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
}
.stats-section-interactive .stat-number {
  font-size: 6rem;
  font-weight: 700;
  color: #F58220;
  line-height: 1;
}
.stats-section-interactive .stat-plus {
  font-size: 3rem;
  font-weight: 700;
  color: #F58220;
  margin-left: 0.25rem;
}
.stats-section-interactive .stat-label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

.clients-section {
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.logo-scroller {
  overflow: hidden;
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.logo-scroller .scroller-inner {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scroll 60s linear infinite;
}
.logo-scroller .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-scroller .logo-item:hover img {
  opacity: 1;
}
.logo-scroller .logo-item img {
  max-width: 160px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.logo-scroller:hover .scroller-inner {
  animation-play-state: paused;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 2rem));
  }
}
.testimonials-section {
  padding-top: 4rem;
  border-top: 1px solid #dee2e6;
}
.testimonials-section .section-title {
  color: #212529;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.testimonials-section .section-subtitle {
  display: none;
}
.testimonials-section .testimonial-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  padding: 2.5rem;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}
.testimonials-section .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  border-color: #00AEEF;
}
.testimonials-section .testimonial-icon {
  font-size: 3rem;
  color: #00AEEF;
  opacity: 0.15;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1;
}
.testimonials-section .testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #212529;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}
.testimonials-section .testimonial-author {
  position: relative;
  z-index: 2;
}
.testimonials-section .author-name {
  font-weight: bold;
  color: #00AEEF;
}
.testimonials-section .author-title {
  font-size: 0.9rem;
  color: #495057;
}

.final-cta-section {
  position: relative;
  padding: 10rem 0;
  color: #ffffff;
  background-image: url("/images/cta-background-creative.jpg");
  background-position: center 40%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
}
.final-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 20, 30, 0.7);
  z-index: 1;
}
.final-cta-section .container {
  position: relative;
  z-index: 2;
}
.final-cta-section .cta-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.final-cta-section .cta-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.page-hero-advanced {
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-bottom: 4px solid #00AEEF;
}
.page-hero-advanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.92) 0%, rgba(10, 20, 30, 0.85) 100%);
  z-index: 1;
}
.page-hero-advanced .container {
  position: relative;
  z-index: 10;
}
.page-hero-advanced h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
}
.page-hero-advanced h1 span {
  display: block;
  font-size: 0.7em;
  font-weight: 300;
  opacity: 0.9;
}

.hero-about {
  background-image: url("/images/annodyne-change-wall-bg.jpg");
}

.hero-services {
  background-image: url("/images/services/integrated-flow.jpg");
}

.hero-work {
  background-image: url("/images/about/culture-precision.jpg");
}

.hero-contact {
  background-image: url("/images/about/annodyne-hq-master.jpg");
}

.service-item {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.service-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #dee2e6;
  transition: background 0.3s ease;
}
.service-item .bi {
  font-size: 2.5rem;
  color: #00AEEF;
  margin-bottom: 1rem;
  display: block;
}
.service-item h4 {
  font-weight: 800;
  color: #212529;
  margin-bottom: 1rem;
}
.service-item p {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.5;
  margin-bottom: 0;
}
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.service-item:hover::after {
  background: #00AEEF;
}
.service-item.highlight-orange:hover::after {
  background: #F58220;
}
.service-item.highlight-orange .bi {
  color: #F58220;
}

.image-stack {
  position: relative;
}
.image-stack .experience-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 15px;
  border-radius: 10px;
  background: #00AEEF;
  color: white;
}
.image-stack .experience-badge .number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.image-stack .experience-badge .text {
  font-size: 0.7rem;
  text-transform: uppercase;
}

/* --- HERO Z-INDEX FIX --- */
/* Ensures text is always above the blue wash gradient */
.page-hero-advanced::before, .hero-section-vibrant::before {
  z-index: 1;
}
.page-hero-advanced .container, .hero-section-vibrant .container {
  position: relative;
  z-index: 10;
}

.results-hub-section .mb-6 {
  margin-bottom: 5rem;
}
.results-hub-section .stat-box-clean {
  padding: 2rem;
}
.results-hub-section .stat-box-clean h2 {
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
}
.results-hub-section .logo-grid-unified {
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  padding: 3rem 0;
  margin-bottom: 4rem;
}
.results-hub-section .testimonial-card-minimal {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  height: 100%;
  transition: transform 0.3s ease;
}
.results-hub-section .testimonial-card-minimal:hover {
  transform: translateY(-5px);
}
.results-hub-section .testimonial-card-minimal p {
  font-style: italic;
  color: #212529;
  line-height: 1.7;
}
.results-hub-section .testimonial-card-minimal hr {
  border-top: 3px solid #00AEEF;
  opacity: 1;
  margin: 1.5rem 0;
}

.stats-section-interactive {
  background-color: #1a1d21;
  padding: 7rem 0;
}
.stats-section-interactive .stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 2rem;
  border-radius: 20px;
}
.stats-section-interactive .stat-number {
  color: #F58220;
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -2px;
}
.stats-section-interactive .stat-plus {
  color: #F58220;
  font-size: 2.5rem;
  font-weight: 700;
}
.stats-section-interactive .stat-label {
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 1rem;
  opacity: 0.7;
}

.stat-card-light .display-3 {
  line-height: 1;
}
.stat-card-light span {
  position: relative;
  top: -5px;
}

.proof-hub {
  padding: 4rem 0;
}
.proof-hub .clients-section, .proof-hub .stats-section-unified, .proof-hub .testimonials-section {
  padding: 3rem 0;
  background: transparent !important;
}
.proof-hub .stat-card-light {
  text-align: center;
  padding: 2rem;
}
.proof-hub .stat-card-light h2 {
  font-size: 4.5rem;
  letter-spacing: -2px;
  margin-bottom: 0;
}
.proof-hub .stat-card-light p {
  margin-top: 0.5rem;
  letter-spacing: 1px;
}
.proof-hub .testimonial-card {
  background: white;
  border: 1px solid #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border-radius: 20px;
}

.client-cloud-container {
  padding: 6rem 0;
  background-color: #f8f9fa;
  overflow: hidden;
}

.client-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.cloud-item {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  transition: all 2.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  white-space: nowrap;
  animation: pulseOpacity 10s infinite alternate;
}
.cloud-item.size-lg {
  font-size: 2.1rem;
  letter-spacing: -1px;
}
.cloud-item.size-md {
  font-size: 1.4rem;
}
.cloud-item.size-sm {
  font-size: 0.9rem;
  opacity: 0.4;
}

@keyframes pulseOpacity {
  0% {
    opacity: 0.2;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0.3;
    transform: scale(0.98);
  }
}
.cloud-highlight {
  color: #00AEEF !important;
  opacity: 1 !important;
  transform: scale(1.15) !important;
  text-shadow: 0 0 15px rgba(0, 174, 239, 0.4);
  animation: none !important;
  z-index: 10;
}

.mb-10 {
  margin-bottom: 10rem !important;
}

/* Force visibility in Dark Sections */
/* Surgical fix for the ReadyPlatform Dark Section Cards */
.platforms-section-dark .tech-feature-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}
.platforms-section-dark .tech-feature-card h6 {
  color: #00AEEF !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.platforms-section-dark .tech-feature-card p {
  color: #ffffff !important;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}
.platforms-section-dark .tech-feature-card:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(0, 174, 239, 0.5) !important;
}

/* ReadyPlatform System Hub - TIGHTENED VERSION */
.platform-system-container {
  background-color: #fbfcfd;
  padding: 3rem 2rem 4rem;
  border-radius: 40px;
  position: relative;
  margin: 1rem 0;
}
.platform-system-container .hub-logo-box {
  position: relative;
  z-index: 10;
  display: inline-block;
  background: #ffffff;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.platform-system-container .hub-logo-box img {
  max-height: 40px;
  width: auto;
}
.platform-system-container .hub-logo-box:hover {
  transform: translateY(-5px);
  border-color: #00AEEF;
}

/* THE BRACKET CONNECTOR - SHORTENED */
.system-connector-path {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 60px;
  z-index: 1;
}
.system-connector-path::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, #00AEEF, #dee2e6);
}
.system-connector-path::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: #dee2e6;
}
.system-connector-path .plug-left, .system-connector-path .plug-right {
  position: absolute;
  top: 30px;
  width: 2px;
  height: 15px;
  background: #dee2e6;
}
.system-connector-path .plug-left {
  left: 0;
}
.system-connector-path .plug-right {
  right: 0;
}

.pillar-row-tight {
  margin-top: 15px;
  position: relative;
  z-index: 5;
}

/* Branded Portfolio Cards - Logo Only Version */
.portfolio-card-branded {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef0f2;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  /* The Focal Point: Logo Box */
}
.portfolio-card-branded .card-logo-header {
  padding: 4rem 2rem;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: background 0.3s ease;
}
.portfolio-card-branded .card-logo-header img {
  max-height: 80px;
  max-width: 80%;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}
.portfolio-card-branded .card-body {
  padding: 2rem;
  flex-grow: 1;
  border-top: 1px solid #f8f9fa;
}
.portfolio-card-branded .card-body .industry-tag {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #00AEEF;
  margin-bottom: 0.5rem;
  display: block;
}
.portfolio-card-branded .card-body h5 {
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0;
  color: #212529;
}
.portfolio-card-branded .card-footer-result {
  padding: 1.5rem 2rem;
  background: #f8f9fa;
  border-top: 1px solid #eee;
}
.portfolio-card-branded .card-footer-result .result-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: #F58220;
  display: block;
  line-height: 1.1;
}
.portfolio-card-branded .card-footer-result .result-label {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #6c757d;
  letter-spacing: 0.5px;
}
.portfolio-card-branded:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border-color: #00AEEF;
}
.portfolio-card-branded:hover .card-logo-header {
  background: #fbfcfd;
}
.portfolio-card-branded:hover .card-logo-header img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.portfolio-card-branded.special-card {
  border-color: #00AEEF;
  background: #f0fbff;
}
.portfolio-card-branded.special-card .card-logo-header {
  background: #f0fbff;
}
.portfolio-card-branded.special-card .card-logo-header img {
  filter: none !important;
  opacity: 1 !important;
}
.portfolio-card-branded.special-card .card-body h5 {
  color: #00AEEF;
}
.portfolio-card-branded.special-card .card-footer-result {
  background: #e1f5fe;
}

/* Vertical Card Footer */
.card-footer-result {
  padding: 1.5rem 2rem;
  background: #fff;
  border-top: 1px solid #f8f9fa;
}
.card-footer-result .result-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: #F58220;
  display: block;
  line-height: 1.1;
}
.card-footer-result .result-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #6c757d;
  letter-spacing: 0.5px;
}

/* Dedicated Action Bar at the very bottom */
.card-action-bar {
  padding: 1rem 2rem;
  background: #f8f9fa;
  border-top: 1px solid #eee;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #00AEEF;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}
.card-action-bar i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* Hover effect for the whole card */
.portfolio-card-branded:hover .card-action-bar {
  color: #F58220;
}
.portfolio-card-branded:hover .card-action-bar i {
  transform: translateX(5px);
}

/* Handle the special ReadyPlatform card color */
.special-card:hover .card-read-more {
  color: #212529 !important;
}

.promise-wrapper {
  position: relative;
  padding: 2rem 0;
}
.promise-wrapper::before {
  content: "";
  position: absolute;
  top: 35%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, #dee2e6 0%, #00AEEF 50%, #dee2e6 100%);
  z-index: 1;
  opacity: 0.3;
}

.promise-card-modern {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  padding: 3rem 2rem;
  border-radius: 24px;
  position: relative;
  z-index: 5;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.promise-card-modern .promise-number {
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #00AEEF;
  background: rgba(0, 174, 239, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}
.promise-card-modern h4 {
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #212529;
}
.promise-card-modern p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 0;
}
.promise-card-modern:hover {
  transform: translateY(-10px);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: #00AEEF;
}
.promise-card-modern:hover .promise-number {
  background: #00AEEF;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 174, 239, 0.4);
}

/* --- MODERN REVEAL ENGINE --- */
/* --- 1. DEFAULT STATE: ALWAYS VISIBLE --- */
[data-aos], .scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* --- 2. HIDE ONLY IF JS IS ACTIVE --- */
/* We add 'js-active' via JavaScript. If this class isn't there, text is never hidden. */
html.js-active [data-aos]:not(.reveal-now) {
  opacity: 0 !important;
}
html.js-active [data-aos]:not(.reveal-now)[data-aos=fade-up] {
  transform: translateY(40px) !important;
}
html.js-active [data-aos]:not(.reveal-now)[data-aos=fade-right] {
  transform: translateX(-40px) !important;
}
html.js-active [data-aos]:not(.reveal-now)[data-aos=fade-left] {
  transform: translateX(40px) !important;
}
html.js-active [data-aos]:not(.reveal-now)[data-aos=zoom-in] {
  transform: scale(0.9) !important;
}
html.js-active .reveal-now {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* --- 3. HERO FIX --- */
.page-hero-advanced::before, .hero-section-vibrant::before {
  z-index: 1;
}
.page-hero-advanced .container, .hero-section-vibrant .container {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* --- FIX 1: THE HERO LAYER FIX --- */
.page-hero-advanced, .hero-section-vibrant, .hero-vibrant-base {
  z-index: 1;
  pointer-events: none;
}
.page-hero-advanced::before, .hero-section-vibrant::before, .hero-vibrant-base::before {
  z-index: -1 !important;
}
.page-hero-advanced .container, .hero-section-vibrant .container, .hero-vibrant-base .container {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* --- FIX 2: FORCE CARD INTERACTIVITY --- */
/* This ensures that even if an animation is pending, the card is clickable */
[data-aos], .service-item, .portfolio-card-branded, .platform-card {
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}

/* --- FIX 3: STRETCHED LINK DEPTH --- */
/* If you are using .stretched-link, this ensures it is the topmost layer */
.stretched-link::after {
  z-index: 11 !important;
}

.portfolio-card-branded, .service-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.portfolio-card-branded:hover, .service-item:hover {
  /* Remove any !important here to let the browser transition smoothly */
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 15;
}

.list-unstyled i.bi {
  vertical-align: middle;
  font-size: 1.2rem;
  position: relative;
  top: -2px;
}

.ai-glow-card {
  border: 1px solid rgba(0, 174, 239, 0.3) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f0fbff 100%) !important;
}
.ai-glow-card:hover {
  box-shadow: 0 10px 40px rgba(0, 174, 239, 0.15) !important;
  border-color: #00AEEF !important;
}

.shadow-hover {
  transition: all 0.3s ease;
}
.shadow-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: #00AEEF !important;
}

@media (max-width: 1199.98px) {
  .site-header .navbar-toggler {
    display: block !important;
  }
  .site-header .navbar-collapse {
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 2rem;
    border-bottom: 2px solid #00AEEF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .site-header .navbar-collapse.collapse:not(.show) {
    display: none !important;
  }
  .site-header .navbar-collapse .navbar-nav {
    flex-direction: column;
  }
  .site-header .navbar-collapse .navbar-nav .nav-link {
    padding: 1rem 0;
    margin: 0;
    border-bottom: 1px solid #f8f9fa;
    text-align: center;
  }
}
@media (min-width: 1200px) {
  .site-header .navbar-toggler {
    display: none !important;
  }
  .site-header .navbar-collapse {
    display: flex !important;
    position: static;
    box-shadow: none;
    padding: 0;
    border: none;
  }
}
@media (max-width: 768px) {
  .hero-vibrant-base,
  .hero-section-vibrant,
  .page-hero-advanced {
    padding: 5rem 0 4rem !important;
  }
  .hero-vibrant-base .hero-headline, .hero-vibrant-base h1,
  .hero-section-vibrant .hero-headline,
  .hero-section-vibrant h1,
  .page-hero-advanced .hero-headline,
  .page-hero-advanced h1 {
    font-size: 2rem !important;
    margin-bottom: 1rem;
  }
  .hero-vibrant-base .hero-subheadline, .hero-vibrant-base .lead,
  .hero-section-vibrant .hero-subheadline,
  .hero-section-vibrant .lead,
  .page-hero-advanced .hero-subheadline,
  .page-hero-advanced .lead {
    font-size: 1.15rem !important;
    padding: 0 1rem;
  }
  .section-padding {
    padding: 3.5rem 0 !important;
  }
  .section-title {
    font-size: 2rem !important;
    text-align: center !important;
  }
  .section-subtitle {
    font-size: 1.1rem !important;
    text-align: center !important;
  }
  .section-padding {
    padding: 3.5rem 0 !important;
  }
  .section-title {
    font-size: 2rem !important;
    text-align: center !important;
  }
  .section-subtitle {
    font-size: 1.1rem !important;
    text-align: center !important;
  }
  .portfolio-card-branded .card-logo-header {
    padding: 2.5rem 1.5rem !important;
    height: 160px !important;
  }
  .portfolio-card-branded .card-body {
    padding: 1.5rem !important;
  }
  .portfolio-card-branded .card-footer-result {
    padding: 1rem 1.5rem !important;
  }
  .client-cloud {
    gap: 1.5rem 2rem !important;
    padding: 1rem !important;
  }
  .cloud-item.size-lg {
    font-size: 1.4rem !important;
  }
  .cloud-item.size-md {
    font-size: 1.1rem !important;
  }
  .cloud-item.size-sm {
    font-size: 0.8rem !important;
  }
  .stats-section-interactive .stat-number {
    font-size: 3.5rem !important;
  }
  .stat-plus {
    font-size: 1.8rem !important;
  }
}
@media (max-width: 1024px) {
  .hero-vibrant-base,
  .hero-section-vibrant,
  .page-hero-advanced,
  .parallax-wrapper {
    background-attachment: scroll !important;
  }
}
@media (max-width: 767px) {
  .division-card {
    margin-bottom: 1.5rem;
  }
  .testimonial-card {
    margin-bottom: 1.5rem;
  }
  .services-section .service-item {
    margin-bottom: 1.25rem;
  }
  .stats-section-interactive .stat-card {
    margin-bottom: 1rem;
  }
  .portfolio-card-branded {
    margin-bottom: 2rem;
  }
  .platforms-section .platform-card,
  .platforms-section-dark .platform-card {
    margin-bottom: 1.5rem;
  }
  .row > div:last-child .division-card,
  .row > div:last-child .testimonial-card,
  .row > div:last-child .service-item,
  .row > div:last-child .stat-card,
  .row > div:last-child .portfolio-card-branded,
  .row > div:last-child .platform-card {
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  .mb-10 {
    margin-bottom: 3rem !important;
  }
  .row.align-items-center > [class*=col-] {
    margin-bottom: 1.5rem;
  }
  .row.align-items-center > [class*=col-]:last-child {
    margin-bottom: 0;
  }
  .flex-lg-row-reverse {
    display: flex;
    flex-direction: column !important;
  }
  .page-hero-advanced + section.py-6 {
    padding-top: 3rem !important;
  }
}
@media (max-width: 475px) {
  .hero-cta-container.reveal-now a.btn-annodyne-orange {
    font-size: 1rem;
  }
}
