:root {
  /* Light Theme Colors */
  --primary-color: #ffc107;
  --primary-light: #ffecb3;
  --primary-dark: #ffa000;
  --primary-gradient: linear-gradient(45deg, #ffc107, #ffeb3b);
  --text-color: #333333;
  --text-light: #757575;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --card-bg: #ffffff;
  --border-color: #eeeeee;
  --shadow-color: rgba(0, 0, 0, 0.08);

  /* Font settings */
  --body-font: "Poppins", sans-serif;
  --heading-font: "Poppins", sans-serif;

  /* Transitions */
  --transition: all 0.3s ease;

  /* Dark Theme Colors */
  --bg-dark: #121212;
}

/* Dark Theme Colors */
.dark-theme {
  --primary-color: #ffc107;
  --primary-light: #5d4203;
  --primary-dark: #ffd54f;
  --primary-gradient: linear-gradient(45deg, #ffc107, #ffd54f);
  --text-color: #e0e0e0;
  --text-light: #bdbdbd;
  --bg-color: #121212;
  --bg-light: #1e1e1e;
  --card-bg: #1e1e1e;
  --border-color: #333333;
  --shadow-color: rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  right: 20px;
  top: 90px;
  z-index: 1000;
  background: var(--card-bg);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 2px 10px var(--shadow-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle i {
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-color);
  padding: 5px;
  margin: 0 5px;
  transition: var(--transition);
}

.theme-toggle i:hover {
  color: var(--primary-color);
}

.light-theme #light-mode,
.dark-theme #dark-mode {
  color: var(--primary-color);
}

/* Navbar and Logo Styles */
.navbar {
  padding: 0.15rem 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
}

.navbar-brand {
  padding: 0;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
  color: #000000; /* Default black color for light mode */
}

.logo-text .accent {
  color: var(--primary-color);
}

/* Dark theme navbar */
.dark-theme .navbar {
  background-color: #1a1a1a;
}

.dark-theme .logo-text {
  color: #ffffff; /* White color for dark mode */
}

/* Add styles for navbar toggler */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* Light theme navbar */
.light-theme .navbar {
  background-color: #ffffff;
}

.light-theme .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dark theme navbar toggler icon */
.dark-theme .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Remove all transition effects */
.navbar,
.navbar-brand,
.navbar-logo {
  transition: none;
}

.navbar-brand img {
  height: 80px;
  width: auto;
}

.navbar-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav-item {
  margin: 0 0.5rem;
}

/* Navigation items styling */
.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

/* Active state and hover styling */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* Underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Remove any default Bootstrap underlines or borders */
.nav-link::before {
  display: none !important;
}

.navbar-nav .btn {
  margin-left: 15px;
  padding: 8px 20px;
  border-radius: 50px;
}

/* Button Styles */
.btn {
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-lg {
  padding: 12px 30px;
  font-size: 1rem;
}

.btn-link {
  color: var(--primary-color);
  font-weight: 500;
  padding: 0;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.btn-link:hover i {
  transform: translateX(5px);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
  background: var(--bg-light);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .row {
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0.05;
  border-radius: 0 0 0 100%;
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-bottom: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.hero h1,
.hero .lead {
  text-align: center;
  width: 100%;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.text-animate {
  width: 100%;
  text-align: center;
  margin: 20px 0;
}

.text-animate h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: transparent;
  -webkit-text-stroke: 0.05rem #ffc107;
  background: var(--gradient-color-bg);
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  background-position: 0 0;
  transition: background-position 0.6s ease-in-out;
  letter-spacing: 2px;
  animation: moveText 3s linear infinite;
  animation-delay: 2s;
  display: inline-block;
  white-space: nowrap;
}

.text-animate h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 2px;
  height: 70%;
  background-color: var(--main-color);
  transform: translateY(-50%);
  animation: moveCursorText 3s linear infinite;
  animation-delay: 2s;
}

/* Keyframes */
@keyframes moveText {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

@keyframes moveCursorText {
  0%,
  100% {
    left: -5px;
    opacity: 1;
  }
  50% {
    left: 100%;
    opacity: 0.5;
  }
}

/* Keyframes */

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
  align-self: center;
}

.hero-image {
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: auto;
}

.hero-wave path {
  fill: var(--bg-color);
}

/* Services Section */
.services-highlight {
  padding: 40px 0;
  background-color: var(--bg-color);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Add styles for highlighted keywords */
.section-header .highlight {
  color: transparent;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  display: inline-block;
}

/* Remove the underline since we're using gradient text */
.section-header h2::after {
  display: none;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card .icon-container {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card .icon-container i {
  color: var(--bg-color);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.service-card .btn-link {
  position: relative;
  z-index: 1;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  margin-top: auto;
  align-self: center;
}

.service-card .btn-link i {
  margin-left: 8px;
  transition: var(--transition);
}

.service-card .btn-link:hover i {
  transform: translateX(5px);
}

/* Featured Projects */
.featured-projects {
  padding: 40px 0;
  background-color: var(--bg-light);
}

.project-card {
  border-radius: 15px;
  overflow: hidden;
  background-color: var(--card-bg);
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: var(--transition);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 25px;
  text-align: center;
}

.project-info h4 {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-color);
}

.project-info .btn-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.project-info .btn-link:hover {
  color: var(--primary-dark);
}

/* AI Automation card: left-align the case study link and restore colors */
.project-info.ai-automation {
  text-align: left;
}

.project-info.ai-automation .btn-link {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-top: 0.5rem;
  padding-left: 0;
}

.project-info.ai-automation .btn-link:hover {
  color: var(--primary-dark);
}

/* Center the title and category for AI Automation card */
.project-info.ai-automation h4,
.project-info.ai-automation .category {
  text-align: center;
}

.project-info .btn-link i {
  margin-left: 8px;
  transition: var(--transition);
}

.project-info a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.project-info a:hover {
  color: var(--primary-color);
}

.project-info .category {
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.project-info .description {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  font-weight: 400;
}

/* Testimonials */
.testimonials {
  padding: 40px 0 120px;
  background-color: var(--bg-light);
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-bottom: -20px;
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 40px;
  margin-bottom: -20px;
}

.testimonial-track {
  display: flex;
  animation: slideTrack 25s linear infinite;
  gap: 25px;
  padding: 10px 0;
  width: fit-content;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-item {
  min-width: 320px;
  max-width: 320px;
  padding: 0 15px;
  flex-shrink: 0;
}

.testimonial-content {
  background: var(--bg-color);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  min-height: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;
}

.testimonial-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.client-rating {
  margin-bottom: 10px;
  justify-content: center;
}

.client-rating i {
  color: var(--primary-color);
  margin-right: 3px;
  font-size: 0.9rem;
}

/* Update avatar styles */
.client-avatar {
  width: 45px;
  height: 45px;
  margin-right: 15px;
  flex-shrink: 0;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.client-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  order: -1;
  justify-content: center;
}

.client-details {
  flex: 1;
}

.client-details h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}

.client-details p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .testimonial-item {
    min-width: 300px;
    max-width: 300px;
  }
  @keyframes slideTrack {
    100% {
      transform: translateX(calc(-1 * (300px + 25px) * 4));
    }
  }
}

@media (max-width: 768px) {
  .testimonial-item {
    min-width: 280px;
    max-width: 280px;
  }
  @keyframes slideTrack {
    100% {
      transform: translateX(calc(-1 * (280px + 25px) * 4));
    }
  }
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
  background: linear-gradient(
    45deg,
    #ffc107,
    #ffd700
  ); /* Yellow to gold gradient */
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 40px 20px;
}

/* ===== CTA SECTION RE-DESIGN ===== */
.cta-section {
  background: #1f1f1f; /* same dark grey as footer */
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  padding: 60px 30px;
  text-align: center;
  margin: 80px auto;
  max-width: 1100px;
}

/* Light theme CTA section */
.light-theme .cta-section {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.light-theme .cta-section h2 {
  color: #000000;
}

.light-theme .cta-section h2 span {
  color: #ffcc00;
}

.light-theme .cta-section p {
  color: #333333;
}

/* Heading */
.cta-section h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Highlight word */
.cta-section h2 span {
  color: #ffcc00;
}

/* Description */
.cta-section p {
  color: #d1d1d1;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}



/* Footer */
.footer {
  background-color: var(--bg-light);
  padding: 70px 0 20px;
  position: relative;
}

.footer-brand h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-brand span {
  color: var(--primary-color);
}

.footer-brand p {
  color: var(--text-light);
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.footer h5 {
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--primary-gradient);
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--text-light);
}

.contact-info i {
  margin-right: 15px;
  width: 20px;
  color: var(--primary-color);
}

.newsletter {
  margin-top: 30px;
}

.newsletter h6 {
  font-weight: 600;
  margin-bottom: 15px;
}

.newsletter-form {
  position: relative;
  display: flex;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  background-color: var(--bg-color);
  color: var(--text-color);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.newsletter-form button {
  position: absolute;
  right: 5px;
  top: 5px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 50px;
  border-top: 1px solid var(--border-color);
}

/* Media Queries */
@media (max-width: 991.98px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-text {
    padding-bottom: 40px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    margin: 5px 0;
  }

  .service-card {
    height: auto;
    min-height: auto;
    margin-bottom: 30px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stats-bottom-row .stat-card-large {
    margin-bottom: 20px;
  }

  /* Update services grid */
  .services-highlight .row.g-4 > [class*="col-md-3"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Update projects grid */
  .featured-projects .row.g-4 > [class*="col-md-6"] {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Update stats grid */
  .stats-bottom-row .row.g-4 > [class*="col-md-3"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767.98px) {
  .hero h1,
  .gradient-text {
    font-size: 2.5rem;
  }

  .hero .lead {
    font-size: 1.1rem;
  }

  .project-card {
    margin-bottom: 30px;
  }

  .testimonial-content {
    min-height: 350px;
    padding: 25px;
    gap: 15px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    -webkit-line-clamp: 5;
  }

  .footer {
    text-align: center;
  }

  .footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .contact-info li {
    justify-content: center;
  }

  .process-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.4rem;
  }

  .hero h1,
  .gradient-text {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .service-card,
  .project-card,
  .process-card {
    padding: 20px;
  }

  .cta-section {
    margin: 20px 10px;
    padding: 40px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .testimonial-item {
    min-width: 260px;
    max-width: 260px;
  }

  .testimonial-content {
    min-height: 300px;
    padding: 20px;
    gap: 10px;
  }

  .testimonial-text {
    font-size: 0.9rem;
    -webkit-line-clamp: 4;
  }

  .client-details h4 {
    font-size: 1.1rem;
  }

  .client-details p {
    font-size: 0.85rem;
  }

  .stats-title {
    font-size: 1.8rem;
  }

  .stat-card-large h3 {
    font-size: 2.2rem;
  }
}

/* Animations */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos].aos-animate {
  transform: translateY(0) translateX(0) scale(1);
}

/* Add these styles for the animated text */
.animated-title {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
  line-height: 1.3;
}

.gradient-text {
  position: relative;
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px var(--primary-color);
  font-size: 3.5rem;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
  font-weight: 700;
}

.gradient-text::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  color: var(--primary-color);
  -webkit-text-stroke: 0px var(--primary-color);
  border-right: 3px solid var(--primary-color);
  overflow: hidden;
  animation: animate 6s steps(15) infinite, blink-cursor 0.7s steps(2) infinite;
  white-space: nowrap;
  filter: drop-shadow(0 0 25px var(--primary-color));
}

@keyframes animate {
  0%,
  10%,
  100% {
    width: 0;
  }
  60%,
  90% {
    width: 100%;
  }
}

@keyframes blink-cursor {
  0%,
  75% {
    opacity: 1;
  }
  76%,
  100% {
    opacity: 0;
  }
}

/* Add responsive styles */
@media (max-width: 768px) {
  .gradient-text {
    font-size: 2rem;
    -webkit-text-stroke: 1px var(--primary-color);
    margin: 5px 0;
  }

  .animated-title {
    line-height: 1.2;
  }
}

/* Add these styles for both navbar and hero buttons */
.navbar-nav .nav-link.btn.btn-primary,
.hero .btn-primary {
  color: #000000 !important;
  font-weight: 600;
}

.navbar-nav .nav-link.btn.btn-primary:hover,
.hero .btn-primary:hover {
  color: #000000 !important;
}

/* Project Modal Styles */
.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  overflow-y: auto;
}

.modal-content {
  background: var(--bg-color);
  max-width: 800px;
  margin: 50px auto;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.modal-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  margin: 0;
  color: var(--text-color);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.close-btn:hover {
  color: var(--primary-color);
}

.modal-body {
  padding: 30px;
}

.project-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: 15px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.project-details h3 {
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.project-details p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.software-list {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.software-list span {
  padding: 8px 15px;
  background: var(--bg-light);
  border-radius: 20px;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 15px;
}

.meta-item h4 {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.meta-item p {
  font-size: 1.1rem;
  color: var(--text-color);
  margin: 0;
}

.view-project {
  width: 100%;
  text-align: center;
}

/* Modal Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content {
  animation: modalFadeIn 0.3s ease-out;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .modal-content {
    margin: 20px;
  }

  .project-stats {
    flex-direction: column;
    gap: 20px;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }
}

/* Update testimonial carousel styles */
.testimonial-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.testimonial-track {
  display: flex;
  animation: slideTrack 25s linear infinite;
  gap: 25px;
  padding: 10px 0;
  width: fit-content;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-item {
  min-width: 320px;
  max-width: 320px;
  padding: 0 15px;
  flex-shrink: 0;
}

.testimonial-content {
  background: var(--bg-color);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  min-height: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;
}

.testimonial-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.client-rating {
  margin-bottom: 10px;
  justify-content: center;
}

.client-rating i {
  color: var(--primary-color);
  margin-right: 3px;
  font-size: 0.9rem;
}

.client-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  order: -1;
  justify-content: center;
}

.client-details {
  flex: 1;
}

.client-details h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}

.client-details p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Update animation keyframes */
@keyframes slideTrack {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * (320px + 25px) * 4));
  }
}

/* Update responsive animations */
@media (max-width: 1200px) {
  .testimonial-item {
    min-width: 300px;
    max-width: 300px;
  }
  @keyframes slideTrack {
    100% {
      transform: translateX(calc(-1 * (300px + 25px) * 4));
    }
  }
}

@media (max-width: 768px) {
  .testimonial-item {
    min-width: 280px;
    max-width: 280px;
  }
  @keyframes slideTrack {
    100% {
      transform: translateX(calc(-1 * (280px + 25px) * 4));
    }
  }
}

/* Update Process Section Styles */
.process-section {
  padding: 80px 0;
  background-color: var(--bg-color);
  position: relative;
  z-index: 1;
}

.process-card {
  background: var(--bg-color);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
  position: relative;
  overflow: hidden;
  height: 100%;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-card:hover {
  transform: translateY(-10px);
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.process-card:hover::before {
  opacity: 0.05;
}

.process-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.process-icon i {
  color: var(--bg-color);
  font-size: 1.5rem;
}

.process-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.process-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.process-arrow {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.5rem;
  z-index: 2;
}

/* Hide last arrow */
.process-card:last-child .process-arrow {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .process-arrow {
    display: none;
  }

  .process-card {
    margin-bottom: 2rem;
  }
}

/* Stats Section Styles */
.stats-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  position: relative;
}

.stats-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.stats-title .highlight {
  color: transparent;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.stats-description {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-color);
}

.features-list li i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  padding: 20px;
}

.stat-card {
  background: var(--bg-color);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-card p {
  color: var(--text-light);
  margin: 0;
  font-size: 1rem;
}

/* Responsive styles */
@media (max-width: 991.98px) {
  .stats-title {
    font-size: 2.2rem;
  }

  .stats-grid {
    margin-top: 40px;
  }
}

@media (max-width: 575.98px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Update bottom stats row styles */
.stats-bottom-row {
  margin-top: 20px;
  padding-top: 0;
}

.stats-bottom-row .row {
  margin-top: 0 !important;
}

.stat-card-large {
  background: var(--bg-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.stat-card-large:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-card-large h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.stat-card-large p {
  color: var(--text-light);
  margin: 0;
  font-size: 1.1rem;
}

/* Update responsive styles */
@media (max-width: 991.98px) {
  .stat-card-large h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .stats-bottom-row {
    margin-top: 10px;
  }

  .stat-card-large {
    padding: 30px 20px;
  }
}

/* Update responsive breakpoints */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3rem;
  }

  .gradient-text {
    font-size: 3rem;
  }

  .stats-grid {
    gap: 20px;
    padding: 15px;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 20px 0;
  }

  .navbar-nav .nav-link.btn {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-text {
    padding-bottom: 40px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    margin: 5px 0;
  }

  .service-card {
    height: auto;
    min-height: auto;
    margin-bottom: 30px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stats-bottom-row .stat-card-large {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .hero h1,
  .gradient-text {
    font-size: 2.5rem;
  }

  .hero .lead {
    font-size: 1.1rem;
  }

  .project-card {
    margin-bottom: 30px;
  }

  .testimonial-content {
    min-height: 350px;
    padding: 25px;
    gap: 15px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    -webkit-line-clamp: 5;
  }

  .footer {
    text-align: center;
  }

  .footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }

  .contact-info li {
    justify-content: center;
  }

  .process-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.4rem;
  }

  .hero h1,
  .gradient-text {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .service-card,
  .project-card,
  .process-card {
    padding: 20px;
  }

  .cta-section {
    margin: 20px 10px;
    padding: 40px 20px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .testimonial-item {
    min-width: 260px;
    max-width: 260px;
  }

  .testimonial-content {
    min-height: 300px;
    padding: 20px;
    gap: 10px;
  }

  .testimonial-text {
    font-size: 0.9rem;
    -webkit-line-clamp: 4;
  }

  .client-details h4 {
    font-size: 1.1rem;
  }

  .client-details p {
    font-size: 0.85rem;
  }

  .stats-title {
    font-size: 1.8rem;
  }

  .stat-card-large h3 {
    font-size: 2.2rem;
  }
}

/* Add styles for better mobile navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-top: 15px;
  }

  .navbar-nav .nav-item {
    width: 100%;
    margin: 5px 0;
  }

  .navbar-nav .nav-link {
    padding: 10px 20px;
    text-align: center;
  }
}

/* Improve grid responsiveness */
@media (max-width: 991.98px) {
  .row.g-4 > [class*="col-"] {
    padding: 10px;
  }

  .stats-bottom-row .row {
    margin: 0 -10px;
  }
}

/* Fix testimonial carousel on mobile */
@media (max-width: 575.98px) {
  @keyframes slideTrack {
    100% {
      transform: translateX(calc(-1 * (260px + 25px) * 4));
    }
  }
}

/* Improve CTA section responsiveness */
@media (max-width: 767.98px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* Process Section Responsive Styles */
@media (max-width: 991.98px) {
  .process-card {
    margin-bottom: 30px;
  }

  /* Hide arrows on tablet view since cards will be in 2x2 grid */
  .process-arrow {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Add down arrows for first two cards in tablet view */
  .process-card::after {
    content: "\f063"; /* Font Awesome down arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 2;
  }

  /* Remove down arrow from last two cards */
  .col-md-6:nth-child(3) .process-card::after,
  .col-md-6:nth-child(4) .process-card::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .process-card {
    margin-bottom: 40px;
  }

  /* Show down arrows for all cards except last on mobile */
  .process-card::after {
    content: "\f063";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 2;
  }

  /* Remove arrow from last card */
  .col-md-6:last-child .process-card::after {
    display: none;
  }
}

/* Featured Projects Responsive Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .featured-projects .row {
    --bs-gutter-y: 2rem;
  }

  /* Style for the bottom centered project */
  .featured-projects .order-md-3 {
    margin-top: 2rem;
  }

  /* Adjust spacing for the top two projects */
  .featured-projects .order-md-1,
  .featured-projects .order-md-2 {
    margin-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .featured-projects .project-card {
    margin-bottom: 30px;
  }

  /* Remove margin from last card */
  .featured-projects .project-card:last-child {
    margin-bottom: 0;
  }
}

/* Industry Sectors Section */
.industry-sectors {
  padding: 80px 0;
  background: var(--bg-color);
  position: relative;
}

/* Remove the sector-specific styles since we're using service-card */
@media (max-width: 991.98px) {
  .industry-sectors .row.g-4 > [class*="col-md-3"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767.98px) {
  .industry-sectors {
    padding: 60px 0;
  }

  .industry-sectors .row.g-4 > [class*="col-md-3"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.services-hero {
  background: linear-gradient(
    135deg,
    var(--bg-color) 0%,
    var(--bg-secondary) 100%
  );
  position: relative;
  overflow: hidden;
}

.services-hero .hero-subtitle {
  display: inline-block;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.services-hero .service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.services-hero .highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-hero .highlight-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.services-hero .highlight-item span {
  font-weight: 500;
}

.services-hero .image-wrapper {
  position: relative;
  padding: 2rem;
}

.services-hero .floating {
  animation: float 6s ease-in-out infinite;
}

.services-hero .shape-1,
.services-hero .shape-2 {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.services-hero .shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-gradient);
  opacity: 0.1;
  top: -50px;
  right: -100px;
}

.services-hero .shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-gradient);
  opacity: 0.1;
  bottom: -30px;
  left: -50px;
}

@media (max-width: 991.98px) {
  .services-hero .hero-text {
    text-align: center;
    padding: 2rem 0;
  }

  .services-hero .service-highlights {
    justify-content: center;
  }

  .services-hero .shape-1,
  .services-hero .shape-2 {
    display: none;
  }
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
  .logo-text {
    font-size: 20px;
  }
}

/* Active state styling */
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
  background-color: var(--primary-color);
}

/* Remove the scroll-based active state for the Services link */
.navbar-nav .nav-link[href="services.html"].active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.navbar-nav .nav-link[href="services.html"].active::after {
  width: 100%;
  background-color: var(--primary-color);
}

/* Portfolio Section Styles */
.section-heading {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-heading h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

.section-heading:hover h2 {
  color: var(--primary-dark);
}

.section-heading:not(:first-of-type) {
  margin-top: 5rem;
}

/* Project Card Styles */
.project-card {
  background: var(--dark-bg);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(255, 206, 9, 0.1);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 206, 9, 0.1);
}

.project-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 2rem;
}

.project-info h4 {
  color: var(--text-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-info .category {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project-info .description {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  opacity: 0.8;
  margin-top: 1rem;
}

/* Case Study Stats Styles */
.case-study-stats {
  display: flex;
  justify-content: space-between;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 206, 9, 0.1);
  border-bottom: 1px solid rgba(255, 206, 9, 0.1);
}

.stat {
  text-align: center;
  flex: 1;
}

.stat .number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat .label {
  font-size: 0.8rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Button Link Styles */
.btn-link {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.btn-link:hover {
  gap: 1rem;
  color: var(--primary-color);
}

.btn-link i {
  font-size: 0.8rem;
}

/* Portfolio Content Section */
.portfolio-content {
  padding: 80px 0;
}

/* Animation Styles */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .case-study-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat {
    padding: 0.5rem 0;
  }
}

/* Calendly Section Styles */
.calendly-section {
  padding: 80px 0;
  background: var(--dark-bg);
}

.calendly-section .section-title {
  margin-bottom: 1.5rem;
}

/* Chatbot Styles */
.chat-bot-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.chat-bot-icon:hover {
  transform: scale(1.1);
}

.chat-bot-icon i {
  font-size: 24px;
  color: var(--dark-bg);
}

.chat-overlay {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  height: 500px;
  background: var(--dark-bg);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  z-index: 1000;
  border: 1px solid rgba(255, 206, 9, 0.1);
}

.chat-overlay.show {
  display: flex;
}

.chat-header {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 206, 9, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h5 {
  margin: 0;
  color: var(--text-color);
}

.close-chat {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 5px;
}

.chat-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 15px;
}

.chat-input-wrapper {
  display: flex;
  gap: 10px;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: 1px solid rgba(255, 206, 9, 0.1);
  border-radius: 5px;
  background: var(--dark-bg);
  color: var(--text-color);
}

#send-message {
  background: var(--primary-color);
  border: none;
  border-radius: 5px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#send-message i {
  color: var(--dark-bg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .chat-overlay {
    width: calc(100% - 40px);
    height: 60vh;
    bottom: 100px;
  }
}

/* Contact Popup Yellow Border */
#contactModal .modal-content {
  border: 2px solid #ffcc00;   /* Yellow border */
  border-radius: 14px;         /* Smooth rounded corners */
}

/* Optional: Header bottom border */
#contactModal .modal-header {
  border-bottom: 1px solid #ffcc00;
}

/* Optional: Footer top border (if footer exists) */
#contactModal .modal-footer {
  border-top: 1px solid #ffcc00;
}

/* ===== CTA SECTION RE-DESIGN ===== */
.cta-section {
  background: #1f1f1f; /* same dark grey as footer */
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  padding: 60px 30px;
  text-align: center;
  margin: 80px auto;
  max-width: 1100px;
}

/* Light theme CTA section */
.light-theme .cta-section {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.light-theme .cta-section h2 {
  color: #000000;
}

.light-theme .cta-section h2 span {
  color: #ffcc00;
}

.light-theme .cta-section p {
  color: #333333;
}

/* Heading */
.cta-section h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Highlight word */
.cta-section h2 span {
  color: #ffcc00;
}

/* Description */
.cta-section p {
  color: #d1d1d1;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* CTA Button */
.cta-section .btn {
  background: #ffcc00;
  color: #111;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease;
}

/* Button hover */
.cta-section .btn:hover {
  background: #ffd633;
  transform: translateY(-2px);
}

/* Mobile responsiveness */


@media (max-width: 576px) {
  .cta-section {
    padding: 40px 20px;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .cta-section p {
    font-size: 16px;
  }

  /* Fix button overlap: Stack vertically with gaps */
  .cta-section .btn-container,
  .cta-section {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between buttons */
    align-items: stretch; /* Full width */
  }

  .cta-section .btn {
    width: 100%; /* Prevent squeezing */
    margin: 0; /* Reset any margins causing overlap */
    flex-shrink: 0; /* No shrinking */
  }
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* SECTION */
.team-section {
  background: linear-gradient(135deg, #ffdf8c, #f5c76a);
  padding: 80px 5%;
  text-align: center;
}

/* HEADINGS */
.team-section h2 {
  font-size: 42px;
  color: #111;
  margin-bottom: 10px;
}

.team-section h2 span {
  color: #c88719;
}

.subtitle {
  color: #333;
  margin-bottom: 50px;
  font-size: 16px;
}

/* ROWS */
.team-row {
  display: grid;
  gap: 30px;
  justify-content: center;
  margin-bottom: 50px;
}

.row-3 {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.row-4 {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

/* CARDS */
.team-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card.small {
  padding: 30px 20px;
}

/* AVATAR */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 3px solid #c88719;
  background: #eeeeee;
  ;
  
}

.avatar img {
  width: 100%;
  height: 120%;
  object-fit: top center cover;
  transition: transform 0.3s ease;
  border-radius: 50%;
  /* background-position: center top */
  background-position: 100% 25%;
}

.team-card:hover .avatar img {
  transform: scale(1.5);
}

/* AVATAR1 */
.avatar,
.avatar1 {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 4px solid #c88719;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;

}

.avatar img,
.avatar1 img {
  width: 100%;
  height: 100%;
  object-fit: top cover;
  transition: transform 0.3s ease;
  display: block;
  border-radius: 50%;
  background-position: 50% 60%;
}

.team-card:hover .avatar img,
.team-card:hover .avatar1 img {
  transform: scale(1.05);
}
/* TEXT */
.team-card h3 {
  font-size: 20px;
  color: #969494;
  margin-bottom: 6px;
  
}

.team-card span {
  display: block;
  font-size: 14px;
  color: #c88719;
  font-weight: 600;
  margin-bottom: 12px;
  
}

.team-card p {
  font-size: 14px;
  color: #938f8f;
  line-height: 1.6;
  border: #bdbdbd;
  
}


/* RESPONSIVE */
@media (max-width: 1024px) {
  .row-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .row-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .row-3,
  .row-4 {
    grid-template-columns: 1fr;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .chat-overlay {
    width: calc(100% - 40px);
    height: 60vh;
    bottom: 100px;
  }
}

/* LinkedIn Button */
.linkedin-btn {
  display: inline-flex;
  align-items: top center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #0A66C2, #0051B8);
  border-radius: 8%;
  text-decoration: none;
  margin-top: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
  
}

.linkedin-btn span {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  font-family: Arial, sans-serif;
}

.linkedin-btn:hover {
  transform: scale(1.2);
  box-shadow: 0 10px 30px rgba(10, 102, 194, 0.6);
}
.linkedin-btn {
  margin: 12px auto 0;   /* auto = center */
  display: flex;        /* keeps icon centered inside */
}


