html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(at 80% 20%, hsla(189, 100%, 56%, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.1) 0px, transparent 50%);
}

/* ==================== PRELOADER STYLES ==================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
}

.preloader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

/* Logo Container */
.logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid #6366f1;
  border-right: 3px solid #00d4ff;
  border-radius: 50%;
  animation: rotateSpinner 2s linear infinite;
}

.logo-inner-circle {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 2px solid transparent;
  border-bottom: 2px solid #fbbf24;
  border-left: 2px solid #00ff88;
  border-radius: 50%;
  animation: rotateSpinner 3s linear infinite reverse;
}

.preloader-wrapper .logo-preloader {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #6366f1 0%, #00d4ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  animation: pulseLogo 2s ease-in-out infinite;
  z-index: 2;
}

/* Brand Name */
.brand-name {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 1rem;
}

.brand-name span:first-child {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-name span:last-child {
  background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Loading Text */
.loading-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 1.5rem;
}

.loading-text .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #00d4ff;
  border-radius: 50%;
  margin-left: 2px;
  animation: blink 1.4s infinite;
}

.loading-text .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-text .dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Progress Bar */
.progress-container {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 2rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1 0%, #00d4ff 50%, #00ff88 100%);
  border-radius: 10px;
  animation: progress 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

/* Floating Elements */
.floating-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  z-index: 0;
}

.floating-bg.blob-1 {
  background: #6366f1;
  top: -100px;
  left: -100px;
  animation: float 15s ease-in-out infinite;
}

.floating-bg.blob-2 {
  background: #00d4ff;
  bottom: -100px;
  right: -100px;
  animation: float 12s ease-in-out infinite reverse;
}

/* Preloader Animations */
@keyframes rotateSpinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseLogo {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  }

  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.8);
  }
}

@keyframes blink {

  0%,
  60%,
  100% {
    opacity: 0.3;
  }

  30% {
    opacity: 1;
  }
}

@keyframes progress {
  0% {
    width: 0%;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 0%;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-30px);
  }
}

/* Preloader Responsive */
@media (max-width: 480px) {
  .logo-container {
    width: 90px;
    height: 90px;
  }

  .preloader-wrapper .logo-preloader {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .progress-container {
    width: 150px;
  }
}

/* landing page word animation */
/* Animation styles for typewriter and changing word */
.word {
  display: inline-block;
  margin-right: 10px;
}

.hello-word span {
  display: inline-block;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hello-word .type-in {
  animation: typeIn 0.3s ease forwards;
}

.changing-word {
  display: inline-block;
  min-width: 150px;
  text-align: left;
  position: relative;
}

.changing-word span {
  display: inline-block;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.5s ease;
}

.changing-word .fade-out {
  opacity: 0;
  transform: scale(0.8);
}

.changing-word .fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes typeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.2);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a8a 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: absolute;
  overflow: hidden;
  z-index: -4;
}

.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;

}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(251, 191, 36, 0.05);
  border-radius: 50%;
  bottom: -50px;
  left: 10%;
}


.card-background {
  background-color: var(--dark);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-shape {
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Color Variables */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #10b981;
  --dark: #0f172a;
  --light: #f8fafc;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.2);
}

/* Global Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.content {
  flex: 1;
  /* Push the footer to the bottom */
}

/* Background Containers */
.container-whychoose-bg {
  width: 100%;
  min-height: 100vh;
  background: url('../images/whyChooseUsBG.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Navigation Styles */
.navbar {
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
  background-color: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.3rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-brand span:first-child {
  color: #4361ee;
}

.navbar-brand span:last-child {
  color: #4cc9f0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffc107;
  ;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.navbar.scrolled {
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 10px 20px;
}

.navbar.hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.navbar.hidden-not {
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

/* Button Styles */
.btn-look {
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: #ffc107;
  color: white;
}

.btn-primary {
  background: var(--primary);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

.rounded {
  border-radius: 30px !important;
}

/* Text Styles */
.text-dark {
  color: #ffffff !important;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Floating Elements */
.floating {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
}

.floating-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -50px;
  left: -50px;
  animation: float 15s ease-in-out infinite;
}

.floating-2 {
  width: 100px;
  height: 200px;
  background: var(--secondary);
  bottom: -25px;
  right: 0px;
  animation: float 12s ease-in-out infinite reverse;
}

/* Content Positioning */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bg-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.particles-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Services Diagram Styles */
line {
  stroke: #333;
  stroke-width: 3;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1s ease-in-out;
}

.oval {
  position: absolute;
  width: 80px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s ease-in-out;
}

.icon {
  width: 40px;
  height: 40px;
}

.label {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-in-out;
}

/* Position the labels */
#webDevelop {
  top: 80%;
  left: 10%;
}

#mobileDeve {
  top: 5%;
  left: 30%;
}

#tutoring {
  top: 80%;
  left: 60%;
}

#hostingSer {
  top: 15%;
  left: 80%;
}

/* Animation classes */
.animate-line {
  stroke-dashoffset: 0;
}

.animate-oval {
  opacity: 1;
  transform: scale(1);
}

.animate-label {
  opacity: 1;
  transform: translateY(0);
}


#group {
  position: relative;
  height: 500px;
  margin: 3rem 0;
}

#group svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.oval {
  position: absolute;
  width: 10vw;
  height: 10vw;
  max-width: 150px;
  max-height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s;
}

.oval:hover {
  transform: scale(1.2);
}

#oval1 {
  left: 10%;
  top: 60%;
  background: #000000;
}

#oval2 {
  left: 33%;
  top: 10%;
  background: #686868;
}

#oval3 {
  left: 63%;
  top: 60%;
  background: #46211a;
}

#oval4 {
  left: 80%;
  top: 20%;
  background: #7be9ec;
}

.label {
  position: absolute;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

#webDevelop {
  left: 23%;
  top: 75%;
}

#mobileDeve {
  left: 15%;
  top: 15%;
}

#tutoring {
  left: 75%;
  top: 75%;
}

#hostingSer {
  left: 65%;
  top: 30%;
}

.icon {
  width: 60%;
  height: 60%;
}

svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

line {
  stroke: black;
  stroke-width: 2;
}

/* Service Cards */
.service-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.container-web-bg {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.container-mob-bg {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.1);
}

.container-tut-bg {
  background: rgba(22, 163, 74, 0.05);
  border: 1px solid rgba(22, 163, 74, 0.1);
}

.container-hos-bg {
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

/* Responsive Styles */
@media (max-width: 1080px) {
  .oval {
    width: 12vw;
    height: 12vw;
  }

  .label {
    font-size: 0.9rem;
  }

  #mobileDeve {
    left: 15%;
    top: 15%;
  }

  #hostingSer {
    left: 68%;
    top: 25%;
  }
}

@media (max-width: 768px) {
  .oval {
    width: 12vw;
    height: 12vw;
  }

  .label {
    font-size: 0.9rem;
  }

  #mobileDeve {
    left: 5%;
    top: 5%;
  }

  #hostingSer {
    left: 60%;
    top: 15%;
  }

  .floating-1 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .oval {
    width: 15vw;
    height: 15vw;
  }

  .label {
    font-size: 0.8rem;
  }

  #webDevelop {
    left: 23%;
    top: 75%;
  }

  #mobileDeve {
    left: 5%;
    top: 5%;
  }

  #tutoring {
    left: 72%;
    top: 75%;
  }

  #hostingSer {
    left: 50%;
    top: 15%;
  }

  .floating-1 {
    width: 300px;
    height: 300px;
  }
}


/* about us section */
.team-card {
  width: 80px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;

}

.team-card:hover,
.team-card.active {
  width: 500px;
  height: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.team-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

/* keep image above video initially */
.team-img {
  position: absolute;
  inset: 0;               /* 👈 THIS IS THE KEY */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
  transition: opacity 0.4s ease;
}

/* hover swap */
.team-card:hover .team-img,
.team-card.active .team-img {
  opacity: 0;
}

.team-card:hover .team-video,
.team-card.active .team-video {
  opacity: 1;
}

.team-info {
  z-index: 3;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.team-card:hover .team-info,
.team-card.active .team-info {
  transform: translateY(0);
}

@media (min-width: 992px) {
  .team-card {
    width: 80px;
    height: 150px;
  }

  .team-card:hover,
  .team-card.active {
    width: 300px;
    height: 300px;
  }
}


.testimonial-card {
  background-color: #1b1f24;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-height: 220px;
  margin: 0 15px;
}

.testimonial-text {
  font-size: 15px;
  color: #dcdcdc;
  line-height: 1.6;
}

.star-rating {
  color: #00d4ff;
  font-size: 18px;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.carousel-control-icon {
  background-color: #00d4ff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #00d4ff;
  opacity: 0.5;
  margin: 0 5px;
}

.carousel-indicators .active {
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
}

.header-section {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.header-section::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00d4ff, #0066ff);
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #00d4ff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
}

.section-title-FAQ {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(110deg,
      rgba(15, 23, 42, 1) 0%,
      rgba(33, 45, 78, 0.95) 20%,
      rgba(252, 231, 4, 0.95) 50%,
      rgb(240, 200, 2) 20%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
}

@keyframes goldShine {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: #8a8f98;
  max-width: 600px;
  margin: 0 auto;
}


.portfolio-hero {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #4a00e0 100%);
}

.portfolio-item {
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.portfolio-img {
  overflow: hidden;
  position: relative;
}

/* scrolling container */
.img-scroll {
  transition: transform 5s linear;
  will-change: transform;
}

/* image keeps natural height */
.img-scroll img {
  width: 100%;
  height: auto;
  display: block;
}




.portfolio-badge {
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

/* FAQ Section */
#FAQ {
  padding: 6rem 0;
  background-color: white;
}

.accordion-item {
  border: none;
  border-radius: 10px !important;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  font-weight: 600;
  padding: 1.5rem;
  background-color: white;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: white;
  color: #0d6efd;

}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234361ee'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem;
  color: #64748b;
}


/* footer styles */
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.footer-logo span:first-child {
  color: #4361ee;
}

.footer-logo span:last-child {
  color: #4cc9f0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 15px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #0d6efd;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating-animation {
  animation: float 6s ease-in-out infinite;
}

.cta-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 100%);
}

/* Background Elements */
.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.floating-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 15s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: #6366f1;
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: #00d4ff;
  bottom: 100px;
  right: -50px;
  animation-delay: 5s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: #fbbf24;
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-30px);
  }
}

/* Content Container */
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left Content */
.cta-text h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: #fff;
}

.cta-text p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 500px;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary-custom {
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  border: none;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  text-decoration: none;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  color: white;
}

.btn-secondary-custom {
  padding: 0.9rem 2.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  color: white;
}

.feature-list {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-item i {
  color: #00d4ff;
  font-size: 1.2rem;
}

/* Right Content - Code Block */
.cta-code-wrapper {
  position: relative;
  perspective: 1000px;
}

.code-block {
  background: rgba(20, 30, 50, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 16px;
  padding: 2rem;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #cbd5e1;
  backdrop-filter: blur(10px);
  overflow-x: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px) translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: #00d4ff;
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.code-comment {
  color: #64748b;
  font-style: italic;
}

.code-keyword {
  color: #ffc107;
}

.code-function {
  color: #00d4ff;
}

.code-string {
  color: #00ff88;
}

.code-number {
  color: #f97316;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.code-title {
  color: #00d4ff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.code-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-1 {
  background: #ff5f57;
}

.dot-2 {
  background: #ffbd2e;
}

.dot-3 {
  background: #28c940;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .code-block {
    padding: 1.5rem;
    font-size: 0.75rem;
  }

  .feature-list {
    flex-direction: column;
    gap: 1rem;
  }

  .button-group {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    justify-content: center;
  }
}

.footer-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #6366f1, transparent);
  margin-bottom: 3rem;
}





/* ============================================
   CHAT WIDGET STYLES
   ============================================ */

.chat-widget {
    position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 9990;
    font-family: 'Poppins', sans-serif;
}

/* Chat Button */
.chat-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.6);
}

.chat-button.hidden {
    display: none !important;
}

/* Chat Window */
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chat-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-header-title p {
    margin: 4px 0 0 0;
    font-size: 12px;
    opacity: 0.9;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
}

.close-btn:hover {
    opacity: 0.8;
}

/* Messages Container */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    justify-content: flex-end;
}

.message.bot {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 14px;
}

.message.user .message-content {
    background: #0066ff;
    color: white;
    border-bottom-right-radius: 4px;
}

.message.bot .message-content {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.6;
    padding: 0 4px;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0066ff;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.5;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-10px);
    }
}


/* Input Area */
.chat-input-area {
    padding: 16px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: #0066ff;
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}

.send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0066ff;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    background: #0052cc;
}

.send-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 12px;
}

/* Mobile Responsive */
/* =========================
   Mobile (phones)
   ========================= */
@media (max-width: 480px) {
    .chat-widget {
        position: fixed;
        bottom: 80px;
        right: 20px;
        z-index: 9990;
        font-family: 'Poppins', sans-serif;
    }

    /* Full screen chat on mobile */
    .chat-window {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        background: white;
        border-radius: 0;
        display: none;
        flex-direction: column;
        overflow: hidden;
        animation: slideUp 0.3s ease;
        z-index: 9990;
    }


    /* Lock body scroll when chat is open */
    body.chat-open {
        position: fixed;
        width: 100%;
        overflow: hidden;
    }

    /* Chat header - fixed at top */
    .chat-header {
        flex-shrink: 0;
        background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
        color: white;
        padding: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .chat-header-title h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .chat-header-title p {
        margin: 4px 0 0 0;
        font-size: 12px;
        opacity: 0.9;
    }

    .close-btn {
        background: none;
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
    }

    /* Messages container - scrollable */
    .chat-messages {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 16px;
        background: #f5f5f5;
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-height: 0; /* Important for flex children */
    }

    /* Message styling */
    .message {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .message.user {
        justify-content: flex-end;
    }

    .message.bot {
        justify-content: flex-start;
    }

    .message-content {
        max-width: 85%;
        padding: 12px 16px;
        border-radius: 12px;
        word-wrap: break-word;
        line-height: 1.5;
        font-size: 14px;
    }

    .message.user .message-content {
        background: #0066ff;
        color: white;
        border-bottom-right-radius: 4px;
    }

    .message.bot .message-content {
        background: white;
        color: #333;
        border: 1px solid #e0e0e0;
        border-bottom-left-radius: 4px;
    }



    /* Input area - fixed at bottom */
    .chat-input-area {
        flex-shrink: 0;
        padding: 12px 16px;
        background: white;
        border-top: 1px solid #e0e0e0;
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .chat-input {
        flex: 1;
        border: 1px solid #e0e0e0;
        border-radius: 24px;
        padding: 10px 16px;
        font-size: 16px; /* 16px prevents iOS zoom */
        font-family: 'Poppins', sans-serif;
        outline: none;
        transition: border-color 0.2s;
    }

    .chat-input:focus {
        border-color: #0066ff;
        box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
    }

    .send-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #0066ff;
        border: none;
        color: white;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .send-btn:active {
        background: #0052cc;
    }

    /* Typing indicator */
    .typing-indicator {
        display: flex;
        gap: 4px;
        padding: 12px 16px;
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        border-bottom-left-radius: 4px;
        width: fit-content;
    }

    .typing-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #0066ff;
        animation: typing 1.4s infinite;
    }

    /* Hide chat button on mobile when chat is open */
    .chat-button.hidden {
        display: none !important;
    }

    /* Landscape mode */
    @media (max-height: 500px) {
        .chat-header-title h3 {
            font-size: 14px;
        }

        .chat-header-title p {
            display: none;
        }

        .chat-input {
            font-size: 14px;
            padding: 8px 12px;
        }

        .quick-actions {
            max-height: 60px;
        }
    }
}
/* =========================
   Tablets (portrait & landscape)
   ========================= */
@media (min-width: 481px) and (max-width: 768px) {
    .chat-window {
        width: 80vw;
        height: 80vh;
        bottom: 20px;
        right: 20px;
        border-radius: 12px;
    }
}

/* =========================
   Small laptops
   ========================= */
@media (min-width: 769px) and (max-width: 1024px) {
    .chat-window {
        width: 420px;
        height: 600px;
        bottom: 24px;
        right: 24px;
        border-radius: 16px;
    }
}

/* =========================
   Desktop & large screens
   ========================= */
@media (min-width: 1025px) {
    .chat-window {
        width: 380px;
        height: 560px;
        bottom: 24px;
        right: 24px;
        border-radius: 16px;
    }
}


/* Why Us - Icon Hover Animation */
.card i {
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.card:hover i {
    transform: scale(1.2) rotate(10deg);
    /* color: #0d6efd !important; */
}

/* FAQ - Icon Click Animation */
.accordion-button i {
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.accordion-button:not(.collapsed) i {
    animation: spin 0.6s ease-in-out;
    /* color: #0d6efd !important; */
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MODAL ANIMATIONS
   ============================================ */

/* Modal Backdrop Animation */
.modal.fade .modal-dialog {
    animation: modalSlideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: top center;
}

.modal.show .modal-dialog {
    animation: modalSlideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalSlideDown {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Backdrop Fade In */
.modal.fade {
    animation: backdropFade 0.4s ease;
}

.modal.show {
    animation: backdropFade 0.4s ease forwards;
}

@keyframes backdropFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal Header Animation */
.modal-header {
    animation: slideInLeft 0.5s ease-out 0.1s both;
}

/* Modal Body Animation */
.modal-body {
    animation: slideInRight 0.5s ease-out 0.15s both;
}

/* Modal Footer Animation */
.modal-footer {
    animation: slideInUp 0.5s ease-out 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Input Focus Animation */
.modal .form-control:focus,
.modal .form-select:focus {
    animation: inputGlow 0.3s ease;
}

@keyframes inputGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    }
}

/* Modal Close Button Hover */
.modal .close-btn,
.modal .btn-close {
    transition: all 0.3s ease;
}

.modal .close-btn:hover,
.modal .btn-close:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Quick Actions Animation */
.quick-actions {
    animation: fadeInUp 0.4s ease 0.2s both;
}

.quick-action-btn {
    animation: buttonPop 0.3s ease backwards;
}

.quick-action-btn:nth-child(1) { animation-delay: 0.3s; }
.quick-action-btn:nth-child(2) { animation-delay: 0.35s; }
.quick-action-btn:nth-child(3) { animation-delay: 0.4s; }
.quick-action-btn:nth-child(4) { animation-delay: 0.45s; }
.quick-action-btn:nth-child(5) { animation-delay: 0.5s; }
.quick-action-btn:nth-child(6) { animation-delay: 0.55s; }

@keyframes buttonPop {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Overlay Blur Effect */
.modal.fade::backdrop {
    animation: blurIn 0.4s ease;
}

.modal.show::backdrop {
    animation: blurIn 0.4s ease forwards;
}

@keyframes blurIn {
    from {
        backdrop-filter: blur(0px);
    }
    to {
        backdrop-filter: blur(4px);
    }
}

/* Typing Indicator Animation */
.typing-indicator {
    animation: typingBounce 1.4s infinite;
}

@keyframes typingBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}


/* White Navbar Toggle Button */

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.75rem;
}

/* Change the toggle icon to white */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Toggle button focus/active states */
.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Optional: Add hover effect to toggle */
.navbar-toggler:hover {
    opacity: 0.8;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    filter: brightness(1.2);
}