/* Primary brand color */
:root {
  --bak-primary: #900C3F;
}

/* Utility */
.text-bak-primary {
  color: var(--bak-primary);
}

.navbar-brand img {
  height: 60px; /* Base height */
  max-height: 60px;
  transform: scale(2.0); /* Scale the logo to be 100% larger */
  transform-origin: left center; /* Scale from left center to maintain position */
}


/* ########################################## Navbar styling ####################################*/

/* ===== Growing Underline Effect for Navbar Links ===== */
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--bak-primary);
}

.nav-link {
  color: #333;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--bak-primary);
}

/* Navbar sticky */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #ffffff; /* Or slightly transparent if you want */
  box-shadow: 0px 2px 10px rgba(0,0,0,0.5); /* Soft shadow */
}

.navbar a {
  font-weight: 600; /* Normal font weight */
}

/* Default Navbar Style */
.navbar {
  transition: all 0.3s ease;
  padding: 20px 0; /* Initial bigger padding */
}

/* Shrink Navbar on Scroll */
.navbar.navbar-shrink {
  padding: 10px 0; /* Smaller padding after scroll */
  background-color: #ffffff; /* Optional: keep background solid */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.navbar-shrink a {
  font-size: 0.9rem;
}

/* ===== Growing Underline Effect for Navbar Links ===== */
.navbar-nav .nav-link {
  position: relative;
  color: #000; /* Default text color */
  font-weight: 700;
  transition: all 0.3s ease-in-out;
  font-size: 1.0rem;
  margin-left: 1.1rem;
  
}

.navbar .navbar-nav > .nav-item.dropdown > .nav-link.dropdown-toggle,
.navbar .navbar-nav > .nav-item.tech-hover > .nav-link.dropdown-toggle {
  position: relative;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
  font-size: 1.0rem;
  margin-left: 1.1rem;
  
}

/* Underline effect */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #900C3F; 
  transition: width 0.3s ease-in-out;
}

/* On hover, grow underline */
.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Optional: Change text color on hover */
.navbar-nav .nav-link:hover {
  color: #900C3F;
}

/* Remove default caret icon */
.nav-item.dropdown > a::after {
  display: none;
}

/* Hover effect for the main menu item */
.navbar-nav .nav-item.dropdown:hover > .nav-link {
  color: #fff;
  background-color: #900C3F; /* Your primary color */
  position: relative;
}

.navbar-nav .nav-item.dropdown:hover > .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.navbar .dropdown-menu {
  border: none;
  border-radius: 18px;
  padding: 0.75rem;
  margin-top: 0.75rem;
  min-width: 260px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

/* Dropdown items */
.navbar .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  color: #333333;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

/* Dropdown icons */
.navbar .dropdown-menu .dropdown-item i {
  width: 22px;
  min-width: 22px;
  text-align: center;
  font-size: 1rem;
  color: #9e004c;
  transition: all 0.25s ease;
}

/* Hover effect */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  background: rgba(158, 0, 76, 0.08);
  color: #9e004c;
  transform: translateX(4px);
}

/* Hover icon */
.navbar .dropdown-menu .dropdown-item:hover i,
.navbar .dropdown-menu .dropdown-item:focus i {
  color: #9e004c;
}

/* Remove Bootstrap default active blue */
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
  background: #9e004c;
  color: #ffffff;
}

.navbar .dropdown-menu .dropdown-item.active i,
.navbar .dropdown-menu .dropdown-item:active i {
  color: #ffffff;
}

/* Smooth dropdown animation */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .navbar .dropdown:hover .dropdown-menu,
  .navbar .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.navbar .navbar-nav > .nav-item > .nav-link.active,
.navbar .navbar-nav > .nav-item.dropdown > .nav-link.show,
.navbar .navbar-nav > .nav-item.dropdown:hover > .nav-link {
  background: #9e004c;
  color: #ffffff !important;
  border-radius: 12px;
  padding: 0.65rem 1rem !important;
}

/* ================================
   Technology Dropdown - Clean Version
================================ */

.navbar,
.navbar .dropdown,
.navbar .dropdown-menu {
  overflow: visible !important;
}

/* Main Technology dropdown */
.navbar .tech-dropdown-menu {
  min-width: 290px;
  padding: 0.8rem;
  border: none;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
  z-index: 3000;
}

/* Each category */
.navbar .tech-dropdown-menu > .dropdown-submenu {
  position: relative;
}

/* Category item */
.navbar .tech-dropdown-menu .submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 13px;
  color: #333333;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Left side icon + text */
.navbar .tech-dropdown-menu .submenu-toggle span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar .tech-dropdown-menu .submenu-toggle i {
  color: #9e004c;
  width: 22px;
  min-width: 22px;
  text-align: center;
}

/* Right arrow */
.navbar .tech-dropdown-menu .submenu-arrow {
  width: auto !important;
  min-width: auto !important;
  color: #999999 !important;
  font-size: 0.8rem;
}

/* Hover category */
.navbar .tech-dropdown-menu > .dropdown-submenu:hover > .submenu-toggle {
  background: #9e004c;
  color: #ffffff;
}

.navbar .tech-dropdown-menu > .dropdown-submenu:hover > .submenu-toggle i {
  color: #ffffff;
}

/* Hide all submenus by default */
.navbar .tech-dropdown-menu .submenu-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 260px;
  padding: 0.8rem;
  margin-left: 0;
  border: none;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
  z-index: 3100;

  display: none !important;
}

/* Show ONLY the submenu of the hovered category */
.navbar .tech-dropdown-menu > .dropdown-submenu:hover > .submenu-menu {
  display: block !important;
}

/* Submenu items */
.navbar .submenu-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  color: #333333;
  font-size: 0.95rem;
  font-weight: 650;
  transition: all 0.25s ease;
}

.navbar .submenu-menu .dropdown-item i {
  color: #9e004c;
  width: 22px;
  min-width: 22px;
  text-align: center;
}

.navbar .submenu-menu .dropdown-item:hover {
  background: rgba(158, 0, 76, 0.08);
  color: #9e004c;
  transform: translateX(4px);
}

/* Remove Bootstrap active blue */
.navbar .submenu-menu .dropdown-item:active,
.navbar .submenu-menu .dropdown-item.active {
  background: #9e004c;
  color: #ffffff;
}

.navbar .submenu-menu .dropdown-item:active i,
.navbar .submenu-menu .dropdown-item.active i {
  color: #ffffff;
}

/* Add small gap between Technology category menu and submenu */
.navbar .tech-dropdown-menu .submenu-menu {
  left: calc(100% + 10px) !important;
}

/* Invisible hover bridge so submenu does not disappear */
.navbar .tech-dropdown-menu > .dropdown-submenu::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12px;
  width: 12px;
  height: 100%;
}

/* Mobile Technology dropdown */
@media (max-width: 991.98px) {
  .navbar .tech-dropdown-menu {
    width: 100%;
    min-width: 100%;
    border-radius: 16px;
    box-shadow: none;
    padding: 0.6rem;
  }

  .navbar .dropdown-submenu {
    position: static;
  }

  .navbar .dropdown-submenu::after {
    display: none;
  }

  .navbar .submenu-arrow {
    display: none;
  }

  .navbar .submenu-menu .dropdown-item {
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
  }
}

/* Make submenu icons white on hover/active */
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:hover i,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:focus i,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item.active i,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:active i {
  color: #ffffff !important;
}

.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:hover,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:focus,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item.active,
.navbar .tech-dropdown-menu .submenu-menu .dropdown-item:active {
  background: #9e004c !important;
  color: #ffffff !important;
}


/* Show dropdown on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
  animation: fadeInDown 0.3s ease-in-out;
}

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

/* Dropdown menu style */
.dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
}

/* Items */
.dropdown-item {
  color: #333;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
}

/* Icons spacing */
.dropdown-item i {
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* Hover effect on items */
.dropdown-item:hover {
  background-color: #900C3F;
  color: #fff;
}

/* Growing underline effect for Technology dropdown */
.navbar-nav .dropdown.tech-hover .nav-link {
  position: relative;
  color: inherit;
  font-weight: 600;
}

.navbar-nav .dropdown.tech-hover .nav-link .underline {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background-color: #900C3F; 
  transition: width 0.3s ease-in-out;
}

.navbar-nav .dropdown.tech-hover:hover .underline {
  width: 100%;
}

/* Remove Bootstrap caret from dropdown */
.navbar-nav .dropdown.tech-hover .dropdown-toggle::after {
  display: none !important;
}

/* Dropdown item hover effect for Technology dropdown */
.navbar-nav .dropdown-menu .dropdown-item {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #900C3F;
  color: #ffffff;
}

/* Active navbar menu item */
.navbar .navbar-nav > .nav-item > .nav-link.active {
  background-color: #900C3F !important;
  color: #ffffff !important;
  border-radius: 12px;
  padding: 0.75rem 1.2rem !important;
}

/* Keep active link white on hover */
.navbar .navbar-nav > .nav-item > .nav-link.active:hover {
  background-color: #900C3F !important;
  color: #ffffff !important;
}


/*##############################  Navbar Service ############################*/
/* General dropdown hover fix for icons */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
  background: #9e004c !important;
  color: #ffffff !important;
}

/* Make dropdown icons white on hover */
.navbar .dropdown-menu .dropdown-item:hover i,
.navbar .dropdown-menu .dropdown-item:focus i,
.navbar .dropdown-menu .dropdown-item.active i,
.navbar .dropdown-menu .dropdown-item:active i {
  color: #ffffff !important;
}


/* ################################### Hero section styling ##################################### */
.hero-section {
  background:
    linear-gradient(135deg, rgba(3, 12, 38, 0.58), rgba(0, 45, 105, 0.38)),
    url("../assets/aboutus5.png");
  /* background-color: #f8f9fa; */
  padding: 100px 0;
  width: 100%;
  height: 245px;
}

/* About Page Hero */
.about-hero-section {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Extra overlay for readability */
.about-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 145, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.45));
  z-index: 1;
}

.about-hero-section .container {
  position: relative;
  z-index: 2;
}

.about-hero-section .about-text {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero-badge {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
}

.about-hero-title {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.08;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.3rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.about-hero-subtitle {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.about-hero-highlights {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-hero-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 50px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  font-weight: 600;
}

.about-hero-item i {
  color: #ffffff;
  font-size: 1rem;
}

/* Mobile */
/* About Hero Mobile Fix */
@media (max-width: 767.98px) {
  .about-hero-section {
    min-height: 520px;
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
    background-position: center center;
  }

  .about-hero-section::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 25, 70, 0.62)),
      radial-gradient(circle at center, rgba(0, 145, 255, 0.12), transparent 42%);
  }

  .about-hero-section .about-text {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-hero-badge {
    margin-bottom: 1rem;
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
  }

  .about-hero-title {
    font-size: 2rem;
    line-height: 1.18;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
  }

  .about-hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.6rem;
  }

  .about-hero-highlights {
    gap: 0.7rem;
  }

  .about-hero-item {
    width: 100%;
    max-width: 310px;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.65rem 0.9rem;
  }
}



/* ######################################## Back to Top Button ############################################# */
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 99;
  font-size: 24px;
  border: none;
  outline: none;
  background-color: #900C3F; /* Your Primary Color */
  color: white;
  cursor: pointer;
  padding: 0px 10px;
  border-radius: 10%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

#backToTopBtn:hover {
  background-color: #6d0a2f; /* Slightly darker on hover */
}



/* ###################################### About Us Section ##################################################*/
.aboutus-section {
  background-color: #f7f7f7;
}

/* Responsive team card images */
.card-img-top {
  height: 280px;
  object-fit: cover;
}


/* About Us Page Section */
.aboutus-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f8 100%);
  overflow: hidden;
}

.aboutus-section::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(144, 12, 63, 0.06);
  top: -120px;
  left: -120px;
}

.aboutus-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(144, 12, 63, 0.05);
  bottom: -100px;
  right: -100px;
}

.aboutus-section .container {
  position: relative;
  z-index: 2;
}

.aboutus-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  background: rgba(144, 12, 63, 0.09);
  color: #900C3F;
  font-weight: 700;
  font-size: 0.9rem;
}

.aboutus-content h1 {
  margin-bottom: 1.4rem;
  line-height: 1.15;
}

.aboutus-content .lead {
  color: #333333;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.aboutus-points {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.aboutus-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #222222;
  font-weight: 500;
}

.aboutus-point i {
  color: #900C3F;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Image */
.aboutus-image-wrapper {
  position: relative;
  max-width: 620px;
  margin-left: auto;
}

.aboutus-image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 24px !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14) !important;
}

/* Floating Card */
.aboutus-floating-card {
  position: absolute;
  left: -35px;
  bottom: 35px;
  max-width: 300px;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.aboutus-floating-card i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(144, 12, 63, 0.1);
  color: #900C3F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.aboutus-floating-card h6 {
  margin-bottom: 0.25rem;
  font-weight: 800;
  color: #111111;
}

.aboutus-floating-card p {
  margin-bottom: 0;
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 991.98px) {
  .aboutus-section {
    padding: 4.5rem 0;
  }

  .aboutus-content {
    text-align: center;
  }

  .aboutus-points {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .aboutus-point {
    text-align: left;
  }

  .aboutus-image-wrapper {
    margin: 0 auto;
  }

  .aboutus-floating-card {
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    width: 88%;
  }
}

@media (max-width: 576px) {
  .aboutus-section {
    padding: 4rem 0 5.5rem;
  }

  .aboutus-content h1 {
    font-size: 2.1rem;
  }

  .aboutus-content .lead {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .aboutus-image {
    min-height: 280px;
    border-radius: 18px !important;
  }

  .aboutus-floating-card {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin-top: 1rem;
  }
}


/* ################################################ Button style ####################################################*/
.bak-btn {
  background-color: var(--bak-primary);
  color: white;
  font-weight: 500;
  padding: 10px 30px;
  font-size: 1.2rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: none;
}

.bak-btn:hover {
  background-color: #720a32;
  color: #fff;
}


/* ################################################### Team Section Styling ################################################*/
/* Team Section */
.team-section {
  position: relative;
  background: linear-gradient(135deg, #f8f6f8 0%, #ffffff 100%) !important;
}

.team-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  background: rgba(144, 12, 63, 0.09);
  color: #900C3F;
  font-weight: 700;
  font-size: 0.9rem;
}

.team-subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.team-member-card {
  height: 100%;
  padding: 2rem 1.4rem;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.team-member-img-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #900C3F, #c2185b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #ffffff;
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #900C3F, #5f082b);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  border: 4px solid #ffffff;
}

.team-avatar.avatar-visible {
  display: flex;
}

.team-member-card .card-title {
  color: #111111;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.team-member-card .card-text {
  color: #900C3F;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.team-member-card .small {
  line-height: 1.6;
}

.team-member-card .small i {
  color: #900C3F;
}

@media (max-width: 576px) {
  .team-member-card {
    padding: 1.8rem 1.2rem;
  }

  .team-member-img-wrapper {
    width: 120px;
    height: 120px;
  }

  .team-avatar {
    font-size: 2rem;
  }
}



/*############################################# Modern Footer styling ###########################################*/
.modern-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-top: 3px solid var(--bak-primary);
  /* padding-top: 5rem;
  padding-bottom: 6rem; */
  padding: 4rem 0 2rem;
}

.modern-footer h4,
.modern-footer h6 {
  color: #ffffff;
}

.modern-footer .text-muted {
  color: rgba(255, 255, 255, 0.68) !important;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 150px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.footer-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-brand p {
  max-width: 390px;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
  transform: scale(1.03);
  opacity: 0.92;
}

.footer-links a:hover {
  color: #ffffff !important;
  transform: translateX(5px);
}

.footer-links a i {
  color: #9e004c;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.footer-links a:hover i {
  color: var(--bak-primary);
}

.social-links .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #aaa;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links .social-link:hover {
  background: var(--bak-primary);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-info .contact-item i {
  font-size: 1.2rem;
  margin-top: 2px;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--bak-primary);
  text-decoration: none;
}

.modern-footer hr {
  border-color: #444;
  opacity: 0.18;
}

.modern-footer .text-muted {
  color: #aaa !important;
}

/* Footer bottom links */
.modern-footer .col-md-6:last-child a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.modern-footer .col-md-6:last-child a:hover {
  color: var(--bak-primary);
  text-decoration: none;
}


/* Mobile footer alignment */
@media (max-width: 576px) {
  .modern-footer {
    padding: 3.5rem 0 1.5rem;
    text-align: center;
  }

  .modern-footer .row {
    --bs-gutter-y: 0;
  }

  .modern-footer [class*="col-"] {
    text-align: center !important;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .modern-footer [class*="col-"]:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer-brand p {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }

  .modern-footer h6 {
    margin-bottom: 1.25rem !important;
  }

  /* Social icons */
  .modern-footer .social-links .d-flex {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 0.75rem !important;
  }

  .modern-footer .social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Footer links */
  .modern-footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .modern-footer .footer-links li {
    margin-bottom: 0.75rem;
  }

  .modern-footer .footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    text-align: left;
  }

  .modern-footer .footer-links a i {
    width: 18px;
    margin-right: 0.5rem !important;
  }

  /* Contact section */
  .modern-footer .contact-info {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .modern-footer .contact-info .contact-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1.6rem !important;
  }

  .modern-footer .contact-info .contact-item i {
    margin-right: 0 !important;
    margin-top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(158, 0, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modern-footer .contact-info .contact-item div {
    text-align: center;
  }

  .modern-footer .contact-info .contact-item small {
    margin-bottom: 0.25rem;
  }

  .modern-footer hr {
    margin-top: 2rem !important;
  }

  .footer-logo {
    width: 170px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo-link {
    margin-bottom: 1.2rem;
  }

  .footer-brand p {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}
