:root {
  --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Lexend Deca", sans-serif;
  --nav-font: "Lexend Deca", sans-serif;

  /* Color Scheme */
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #37517e;
  --accent-color: #47b2e4;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  /* Preloader Variables */
  --hue: 220;
  --radius: 5.5;
  --size: 4;
  --preloader-duration: 1s;
}

/* Dark mode styles can remain as they are */
.dark-background {
  --background-color: #00193a;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
}

/* General Body Styles */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  margin: 0;
  padding: 0;
  /* overflow-x: hidden; is fine, but overflow: hidden; was the issue */
  overflow-x: hidden; 
}

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

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h5 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* --- Preloader Styles --- */

 /* Preloader container styles */
 #preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f0f2f5; /* A light background to complement the dark loader */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.75s ease, visibility 0.75s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Your improved loader CSS */
.loader {
width: 50px; /* Slightly larger for better visibility */
height: 50px;
position: relative;
--c: no-repeat linear-gradient(#00193A 0 0); /* Updated color */
background:
  var(--c) center/100% 12px,
  var(--c) center/12px 100%;
}

.loader:before {
content: '';
position: absolute;
inset: 0;
background:
  var(--c) 0 0,
  var(--c) 100% 0,
  var(--c) 0 100%,
  var(--c) 100% 100%;
background-size: 18px 18px; /* Adjusted for the new size */
animation: l16 2s infinite ease-in-out; /* Updated animation properties */
}

/* Refined keyframes for a better animation */
@keyframes l16 {
  0% {
      inset: 0;
      transform: rotate(0deg) scale(1);
  }
  33% {
      inset: -12px; /* Adjusted inset */
      transform: rotate(180deg) scale(1.1); /* Rotate further and scale up */
  }
  66% {
      inset: -12px;
      transform: rotate(180deg) scale(1.1);
  }
  100% {
      inset: 0;
      transform: rotate(360deg) scale(1); /* Complete the rotation and scale back */
  }
}
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: gray;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  transition: all 0.4s;
  box-shadow: #1d68e5 5px 1px 5px;
}
.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, #00193a, transparent 20%);
  color: var(--contrast-color);
}
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
.section,
section {
  color: var(--default-color);
  background-color: var(--background-color);
  scroll-margin-top: 88px;
  overflow: clip;
  overflow-x: hidden;
}
@media (max-width: 1199px) {
  .section,
  section {
    scroll-margin-top: 66px;
  }
}
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  font: "Lexend Deca", sans-serif;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}
.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}
.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.section-title p {
  margin-bottom: 0;
}
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero {
    width: 100%;
    
    position: relative;
    padding: 80px 0 0 0; /* Reduced top padding and removed bottom padding */
    z-index: 1;
    display: flex;
    align-items: center;
    -webkit-box-shadow: 5px 6px 10px 2px rgba(0, 0, 0, 0.64);
    -moz-box-shadow: 5px 6px 10px 2px rgba(0, 0, 0, 0.64);
    box-shadow: 5px 6px 10px 2px rgba(0, 0, 0, 0.64);
    overflow: hidden;
}
.hero .container {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  font: "Lexend Deca", sans-serif;
}
.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}
@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}
.col-lg-6.hero-img {
  flex: 1.5;
  text-align: right; /* Changed from center to right alignment */
  position: relative;
  height: 100%;
}
.hero-img img {
  max-width: 600px;
  height: auto;
  display: inline-block;
  margin-bottom: -4px; /* Creates the effect of touching the bottom with no gap */
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
  filter: brightness(0.9) contrast(1.1);
  mix-blend-mode: screen;
  mask-image: linear-gradient(to left, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 40%);
  background: radial-gradient(circle at center, rgba(255,255,255,0.1), rgba(0,25,58,0.8));
  border-radius: 30%;
  padding: 20px;
  vertical-align: bottom;
}
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 100px 0; /* increased bottom space */
  }

  .hero .container {
    flex-direction: column;
    gap: 20px;
  }

  /* Keep text left-aligned */
  .hero h1,
  .hero p,
  .hero .d-flex {
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .hero-img {
    text-align: center;
    margin-top: 20px;
  }

  .hero-img img {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    padding: 20px;
  }

  .hero .d-flex {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    
    font-size: 40px;
    line-height: 40px;
  }

  .hero p {
    font-size: 26px;
    line-height: 30px;
  }

  .hero-img img {
    width: 100%;
    max-width: 320px;
  }
}

/* About Section Styles - Prefixed with "am-" to avoid conflicts */
.am-about-section {
  background: linear-gradient(120deg, #00193a, #1d68e5);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex; /* Use flexbox for layout */
  min-height: 600px; /* Ensure minimum height */
}

/* Side Image (Left Side) */
.am-side-image {
  width: 20%; /* Takes 20% of the total width */
  position: relative;
  overflow: hidden;
}

.am-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Main Content Area (Right Side) */
.am-main-content {
  width: 80%; /* Takes 80% of the total width */
  padding: 80px 0 60px;
}

/* Mission Header Styles */
.am-mission-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.am-mission-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #fff, #0ff4c6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.am-mission-header .am-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}

/* Background Effects */
.am-bg-circles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.am-bg-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.am-bg-circle:nth-child(1) {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  animation: am-float 15s infinite ease-in-out;
}

.am-bg-circle:nth-child(2) {
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(15, 244, 198, 0.05);
  animation: am-float 20s infinite ease-in-out alternate;
}

@keyframes am-float {
  0% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(30px, 30px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* Container and Grid Layout */
.am-container {
  position: relative;
  z-index: 5; /* Higher z-index to ensure visibility */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.am-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  flex-wrap: nowrap;
}

.am-align-items-center {
  align-items: center;
}

.am-text-center {
  text-align: center;
}

/* Content Columns */
.am-col-lg-6 {
  width: 50%;
  flex: 0 0 50%;
}

/* Content Styling */
.am-content {
  position: relative;
  z-index: 5; /* Higher z-index to ensure visibility */
}

.am-section-highlight {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.3;
  opacity: 1; /* Force visibility */
  transform: translateX(0); /* Force proper positioning */
}

.am-lead {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 25px;
  opacity: 1; /* Force visibility */
  transform: translateX(0); /* Force proper positioning */
}

/* Button Styling */
.am-btn {
  display: inline-block;
  text-decoration: none;
}

.am-btn-primary {
  background: linear-gradient(45deg, #0ff4c6, #ef8354);
  color: #00193a;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 5; /* Higher z-index */
  text-decoration: none;
  opacity: 1; /* Force visibility */
}

.am-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(45deg, #ef8354, #0ff4c6);
  transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  z-index: -1;
}

.am-btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(15, 244, 198, 0.4);
}

.am-btn-primary:hover::before {
  width: 100%;
}

.am-btn-primary i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.am-btn-primary:hover i {
  transform: translateX(5px);
}

/* Image Box Styling */
.am-image-box {
  position: relative;
  width: 100%;
  z-index: 5; /* Higher z-index to ensure visibility */
}

.am-image-box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(15, 244, 198, 0.2) 0, rgba(29, 104, 229, 0) 70%);
  filter: blur(20px);
  z-index: -1;
}

.am-image-box img {
  max-width: 100%;
  height: auto;
  opacity: 1; /* Force visibility */
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
  display: block;
  margin: 0 auto;
}

.am-image-box img:hover {
  transform: scale(1.05);
  box-shadow: 0 35px 60px rgba(15, 244, 198, 0.4);
}

.am-img-fluid {
  max-width: 100%;
  height: auto;
}

/* Animations when the has-animations class is added */
.am-has-animations .am-mission-header h1 {
  animation: am-fadeIn 1s ease forwards;
}

.am-has-animations .am-mission-header .am-subtitle {
  animation: am-fadeIn 1s ease 0.3s forwards;
}

.am-has-animations .am-section-highlight {
  animation: am-slideIn 1s ease 0.6s forwards;
  opacity: 0;
  transform: translateX(-30px);
}

.am-has-animations .am-lead {
  animation: am-slideIn 1s ease 0.9s forwards;
  opacity: 0;
  transform: translateX(-30px);
}

.am-has-animations .am-btn-primary {
  animation: am-fadeIn 1s ease 1.2s forwards;
  opacity: 0;
}

.am-has-animations .am-image-box {
  animation: am-float2 6s infinite ease-in-out alternate;
}

.am-has-animations .am-image-box::before {
  animation: am-pulse 4s infinite alternate;
}

.am-has-animations .am-image-box img {
  animation: am-fadeIn 1.5s ease 0.8s forwards;
  opacity: 0;
}

@keyframes am-slideIn {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes am-fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes am-float2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

@keyframes am-pulse {
  0% { opacity: 0.5; transform: scale(0.8); }
  100% { opacity: 0.8; transform: scale(1.2); }
}

/* Responsive Styles */
@media (max-width: 991px) {
  .am-about-section {
    flex-direction: column;
  }
  
  .am-side-image {
    width: 100%;
    height: 300px; /* Fixed height on mobile */
  }
  
  .am-main-content {
    width: 100%;
    padding: 60px 0 40px;
  }
  
  .am-row {
    flex-direction: column !important;
    gap: 40px;
  }
  
  .am-col-lg-6 {
    width: 100%;
    flex: 0 0 100%;
  }
  
  .am-mission-header h1 {
    font-size: 2rem;
  }
  
  .am-mission-header .am-subtitle {
    font-size: 1.1rem;
  }
  
  .am-section-highlight {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .am-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .am-mission-header h1 {
    font-size: 1.8rem;
  }
  
  .am-section-highlight {
    font-size: 1.6rem;
  }
  
  .am-lead {
    font-size: 1.1rem;
  }
  
  .am-btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .am-mission-header h1 {
    font-size: 1.6rem;
  }
  
  .am-mission-header .am-subtitle {
    font-size: 1rem;
  }
  
  .am-section-highlight {
    font-size: 1.4rem;
  }
}
/* Modern, Space-Efficient Features Section Styling */
#features-section {
  background-color: #f9fafb;
  padding: 60px 0;
  position: relative;
}

/* Container adjustment for better space usage */
#features-section .container {
  max-width: 1200px;
  padding: 0 15px;
}

/* Gradient text styling */
.gradient-text {
  background: linear-gradient(90deg, #4361ee 0%, #3a0ca3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-weight: 700;
}

/* Completely new image styling */
#features-section img.floating {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

/* Image container styling */
#features-section .col-lg-6.text-center {
  position: relative;
  padding: 0;
}

/* Image frame effect */
#features-section .col-lg-6.text-center::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 5px solid #0804d4;
  border-radius: 50%;
  z-index: 0;
  opacity: 1;
}

/* Remove float animation */
.floating {
  animation: none;
}

/* Introduction row spacing */
#features-section .row.align-items-center {
  margin-bottom: 50px;
}

#features-section .row.align-items-center .col-lg-6:first-child {
  padding-right: 40px;
}

/* Intro text styling */
#features-section .row.align-items-center p {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 0;
}

/* Feature cards layout */
#features-section .text-start .col-md-4 {
  padding: 20px 15px;
}

/* Feature icon styling */
#features-section .bi {
  display: inline-block;
  font-size: 22px;
  padding: 0;
  margin-bottom: 12px;
  background: none;
  color: #4361ee;
}

/* Feature headings */
#features-section h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2d3748;
}

/* Feature descriptions */
#features-section .col-md-4 p {
  font-size: 15px;
  line-height: 1.6;
  color: #718096;
  margin-bottom: 0;
}

/* Section heading */
#features-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

/* Features list heading */
#features-section .text-center.mb-5 {
  margin-bottom: 30px !important;
}

/* Responsive styles */
@media (max-width: 992px) {
  #features-section .row.align-items-center .col-lg-6:first-child {
    padding-right: 15px;
    margin-bottom: 30px;
  }
  
  #features-section img.floating {
    transform: none;
    max-width: 80%;
    margin: 0 auto;
  }
  
  #features-section .col-lg-6.text-center::before {
    top: 10px;
    left: 10%;
    right: 10%;
    bottom: 10px;
  }
}

@media (max-width: 768px) {
  #features-section {
    padding: 40px 0;
  }
  
  #features-section .col-md-4 {
    margin-bottom: 20px;
  }
  
  #features-section h2 {
    font-size: 24px;
  }
  
  #features-section img.floating {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  #features-section {
    padding: 30px 0;
  }
  
  #features-section .col-lg-6.text-center::before {
    display: none;
  }
  
  #features-section h2 {
    font-size: 22px;
  }
}
.atc-advanced-framework {
  font-family: Roboto, sans-serif;
  color: #333;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
.atc-advanced-framework .step-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  background: radial-gradient(
    circle,
    rgba(0, 123, 255, 1) 0,
    rgba(0, 86, 179, 1) 100%
  );
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  transform: translateZ(0);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  z-index: 2;
  color: #fff;
}
.atc-advanced-framework .step-icon:hover {
  transform: translateZ(50px) rotateX(15deg) rotateY(15deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.atc-advanced-framework .icon-overlay {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.atc-advanced-framework .card {
  background: #f1f3f5;
  border-radius: 20px;
  box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1),
    -8px -8px 15px rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.atc-advanced-framework .card:hover {
  transform: translateY(-10px);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2),
    -10px -10px 20px rgba(255, 255, 255, 0.8);
}
.atc-advanced-framework .btn {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.atc-advanced-framework .btn:hover {
  transform: scale(1.1);
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #fff;
}
.atc-advanced-framework .accordion-button {
  background: #f8f9fa;
  border: none;
  border-radius: 10px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1),
    -4px -4px 8px rgba(255, 255, 255, 0.7);
}
.atc-advanced-framework .accordion-button:focus {
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.2),
    inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}
.atc-advanced-framework .lead {
  background: linear-gradient(90deg, #007bff, #198754, #ffc107);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 3s infinite;
}
@keyframes gradientText {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.atc-advanced-framework {
  cursor: url(cursor-pointer.png), auto;
}
.atc-advanced-framework button:hover {
  cursor: url(cursor-hover.png), auto;
}
.full-width-header {
  background: linear-gradient(135deg, #4a90e2, #9013fe);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.full-width-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
}
.full-width-header p {
  font-size: 1.4rem;
  margin-top: 20px;
  animation: fadeInUp 1.2s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.asymmetrical-grid {
  padding: 80px 20px;
  background: linear-gradient(180deg, #fff, #f3f4f6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}
.asymmetrical-grid .grid-item {
  flex: 1 1 calc(45% - 20px);
  background: #fff;
  border-radius: 15px;
  margin-top: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.asymmetrical-grid .grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.asymmetrical-grid .grid-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(74, 144, 226, 0.1),
    rgba(144, 19, 254, 0.25)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.asymmetrical-grid .grid-item:hover::before {
  opacity: 1;
}
.asymmetrical-grid h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 20px;
  color: #333;
  position: relative;
  z-index: 1;
}
.asymmetrical-grid p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 20px;
  position: relative;
  z-index: 1;
}
.parallax-section {
  background: linear-gradient(135deg, #1d68e5, #3da5d9);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.parallax-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.parallax-section .container {
  position: relative;
  z-index: 2;
}
.parallax-section h2 {
  font-family: "Lexend Deca Black", sans-serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: #05e61f;
}
.parallax-section p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
[data-aos] {
  overflow: hidden;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.interactive-grid {
  background: #e6e9ee;
  padding: 5rem 0;
}
.interactive-grid .grid-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.interactive-grid .grid-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.interactive-grid .grid-item p {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
.interactive-grid .grid-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.interactive-grid .grid-item:hover::before {
  opacity: 0.3;
}
@media (max-width: 768px) {
  .parallax-section h2 {
    font-size: 2rem;
  }
  .parallax-section p {
    font-size: 1rem;
  }
  .interactive-grid .grid-item {
    margin-bottom: 2rem;
  }
}
.benai-gradient-header {
  background: linear-gradient(90deg, #00193a, #3da5d9);
  background-size: 200% 200%;
  animation: gradient-shift 5s infinite;
}
.benai-header-text {
  color: #0dd636;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}
@keyframes gradient-shift {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.benai-subheader-text {
  color: #282828;
  border-bottom: 2px solid #1d68e5;
  display: inline-block;
  padding-bottom: 5px;
}
.benai-headline {
  color: #ef8354;
}
.benai-body-text {
  color: #1d1d1d;
}
.benai-divider {
  border: 1px solid #ddd;
}
.benai-features-heading {
  color: #1d68e5;
}
.benai-card-title {
  color: #1d68e5;
}
.benai-card-text {
  color: #1d1d1d;
}
.benai-cta-headline {
  color: #f1c40f;
}
.benai-cta-body {
  color: #f9f9f9;
}
.benai-cta-button {
  background-color: #ef8354;
  color: #fff;
  border: none;
}
.benai-cta-button:hover {
  background-color: #d67446;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.floating {
  animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.gradient-text {
  background: linear-gradient(45deg, #2937f0, #9f1ae2, #2937f0);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gradient 3s linear infinite;
}
@keyframes gradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.btn {
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}
.btn:active:after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}
    /* Mission Section Specific Variables */
:root {
  --mission-primary-glow: #00d4ff;
  --mission-secondary-glow: #4ade80;
  --mission-accent-gold: #ffd700;
  --mission-accent-purple: #8b5cf6;
  --mission-bg-start: #0a0a0f;
  --mission-bg-end: #1a1a2e;
  --mission-text-primary: #ffffff;
  --mission-text-secondary: rgba(255, 255, 255, 0.87);
  --mission-text-muted: rgba(255, 255, 255, 0.65);
  --mission-shadow-primary: rgba(0, 212, 255, 0.3);
  --mission-shadow-secondary: rgba(74, 222, 128, 0.2);
}

/* 
  CORRECTED: Main container class is now unique and properly configured 
  to contain all its child elements, preventing any overflow.
*/
.mission-section {
  background: linear-gradient(135deg, var(--mission-bg-start), var(--mission-bg-end));
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative; /* This is essential for containing the absolutely positioned orbs and side image. */
  overflow: hidden; /* This is the key to preventing any horizontal scrollbars or layout breaks. */
  padding: 4rem 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Left Side Eye Image Panel */
.mission-side-image {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 22%;
  object-fit: cover;
  opacity: 0.85;
  z-index: 1;
  mask-image: linear-gradient(to right, black 50%, transparent 95%);
  -webkit-mask-image: linear-gradient(to right, black 50%, transparent 95%);
  filter: contrast(1.1) brightness(0.9);
}

/* Floating Background Orbs */
.mission-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  z-index: 2;
  animation: missionFloat 12s ease-in-out infinite;
}

.mission-orb-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--mission-primary-glow), var(--mission-accent-purple));
  top: 10%;
  right: 15%;
}

.mission-orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--mission-secondary-glow), var(--mission-accent-gold));
  bottom: 20%;
  right: 8%;
  animation-delay: -4s;
}

.mission-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--mission-accent-purple), var(--mission-primary-glow));
  top: 60%;
  left: 15%;
  animation-delay: -8s;
}

@keyframes missionFloat {
  0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  33% { transform: translateY(-20px) translateX(10px) rotate(120deg); }
  66% { transform: translateY(10px) translateX(-15px) rotate(240deg); }
}

/* Main Content Container */
.mission-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-left: 25%;
  box-sizing: border-box; /* Ensures padding doesn't add to the width, preventing overflow. */
}

/* Typography and Animation Classes */
.mission-animated {
  opacity: 0;
}

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

@keyframes missionFadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mission-main-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--mission-text-primary);
  margin-bottom: 1.2rem;
  letter-spacing: 3px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--mission-primary-glow) 0%, var(--mission-secondary-glow) 50%, var(--mission-accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 30px var(--mission-shadow-primary);
  animation: missionFadeInUp 1.2s ease-out 0.3s forwards;
  position: relative;
}

.mission-main-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--mission-primary-glow), var(--mission-secondary-glow));
  border-radius: 2px;
  box-shadow: 0 0 10px var(--mission-shadow-primary);
}

.mission-subtitle {
  font-size: 1.25rem;
  color: var(--mission-text-muted);
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  animation: missionFadeInUp 1.2s ease-out 0.5s forwards;
}

.mission-content-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--mission-text-primary);
  margin-bottom: 1.8rem;
  line-height: 1.3;
  animation: missionFadeInUp 1.2s ease-out 0.9s forwards;
}

.mission-content-text {
  font-size: 1.15rem;
  color: var(--mission-text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
  animation: missionFadeInUp 1.2s ease-out 1.1s forwards;
}

.mission-cta-btn {
  background: linear-gradient(135deg, var(--mission-primary-glow) 0%, var(--mission-secondary-glow) 50%, var(--mission-accent-gold) 100%);
  border: none;
  padding: 18px 45px;
  border-radius: 50px;
  color: var(--mission-bg-start);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  animation: missionFadeInUp 1.2s ease-out 1.3s forwards;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.mission-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.mission-cta-btn:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 15px 40px var(--mission-shadow-primary);
  color: var(--mission-bg-start);
}

.mission-cta-btn:hover::before {
  left: 100%;
}

/* 
  NEW: Styles for the right-side image to replace inline styles.
*/
.mission-image-wrapper {
  padding: 0.5rem;
  border: 1px solid #212529;
  border-radius: 0.25rem;
  display: inline-block;
  width: fit-content;
  animation: missionFadeInRight 1.2s ease-out 1.1s forwards; /* Added animation */
}

.mission-feature-image-right {
  width: 339.525px;
  height: 339.525px;
  object-fit: cover;
  display: block; /* Removes extra space that can appear under an image */
  max-width: 100%; /* Ensures responsiveness */
  height: auto; /* Maintains aspect ratio on resize */
}


.mission-text-content {
  padding-right: 2.5rem;
}

/* Responsive Design Adjustments */
@media (max-width: 1199.98px) {
  .mission-content-wrapper {
    padding-left: 28%;
  }
  .mission-side-image {
    width: 26%;
  }
}

@media (max-width: 991.98px) {
  .mission-section {
    padding: 3rem 0;
    min-height: 70vh;
  }

  .mission-side-image {
    display: none; /* Hide the side image on smaller screens */
  }

  .mission-content-wrapper {
    padding-left: 0; /* Remove padding when side image is gone */
  }

  .mission-main-title,
  .mission-subtitle,
  .mission-content-title,
  .mission-content-text {
    text-align: center;
  }

  .mission-main-title::after {
    left: 50%;
    transform: translateX(-50%); /* Center the underline */
  }

  .mission-text-content {
    padding-right: 0;
    margin-bottom: 2.5rem;
  }

  .mission-cta-btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
  }
}

@media (max-width: 767.98px) {
  .mission-main-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .mission-subtitle {
    font-size: 1rem;
  }

  .mission-content-title {
    font-size: 1.7rem;
  }

  .mission-content-text {
    font-size: 1rem;
  }

  .mission-section {
    min-height: 60vh;
    padding: 2.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .mission-main-title {
    font-size: 1.9rem;
  }

  .mission-content-title {
    font-size: 1.5rem;
  }

  .mission-cta-btn {
    padding: 16px 35px;
    font-size: 1rem;
  }
  
  .mission-feature-image-right {
      width: 280px; /* Slightly smaller image on mobile */
  }
}

/* General styling for grid items */
.grid-item {
  background: white;
  transition: transform 0.3s ease;
}

/* Hover effect */
.grid-item:hover {
  transform: translateY(-5px);
}

/* Gradient background for the third card */
.bg-gradient {
  background: linear-gradient(135deg, #e6ccff, #f4e1ff);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .grid-item {
    margin-bottom: 1.5rem;
  }

  #key-features .row {
    flex-direction: column;
    align-items: center;
  }

  #key-features .col-md-4 {
    width: 100%;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .grid-item h3 {
    font-size: 1.4rem;
  }

  .grid-item p {
    font-size: 0.95rem;
  }
}

.market-trends-banner {
  /* Layout and Sizing */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem; /* Increased padding for more height */
  min-height: 24vh; /* Increased from 18vh to 24vh */
  box-sizing: border-box;
  text-align: center;
  overflow: hidden; /* Ensures background patterns don't overflow */

  /* User-provided background styling */
  color: white;
  background-color: #343a40;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%239C92AC' fill-opacity='0.25' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), 
                    linear-gradient(to right top, #343a40, #2b2c31, #211f22, #151314, #000000);
}

/* Wrapper for the content inside the banner */
.banner-content {
  max-width: 1100px; /* Increased from 800px for wider text */
  animation: fadeInUp 0.8s ease-out;
  width: 100%;
}

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

/* Title styling with modern typography */
.market-trends-banner h2 {
  font-family: 'Inter', sans-serif;
  font-size: 3.2rem; /* Reduced slightly to fit better in shorter banner */
  font-weight: 700; /* Bold for strong presence */
  margin: 0 0 0.5rem 0; /* Reduced bottom margin */
  line-height: 1.1; /* Tighter line height for better visual impact */
  letter-spacing: -0.02em; /* Slight negative letter spacing for modern look */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 8px 40px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #e0e6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced subtitle with better typography */
.market-trends-banner p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem; /* Slightly reduced to fit better */
  font-weight: 400;
  line-height: 1.6; /* Tighter line height for shorter banner */
  margin: 0 0 1.5rem 0; /* Reduced margin */
  color: rgba(255, 255, 255, 0.9); /* Higher contrast */
  max-width: 900px; /* Increased from 600px for wider text */
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Enhanced call-to-action button */
.banner-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%);
  color: #ffffff;
  padding: 18px 40px; /* Increased padding for more substantial feel */
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; /* More pronounced rounded corners */
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.125rem; /* Slightly larger text */
  letter-spacing: 0.02em;
  text-transform: uppercase; /* Added uppercase for more impact */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
      0 8px 25px rgba(0, 123, 255, 0.3), 
      0 4px 15px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.banner-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-cta-button:hover::before {
  left: 100%;
}

.banner-cta-button:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 50%, #002752 100%);
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
      0 15px 40px rgba(0, 123, 255, 0.4), 
      0 8px 25px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.banner-cta-button:active {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
      0 8px 25px rgba(0, 123, 255, 0.3), 
      0 4px 15px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ----- Responsive Design for Smaller Screens ----- */
@media (max-width: 768px) {
  .market-trends-banner {
      padding: 1.25rem 1rem;
      min-height: 15vh; /* Even shorter on mobile */
  }

  .banner-content {
      max-width: 95%; /* Use more width on mobile */
  }

  .market-trends-banner h2 {
      font-size: 2.5rem; /* Better mobile scaling */
      line-height: 1.15;
      margin-bottom: 0.75rem;
  }

  .market-trends-banner p {
      font-size: 1.1rem; 
      line-height: 1.5;
      margin-bottom: 1.25rem;
      max-width: 100%; 
  }

  .banner-cta-button {
      padding: 16px 32px;
      font-size: 1rem;
      border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .market-trends-banner h2 {
      font-size: 2rem;
  }

  .market-trends-banner p {
      font-size: 1rem;
  }

  .banner-cta-button {
      padding: 14px 28px;
      font-size: 0.9rem;
  }
}