/********** Template CSS **********/
body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

p {
  margin-bottom: 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

h1,
.h1 {
  font-size: calc(1.5rem + 1.5vw);
}

h2,
.h2 {
  font-size: calc(1.325rem + 0.9vw);
}

h3,
.h3 {
  font-size: calc(1.3rem + 0.6vw);
}

h4,
.h4 {
  font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {

  h1,
  .h1 {
    font-size: 2.5rem;
  }

  h2,
  .h2 {
    font-size: 2rem;
  }

  h3,
  .h3 {
    font-size: 1.75rem;
  }

  h4,
  .h4 {
    font-size: 1.5rem;
  }
}

h5,
.h5 {
  font-size: 1.25rem;
}

h6,
.h6 {
  font-size: 1rem;
}

:root {
  --primary: #009CFF;
  --secondary: #777777;
  --light: #F8F8F8;
  --dark: #252525;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}


/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}


/*** Button ***/
.btn {
  font-weight: 500;
  transition: .5s;
}

.btn.btn-primary {
  color: #FFFFFF;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 20px 0;
  color: #FFFFFF;
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--dark);
}

.navbar.sticky-top {
  top: -100px;
  transition: .5s;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 8px 0;
  }

  .navbar .navbar-nav {
    margin-top: 8px;
    border-top: 1px solid rgba(256, 256, 256, .1)
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: .5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }
}

/* Hamburger Menu Icon Fix */
.navbar-toggler {
  border: 2px solid #0b2540;
  padding: 8px 10px;
  border-radius: 4px;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 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(11, 37, 64, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

/* Mobile menu styling */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    padding: 15px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 12px 0;
    color: #0b2540;
    border-bottom: 1px solid rgba(11, 37, 64, 0.1);
  }

  .navbar .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .navbar .navbar-nav {
    margin-top: 0;
    border-top: none;
  }
}


/*** Header ***/
#header-carousel .carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
  width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Hero Overlay Responsive Text */
.hero-overlay h1 {
  font-size: calc(1.8rem + 2vw);
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-overlay p {
  font-size: calc(1rem + 0.5vw);
  color: white;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

@media (min-width: 992px) {
  .hero-overlay h1 {
    font-size: 4rem;
    margin-bottom: 25px;
  }

  .hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
}

#header-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  text-indent: -999px;
  margin-bottom: 25px;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.5);
  margin-left: 5px;
  margin-right: 5px;
  transition: all 0.3s ease;
}

#header-carousel .carousel-indicators .active {
  background-color: #FFFFFF;
  transform: scale(1.3);
}


.page-header {
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: var(--light);
}


/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 4px;
  left: -40px;
  background: var(--primary);
  z-index: -1;
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  bottom: 4px;
  left: -60px;
  background: var(--primary);
  z-index: -1;
}

.section-title.text-start::before {
  width: calc(100% + 40px);
  left: 0;
}

.section-title.text-start::after {
  width: calc(100% + 60px);
  left: 0;
}



/*** Img Border ***/
.img-border {
  position: relative;
  height: 100%;
  min-height: 400px;
}

@media (max-width: 768px) {
  .img-border {
    min-height: 300px;
  }
}

.img-border::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 3rem;
  bottom: 3rem;
  border: 5px solid var(--primary);
  border-radius: 6px;
}

.img-border img {
  position: absolute;
  top: 3rem;
  left: 3rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .img-border::before {
    right: 15px;
    bottom: 15px;
  }

  .img-border img {
    top: 15px;
    left: 15px;
    width: calc(100% - 15px);
    height: calc(100% - 15px);
  }
}


/*** Facts ***/
.fact-item {
  transition: .5s;
}

.fact-item:hover {
  margin-top: -10px;
  background: #FFFFFF !important;
  box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, .07);
  border: 1px solid transparent;
  transition: .5s;
}

.service-item:hover {
  margin-top: -10px;
  box-shadow: none;
  border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
  height: 5px;
}

.progress .progress-bar {
  width: 0px;
  transition: 3s;
}


/*** Project ***/
.project-item a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(0, 0, 0, .5);
  border-radius: 6px;
  opacity: 0;
  transition: .5s;
}

.project-item:hover a {
  opacity: 1;
}

.project-carousel .owl-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.project-carousel .owl-dot {
  width: 35px;
  height: 35px;
  margin: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #DEE2E6;
  border-radius: 35px;
  transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
  color: #FFFFFF;
  border-color: var(--primary);
  background: var(--primary);
}


/*** Team ***/
.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
  position: relative;
  height: 65px;
  overflow: hidden;
}

.team-item .team-title {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .5s;
}

.team-item:hover .team-title {
  top: -65px;
}

.team-item .team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 65px;
  left: 0;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  background: #FFFFFF;
  transition: .5s;
}

.team-item .team-social .btn {
  margin: 0 3px;
}



/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
  width: 60px;
  height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
  transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #DEE2E6;
  border-radius: 50px;
  font-size: 18px;
  transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: #FFFFFF;
  border-color: var(--primary);
  background: var(--primary);
}

.gd-footer {
  background: #000;
  color: #ccc;
  padding: 18px 0 10px;
  font-size: 13px;
}

.gd-footer h5 {
  font-size: 14px;
  margin-bottom: 6px;
  color: #fff;
}

.gd-footer p {
  margin-bottom: 2px;
  line-height: 1.35;
}

.gd-footer ul li {
  margin-bottom: 4px;
}

.gd-footer a {
  color: #ccc;
  text-decoration: none;
}

.gd-footer a:hover {
  color: #0d6efd;
}

.gd-footer .email i {
  margin-right: 6px;
  color: #0d6efd;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.3);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: #888;
}




.project-item {
  background: #fff;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* subtle shadow */
  transition: all 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  /* deeper shadow on hover */
}


.project-item .button-row,
.project-item .button-row>div,
.project-item .button-row>div>a {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.button-row {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.button-row>div {
  position: relative;
  perspective: 800px;
  height: 40px;
  width: 160px;
}

/* Two button faces (front = Find Out More, back = Download) */
.button-row>div>a::before,
.button-row>div>a::after {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  backface-visibility: hidden;
  transition: transform 0.25s ease;
  box-sizing: border-box;
}

/* Front face */
.button-row>div>a::before {
  content: "Find Out More";
  background-color: #4A90E2;
  transform: rotateX(0deg) translateZ(20px);
}

/* Back face (hover) */
.button-row>div>a::after {
  content: "Download";
  background-color: #367bb7;
  transform: rotateX(90deg) translateZ(20px);
}

/* Hover flip */
.button-row>div>a:hover::before {
  transform: rotateX(-90deg) translateZ(20px);
}

.button-row>div>a:hover::after {
  transform: rotateX(0deg) translateZ(20px);
}

.client-item {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.client-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 156, 255, 0.15);
  border-color: var(--primary);
}

.client-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.client-item:hover .client-img-wrapper {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.client-logo {
  max-width: 180px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: all 0.3s ease;
}

.client-item:hover .client-logo {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.client-item h5 {
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s ease;
}

.client-item:hover h5 {
  color: var(--primary);
}

.client-item p {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.7;
  flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .client-img-wrapper {
    min-height: 100px;
    padding: 15px;
  }

  .client-logo {
    max-width: 150px;
    max-height: 80px;
  }

  .client-item {
    margin-bottom: 20px;
  }
}


/* Project grid for pagination */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

/* Each card occupies ~25% minus gap */
.project-list .project-item {
  flex: 0 0 calc(25% - 1rem);
  min-width: 220px;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .project-list .project-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 576px) {
  .project-list .project-item {
    flex: 0 0 100%;
  }
}

/* Optional: style pagination buttons */
#projects-pagination button {
  min-width: 38px;
}


/* Make each card a column flexbox so content heights are consistent */
.project-list .project-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  height: 100%;
  /* lets cards fill the grid cell */
  padding: 1rem;
}

/* Image wrapper keeps an exact aspect ratio so all images look uniform */
.project-list .project-item .position-relative {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: .375rem;
  margin-bottom: 1rem;
}

/* The img itself fills the wrapper and is cropped consistently */
.project-list .project-item .position-relative img,
.project-list .project-item .position-relative a>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* preserves center crop */
  display: block;
}

/* Content area (title + description + buttons) */
.project-list .project-item h6 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  line-height: 1.2;
}

/* Description: clamp to 3 lines so cards stay similar height */
.project-list .project-item span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* change to 2 or 4 lines if you prefer */
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: .75rem;
  line-height: 1.35;
  color: #555;
  /* tweak if needed */
}

/* push the buttons to the bottom so all cards line up */
.project-list .project-item .button-row {
  margin-top: auto;
  /* critical: takes remaining space, aligns buttons to bottom */
  display: flex;
  gap: .5rem;
  align-items: center;
}

/* make sure links inside button-row look tidy */
.project-list .project-item .button-row a {
  white-space: nowrap;
  text-decoration: none;
}

/* Responsive grid rules (you already have them) */
/* Each card occupies ~25% minus gap (4 per row) */
.project-list .project-item {
  flex: 0 0 calc(25% - 1rem);
  min-width: 220px;
}

/* 2 per row on medium screens, 1 per row on small screens */
@media (max-width: 992px) {
  .project-list .project-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 576px) {
  .project-list .project-item {
    flex: 0 0 100%;
  }
}

/* Optional: uniform card min-height for very even rows (tweak px value) */
.project-list .project-item {
  min-height: 420px;
  /* increase/decrease to taste; optional */
}


.gd-footer {
  background-color: #111;
  /* same dark tone */
  color: #ccc;
  padding: 60px 0 30px;
  font-size: 15px;
  line-height: 1.6;
}

.gd-footer h4,
.gd-footer h5 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}

.gd-footer a {
  color: #bbb;
  text-decoration: none;
}

.gd-footer a:hover {
  color: #0d6efd;
  /* Bootstrap primary blue */
  text-decoration: underline;
}

.gd-footer .icon {
  color: #0d6efd;
  margin-right: 8px;
}

.gd-footer .mt-2 {
  margin-top: 10px !important;
}

/* Make lists and spacing neat */
.gd-footer ul {
  padding-left: 0;
}

.gd-footer ul li {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 767px) {
  .gd-footer {
    text-align: center;
  }
}

/* .client-carousel .client-logo-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.client-carousel .client-logo-item img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(40%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.client-carousel .client-logo-item img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
} */


/* base modal (hidden) */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  align-items: center;
  justify-content: center;
}

/* modal content centered */
.modal .modal-content {
  max-width: 800px;
  margin: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  position: relative;
}

/* show when target */
.modal:target {
  display: flex;
}

/* close button styling (you already use href="#") */
.close-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 1.6rem;
  text-decoration: none;
  color: #333;
}

/* small responsive image */
.bio-img {
  max-width: 160px;
  border-radius: 50%;
  margin-bottom: 12px;
}


/* NAVBAR TEXT COLOR */
.navbar-nav .nav-link {
  color: #0d0d0d !important;
  /* Black text */
  font-weight: 600;
  transition: 0.3s ease;
}

/* HOVER EFFECT */
.navbar-nav .nav-link:hover {
  color: #0d6efd !important;
  /* Bootstrap blue */
  transform: translateY(-1px);
}

/* ACTIVE LINK */
.navbar-nav .nav-link.active {
  color: #0d6efd !important;
  /* Blue */
}

/* White background */
.navbar {
  background-color: #ffffff !important;
}


/* #contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 120px !important; 
  align-items: stretch;
} */



/* container to avoid excessive white space and center the team section */
.team-container {
  max-width: 1100px;
  /* controls how much white space left/right */
}

/* Tabs appearance */
.team-tabs .nav-link {
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #1770d9;
  /* blue for inactive */
  background: transparent;
  border: none;
  padding: 12px 36px;
  border-radius: 0;
  position: relative;
  transition: all .15s ease-in-out;
  font-size: 0.95rem;
}

.team-tabs .nav-link.active {
  color: #ffffff;
  /* text white for active */
  background: #2fa84f;
  /* green pill as in screenshot */
  box-shadow: none;
}

/* thin blue underline under the tab group (like your screenshot) */
.team-tabs {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 6px;
}

/* place a short blue bar under the active tab (right under the green) */
.team-tabs .nav-link.active::after {
  content: "";
  height: 3px;
  width: 100%;
  background: #0b63c7;
  position: absolute;
  left: 0;
  bottom: -7px;
}

/* Team card */
.team-card {
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Card image area: fixed height and crop with object-fit */
.team-card-img {
  height: 320px;
  /* fixed height for consistent cards */
  overflow: hidden;
  background: #f6f6f6;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* crop images (keeps aspect ratio) */
  display: block;
}

/* Card body */
.team-card .card-body {
  padding: 18px;
  min-height: 150px;
}

/* small role text and title */
.team-card .text-muted {
  font-size: 13px;
}

.team-card .card-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 600;
}

/* small social and read-bio link layout */
.team-card .team-social .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Reduce whitespace inside read bio link */
.team-card a.btn-link {
  font-weight: 600;
  text-decoration: none;
  color: #1770d9;
  font-size: 0.95rem;
  padding-right: 0;
}

/* card shadow + subtle border */
.card.team-card {
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 18px rgba(25, 37, 49, 0.04);
}

.row.g-4 .col-lg-4 .team-card {
  height: 100%;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .team-card-img {
    height: 260px;
  }

  .team-tabs .nav-link {
    padding: 10px 18px;
    font-size: .9rem;
  }
}

@media (max-width: 575px) {
  .team-card-img {
    height: 200px;
  }

  .team-tabs {
    padding-bottom: 10px;
  }
}

/* optional: tighten overall container spacing */
.container-xxl.py-5 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}


/* ========================================
   FOOTER STYLES
   ======================================== */

.gd-footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #b8b8b8;
  padding: 25px 0 0;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.gd-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(13, 110, 253, 0.5) 50%,
      transparent);
}

/* Equal spacing for all columns */
.gd-footer .row {
  display: flex;
  flex-wrap: wrap;
}

.gd-footer .col-lg {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}

/* Footer Headings */
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 6px;
  position: relative;
  text-transform: uppercase;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  /* background: linear-gradient(90deg, #0d6efd, transparent); */
}

/* Footer Content */
.footer-content p {
  margin-bottom: 4px;
  font-size: 13px;
  color: #9a9a9a;
  line-height: 1.4;
}

.footer-content .company-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: #b8b8b8;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
  font-size: 13px;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #0d6efd;
}

.footer-links a:hover {
  color: #0d6efd;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: -18px;
}

.footer-email {
  margin-top: 10px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-email i {
  color: #0d6efd;
  font-size: 14px;
}

.footer-email a {
  color: #b8b8b8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-email a:hover {
  color: #0d6efd;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #0d6efd;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.footer-social a:hover::before {
  width: 100%;
  height: 100%;
}

.footer-social a:hover {
  color: #ffffff;
  border-color: #0d6efd;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.footer-bottom {
  margin-top: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: #7a7a7a;
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  .gd-footer .col-lg {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .gd-footer {
    padding: 20px 0 0;
    text-align: left;
  }

  .gd-footer .col-lg {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }

  .footer-heading {
    margin-bottom: 10px;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .footer-links a {
    font-size: 13px;
  }

  .footer-content p {
    font-size: 12px;
  }
}

.gd-footer .col-lg:nth-child(2) {
  padding-left: 30px;
}