/********** Template CSS **********/
:root {
  --primary: #0098da; /* Vibrant blue - your specified color */
  --secondary: #5ca47a; /* Muted green - your specified color */
  --tertiary: #78909c; /* Cool gray - professional accent */
  --light: #eceff1; /* Off-white with blue undertone */
  --dark: #263238; /* Deep blue-gray - authority */
  --bs-font-sans-serif: "Noto Sans", sans-serif;
}

body {
  font-family: "Noto Sans", sans-serif;
}

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

h1,
.h1,
h2,
.h2,
.fw-bold {
  font-weight: 700 !important;
  font-family: "Gidole", sans-serif;
}

h3,
.h3,
h4,
.h4,
.fw-medium .page-header {
  font-weight: 600 !important;
  font-family: "Gidole", sans-serif;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
  font-family: "Gidole", sans-serif;
}

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

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

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

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

.btn-primary:hover {
  background-color: #0080b8; /* Slightly darker primary */
  border-color: #0080b8;
}

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

.btn-secondary,
.btn-outline-secondary:hover {
  color: var(--light);
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: #4e9268; /* Slightly darker secondary */
  border-color: #4e9268;
}

.btn-outline-secondary {
  color: var(--secondary);
  border-color: var(--secondary);
}

/*** Navbar ***/
.fixed-top {
  transition: 0.5s;
}

.top-bar {
  height: 45px;
  border-bottom: 1px solid rgba(0, 152, 218, 0.1);
  background-color: #000;
}

/* Add this to your existing CSS to make the navbar toggler visible */
.navbar-toggler {
  border: 1px solid var(--primary);
  background-color: rgba(0, 152, 218, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 152, 218, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Improve mobile menu appearance */
@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 152, 218, 0.2);
    background: #ffffff;
    padding: 10px 0;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 152, 218, 0.25);
    outline: none;
  }
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Noto Sans", sans-serif;
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
  padding: 25px 17px;
  color: var(--dark);
  font-weight: 600;
  outline: none;
  transition: 0.3s;
}

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

/* Add underline effect on hover and active state */
.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  height: 2px;
  background-color: var(--primary);
}

/* Brand styling */
.navbar-brand h1 {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    background: #ffffff;
  }

  .navbar .navbar-nav .nav-link {
    padding: 12px 0;
  }

  .navbar .navbar-nav .nav-link:hover::after,
  .navbar .navbar-nav .nav-link.active::after {
    bottom: 8px;
    left: 0;
    right: 75%;
    display: none; /* Completely remove the underline */
  }

  .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background-color: rgba(
      0,
      152,
      218,
      0.1
    ); /* Light background instead of underline */
    border-radius: 4px;
  }

  /* Adjust padding for better mobile appearance */
  .navbar .navbar-nav .nav-link {
    padding: 12px 15px;
    margin: 2px 0;
  }
}

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

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

/*** Header ***/
/*** Image-Only Carousel with Improved Responsiveness ***/
.carousel-item {
  height: 700px; /* Base height for large screens */
  overflow: hidden;
}

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

/* More granular breakpoints for better responsiveness */
@media (max-width: 1200px) {
  .carousel-item {
    height: 600px;
  }
}

@media (max-width: 992px) {
  .carousel-item {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .carousel-item {
    height: 300px;
  }
}

@media (max-width: 400px) {
  .carousel-item {
    height: 250px;
  }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
  border-radius: 50%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

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

/* Indicator styling */
.carousel-indicators {
  margin-bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--light);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.carousel-indicators .active {
  background-color: var(--primary);
  opacity: 1;
  width: 14px;
  height: 14px;
}

/* Adjust carousel controls for better mobile experience */
@media (max-width: 576px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    border-width: 6px;
  }

  .carousel-indicators {
    margin-bottom: 0.5rem;
  }

  .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
  }

  .carousel-indicators .active {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 400px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 4px;
  }
}

/* Improve carousel caption responsiveness */
.carousel-caption {
  bottom: 20%;
}

@media (max-width: 992px) {
  .carousel-caption {
    bottom: 15%;
  }

  .carousel-caption h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .carousel-caption .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .carousel-caption {
    bottom: 10%;
  }

  .carousel-caption h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 576px) {
  .carousel-caption {
    bottom: 5%;
    padding-bottom: 0;
  }

  .carousel-caption h5 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .carousel-caption .btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

/* Make carousel clickable area more responsive */
.carousel-clickable {
  cursor: pointer;
  transition: opacity 0.3s;
}

.carousel-clickable:active {
  opacity: 0.9;
}

/* Optional: Add a subtle shadow at the bottom of the carousel */
#header-carousel::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
  z-index: 1;
}

/* Improve page-header background image positioning for responsive views */
/* Base Page Header Styling */
.page-header {
  padding-top: 12rem;
  padding-bottom: 6rem;
  background: url(../img/header.jpg) top -57% center/cover no-repeat;
  position: relative;
}

/* Overlay for better text readability */
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Ensure content is above the overlay */
.page-header .container {
  position: relative;
  z-index: 2;
}

/* Page title styling */
.page-header h1 {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Breadcrumb styling */
/* Breadcrumb styling */
.page-header .breadcrumb {
  background: transparent;
  padding: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.page-header .breadcrumb-item a:hover {
  color: #fff;
}

.page-header .breadcrumb-item.active {
  color: #fff;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}
/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
  .page-header {
    padding-top: 14rem;
    padding-bottom: 7rem;
    /* Keep the same background position as desktop */
  }

  .page-header h1 {
    font-size: 4rem;
  }

  .page-header .breadcrumb-item,
  .page-header .breadcrumb-item a {
    font-size: 1.2rem;
  }
}

/* Desktop (1200px to 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .page-header {
    padding-top: 13rem;
    padding-bottom: 6.5rem;
    /* Keep the same background position as base */
  }

  .page-header h1 {
    font-size: 3.5rem;
  }
}

/* Laptop (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .page-header {
    padding-top: 11rem;
    padding-bottom: 5.5rem;
    background-position: top -67% center; /* Adjust to keep face visible */
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .page-header .breadcrumb-item,
  .page-header .breadcrumb-item a {
    font-size: 1rem;
  }
}

/* Tablet (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .page-header {
    padding-top: 9rem;
    padding-bottom: 4.5rem;
    background-position: top -46% center; /* Adjust to keep face visible */
  }

  .page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem !important;
  }

  .page-header .breadcrumb-item,
  .page-header .breadcrumb-item a {
    font-size: 0.95rem;
  }
}

/* Mobile L (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .page-header {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-position: top -141% center; /* Adjust to keep face visible */
  }

  .page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.6rem !important;
  }

  .page-header .breadcrumb-item,
  .page-header .breadcrumb-item a {
    font-size: 0.9rem;
  }
}

/* Mobile M (425px to 575.98px) */
@media (min-width: 425px) and (max-width: 575.98px) {
  .page-header {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
    background-position: top -10595% center;/* Adjust to keep face visible */
  }

  .page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem !important;
  }

  .page-header .breadcrumb-item,
  .page-header .breadcrumb-item a {
    font-size: 0.85rem;
  }
}

/* Mobile S (375px to 424.98px) */
@media (min-width: 375px) and (max-width: 424.98px) {
  .page-header {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
    background-position: top 28550% center;
  }

  .page-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem !important;
  }

  .page-header .breadcrumb-item,
  .page-header .breadcrumb-item a {
    font-size: 0.8rem;
  }
}

/* Extra Small Mobile (320px to 374.98px) */
@media (max-width: 374.98px) {
  .page-header {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
    background-position: top -10% center; /* Adjust to keep face visible */
  }

  .page-header h1 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem !important;
  }

  .page-header .breadcrumb-item,
  .page-header .breadcrumb-item a {
    font-size: 0.75rem;
  }

  .page-header .breadcrumb {
    margin-bottom: 0 !important;
  }
}

/*** Facts ***/
.facts {
  background: linear-gradient(rgba(53, 94, 252, 0.95), rgba(53, 94, 252, 0.95)),
    url(../img/bg.png);
}

/*** Callback ***/
.callback {
  position: relative;
}

.callback::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  top: 0;
  left: 0;
  background: linear-gradient(rgba(53, 94, 252, 0.95), rgba(53, 94, 252, 0.95)),
    url(../img/bg.png);
  z-index: -1;
}

/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
  transition: 0.5s;
}

.feature .feature-box:hover {
  background: var(--primary);
  border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
  color: #ffffff !important;
}

/*** Service ***/
.service .nav .nav-link {
  transition: 0.5s;
}

.service .nav .nav-link.active {
  border-color: var(--primary) !important;
  background: var(--primary);
}

.service .nav .nav-link.active h5 {
  color: #ffffff !important;
}

.service .nav .nav-link.active h5 i {
  color: #ffffff !important;
}

/*** Project ***/
.project-item,
.project-item .project-img {
  position: relative;
}

.project-item .project-img a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  opacity: 0;
  transition: 0.5s;
}

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

.project-item .project-title {
  position: absolute;
  top: 3rem;
  right: 0;
  bottom: 0;
  left: 3rem;
  border: 1px solid var(--light);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  z-index: -1;
  transition: 0.5s;
}

.project-item:hover .project-title {
  background: var(--primary);
  border-color: var(--primary);
}

.project-item .project-title h4 {
  transition: 0.5s;
}

.project-item:hover .project-title h4 {
  color: #ffffff;
}

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

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--light);
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: var(--light);
}

/*** Team ***/
.team-item {
  position: relative;
  padding: 4rem 0;
}

.team-item img {
  position: relative;
  z-index: 2;
}

.team-item .team-text {
  position: absolute;
  top: 0;
  right: 3rem;
  bottom: 0;
  left: 3rem;
  padding: 15px;
  border: 1px solid var(--light);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: 0.5s;
  z-index: 1;
}

.team-item:hover .team-text {
  background: var(--primary);
  border-color: var(--primary);
}

.team-item .team-text h4 {
  transition: 0.5s;
}

.team-item:hover .team-text h4 {
  color: #ffffff;
}

.team-item .team-social .btn {
  background: var(--light);
  color: var(--primary);
}

.team-item:hover .team-social .btn {
  background: #ffffff;
}

.team-item .team-social .btn:hover {
  background: var(--primary);
  color: var(--light);
}

/*** Testimonial ***/
.testimonial-item {
  position: relative;
  text-align: center;
  padding-top: 30px;
}

.testimonial-item .testimonial-text {
  position: relative;
  text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
  position: absolute;
  width: 60px;
  height: 60px;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
  position: absolute;
  content: "";
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  border: 30px solid;
  border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
  position: absolute;
  content: "";
  bottom: -59px;
  left: 50%;
  transform: translateX(-50%);
  border: 30px solid;
  border-color: #ffffff transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
  margin: 0 auto;
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--light);
  border-radius: 30px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot::after {
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  top: 6px;
  left: 6px;
  border-radius: 16px;
  background: var(--light);
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
  background: var(--primary);
}

/*** Footer ***/
/*** Fully Responsive Corporate Footer ***/
.footer {
  background-color: var(--dark) !important;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

/* Company name styling */
.footer h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1.2rem;
  color: var(--light);
}

/* Section headings */
.footer h4 {
  position: relative;
  padding-bottom: 1rem;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40px;
  background: var(--primary);
}

/* Link styling */
.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-link::before {
  content: "\f105";
  font-family: "Noto Sans", sans-serif;
  font-weight: 900;
  margin-right: 10px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* .footer-link:hover::before {
    opacity: 1;
} */

/* Social media buttons */
.footer .btn-square {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-color: var(--primary);
  transition: all 0.3s;
}

.footer .btn-square:hover {
  background: var(--primary);
  color: var(--light);
}

/* Contact info styling */
.footer-contact p {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  min-width: 25px;
  color: var(--primary);
}

/* Copyright section */
/* Simplified Copyright Section */
.copyright {
  background-color: #000;
  color: var(--light);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 1rem 0;
}

.copyright span {
  display: inline-block;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
  .copyright {
    font-size: 0.8rem;
  }
}

.copyright .text-primary {
  text-decoration: none;
}

.copyright .text-primary:hover {
  text-decoration: underline;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-menu a {
  text-decoration: none;
  transition: all 0.3s;
  margin-left: 1rem;
}

.footer-menu a:hover {
  color: var(--primary) !important;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  .footer h1 {
    font-size: 2rem;
  }
}

@media (max-width: 991.98px) {
  .footer .row > div:not(:last-child) {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .footer h1 {
    font-size: 1.8rem;
  }

  .footer h4 {
    font-size: 1.2rem;
  }

  .footer-menu {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .footer-menu a {
    margin: 0 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .footer {
    text-align: center;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links {
    align-items: center;
  }

  .footer-link:hover {
    padding-left: 0;
  }

  .footer-contact p {
    justify-content: center;
  }

  .footer .d-flex {
    justify-content: center;
  }

  .footer-menu {
    flex-direction: row;
    justify-content: center;
  }

  .footer-menu a {
    margin: 0 0.5rem;
    font-size: 0.8rem;
  }
}

/* For very small devices */
@media (max-width: 359.98px) {
  .footer h1 {
    font-size: 1.5rem;
  }

  .footer h4 {
    font-size: 1.1rem;
  }

  .footer p,
  .footer-link {
    font-size: 0.9rem;
  }

  .copyright {
    font-size: 0.8rem;
  }

  .footer-menu a {
    margin: 0 0.3rem;
    font-size: 0.75rem;
  }
}

/* cantact us style  */
/* Enhanced Contact Info Boxes Styling with Interactive Hover Effects */
.contact-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.shadow-hover {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.icon-box {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.contact-card:hover .icon-box {
  transform: scale(1.1);
}

/* Overlay effect */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  border-radius: 0.25rem;
}

.contact-card:hover .card-overlay {
  opacity: 0.95;
}

.overlay-content {
  padding: 2rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.contact-card:hover .overlay-content {
  transform: translateY(0);
  opacity: 1;
}

/* Button styling */
.overlay-content .btn {
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.overlay-content .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .contact-card {
    margin-bottom: 1.5rem;
  }

  .icon-box {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 767.98px) {
  .overlay-content {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .icon-box {
    width: 70px;
    height: 70px;
  }

  .overlay-content h4 {
    font-size: 1.25rem;
  }

  .overlay-content p {
    font-size: 0.9rem;
  }
}

.logo-item {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
}

.logo-item img {
  max-height: 80px;
  max-width: 100%;
  transition: all 0.3s ease;
  filter: grayscale(0%);
  /* opacity: 0.7; */
}

/* .logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
} */

/* Modal Styling */
#inquiryModal .modal-content {
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#inquiryModal .modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0080b8 100%);
  border-bottom: none;
  padding: 1.5rem;
}

#inquiryModal .modal-title {
  font-weight: 600;
  color: white;
  font-size: 1.5rem;
}

#inquiryModal .btn-close {
  color: white;
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

#inquiryModal .modal-body {
  padding: 2rem;
}

#inquiryModal .form-control,
#inquiryModal .form-select {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 58px;
}

#inquiryModal textarea.form-control {
  height: 150px;
}

#inquiryModal .form-control:focus,
#inquiryModal .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 152, 218, 0.25);
}

#inquiryModal .form-floating label {
  color: #6c757d;
  padding: 1rem;
}

#inquiryModal .form-floating > .form-control,
#inquiryModal .form-floating > .form-select {
  padding: 1rem;
}

#inquiryModal .invalid-feedback {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

#inquiryModal .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  transition: all 0.3s;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
}

#inquiryModal .btn-primary:hover {
  background-color: #0080b8;
  border-color: #0080b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Modal Animation */
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: scale(0.95);
}

.modal.show .modal-dialog {
  transform: scale(1);
}

/* Inquiry button styling */
.inquiry-btn {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.inquiry-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments for the modal */
@media (max-width: 768px) {
  #inquiryModal .modal-body {
    padding: 1.5rem;
  }

  #inquiryModal .modal-title {
    font-size: 1.3rem;
  }

  #inquiryModal .form-floating {
    margin-bottom: 0.5rem;
  }

  #inquiryModal .btn-primary {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }
}

@media (max-width: 576px) {
  #inquiryModal .modal-body {
    padding: 1rem;
  }

  #inquiryModal .modal-header {
    padding: 1rem;
  }

  #inquiryModal .modal-title {
    font-size: 1.2rem;
  }

  #inquiryModal h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem !important;
  }

  #inquiryModal .form-floating label {
    padding: 0.75rem;
  }

  #inquiryModal .form-floating > .form-control,
  #inquiryModal .form-floating > .form-select {
    padding: 0.75rem;
    height: 52px;
  }

  #inquiryModal textarea.form-control {
    height: 120px;
  }
}
