/* Black, Red, and White Theme CSS */
:root {
  --primary-color: #5D2E8C;
  /* Vibrant red */
  --secondary-color: #1a1a1a;
  /* Dark black */
  --accent-color: #5D2E8C;
  /* Darker red */
  --light-color: #f8f9fa;
  /* Off-white */
  --dark-color: #212529;
  /* Dark gray */
  --text-color: #333333;
  --text-light: #ffffff;
  --yellow: #ffb803;
}

/* Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--secondary-color);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  border: 5px solid var(--light-color);
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Navigation */
.navbar {
  padding: 15px 10px;
  transition: all 0.3s;
}

.navbar.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
  padding: 10px 15px;
}

.navbar.scrolled .nav-link {
  color: black !important;
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-brand img {
  transition: all 0.3s;
}

.navbar.scrolled .navbar-brand img {
  height: auto;
  width: 170px;
}

.nav-link {
  font-weight: 500;
  padding: 8px 15px !important;
  color: var(--secondary-color);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.dropdown-item {
  padding: 8px 20px;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: var(--primary-color);
  color: white;
}

.carousel-indicators .active {
  opacity: 1 !important;
  background-color: #ffb803 !important;
}

.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: var(--primary-color);
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity .6s ease;
}

.learn-more-btn {
  margin-top: 78px;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 30%;
  transition: 0.3s ease-in-out;
}

.learn-more-btn:hover {
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid #7607c0;
}


.carousel-caption {
  width: 50%;
  position: absolute;
  left: 8.5% !important;
  right: auto;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
  text-align: left !important;
  top: 13% !important;
}

.carousel-item h5 {
  font-size: 60px;
  color: #fff;
  font-family: cursive;
  font-style: italic;

  -webkit-line-clamp: 1 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  height: 67px !important;
  line-height: 60px !important
}

.carousel-item p {
  margin-top: 40px;
  color: #fff;
  font-family: monospace;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;

  -webkit-line-clamp: 2 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  height: 35px !important;
  line-height: 17px !important
}

/* Mega Menu Dropdown Styles */
.dropdown-mega-menu {
  width: 100%;
  padding: 20px;
  background-color: var(--light-color);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--primary-color);
}

.dropdown-mega-menu .row {
  width: 100%;
  margin: 0;
}

.dropdown-header {
  font-weight: 700;
  color: var(--secondary-color);
  padding: 5px 0 15px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  margin-bottom: 15px;
}

.dropdown-header::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.dropdown-item {
  padding: 8px 0;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
  padding-left: 10px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--primary-color);
  background-color: transparent;
  border-left: 2px solid var(--primary-color);
  padding-left: 15px;
}

/* Responsive adjustments */
@media (max-width: 992px) {

  .carousel-item h5 {
    font-size: 45px;
  }

  .carousel-item p {
    font-size: 16px;
  }

  .learn-more-btn {
    margin-top: 20px;
    display: none !important;
  }

  .dropdown-mega-menu {
    padding: 15px;
  }

  .dropdown-header {
    font-size: 0.85rem;
    padding: 5px 0 10px;
  }

  .dropdown-item {
    font-size: 0.9rem;
    padding: 6px 0;
  }
}

@media (max-width: 768px) {

  .carousel-item h5 {
    font-size: 30px;
  }

  .carousel-item p {
    font-size: 14px;
    margin-top: 20px;
  }

  .dropdown-mega-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
  }

  .dropdown-mega-menu .col-md-3 {
    margin-bottom: 20px;
  }

  .dropdown-header {
    padding-top: 0;
  }

  .dropdown-header::after {
    bottom: 5px;
  }
}

/* Animation for dropdown */
@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-mega-menu {
  animation: fadeInDropdown 0.3s ease-out forwards;
}

@media screen and (max-width: 768px) {

  .learn-more-btn {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 25px;
  }

  .navbar-brand img {
    width: 120px;
    ;
  }

  .navbar.scrolled .navbar-brand img {
    height: auto;
    width: 120px;
  }

  .col-lg-4 img {
    width: 120px;
  }

  #about-us {
    margin-top: 0%;
  }

  .section-title h2 {
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .carousel-item h5 {
    font-size: 30px;
  }

  .carousel-item p {
    display: none !important;
  }
}


@media screen and (max-width: 1270px) {

  .learn-more-btn {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 25px;
  }

}

@media screen and (max-width: 1024px) {

  .learn-more-btn {
    margin-top: 50px;
  }

}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 4px;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn:hover {
  background-color: #ffb803;
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(195, 57, 230, 0.4);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #ffb803;
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px #5e3a81;
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
}

.btn-light:hover {
  background-color: #f1f1f1;
  color: var(--accent-color);
}

.servicesDropDownIcon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: #5D2E8C !important;
  color: #f8f7f7ff !important;
  margin-right: 10px !important;
  font-size: 20px !important;
}

/* ================= Our Team Starts ================== */
a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  outline: none;
}

a {
  font-style: normal;
  text-decoration: none;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}

a,
a:active,
a:focus {
  color: #333;
  text-decoration: none;
  transition-timing-function: ease-in-out;
  -ms-transition-timing-function: ease-in-out;
  -moz-transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  transition-duration: 0.2s;
  -ms-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.bio-desc {
  padding: 10px;
}

.bio-desc p.description {
  color: var(--primary-color);
  font-size: 12px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;

  -webkit-line-clamp: 4 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  height: 68px !important;
  line-height: 17px !important
}

.exp-title {
  color: #c657e1;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.rol-tags span {
  background-color: #db61ec;
  color: #fff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 500;
  padding: 3px 8px;
  margin: 2px;
  display: inline-block;
  border-radius: 12px;
  font-size: 12px;
}

.sec-title {
  position: relative;
  margin-bottom: 70px;
}

.sec-title .title {
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 1em;
  color: #ff8a01;
  font-weight: 500;
  background: rgb(247, 0, 104);
  background: -moz-linear-gradient(to left,
      rgba(247, 0, 104, 1) 0%,
      rgba(68, 16, 102, 1) 25%,
      rgba(247, 0, 104, 1) 75%,
      rgba(68, 16, 102, 1) 100%);
  background: -webkit-linear-gradient(to left,
      rgba(247, 0, 104, 1) 0%,
      rgba(68, 16, 102, 1) 25%,
      rgba(247, 0, 104, 1) 75%,
      rgba(68, 16, 102, 1) 100%);
  background: linear-gradient(to left,
      rgba(247, 0, 104) 0%,
      rgba(68, 16, 102, 1) 25%,
      rgba(247, 0, 104, 1) 75%,
      rgba(68, 16, 102, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F70068', endColorstr='#441066', GradientType=1);
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 15px;
}

.sec-title h2 {
  position: relative;
  display: inline-block;
  font-size: 48px;
  line-height: 1.2em;
  color: #1e1f36;
  font-weight: 700;
}

.sec-title .text {
  position: relative;
  font-size: 16px;
  line-height: 28px;
  color: #888;
  margin-top: 30px;
}

.sec-title.light h2,
.sec-title.light .title {
  color: #fff;
  -webkit-text-fill-color: inherit;
}

.speakers-section-three {
  position: relative;
  padding: 120px 0 90px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.speaker-block-three {
  position: relative;
  margin-bottom: 50px;
}

.speaker-block-three .inner-box {
  position: relative;
  background-color: #fff;
  overflow: hidden;
  padding-bottom: 30px;
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 300ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}

.speaker-block-three .inner-box:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.speaker-block-three .image-box {
  position: relative;
  display: block;
  text-align: center;
  padding: 50px 0;
}

.speaker-block-three .image-box:before {
  position: absolute;
  left: -10px;
  right: -10px;
  top: -4px;
  height: 100%;
  background-image: url('/web_assets/img/Our_Team/bgimg.png');
  -webkit-transform: scale(-1);
  -moz-transform: scale(-1);
  -ms-transform: scale(-1);
  -o-transform: scale(-1);
  transform: scale(-1);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  content: "";
}

.speaker-block-three .image-box .image {
  position: relative;
  display: inline-block;
  height: 130px;
  width: 130px;
  overflow: hidden;
  border: 4px solid #db61ec;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  z-index: 9;
  margin-bottom: 0;
  -webkit-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  transition: all 600ms ease;
}

.speaker-block-three .inner-box:hover .image-box .image {
  border-radius: 20px;
}

.speaker-block-three .image-box .image img {
  display: block;
  width: 100%;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}

.speaker-block-three .inner-box:hover .image img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.speaker-block-three .info-box {
  position: relative;
  display: inline-block;
  padding: 10px;
  padding-right: 10px;
  background-color: #db61ec;
}

.speaker-block-three .info-box:before {
  position: absolute;
  width: 212px;
  left: 0;
  right: -30px;
  background-color: #db61ec;
  content: "";
  top: 0;
  height: 85px;
  -webkit-transform: skew(-30deg);
  -moz-transform: skew(-30deg);
  -ms-transform: skew(-30deg);
  -o-transform: skew(-30deg);
  transform: skew(-30deg);
  border-radius: 0 14px 14px 0;
}

.speaker-block-three .info-box .name {
  position: relative;
  font-size: 18px;
  line-height: 1.2em;
  color: #fff;
  font-weight: 500;
}

.speaker-block-three .info-box .name a {
  color: #fff;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;

  width: 162px;
  -webkit-line-clamp: 2 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  height: 40px !important;
  line-height: 20px !important;
}

.speaker-block-three .info-box .name a:hover {
  color: #fff;
}

.speaker-block-three .info-box .designation {
  position: relative;
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  font-weight: 400;
}

.speaker-block-three .social-box {
  position: absolute;
  top: 90px;
  transform: translateX(-50px);
  -webkit-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  transition: all 600ms ease;
}

.speaker-block-three .social-box .social-links li {
  margin-bottom: 4px;
}

.speaker-block-three .inner-box:hover .social-box {
  transform: translateX(10px);
}

.speaker-block-two .social-links li {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.speaker-block-three .social-links li a i {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid #eee;
  font-size: 16px;
  line-height: 30px;
  background-color: #fff;
  text-align: center;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}

.speaker-block-three .social-links li a:hover i {
  color: #fff;
  background: #ec7561;
}

/* ================= Our Team Ends ================== */

/* Section Styling */
.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-title .lead {
  color: #666;
  font-size: 1.1rem;
}

/* About Section */
#about-us {
  padding: 80px 0;
}

/* Services Section */
#our-services {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title .badge {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 8px 20px;
  margin-bottom: 15px;
  display: inline-block;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 0;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
  overflow: hidden;
  border: none;
}

.service-card .card-body {
  padding: 40px 30px;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(223, 78, 78, 0);
  /* Transparent background */
  color: var(--primary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  /* Added proper border declaration */
}

.text-primary {
  --bs-text-opacity: 1;
  color: #5D2E8C !important;
}

.service-card:hover .service-icon {
  background: #ffb803;
  color: white;
}

.service-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2d3748;
}

.service-card p {
  color: #718096;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card a {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
}

.service-card a:hover {
  color: #224abe !important;
  transform: translateX(5px);
}

.bg-primary-soft {
  background-color: rgba(173, 5, 5, 0);
  border-color: #4a068f;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  #our-services {
    padding: 22px 0;
  }

  .service-card .card-body {
    padding: 30px 20px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
}

/* Animation for cards when they come into view */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.service-card:nth-child(5) {
  animation-delay: 0.5s;
}

.service-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Counter Section with Background Image */
/* Counter Section with Background Image - Fixed Version */
.counter-section {
  position: relative;
  padding: 60px 0;
  background:
    linear-gradient(rgba(236, 233, 233, 0.495), rgba(241, 235, 235, 0.44)),
    url('../img/sections/bg/1.jpg') no-repeat center center / cover;

  background-size: cover;
  color: white;
  text-align: center;
}

/* Debugging helper - shows if background loaded */
.counter-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(212, 0, 255, 0.075);
  /* Red tint for debugging */
  z-index: 0;
  display: none;
  /* Change to block to see if section renders */
}

.counter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.508);
  z-index: 1;
}

.counter-section .container {
  position: relative;
  z-index: 2;
}

/* Rest of your existing CSS remains the same */
.counter-box {
  padding: 0px 15px;
  margin: 15px 0;
  transition: all 0.3s ease;
  border-radius: 5px;
  background-color: rgba(201, 57, 230, 0);
  border: 1px solid rgba(195, 57, 230, 0);
}

.counter-box:hover {
  background-color: rgba(201, 57, 230, 0);
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.004);
}

.counter {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
}

.counter-box h5 {
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .counter-section {
    padding: 60px 0;
  }

  .counter-box {
    margin-bottom: 30px;
  }

  .counter {
    font-size: 36px;
  }

  .footer {
    font-size: 20px;
  }
}

/* Custom CSS for enhanced styling */

.bg-blur-circle {
  position: absolute;
  filter: blur(100px);
  transform: translate(-50%, 50%);
  opacity: 0.15;
  border-radius: 50%;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-hover:hover .card-hover-overlay {
  opacity: 1;
}

.transition-all {
  transition: all 0.3s ease;
}

.bg-primary-soft {
  background-color: rgba(13, 110, 253, 0.1);
}

/* Why Choose Us */
.bg-primary.text-white.rounded-circle {
  background-color: var(--primary-color) !important;
}

/* Web Services Cards */
.card {
  transition: all 0.3s;
  border: none;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 180px;
  object-fit: cover;
}

.card-title {
  color: var(--secondary-color);
  font-weight: 600;
}

.bg-primary {
  background-color: rgba(255, 255, 255, 0) !important;
}

/* CTA Section */
.bg-primary1 {
  background-color: var(--primary-color) !important;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 80px 0 0;
}

.footer-links h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1px;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li i {
  font-size: 15px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-links ul li i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.copyright {
  background-color: #111;
  color: #aaa;
  padding: 20px 0;
  margin-top: 50px;
  width: 100%;
}

@media screen and (max-width: 768px) {

  footer {
    padding: 40px 20px 0;
    text-align: left;
    font-size: 0.9rem;
  }

  .footer-links {
    margin-bottom: 30px;
  }

  .footer-links h5 {
    font-size: 1.2rem;
    padding-bottom: 8px;
  }

  .footer-links h5::after {
    margin: 0 auto;
  }

  .footer-links ul {
    padding: 0;
    list-style: none;
  }

  .footer-links ul li {
    margin-bottom: 10px;
  }

  .footer-links ul li a {
    display: inline-block;
    font-size: 0.95rem;
    transition: 0.3s;
  }

  .footer-links ul li i {
    /* display: none; Optional: Hide icons if it looks crowded */
  }

  .copyright {
    font-size: 0.85rem;
    padding: 25px 15px;
    margin-top: 30px;
    text-align: center;
  }
}

/* Social Media Sidebar */
.social-icon-bar {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;

}

.social-media-floating {
  display: block;
  gap: 15px;
  justify-content: center;
  padding: 20px 0;
}

.social-btn {
  width: 45px;
  height: 45px;
  margin-bottom: 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.facebook {
  background: #3b5998;
}

.linkedin {
  background: #0077b5;
}

.twitter {
  background: #1da1f2;
}

.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.youtube {
  background: #ff0000;
}

.whatsapp {
  background: #25d366;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #5D2E8C;
  /* Your primary color */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


#backToTop:hover {
  background-color: var(--yellow);
  /* Darker shade for hover */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#backToTop.active {
  opacity: 1;
  visibility: visible;
}

#backToTop i {
  transition: transform 0.3s ease;
}

#backToTop:hover i {
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 1s both;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 200px;
    min-height: 230px;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
  }

  .hero-content .d-flex {
    justify-content: center;
  }

  .navbar-collapse {
    background-color: #fff;
    ;
    padding: 20px;
    margin-top: 15px;
    border-radius: 5px;
  }

  .nav-link {
    color: rgb(15, 11, 11) !important;
    padding: 10px 0 !important;
  }

  .dropdown-menu {
    background-color: #333;
  }

  .dropdown-item {
    color: #ccc;
  }

  .social-icon-bar {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 5px 10px;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}

.button-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8rem !important;
  /* Base margin */
  padding-top: 4rem !important;
  /* Base padding */
}

@media (min-width: 992px) {
  .button-group {
    justify-content: flex-start;
    margin-top: 12rem !important;
    /* Larger margin on desktop */
    padding-top: 6rem !important;
    /* Larger padding on desktop */
  }
}

/* Responsive adjustments */
@media (max-width: 575px) {
  .button-group {
    gap: 1rem;
    margin-top: 10rem !important;
    padding-top: 5rem !important;
  }

  .button-group .btn {
    width: 100%;
    /* Full width buttons on smallest screens */
    margin-bottom: 0.5rem;
  }
}

/* If you need even more margin, add this */
.hero-content {
  padding-top: 3rem;
  /* Additional space above button group */
}

@media (min-width: 992px) {
  .hero-content {
    padding-top: 5rem;
    /* More space on desktop */
  }
}

.bg-danger {
  --bs-bg-opacity: 1;
  background-color: rgb(158, 73, 3) !important;
}

.text-danger {
  --bs-text-opacity: 1;
  color: rgb(122, 3, 158) !important;
}