/* style.css - Fully Responsive with animations */
/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
/* @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css"); */

/* Base Styles */
:root {
  --primary-color: #ac3436;
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
}

/* Dark Mode Styles */
/* body.dark-mode {
    background-color: #1a1a1a;
    color: #f8f9fa;
}

body.dark-mode .navbar-dark.bg-white {
    background-color: #212529 !important;
}

body.dark-mode .navbar-dark .nav-link {
    color: #f8f9fa !important;
}

body.dark-mode .card {
    background-color: #2d2d2d;
    color: #f8f9fa;
}

body.dark-mode .bg-light {
    background-color: #2d2d2d !important;
}

body.dark-mode .text-muted {
    color: #adb5bd !important;
}

body.dark-mode .btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

body.dark-mode .btn-outline-light:hover {
    color: #212529;
    background-color: #f8f9fa;
}


.form-check-input:checked {
    background-color: #ac3436;
    border-color: #ac3436;
}

.form-check-label i {
    color: var(--dark-color);
}

body.dark-mode .form-check-label i {
    color: #f8f9fa;
} */

/* Base responsive font sizes */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #ac3436 #f1f1f1;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  padding-top: 56px;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Responsive Typography */
h1 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}
h5 {
  font-size: clamp(1rem, 2vw, 1.25rem);
}
h6 {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: #ac3436;
  border-radius: 5px;
  border: 1px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: #8a2a2b;
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.carousel-item img {
  height: 100vh;
  object-fit: cover;
  width: 100%;
}

.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 1);
  display: flex;
  align-items: center;
  padding: 0;
}

/* Fix for clickable arrow buttons */
.carousel-control-prev,
.carousel-control-next {
  z-index: 1000 !important;
  width: 5% !important;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 30px;
  height: 30px;
  background-size: 100%;
  pointer-events: none;
}

/* Ensure buttons are clickable */
.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-indicators {
  bottom: 20px;
  z-index: 999;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
}

.carousel-indicators button.active {
  background-color: white;
}

.carousel-control-prev .carousel-control-next .btn-outline-light {
  border: 2px solid white;
  color: white;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.carousel-control-prev .carousel-control-next .btn-outline-light:hover {
  background-color: white;
  color: #333;
  transform: translateY(-2px);
}

#button-margin-left {
  margin-left: 11%;
}

/* Mobile view */
@media only screen and (max-width: 767px) {
  #button-margin-left {
    margin-left: 0%; /* Smaller percentage for mobile */
    /* OR use a fixed value like: */
    /* margin-left: 20px; */
  }
}

/* Carousel image brightness adjustment */
#heroCarousel .carousel-item img {
  filter: brightness(1.4);
}

/* Slow down carousel transition animation */
#heroCarousel .carousel-item {
  transition: transform 1.5s ease-in-out;
}

/* Optional: Add smooth fade effect between slides */
/* #heroCarousel .carousel-item.active {
  animation: fadeIn 1.5s;
} */

@keyframes fadeIn {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

.navbar {
  padding: 15px 0;
  background-color: white !important;
}
.navbar-brand img {
  height: 50px;
}
.nav-link {
  color: #333 !important;
  font-weight: 500;
  margin: 0 10px;
}
.navbar-toggler {
  border: none;
  padding: 5px;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.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%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Animation */
.navbar .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

.navbar .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Optional: Add transition for the dropdown arrow */
.navbar .dropdown-toggle::after {
  transition: transform 0.3s ease-in-out;
}

.navbar .dropdown-toggle.show::after {
  transform: rotate(180deg);
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

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

.preloader-content {
  text-align: center;
  padding: 20px;
}

.preloader-logo {
  width: min(200px, 50vw);
  height: auto;
  margin-bottom: 20px;
  animation: pulse 1.5s infinite ease-in-out;
}

.preloader-spinner {
  width: min(50px, 15vw);
  height: min(50px, 15vw);
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ac3436;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Text Animation Classes */
.animate-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.animate-text-delay-1 {
  animation-delay: 0.2s;
}
.animate-text-delay-2 {
  animation-delay: 0.4s;
}
.animate-text-delay-3 {
  animation-delay: 0.6s;
}

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

/* Hero Section - Fully Responsive */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100%;
}

.hero-section .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: transform 8s ease;
}

.hero-section .carousel-item:hover img {
  transform: scale(1.05);
}

.hero-section .carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  text-align: left;

  padding: 20px;
}

.hero-section .carousel-caption h1 {
  margin-left: 100px;
}
.hero-section .carousel-caption p {
  margin-left: 100px;
}

.hero-section .carousel-caption #first {
  margin-left: 100px;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

/* Section Header - Responsive */
.section-header {
  max-width: min(800px, 90vw);
  margin: 0 auto;
  text-align: center;
  padding: 0 15px;
}

.section-header h2 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100px, 30vw);
  height: 3px;
  background-color: var(--primary-color);
  animation: expandLine 1s ease-out forwards;
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: min(100px, 30vw);
  }
}

/* Service Cards - Responsive */
.service-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: perspective(1000px) rotateY(15deg);
  opacity: 0;
  /* padding: 20px; */
  /* margin-bottom: 20px; */
  height: 100vh;
}

.service-card.animated {
  opacity: 1;
  transform: perspective(1000px) rotateY(0);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: min(60px, 15vw);
  height: min(60px, 15vw);
  background-color: rgba(13, 110, 253, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 4vw, 24px);
  color: var(--primary-color);
  transition: all 0.3s ease;
  /* margin: 0 auto 15px; */
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
  background-color: var(--primary-color);
  color: white;
}

/* Industry Cards - Responsive */
.industry-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: clamp(20px, 4vw, 30px);
  opacity: 0;
  transform: translateY(30px);
  margin-bottom: 20px;
  height: 100%;
  text-align: center;
}

.industry-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.industry-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.industry-icon {
  width: min(80px, 20vw);
  height: min(80px, 20vw);
  margin: 0 auto 15px;
  background-color: rgba(13, 110, 253, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(24px, 5vw, 32px);
  color: var(--primary-color);
  transition: all 0.5s ease;
}

.industry-card:hover .industry-icon {
  transform: rotateY(180deg);
  background-color: var(--primary-color);
  color: white;
}

/* Button Animations - Responsive */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
  font-size: clamp(0.875rem, 2vw, 1rem);
  /* padding: clamp(8px, 2vw, 12px) clamp(16px, 4vw, 24px); */
  border-radius: 5px;
}

.btn-outline-danger {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-danger:hover {
  color: white;
}

.btn-outline-danger::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-outline-danger:hover::before {
  left: 0;
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  color: var(--primary-color);
}

.btn-outline-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-outline-light:hover::before {
  left: 0;
}

/* Contact Form - Responsive */
#contactForm .form-control,
#contactForm .form-select {
  padding: clamp(10px, 2vw, 15px);
  border-radius: 5px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  font-size: clamp(0.875rem, 2vw, 1rem);
  width: 100%;
}

#contactForm .form-control:focus,
#contactForm .form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* This works in Chrome/Edge/Safari */
#contactForm option:hover,
#contactForm option:checked {
  background: #ac3436;
  color: white;
}

/* This works in Firefox */
@-moz-document url-prefix() {
  #contactForm option:hover,
  #contactForm option:focus,
  #contactForm option:checked {
    background-color: #ac3436 !important;
    color: white !important;
  }
}

/* Footer - Responsive */
footer {
  padding: clamp(30px, 5vw, 50px) 0;
}

footer a {
  position: relative;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

footer a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

/* Back to top button - Responsive */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: min(50px, 12vw);
  height: min(50px, 12vw);
  background-color: #ac3436;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  font-size: clamp(16px, 3vw, 20px);
}

.back-to-top.active {
  opacity: 1;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(172, 52, 54, 0.4);
}

/* Partners horizontal scroll - Responsive */
.partners-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.partners-scroll {
  overflow: hidden;
}

.partners-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.partner-item {
  flex: 0 0 clamp(100px, 20vw, 150px);
  margin-right: clamp(15px, 3vw, 30px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: scale(1.1);
}

.partner-item img {
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partners-container:hover .partners-track {
  animation-play-state: paused;
}

/* Counter Styles - Responsive */
.counter {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.2;
  transition: all 0.3s ease;
  font-weight: 700;
}

/* FAQ Accordion - Responsive Styles */
#faqAccordion .accordion-item {
  width: 100%;
  margin-bottom: 10px;
}

#faqAccordion .accordion-button {
  padding: clamp(15px, 3vw, 25px);
  text-align: left;
  font-size: clamp(0.875rem, 2vw, 1rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 855px; /* Your exact fixed width */
  max-width: 100%; /* Ensures it doesn't overflow on smaller screens */
  box-sizing: border-box; /* Includes padding in width calculation */
}

/* Rest of your existing styles remain unchanged */
#faqAccordion .accordion-button::after {
  margin-left: 1rem !important;
  order: 1;
  flex-shrink: 0;
  align-self: flex-start;
}

#faqAccordion .accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #212529;
}

#faqAccordion .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(172, 52, 54, 0.25);
}

#faqAccordion .accordion-body {
  text-align: left;
}

/* Media Queries */
@media (max-width: 991px) {
  #faqAccordion .accordion-button {
    width: 100%; /* Switch to full width on smaller screens */
  }
}

/* Optional: Adjust arrow position on mobile if needed */
@media (max-width: 576px) {
  #faqAccordion .accordion-button::after {
    position: absolute;
    right: 20px;
    top: 15px;
  }
}

/* Case Study Specific Styles */
.case-study-hero {
  position: relative;
  overflow: hidden;
}

.case-study-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.case-study-section:last-child {
  border-bottom: none;
}

.solution-feature {
  background-color: #f9f9f9;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

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

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #eee;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-badge {
  position: absolute;
  left: -30px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.timeline-content {
  padding-left: 20px;
}

.result-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.testimonial-author {
  padding-left: 20px;
  border-left: 3px solid #ac3436;
  margin-top: 20px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}

.tech-item img {
  height: 40px;
  margin-bottom: 8px;
  object-fit: contain;
}

.tech-item span {
  font-size: 0.8rem;
  text-align: center;
}

/* Chatbot Styles - Responsive */
#chatbot-container {
  position: fixed;
  bottom: clamp(80px, 15vw, 150px);
  right: 20px;
  width: min(350px, 90vw);
  height: min(450px, 70vh);
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  z-index: 1000;
  border: 1px solid #ddd;
}

#chatbot-container.active {
  display: flex;
}

#chatbot-header {
  background: #ac3436;
  color: white;
  padding: 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

#chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: clamp(16px, 3vw, 20px);
  cursor: pointer;
  padding: 5px;
}

#chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

#chatbot-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  gap: 10px;
}

#chatbot-text {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

#chatbot-send {
  background: #ac3436;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  white-space: nowrap;
}

#chatbot-toggle {
  position: fixed;
  bottom: clamp(20px, 5vw, 80px);
  right: 20px;
  z-index: 999;
  padding: clamp(12px, 3vw, 15px);
  border-radius: 50%;
  background-color: #ac3436;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  width: min(60px, 15vw);
  height: min(60px, 15vw);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 4vw, 20px);
}

.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 5px;
  max-width: 80%;
  word-wrap: break-word;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.user-message {
  background: #f0f0f0;
  margin-left: auto;
  text-align: right;
}

.bot-message {
  background: #ac3436;
  color: white;
  margin-right: auto;
}

/* Application Form Modal - Responsive */
#applicationModal .modal-dialog {
  max-width: min(800px, 95vw);
  margin: 1rem auto;
}

#applicationModal .modal-header {
  background-color: #ac3436;
  color: white;
  padding: clamp(15px, 3vw, 20px);
}

#applicationModal .modal-body {
  padding: clamp(15px, 3vw, 25px);
}

#applicationModal .form-control,
#applicationModal .form-select {
  font-size: clamp(0.875rem, 2vw, 1rem);
  padding: clamp(8px, 2vw, 12px);
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease-in forwards;
}

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

.section-entrance {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.section-entrance.visible {
  opacity: 1;
  transform: translateY(0);
}

.img-zoom {
  transition: transform 0.5s ease;
}

.img-zoom:hover {
  transform: scale(1.05);
}

/* Utility Classes */
.pulse {
  animation: pulse 2s infinite;
}
.rotate {
  animation: rotate 10s linear infinite;
}
.bounce {
  animation: bounce 2s infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Navbar Active State */
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
}

.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item.active {
  background-color: #ac3436 !important;
  color: white !important;
}

/* RESPONSIVE BREAKPOINTS */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Global Adjustments */
  body {
    padding-top: 60px;
    font-size: 14px;
  }

  /* Hero Section Fixes */
  .hero-section {
    height: 80vh;
    min-height: 400px;
  }

  .hero-section .carousel,
  .hero-section .carousel-inner,
  .hero-section .carousel-item {
    height: 100%;
  }

  .hero-section .carousel-item img {
    object-position: center top;
  }

  .hero-section .carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
  }

  .hero-section .carousel-caption h1 {
    font-size: 1.8rem;
    margin-left: 0 !important;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .hero-section .carousel-caption p {
    font-size: 1rem;
    margin-left: 0 !important;
    margin-bottom: 20px;
  }

  .hero-section .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px 15px;
    white-space: normal;
  }

  /* Other Components */
  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header h2::after {
    width: 50px;
  }

  .service-card,
  .industry-card {
    margin-bottom: 20px;
    padding: 15px;
  }

  /* Chatbot Adjustments */
  #chatbot-container {
    width: calc(100vw - 40px);
    height: 60vh;
    bottom: 100px;
    right: 20px;
    left: 20px;
  }

  #chatbot-toggle {
    bottom: 20px;
    width: 50px;
    height: 50px;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 80px;
  }

  /* Partners Section */
  .partners-track {
    animation-duration: 15s;
  }

  .partner-item {
    flex: 0 0 80px;
    margin-right: 15px;
  }

  /* FAQ Section */
  #faqAccordion .accordion-button {
    padding: 15px;
    font-size: 0.9rem;
  }

  .counter {
    font-size: 2rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    height: 85vh;
    min-height: 450px;
  }

  .hero-section .carousel-caption h1 {
    font-size: 2rem;
  }

  .hero-section .btn {
    display: inline-block;
    width: auto;
    margin: 0 10px 10px 0;
  }

  .service-card,
  .industry-card {
    padding: 18px;
  }

  #chatbot-container {
    width: min(400px, 85vw);
    height: min(500px, 65vh);
  }

  .partner-item {
    flex: 0 0 120px;
    margin-right: 20px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    height: 90vh;
    min-height: 500px;
  }

  .hero-section .carousel-caption {
    padding: 30px;
  }

  .hero-section .carousel-caption h1 {
    font-size: 2.5rem;
  }

  .service-card,
  .industry-card {
    padding: 22px;
  }

  #chatbot-container {
    width: 380px;
    height: 480px;
    bottom: 120px;
  }

  #chatbot-toggle {
    bottom: 60px;
    width: 55px;
    height: 55px;
  }

  .back-to-top {
    bottom: 60px;
    width: 50px;
    height: 50px;
  }

  .partner-item {
    flex: 0 0 130px;
    margin-right: 25px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    height: 95vh;
    min-height: 550px;
  }

  .service-card,
  .industry-card {
    padding: 25px;
  }

  #chatbot-container {
    width: 350px;
    height: 450px;
    bottom: 150px;
  }

  .partner-item {
    flex: 0 0 140px;
    margin-right: 28px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    height: 100vh;
    min-height: 600px;
  }

  .service-card,
  .industry-card {
    padding: 30px;
  }

  .container {
    max-width: 1200px;
  }

  .partner-item {
    flex: 0 0 150px;
    margin-right: 30px;
  }
}

/* Extra Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero-section .carousel-caption {
    padding: 50px;
  }

  .service-card,
  .industry-card {
    padding: 35px;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    height: 100vh;
    min-height: 300px;
  }

  body {
    padding-top: 50px;
  }

  .hero-section .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .hero-section .carousel-caption p {
    font-size: 0.9rem;
  }

  #chatbot-container {
    height: 50vh;
    width: calc(100vw - 100px);
    right: 50px;
    left: 50px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .preloader-logo,
  .partner-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  #preloader,
  #chatbot-container,
  #chatbot-toggle,
  .back-to-top,
  .navbar {
    display: none !important;
  }

  body {
    padding-top: 0;
    font-size: 12pt;
  }

  .hero-section {
    height: auto;
    page-break-inside: avoid;
  }
}

/* Mobile-specific hero section fixes */
/* Replace the existing mobile media queries with these updated ones */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Hero Section Mobile Fixes */
  .hero-section {
    height: 100vh;
    min-height: 500px;
  }

  .hero-section .carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
  }

  .hero-section .carousel-caption h1,
  .hero-section .carousel-caption p,
  .hero-section .carousel-caption #first {
    margin-left: 0 !important;
    text-align: center;
    width: 100%;
  }

  .hero-section .carousel-caption h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: left;
  }

  .hero-section .carousel-caption p {
    font-size: 1rem !important;
    line-height: 1.4;
    margin-bottom: 25px;
    text-align: left;
    margin-left: 35px;
    max-width: 100%;
  }

  /* Modified button styling for mobile - keep in same row */
  .hero-section .carousel-caption .btn {
    display: inline-block;
    width: auto;
    min-width: 130px;
    margin: 0 5px;
    margin-bottom: 20px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 5px;
    text-align: center;
  }

  /* Modified to keep buttons in row */
  .hero-section .carousel-caption .d-flex {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  /* Carousel indicators positioning */
  .carousel-indicators {
    bottom: 15px;
    margin-bottom: 0;
  }

  .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
  }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    height: 100vh;
    min-height: 550px;
  }

  .hero-section .carousel-caption {
    padding: 30px 20px;
  }

  .hero-section .carousel-caption h1,
  .hero-section .carousel-caption p,
  .hero-section .carousel-caption #first {
    margin-left: 0 !important;
    text-align: center;
  }

  .hero-section .carousel-caption h1 {
    font-size: 2.2rem !important;
    margin-bottom: 18px;
    text-align: center;
  }

  .hero-section .carousel-caption p {
    font-size: 1.1rem !important;
    margin-bottom: 25px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .carousel-caption .btn {
    display: inline-block;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 140px;
    margin: 5px 10px;
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .hero-section .carousel-caption .d-flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section .carousel-caption h1,
  .hero-section .carousel-caption p,
  .hero-section .carousel-caption #first {
    margin-left: 50px !important;
  }

  .hero-section .carousel-caption {
    text-align: left;
    justify-content: center;
    align-items: flex-start;
    padding-left: 50px;
  }

  .hero-section .carousel-caption h1 {
    font-size: 2.5rem !important;
  }

  .hero-section .carousel-caption p {
    font-size: 1.2rem !important;
  }

  .hero-section .carousel-caption .btn {
    margin: 5px 10px 5px 0;
  }
}

/* Landscape orientation for mobile devices */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    height: 100vh;
    min-height: 400px;
  }

  .hero-section .carousel-caption {
    padding: 15px;
  }

  .hero-section .carousel-caption h1 {
    font-size: 1.6rem !important;
    margin-bottom: 12px;
  }

  .hero-section .carousel-caption p {
    font-size: 0.9rem !important;
    margin-bottom: 20px;
  }

  /* Modified for landscape - keep buttons in row */
  .hero-section .carousel-caption .btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.85rem;
    margin: 0 5px;
    width: auto;
    min-width: 100px;
  }

  .hero-section .carousel-caption .d-flex {
    flex-direction: row;
    justify-content: center;
  }
}

/* Fix for very small screens (iPhone SE, etc.) */
@media (max-width: 374px) {
  .hero-section .carousel-caption h1 {
    font-size: 1.5rem !important;
  }

  .hero-section .carousel-caption p {
    font-size: 0.85rem !important;
  }

  /* Modified for very small screens - keep buttons in row */
  .hero-section .carousel-caption .btn {
    display: inline-block;
    width: auto;
    min-width: 100px;
    padding: 8px 12px;
    font-size: 0.8rem;
    margin: 0 3px;
  }

  .hero-section .carousel-caption .d-flex {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
  }
}

/* Additional mobile navigation fixes */
@media (max-width: 767.98px) {
  .navbar {
    padding: 8px 0;
  }

  .navbar-brand img {
    height: 35px;
  }

  .navbar-toggler {
    padding: 4px 8px;
    font-size: 1rem;
  }

  /* Ensure mobile menu works properly */
  .navbar-collapse {
    background-color: white;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
  }

  .navbar-nav .nav-link {
    padding: 8px 0;
    font-size: 0.95rem;
    text-align: left;
  }
}

/* Add this CSS to fix the mobile dropdown issue */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    display: none;
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
  }

  .navbar-nav .dropdown-menu.show {
    display: block;
  }

  .navbar-nav .dropdown-item {
    padding-left: 15px;
    color: rgba(0, 0, 0, 0.55);
  }

  .navbar-nav .dropdown-item:hover {
    color: rgba(0, 0, 0, 0.7);
    background-color: transparent;
  }
}

.section-header {
  padding-bottom: 20px;
}

.card {
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.badge {
  font-weight: 500;
}

#jobs-container .card {
  margin-bottom: 20px;
}

.btn-outline-danger {
  border-color: #ac3436;
  color: #ac3436;
}

.btn-outline-danger:hover {
  background-color: #ac3436;
  color: white;
}

.custom-close-btn {
  color: #fff;
  background: none;
  border: none;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
  padding: 0.25rem 0.5rem; /* Added padding for better click area */
  margin-left: auto; /* Push to the right */
  line-height: 1; /* Prevent extra space */
}

.custom-close-btn:hover {
  color: #aaa;
}

/* Custom Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.popup-content {
  background: linear-gradient(135deg, #ac3436 0%, #c02c3a 100%);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

.popup-overlay.show .popup-content {
  transform: scale(1);
  opacity: 1;
}

.popup-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.popup-icon i {
  font-size: 40px;
  color: white;
  animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-title {
  color: white;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-message {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.popup-details {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.popup-details h6 {
  color: white;
  font-weight: bold;
  margin-bottom: 10px;
}

.popup-details p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 5px;
  font-size: 14px;
}

.popup-close-btn {
  background: white;
  color: #dc3545;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  position: relative;
  z-index: 10;
}

.popup-close-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.popup-close-btn:active {
  transform: translateY(0px);
}

.close-x {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-x:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Decorative elements */
.popup-content::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, #dc3545, #b02a37, #dc3545);
  border-radius: 25px;
  z-index: -1;
  opacity: 0.3;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 0.6;
  }
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
  width: 10px;
  height: 10px;
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 15px;
  height: 15px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  width: 8px;
  height: 8px;
  top: 80%;
  left: 10%;
  animation-delay: 4s;
}

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

.portrait-container {
  width: 100%;
  height: 600px;
  background: linear-gradient(135deg, #8a2a2b 0%, #ac3436 50%, #dc3545 100%);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
}

.geometric-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: linear-gradient(
      45deg,
      transparent 40%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 60%
    ),
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
}

.growth-path {
  position: absolute;
  left: 50px;
  top: 50px;
  width: 300px;
  height: 500px;
  opacity: 0.2;
}

.growth-line {
  stroke: #ffffff;
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 5, 5;
  animation: dash 3s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}

.milestone {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  animation: pulse 2s ease-in-out infinite;
}

.milestone:nth-child(2) {
  top: 100px;
  left: 50px;
  animation-delay: 0.5s;
}
.milestone:nth-child(3) {
  top: 200px;
  left: 150px;
  animation-delay: 1s;
}
.milestone:nth-child(4) {
  top: 300px;
  left: 100px;
  animation-delay: 1.5s;
}
.milestone:nth-child(5) {
  top: 400px;
  left: 200px;
  animation-delay: 2s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

.content {
  position: relative;
  z-index: 10;
}

.main-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.4;
  font-weight: 300;
}

.journey-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin: 40px 0;
}

.icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.icon:nth-child(1) {
  animation-delay: 0s;
}
.icon:nth-child(2) {
  animation-delay: 1s;
}
.icon:nth-child(3) {
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.icon:hover {
  transform: scale(1.1) translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.tagline {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-top: 30px;
}

.tech-pattern {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particle-float 4s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  top: 40%;
  left: 90%;
  animation-delay: 1s;
}
.particle:nth-child(3) {
  top: 60%;
  left: 20%;
  animation-delay: 2s;
}
.particle:nth-child(4) {
  top: 80%;
  left: 80%;
  animation-delay: 3s;
}

@keyframes particle-float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
}

/* AI Hero Section with Background Image */
.ai-hero-section {
  height: 50vh;
  padding-top: 20px;
  position: relative;
}

.ai-hero-section .ai-particles-container {
  z-index: 0;
  overflow: hidden;
}

.ai-particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
  z-index: 0;
}

/* @keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 10px) rotate(5deg);
    }
    50% {
        transform: translate(20px, -10px) rotate(-5deg);
    }
    75% {
        transform: translate(-10px, 15px) rotate(5deg);
    }
} */

.floating-animation {
  animation: float-vertical 6s ease-in-out infinite;
}

@keyframes float-vertical {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-200px);
  }
}

.position-relative.z-index-1 {
  position: relative;
  z-index: 1;
}




/* IT Consulting Hero Section */
.it-consulting-hero {
  height: 50vh;
  min-height: 450px;
  background: rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

/* Timeline styling */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ddd;
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
}
.timeline-badge {
  position: absolute;
  left: -30px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.timeline-content {
  padding-left: 20px;
}

/* Tech item styling */
.tech-item {
  transition: all 0.3s ease;
  border-radius: 8px;
}
.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Progress circle styling and animation */
.progress-circle {
  position: relative;
  border-radius: 50%;
  background: conic-gradient(#f0f0f0 0deg, #f0f0f0 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: progress-animation 2s ease-in-out forwards;
  animation-delay: 0.5s;
}

.progress-circle-value {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

/* Progress circle animation keyframes */
@keyframes progress-animation {
  from {
    background: conic-gradient(#ac3436 0deg, #f0f0f0 0deg);
  }
  to {
    background: conic-gradient(
      #ac3436 calc(var(--progress) * 3.6deg),
      #f0f0f0 calc(var(--progress) * 3.6deg)
    );
  }
}

/* Individual progress circle variations for staggered animation */
.progress-circle:nth-child(1) {
  animation-delay: 0.5s;
}

.progress-circle:nth-child(2) {
  animation-delay: 0.8s;
}

.progress-circle:nth-child(3) {
  animation-delay: 1.1s;
}



/* Progress circle styles */
.progress-circle {
  border-radius: 50%;
  background: conic-gradient(#ac3436 0deg, #f0f0f0 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.progress-circle-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.progress-circle::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  background: white;
  border-radius: 50%;
  z-index: 1;
}

.progress-circle-value {
  position: relative;
  z-index: 2;
}

/* List group item styling */
.list-group-item {
  border-left: 0;
  border-right: 0;
  padding: 0.75rem 1.25rem;
}

.list-group-item:first-child {
  border-top: 0;
}

.list-group-item:last-child {
  border-bottom: 0;
}
