/* Reset and Base Styles */
.desg {
  text-align: left;
  margin-left: 40px;
  margin-top: 10px;
  visibility: visible;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  text-decoration: none;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.social-links a i {
  font-size: 18px;
}
.footer-col li {
  margin-right: 10px;
  list-style: none;
}
.footer-col li a:hover {
  color: white;
}
.footer-col li a {
  color: rgb(52, 52, 71);
}
#chatbot-window {
  transition: all 0.3s ease-in-out;
}
#chatbot-window.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

:root {
  --primary: #1e4ccc;
  --primary-dark: #1f3ad3;
  --secondary: #1e4ccc;
  --secondary-dark: #1f3ad3;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --primary-color: #007bff;
  --secondary-color: #e0f7fa;
  --text-color: #333;
  --light-text-color: #f4f4f4;
  --background-color: #ffffff;
  --font-poppins: "Poppins", sans-serif;
  --font-roboto: "Roboto", sans-serif;
  --spacing-md: 20px;
  --spacing-lg: 40px;
}
html {
  scrollbar-width: none; /* For Firefox */
}

html::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Edge */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background: linear-gradient(135deg, #e0f0ff, #c0d8ff);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.btn:hover {
  background-color: #0d79e6;
  transform: translateY(-5px);
  box-shadow: 15px 20px 30px rgb(163, 177, 207);
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
@media (min-width: 1201px) {
  .container {
    max-width: 1540px;
  }
}

.section-title h2 {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-title .learn-more-link {
  float: right;
  margin-top: -50px;
  margin-right: 20px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.section-title .learn-more-link:hover {
  color: var(--primary-dark);
}

.section-title .learn-more-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.section-title .learn-more-link:hover i {
  transform: translateX(5px);
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
  clear: both;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  padding: 20px 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Scroll effect */

/* Flex container */

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0; /* remove left-right padding */
  width: 100%;
  margin: 0;
  max-width: 100%;
}

.navbar-logo {
  margin-left: 15px; /* small gap from the very edge */
}

.navbar-menu {
  margin-left: auto;
  display: flex;
  gap: 50px;
  margin-right: 20px; /* balance spacing on right */
}

/* Logo */
.navbar-logo img {
  height: 80px;
  transition: all 0.3s ease;
}
.navbar.scrolled .navbar-logo img {
  height: 60px;
}

/* Desktop Menu */
.navbar-menu {
  display: flex;
  gap: 80px;
}
.navbar-menu li {
  list-style: none;
}
.navbar-menu a {
  color: black;
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  transition: color 0.3s ease;
}
.navbar.scrolled .navbar-menu a {
  color: black;
}

/* Underline hover effect */
.navbar-menu a:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary, #0078ff);
  transition: width 0.3s ease;
}
.navbar-menu a:hover {
  color: var(--primary, #0078ff);
}
.navbar-menu a:hover:after {
  width: 100%;
}

/* Toggle (mobile) */
.navbar-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #222;
  padding: 10px 15px;
  background-color: var(--primary);
  color: white;
  border-radius: 4px;
}
.navbar.scrolled .navbar-toggle {
  color: #fff;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar-container {
    padding: 5px 1px;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 500px;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: linear-gradient(135deg, #0078ff, #0056b3);
    padding: 4px 30px;
    gap: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 0 15px;
    transition: right 0.3s ease-in-out;
    font-family: "Poppins", sans-serif;
    z-index: 1000; /* ensures it's visible over other elements */
  }

  .navbar-menu li {
    width: 100%;
    list-style: none;
  }

  .navbar-menu a {
    display: block;
    width: 100%;
    color: black;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-family: inherit; /* ensures 'Poppins' applies properly */
  }

  .navbar-menu a:hover {
    color: #405cb9;
    border-bottom: 2px solid #ffdd57;
  }

  .navbar-menu.active {
    right: 0;
  }
  .desg.show {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: fit-content;
  }
  .desg.show h3 {
    font-size: medium;
  }
  .desg.show p {
    font-size: small;
  }
  .desg {
    margin-left: 15px;
  }

  /* Optional: adjust the brand/logo text size for phones */
  .navbar-brand {
    font-size: 20px;
    color: #fff;
    font-family: "Poppins", sans-serif;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.8)
  );
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin-top: 8%;
  padding: 0 20px;
  z-index: 1;
  animation: fadeInUp 2s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Experience Section */
.experience-section {
  color: white;
  text-align: center;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .experience-section {
    position: relative;
    width: 100%;
    height: 30%;
    padding: 5px 0;
    margin-top: 0; /* Push below hero */
    background-color: transparent;
  }

  .experience-box {
    padding: 10px;
  }
  .years-experience {
    flex-direction: row; /* Force horizontal layout */
    flex-wrap: wrap; /* Allow wrapping if space is tight */
  }

  .stat-item {
    flex: 1 1 100px;
    font-size: 12px;
  }

  .years-experience {
    display: flex; /* Use flexbox for row layout */
    flex-direction: row; /* Align items in a row */
    gap: 20px; /* Space between items */
    width: 100%;
    height: 60%;
    font-size: smaller;
    justify-content: center; /* Optional: center items horizontally */
    align-items: center; /* Optional: center items vertically */
  }

  .experience-box .stats-grid {
    display: grid;
    grid-template-rows: 3fr;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
  .years-experience .stat-item {
    flex: 1 1 auto;
    max-width: 33%; /* Or use a fixed width like 100px */
    text-align: center;
  }
}

.experience-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  z-index: 2;
}

.experience-box .stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.experience-box .stat-item {
  padding: 15px 10px;
  background: transparent;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 150px;
}

.experience-box .stat-item:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.experience-box .stat-item i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--light);
  display: block;
}

.experience-box .stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: "Poppins", sans-serif;
  color: var(--light);
}

.experience-box .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
  color: var(--gray);
}

.years-experience {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 15px;
  background: transparent;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 200px;
  justify-content: center;
  align-items: center;
  margin-top: 50%;
}

/* About Section */
.about-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-image img {
  width: 50%;
  margin-left: 80px;
  margin-top: 30px;
  border-radius: 10px;

  transition: all 0.9s ease;
}

.about-image:hover img {
  transform: translateY(-10px);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--dark);
  text-align: center;
  position: relative;
}
.footer-col ul li a {
  font-size: medium;
  font-weight: bold;
}

.about-text h2::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--gray);
}

.more-text {
  display: none;
}

.more-text.show {
  display: inline;
}
.desg {
  visibility: hidden;
}
.desg.show {
  visibility: visible;
  transition: all 2s ease;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
  margin-top: 25px;
  width: fit-content;
  border: 1px solid rgba(0, 102, 204, 0.1);
  z-index: 10;
}
/* Services Section */
/* Service Card Flip Effect */

.card-front .service-icon,
.card-back .service-icon {
  font-size: 4rem; /* increase size */
  margin-bottom: 20px;
  color: #0077ff;
}

.services-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  height: 300px;
  display: flex;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-front,
.card-back {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  text-align: center;
  background: #fff;
}

.card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: large;
}

.card-back {
  background: linear-gradient(135deg, #0077ff, #00c6ff);
  color: #fff;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-detail {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.service-detail:nth-child(even) {
  flex-direction: row-reverse;
}

.service-image {
  flex: 1;
  max-width: 400px;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-image img:hover {
  transform: scale(1.05);
}

.service-content {
  flex: 1;
  padding: 20px;
}

.service-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
}

.service-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

.service-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .service-detail {
    flex-direction: column !important;
    gap: 30px;
  }

  .service-image {
    max-width: 100%;
  }

  .service-content h3 {
    font-size: 24px;
  }

  .service-content p {
    font-size: 15px;
  }
}

.visit-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background: #fff;
  color: #0077ff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.visit-btn:hover {
  background: #0077ff;
  color: #fff;
}

/* Clients Section */
.client-logos {
  padding: 60px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
}

.logos-track {
  display: flex;
  width: max-content; /* expands to fit all logos */
  animation: scroll 20s linear infinite;
}

.logo-carousel:hover .logos-track {
  animation-play-state: paused;
}

.logo-carousel img {
  height: 80px;
  margin: 0 30px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-carousel img:hover {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* move half since logos are duplicated */
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .logo-carousel img {
    height: 60px;
    margin: 0 20px;
  }
}

@media (max-width: 480px) {
  .logo-carousel img {
    height: 45px;
    margin: 0 15px;
  }
}

/* Future Growth Section */
.future-growth-section {
  background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
  padding: 80px 0;
  position: relative;
}

.future-growth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.future-growth-item {
  background: white;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  text-align: center;
  border: 1px solid rgba(0, 102, 204, 0.1);
}

.future-growth-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ffffff, #f8f9ff);
}

.future-growth-item h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.future-growth-item h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.future-growth-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}

@media (max-width: 768px) {
  .future-growth-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .future-growth-item {
    padding: 25px 20px;
  }

  .future-growth-item h3 {
    font-size: 20px;
  }
}

/* Stats Bar Styles */
.stats-bar {
  background: linear-gradient(135deg, #abcbeb, #68abee);
  color: var(--dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-item i {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  display: block;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
  color: var(--primary);
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.8;
  font-weight: 500;
  color: var(--gray);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-item i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .navbar-menu {
    position: fixed;
    top: 120px;
    left: -110%;
    width: 60%;
    height: 60vh;
    background: white;
    flex-direction: column;
    align-items: right;
    justify-content: center;
    transition: all 0.5s ease;
  }
  .navbar img {
    height: 70px;
    width: 130px;
  }

  .navbar-menu.active {
    left: 50;
    margin-right: 10px;
  }

  .navbar-menu li {
    margin: 5px 0;
  }
  .experience-box .stat-item .stat-label {
    color: rgba(18, 18, 192, 0.678);
  }
  .experience-box .stat-item .stat-number {
    color: rgba(18, 18, 192, 0.678);
  }
  .experience-box .stat-item i {
    color: rgba(18, 18, 192, 0.678);
  }

  .navbar-toggle {
    display: block;
    margin-right: 20px;
  }

  #count {
    font-size: 60px;
  }
  .learn-more-link {
    position: relative;
    top: 420px;
    left: 0px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .about-section {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 20px;
  }

  #count {
    font-size: 50px;
  }

  .experience-box .label {
    font-size: 18px;
  }
}

/* Small Laptop Responsiveness (1024px - 1366px) */
@media (max-width: 1366px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 13px;
  }

  .navbar-logo img {
    height: 60px;
  }

  .service-card {
    width: 280px;
    height: 250px;
  }

  .card-front .service-icon,
  .card-back .service-icon {
    font-size: 3rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-item i {
    font-size: 2.5rem;
  }

  .about-image img {
    width: 60%;
    margin-left: 60px;
  }

  .future-growth-item h3 {
    font-size: 20px;
  }

  .service-content h3 {
    font-size: 24px;
  }

  .experience-section {
    width: 250px;
  }

  .years-experience {
    padding: 15px 10px;
  }

  .stat-item {
    padding: 20px 15px;
  }
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: white;
  padding: 70px 0 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.footer-col:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-col:nth-child(3) {
  animation-delay: 0.4s;
}

.footer-col h3,
.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
}

.footer-col h3::after,
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer-col:hover h3::after,
.footer-col:hover h4::after {
  width: 80px;
}

.footer-col p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-col p:hover {
  color: white;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.footer-col ul li:hover {
  transform: translateX(5px);
}

.footer-col ul li a {
  color: #ccc;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-col i {
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--info);
  transition: all 0.3s ease;
}

.footer-col p:hover i {
  background: var(--primary);
  transform: rotate(360deg);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  list-style: none;
}

.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;
  list-style: none;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
  font-size: 14px;
}
.bike {
  z-index: 0;
  position: relative;
  top: -200px;
  left: 250px;
  border-radius: 10%;
}
.back-to-top {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 3;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-5px);
}
#loading-screen {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

/* KIET typing animation */
#loading-text {
  font-size: 48px;
  letter-spacing: 5px;
  color: #007bff;
  overflow: hidden;
  border-right: 3px solid #007bff;
  white-space: nowrap;
  width: 0;
  animation: typing 2.2s steps(5, end) 0.5s forwards,
    blink 0.7s step-end infinite;
}

/* 3 Dots loader */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.dots span {
  width: 10px;
  height: 10px;
  background-color: #007bff;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.dots span:nth-child(1) {
  animation-delay: 0s;
}
.dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Typing effect */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 5ch;
  }
}

/* Cursor blink */
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Dot bounce */
@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Fade out animation for loading screen */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Slide up animation for chatbot */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide down animation for chatbot */
@keyframes slideDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Slide in up animation for service cards */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card animation for service and future growth items */
.animate-card {
  opacity: 0;
  transform: translateY(50px);
  animation: cardFadeInUp 0.8s ease forwards;
  animation-play-state: paused;
}

.animate-card:nth-child(1) {
  animation-delay: 0.1s;
}

.animate-card:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-card:nth-child(3) {
  animation-delay: 0.3s;
}

.animate-card:nth-child(4) {
  animation-delay: 0.4s;
}

.animate-card:nth-child(5) {
  animation-delay: 0.5s;
}

.animate-card:nth-child(6) {
  animation-delay: 0.6s;
}

.animate-card:nth-child(7) {
  animation-delay: 0.7s;
}

.animate-card:nth-child(8) {
  animation-delay: 0.8s;
}

.animate-card:nth-child(9) {
  animation-delay: 0.9s;
}

.animate-card:nth-child(10) {
  animation-delay: 1s;
}

@keyframes cardFadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About section animations */
.animate-about {
  opacity: 0;
  transform: translateY(30px);
  animation: aboutFadeInUp 0.8s ease forwards;
  animation-play-state: paused;
}

.animate-about:nth-child(1) {
  animation-delay: 0.2s;
}

.animate-about:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes aboutFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
