/* =================================================================
   BASE & RESET STYLES
   ================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: Proxima_Nova;
  src: url("./fonts/fonnts.com-Proxima_Nova_Semibold.otf");
}

/* Zoom in from bottom to top */
[data-aos="zoom-in-up-15"] {
  opacity: 0;
  transform: translateY(50px) scale(0.85);
  transition: all 0.8s ease-out;
}
[data-aos="zoom-in-up-15"].aos-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Zoom in from top to bottom */
[data-aos="zoom-in-down-15"] {
  opacity: 0;
  transform: translateY(-50px) scale(0.85);
  transition: all 0.8s ease-out;
}
[data-aos="zoom-in-down-15"].aos-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}


html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  font-family: Proxima_Nova;
  background-color: #ffffff;
  color: #0f172a;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 0;
  margin: 0;
}
.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 4rem;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  pointer-events: none;
  width: 100%;
  height: 100%;
  cursor: none;
}

#fluid-canvas {
  width: 100vw;
  height: 100vh;
  display: block;
}

/* =================================================================
     NAVIGATION
     ================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 90%;
  margin: 2em auto;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.nav-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.logo-text img {
  width: 120px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.logo-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4899ec, #8b5cf6, #4899ec);
  animation: gradientShift 3s ease-in-out infinite;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  /* Adjusted gap for theme switcher */
}

.nav-link {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: #4899ec;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #009beb;
  transition: 0.3s;
  border-radius: 2px;
}

/* =================================================================
     HERO SECTION (INDEX PAGE)
     ================================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  transition: background-color 0.3s ease;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #4899ec, #f97316);
  top: 60%;
  right: -15%;
  animation-delay: 2s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(99, 102, 241, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-container {
  /* max-width: 1200px; */
  margin: 8em 4em 0 4em;
  padding: 0 2rem;
  display: grid;
  /* grid-template-columns: 1fr;
  gap: 4rem; */
  align-items: center;
  position: relative;
  z-index: 2;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.hero-content {
  animation: slideInLeft 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* background: rgba(255, 255, 255, 0.8); */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4899ec;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.title-line {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, #4899ec, #8b5cf6, #4899ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text !important;
  animation: gradientShift 3s ease-in-out infinite;
}

.hero-description {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  /* max-width: 500px; */
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat {
  text-align: left;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: slideInRight 1s ease-out;
  border-radius: 30px;
}

.hero-gif {
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.1);
  animation: cardFloat 4s ease-in-out infinite;
}

body.dark-mode .hero-gif {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(51, 65, 85, 0.5);
}

.features-grid a {
  all: unset;
}

.service-icon img {
  width: 350px;
  border-radius: 24px;
}

/* =================================================================
     GENERAL SECTION STYLES
     ================================================================= */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(99, 102, 241, 0.1);
  color: #4899ec;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0f172a;
  line-height: 1.2;
}

.section-description {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =================================================================
     BUTTONS & TAGS
     ================================================================= */
.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.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.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: #4899ec;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #4899ec;
  border: 2px solid #4899ec;
}

.btn-outline:hover {
  background: #4899ec;
  color: white;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.tag {
  background: rgba(99, 102, 241, 0.1);
  color: #4899ec;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* =================================================================
     FEATURES SECTION (INDEX PAGE)
     ================================================================= */
.features {
  padding: 8rem 0;
  background: #ffffff;
  transition: background-color 0.3s ease;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4899ec, transparent);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.ai-icon {
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
}

.cloud-icon {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.analytics-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.security-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.api-icon {
  background: linear-gradient(135deg, #4899ec, #be185d);
}

.integration-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.feature-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/*** 
====================================================================
		Testimonial Section
====================================================================
***/

.glass-card {
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 22px 11px rgba(255, 255, 255, 1.1);
  position: relative;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}

.testimonial-container {
  color: #fff;
  border-radius: 15px;
  margin: 20px auto;
  padding: 50px 80px;
  max-width: 768px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
}

/* Quote icons */
.fa-quote {
  color: #4899ec;
  font-size: 28px;
  position: absolute;
  top: 70px;
}

.fa-quote-right {
  left: 40px;
}

.fa-quote-left {
  right: 40px;
}

/* Testimonial text content */
.testimonial {
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 30px;
  min-height: 150px;
  /* Added to prevent layout shifts */
}

/* User information section */
.user {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user .user-image {
  border-radius: 50%;
  border: 3px solid #4899ec;
  height: 75px;
  width: 75px;
  object-fit: cover;
}

.user .user-details {
  margin-left: 10px;
  text-align: left;
}

.user .username {
  margin: 0;
}

.user .role {
  font-weight: normal;
  margin: 10px 0;
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #4899ec;
  color: #222831;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.nav-btn:hover {
  background-color: #4899ec;
}

.nav-btn:focus {
  outline: none;
}

#prev-btn {
  left: -20px;
}

#next-btn {
  right: -20px;
}

/* Responsive design adjustments */
@media (max-width: 820px) {
  .testimonial-container {
    padding: 30px 40px;
  }

  .fa-quote {
    display: none;
  }

  .testimonial {
    min-height: 200px;
  }

  /* Move buttons to the bottom on smaller screens */
  .nav-btn {
    top: auto;
    bottom: 10px;
    transform: translateY(0);
  }

  #prev-btn {
    left: 10px;
  }

  #next-btn {
    right: 10px;
  }
}

.large-container {
  position: static;
  /* max-width: 1580px; */
  padding: 0px 30px;
  margin: 0 auto;
}

.testimonial-section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
  background-color: #1e293b;

  &:before {
    position: absolute;
    left: -200px;
    top: 58%;
    background-image: url(http://t.commonsupport.com/adro/images/icons/ring-circle.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 701px;
    height: 756px;
    content: "";
    -webkit-animation: fa-spin 25s infinite alternate;
    -moz-animation: fa-spin 25s infinite alternate;
    -ms-animation: fa-spin 25s infinite alternate;
    -o-animation: fa-spin 25s infinite alternate;
    animation: fa-spin 20s infinite alternate;
  }

  .sec-title {
    position: relative;
    margin-bottom: 115px;
    text-align: center;

    .title {
      margin-bottom: 20px;
      font-size: 46px;
    }
  }

  .testimonial-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 -50px;
  }
}

@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.testimonial-block {
  position: relative;
  padding: 50px;

  .inner-box {
    padding: 80px 105px;
    background-color: #1e293b;
    /* box-shadow: 0 0 50px rgba(226, 222, 232, 0.75); */
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 10px rgba(99, 102, 241, 0.3);
  }

  .text {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 32px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 50px;
    font-family: "Muli", sans-serif;
  }

  .info-box {
    position: relative;
    padding-left: 115px;
    padding-top: 10px;

    .thumb {
      position: absolute;
      left: 0;
      top: 0;
      height: 82px;
      width: 82px;

      img {
        border: 6px solid #e5e6fa;
        border-radius: 50%;
        overflow: hidden;
        display: block;
        width: 100%;
        box-shadow: 0 45px 45px rgba(147, 147, 147, 0.35);
      }
    }

    .name {
      position: relative;
      display: block;
      font-size: 21px;
      line-height: 1.2em;
      color: #fff;
      font-weight: 700;
      margin-bottom: 10px;
      font-family: "Niramit", sans-serif;
    }

    .designation {
      position: relative;
      display: block;
      font-size: 16px;
      line-height: 24px;
      color: #4899ec;
      font-weight: 400;
      font-family: "Muli", sans-serif;
    }
  }
}

.testimonial-carousel {
  .owl-nav {
    position: absolute;
    right: 75px;
    bottom: 70px;
  }

  .owl-next,
  .owl-prev {
    position: relative;
    display: inline-block;
    height: 75px;
    width: 75px;
    line-height: 75px;
    text-align: center;
    border-radius: 50%;
    background-color: #ffffff;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
  }

  .owl-next:hover,
  .owl-prev:hover {
    background-color: #00df97;
    box-shadow: 0 24px 24px rgba(187, 187, 187, 0.75);
  }
}
.testimonial-section .thumb-layer {
  position: absolute;
  right: 30px;
  top: 120px;

  .image {
    position: relative;
    margin-right: 0;

    img {
      display: inline-block;
      max-width: 100%;
      height: auto;
    }
  }
}

/* ====================================================================
		Why Choose Us Section
==================================================================== */

.custom-container {
  /* max-width: 1140px; */
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Custom Flexbox Grid to replace Bootstrap's .row and .col-* */
.flex-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  /* Gutter simulation */
  margin-right: -15px;
  /* Gutter simulation */
}

.col-half {
  width: 50%;
  padding-left: 15px;
  /* Gutter simulation */
  padding-right: 15px;
  /* Gutter simulation */
}

/* Responsive stacking for smaller screens */
@media (max-width: 992px) {
  .col-half {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* Section Specific Styles */
.why-choose-us {
  padding-top: 90px;
  padding-bottom: 60px;
}

.finix-text {
  position: relative;
}

.finix-text h6 {
  color: #fff;
  font-weight: 400;
  font-size: 17px;
}

.finix-text h2 {
  font-weight: 500;
  font-size: 35px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.finix-text p {
  color: #606060;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Play Button Styling */
.ct-btn {
  display: inline-block;
  width: 85px;
  height: 85px;
  line-height: 85px;
  text-align: center;
  border-radius: 50%;
  font-size: 60px;
  background: #fff;
  position: absolute;
  top: 77%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ct-btn a {
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-decoration: none;
}

.ct-btn::before {
  content: "";
  height: 85px;
  width: 85px;
  position: absolute;
  top: 0;
  left: 0;
  background: #0f172a;
  border-radius: 50%;
  animation: pulse-animation 1.6s ease-out infinite;
  z-index: -1;
}

@keyframes pulse-animation {
  0%,
  30% {
    transform: scale(0);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Feature Box Styling */
.feature-box {
  background: #0f172a;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  border-radius: 30px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* .feature-box:hover .fbc-btn {
  background: #e73c3e;
  color: #fff;
} */

.feature-box::before {
  content: "";
  position: absolute;
  top: -115px;
  left: 0;
  right: 0;
  margin: auto;
  width: 90%;
  height: 70%;
  background: #00000029;
  border-radius: 50%;
  /* box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15); */
  z-index: 0;
}

.feature-box-content {
  position: relative;
  z-index: 1;
}

.fbc-btn {
  display: inline-block;
  height: 90px;
  width: 90px;
  line-height: 90px;
  background: #4899ec;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  font-size: 30px;
  /* Icon size */
  position: relative;
  transition: background-color 0.4s, color 0.4s;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.feature-box h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

/* This class shifts one of the boxes up */
/* .active-feature {
  margin-top: 30px;
} */

/* On larger screens, the active feature is pushed down, on mobile it's pushed up */
@media (max-width: 992px) {
  .active-feature {
    margin-top: 0;
  }

  .feature-box.first-in-row {
    margin-top: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .testimonial-section .sec-title {
    margin-bottom: 50px;
  }

  .testimonial-block {
    padding: 0;

    .inner-box {
      box-shadow: none;
      border: 2px solid #f1f1f1;
    }
  }

  .testimonial-carousel {
    .owl-nav {
      position: relative;
      left: 0;
      bottom: 0;
      margin-top: 20px;
      text-align: center;
    }

    .owl-next,
    .owl-prev {
      border: 2px solid #f1f1f1;
    }
  }
}

@media only screen and (max-width: 1366px) {
  .large-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =================================================================
     ABOUT SECTION (INDEX PAGE)
     ================================================================= */
.about {
  padding: 8rem 0;
  background: #ffffff;
  transition: background-color 0.3s ease;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-description {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-align: justify;
}

.about-metrics {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.metric {
  text-align: center;
}

.metric-card {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.metric-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4899ec;
  margin-bottom: 0.25rem;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.metric-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.team-member {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 0.8rem;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 100%;
  border-radius: 5%;
  object-fit: cover;
  margin-bottom: 0.9rem;
  border: 3px solid #4899ec;
}

.member-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.member-info p {
  font-size: 0.875rem;
  color: #64748b;
}

/* =================================================================
     CONTACT SECTION (INDEX PAGE)
     ================================================================= */
.contact {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  transition: background-color 0.3s ease;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-description {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #0f172a;
}

.contact-item p {
  color: #64748b;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4899ec;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* =================================================================
     SERVICES PAGE STYLES
     ================================================================= */
.services-hero {
  padding: 12rem 0 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  transition: background-color 0.3s ease;
}

.services-showcase {
  padding: 8rem 0;
  background: #ffffff;
  transition: background-color 0.3s ease;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 8rem;
}

.service-row:last-child {
  margin-bottom: 0;
}

/* Reverse order for even-numbered rows */
.service-row:nth-child(even) .service-content {
  order: 2;
}

.service-row:nth-child(even) .service-card-container {
  order: 1;
}

.service-content .service-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-content .service-description {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.service-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-card {
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

.service-icon {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.service_card_box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 80%;
}

/* =================================================================
     FAQs Section
     ================================================================= */
.container-faq {
  width: 70%;
  margin: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  place-items: center;
}

.accordion__wrapper {
  border-radius: 2.5rem;
  width: 70%;
  max-width: 60rem;
  /* padding: 5rem; */
  margin-bottom: 2em;
}

.accordion__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  text-align: center;
  margin-bottom: 4rem;
}

.faq {
  padding: 8rem 0;
  background: #1e293b;
  transition: background-color 0.3s ease;
}

.accordion {
  background-color: #0f172a;
  padding: 1.5rem;
  margin-bottom: 3rem;
  border-radius: 10px;
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.accordion__icon {
  background-color: var(--color-white);
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #1e293b;
  flex-shrink: 0;
}

.accordion__question {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--color-white);
}

.accordion__answer {
  padding: 2rem 0;
}

.accordion__content {
  overflow: hidden;
  height: 0;
  transition: var(--transition);
}

@media screen and (max-width: 520px) {
  .accordion {
    width: 265px;
  }

  .testimonial-container {
    width: 250px;
  }

  .fa-quote-left::before {
    content: "" !important;
  }

  .fa-quote-right::before {
    content: "" !important;
  }

  .user {
    flex-direction: column;
    margin-bottom: inherit;
  }

  .user .role {
    margin: 0;
  }

  .left {
    text-align: left;
    padding-left: 0em !important;
    margin-bottom: 0em;
  }

  .service-row {
    display: flex;
    flex-direction: column;
  }

  .service-row:nth-child(odd) {
    flex-direction: column-reverse;
  }

  .service-row:nth-child(4) {
    flex-direction: column-reverse;
  }

  .service-row:nth-child(6) {
    flex-direction: column-reverse;
  }
}

.left {
  text-align: left;
  padding-left: 5em;
}

.section-description {
  margin-bottom: 2em;
}

:root {
  --color-primary: #ff4b4b;
  --color-text: #545d7a;
  --color-white: #fff;
  --color-title: #242e4c;
  --color-background: #f7f8fb;
  --color-border: #dae1f5;

  --font-family: "Satoshi", sans-serif;
  --fs-sm: 1.4rem;
  --fs-md: 1.6rem;
  --fs-lg: 2.2rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  --transition: 0.4s ease-in-out;
  --shadow: 0px 60px 56px -12px rgba(9, 40, 163, 0.05);
}

/* =================================================================
     FOOTER
     ================================================================= */
.footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  /* grid-template-columns: 1fr 2fr;
  gap: 4rem; */
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  justify-content: center;
}

.footer-brand p {
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, #4899ec, #8b5cf6);
  color: white;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-column a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: #4899ec;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #4899ec;
}

/* =================================================================
     DARK MODE STYLES
     ================================================================= */
body.dark-mode {
  background-color: #0f172a;
  color: #e2e8f0;
}

body.dark-mode .navbar {
  background: rgba(30, 41, 59, 0.8);
  border-bottom-color: rgba(51, 65, 85, 0.5);
}

body.dark-mode .nav-logo,
body.dark-mode .hamburger span {
  color: #e2e8f0;
  /* background: #e2e8f0; */
}

body.dark-mode .nav-link {
  color: #94a3b8;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
  color: #4899ec;
}

body.dark-mode .hero,
body.dark-mode .solutions,
body.dark-mode .contact,
body.dark-mode .services-hero {
  background: #0f172a;
}

body.dark-mode .features,
body.dark-mode .services-showcase {
  background: #1e293b;
}

body.dark-mode .about {
  background: #0f172a;
}

body.dark-mode .hero-title,
body.dark-mode .section-title,
body.dark-mode .feature-title,
body.dark-mode .solution-card h3,
body.dark-mode .contact-item h4,
body.dark-mode .member-info h4,
body.dark-mode .service-content .service-title {
  color: #ffffff;
}

body.dark-mode .hero-description,
body.dark-mode .section-description,
body.dark-mode .feature-description,
body.dark-mode .solution-description,
body.dark-mode .about-description,
body.dark-mode .contact-description,
body.dark-mode .contact-item p,
body.dark-mode .member-info p,
body.dark-mode .stat-label,
body.dark-mode .solution-features li,
body.dark-mode .service-content .service-description {
  color: #94a3b8;
}

body.dark-mode .hero-dashboard,
body.dark-mode .feature-card,
body.dark-mode .solution-card,
body.dark-mode .team-member,
body.dark-mode .contact-form,
body.dark-mode .service-card {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.5);
}

body.dark-mode .feature-card {
  height: 450px;
}

body.dark-mode .metric-card,
body.dark-mode .chart-area {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-color: rgba(51, 65, 85, 0.5);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background-color: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
  color: #64748b;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
  background-color: #1e293b;
  border-color: #4899ec;
}

body.dark-mode .btn-secondary {
  background: rgba(51, 65, 85, 0.8);
  color: #e2e8f0;
  border-color: #475569;
}

body.dark-mode .btn-secondary:hover {
  background: rgba(71, 85, 105, 0.8);
}

body.dark-mode .footer {
  background: #020617;
}

/* =================================================================
     ANIMATIONS & KEYFRAMES
     ================================================================= */
@keyframes gradientShift {
  0%,
  100% {
    background: linear-gradient(135deg, #4899ec, #8b5cf6, #4899ec);
  }

  50% {
    background: linear-gradient(135deg, #4899ec, #4899ec, #8b5cf6);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

/* @keyframes barGrow {
  from {
    height: 0;
  }
  to {
    height: var(--height);
  }
} */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* AOS-like Animations */
[data-aos] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* =================================================================
     RESPONSIVE DESIGN
     ================================================================= */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .service-row {
    gap: 3rem;
  }

  .service-card {
    width: 320px;
    height: 320px;
  }

  .service-icon {
    width: 100px;
    height: 100px;
  }

  .service-icon svg {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    gap: 1.5rem;
  }

  body.dark-mode .nav-menu {
    background: rgba(30, 41, 59, 0.95);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    margin: 8em auto 0 auto;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
  }

  .features-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  body.dark-mode .feature-card {
    height: fit-content;
  }

  .features {
    padding: 1em;
  }

  .about {
    padding: 1em;
  }

  .contact {
    padding: 1em;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-metrics {
    justify-content: center;
    gap: 1.5rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Responsive Zig-zag for Service Page */
  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-icon img {
    width: 260px;
    border-radius: 24px;
  }

  .service-row:nth-child(even) .service-content,
  .service-row:nth-child(even) .service-card-container {
    order: 0;
    /* Reset order for stacking */
  }

  .service-content .btn {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .feature-card,
  .solution-card,
  .contact-form {
    padding: 1.5rem;
  }

  .hero-dashboard {
    padding: 1.5rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .service-card {
    width: 280px;
    height: 280px;
  }

  .service-icon {
    width: 90px;
    height: 90px;
  }

  .service-icon svg {
    width: 45px;
    height: 45px;
  }

  .service-content .service-title {
    font-size: 2rem;
  }
}
