:root {
  --color-primary: #004071;
  --color-secondary: #ee1d23;
  --text-light: #ffffff;
  --bg-light: #f5f5f5;
}

@font-face {
  font-family: 'CustomFont';
  src: url('/fonts/MonaSans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'CustomFont', sans-serif;
}

::-moz-selection {
  background: var(--color-primary);
  color: #fff;
}

.text-theme {
  color: var(--color-primary) !important;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

.bg-primary-custom {
  background-color: var(--color-primary);
  color: var(--text-light);
}

header {
  background-color: transparent !important;
}

nav a {
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-secondary) !important;
}

.logo-img {
  width: 180px;
  height: auto;
}

.sticky-header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 1030;
  transition: all 0.3s ease;
}

.sticky-fixed {
  position: fixed !important;
  top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sticky-placeholder {
  height: 80px;
  display: none;
}

.sticky-placeholder.active {
  display: block;
}


.gradient-text {
  background: linear-gradient(90deg, rgba(0, 64, 113, 1), rgba(238, 29, 35, 1), rgba(0, 64, 113, 1));
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMotion 2s linear infinite, fadeIn 0.6s ease;
}


@keyframes gradientMotion {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Mobile Sidebar Base */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 280px;
  background-color: #ffffff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 2000;
}


.mobile-sidebar.show {
  transform: translateX(0);
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sidebar-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.3s;
}

.sidebar-link:hover {
  color: black !important;
}

.link {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  padding-bottom: 2px;

  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s ease-in-out, color 0.3s;
}

.link:hover {
  color: #007bff;
  background-size: 100% 2px;
}



/* nav-css-end */

/* button-css */

.custom-btn {
  position: relative;
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--color-primary), #005ea8);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 64, 113, 0.35);
}

.custom-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 64, 113, 0.5);
}

.custom-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 64, 113, 0.3);
}

.custom-btn span {
  position: relative;
  z-index: 1;
}

.custom-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 10%, transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.custom-btn:hover::after {
  opacity: 1;
}

.width {
  width: 92%;
}

/* button-css end*/

/* home page css */
.hero-title {
  font-size: 55px;
}

.hero-title2 {
  font-size: 40px;
}

.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 153px 0;
  color: white;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 153px 0;
  color: white;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}


.hero-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}


.section-title {
  font-weight: 600;
  display: inline-block;
  padding: 4px 12px;
  background-color: transparent;
  background-image: linear-gradient(to right, #d3e3ee, #d3e3ee);
  background-repeat: no-repeat;
  background-size: 35% 100%;
}


.stats-section {
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: var(--color-primary);
  position: relative;
}

.stat-box {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-secondary);
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.stat-box {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stat-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.counter-text {
  display: block;
  font-size: 36px;
  font-weight: bold;
  line-height: 1em;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.counter-digit {
  overflow: hidden;
  height: 1em;
  line-height: 1em;
  display: inline-block;
}

.counter-digit span {
  display: block;
  transition: transform 1s ease-out;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.no-focus-shadow:focus {
  box-shadow: none !important;
  outline: none !important;
}

.icon-img {
  width: 18px;
  height: 18px;
}


.product-card .card-icons {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover .card-icons {
  opacity: 1;
  pointer-events: auto;
}

.product-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-card img {
  border-radius: 1rem 1rem 0 0;
  transition: transform 0.4s ease;
}

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

.card-icons {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 100;
}

.product-card:hover .card-icons {
  opacity: 1;
  pointer-events: auto;
}

.card-icons a {
  background-color: #ffffffcc;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.card-icons a:hover {
  transform: scale(1.1);
  background-color: #f1f1f1;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-top: 0.5rem;
}

.card-body {
  padding: 1rem;
  background-color: #ecf2fa !important;
}

.product-card {
  overflow: hidden;
  border-radius: 1rem;
}

.product-card img {
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.1);
}


.image-container {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.image-container img {
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hover-img {
  opacity: 0;
  z-index: 1;
}

.product-card:hover .hover-img {
  opacity: 1;
}

.product-card:hover .main-img {
  opacity: 0;
}


.card-container {
  perspective: 1000px;
  margin-bottom: 30px;
}

.flip-card {
  width: 100%;
  height: 250px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card.flip {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  transform: rotateY(180deg);
  background-color: #333;
}

.flip-card.flip .flip-card-back {
  border: 1px solid silver;
}


.image-container:hover .hover-img {
  opacity: 1 !important;
}

.hover-img {
  z-index: 1;
}

.main-img {
  z-index: 0;
  position: relative;
}

.hover-img,
.main-img {
  transition: opacity 0.3s ease-in-out;
}

@media (max-width: 767.98px) {
  .logo-img {
    width: 160px;
  }
}


@media (max-width: 768px) {
  h2 {
    font-size: 26px !important;
  }
}


.image-card:hover .default-img {
  opacity: 0;
}



.image-card {
  width: 100%;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.image-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  /* background: linear-gradient(135deg, #004071, #ee1d23); */
  border-radius: 22px;
}

.image-card .default-img,
.image-card .hover-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: opacity 0.5s ease;
  display: block;
}

.image-card .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
}


.image-card:hover .hover-img {
  opacity: 1;
}

.product-title {
  color: var(--color-primary, #004071);
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
}

.product-description {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

.product-button {
  background-color: var(--color-secondary, #ee1d23);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s ease;
}

.custom-btn {
  background-color: var(--color-secondary, #ee1d23);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(238, 29, 35, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(238, 29, 35, 0.3);
}

@media (max-width: 576px) {
  .width {
    width: 100%;
  }

  .hero-title {
    font-size: 40px;
  }

}

.pagination {
    gap: 5px; 
}

.pagination .page-link {
    color: #004071;
    border: 1px solid #004071;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: #004071;
    border-color: #004071;
    color: white !important;
}

.pagination .page-link:hover {
    background-color: #004071;
    color: white !important;
    text-decoration: none;
}


.results-info {
    margin-right: 20px; 
}




/* home page css */


/* footer-start */

a.text-primary:hover {
  text-decoration: underline !important;
}

/* footer-end */