:root {
  --primary: #eb3134;
  --secondary: #454e91;
}

html,
body {
  height: 100%;
}

.top_bar {
  background-color: var(--secondary);
  padding: 8px 0;
  font-size: 13px;
}

.top_bar_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top_bar_item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  transition: color 0.25s;
}

.top_bar_item i {
  color: var(--primary);
  font-size: 13px;
}

.top_bar_item:hover {
  color: var(--primary);
}

body {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.custom_navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  position: relative;
  width: 100%;
  z-index: 1030;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.custom_navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  padding: 6px 0;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.custom_navbar .navbar-brand img {
  width: 200px;
}

.custom_navbar .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.custom_navbar .nav-link {
  color: var(--primary) !important;
  font-weight: 500;
  margin-right: 20px;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.custom_navbar .nav-link:hover {
  color: var(--secondary) !important;
}

.custom_navbar .dropdown-menu {
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  min-width: 170px;
  animation: dropFadeIn 0.2s ease forwards;
}

@keyframes dropFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

.custom_navbar .dropdown-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  padding: 10px 18px;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom_navbar .dropdown-item:hover,
.custom_navbar .dropdown-item:focus {
  background-color: #f5f6ff;
  color: var(--primary);
  padding-left: 22px;
}

.custom_card_block {
  position: relative;
  padding: 100px 0 !important;
  background: url('../images/banner.jpg') center/cover no-repeat fixed;
}

.custom_card_block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.custom_card_block .container {
  position: relative;
  z-index: 1;
}

.custom_card_header i {
  font-size: 45px;
  color: var(--primary);
  margin-bottom: 10px;
}

.custom_card_header h2 {
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 5px;
  color: #222;
}

.custom_card_header p {
  font-size: 15px;
  color: #666;
}

.custom_card_body {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 40px 30px;
  text-align: center;
}

.hero_float {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  transition: transform 0.2s linear;
}

.hero_float_1 {
  font-size: 60px;
  top: 8%;
  left: 4%;
  animation: floatIcon 2s ease-in-out infinite;
}

.hero_float_2 {
  font-size: 40px;
  bottom: 15%;
  right: 5%;
  animation: floatIcon 2.3s ease-in-out infinite 0.2s;
}

.hero_float_3 {
  font-size: 32px;
  top: 20%;
  right: 14%;
  animation: floatIcon 1.8s ease-in-out infinite 0.1s;
}

.hero_float_4 {
  font-size: 48px;
  bottom: 10%;
  left: 10%;
  animation: floatIcon 2.1s ease-in-out infinite 0.3s;
}

.hero_float_5 {
  font-size: 36px;
  top: 55%;
  right: 30%;
  animation: floatIcon 2.5s ease-in-out infinite 0.25s;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-1px);
}

footer {
  background: #fff;
  border-top: 1px solid var(--secondary);
  padding: 60px 0 0;
}

footer .footer_logo {
  width: 180px;
}

footer .footer_about {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.8;
}

footer .social_icons {
  display: flex;
  gap: 10px;
}

footer .social_icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
}

footer .social_icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

footer .footer_heading {
  color: var(--secondary);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

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

footer .footer_links li {
  margin-bottom: 12px;
}

footer .footer_links li a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

footer .footer_links li a i {
  color: var(--primary);
  font-size: 11px;
}

footer .footer_links li a:hover i {
  color: var(--secondary);
}

footer .footer_links li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

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

footer .footer_contact_list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
}

footer .footer_contact_list li i {
  color: var(--primary);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

footer .footer_contact_list li:hover i {
  color: var(--secondary);
}

footer .footer_contact_list li a {
  color: var(--secondary);
  text-decoration: none;
  transition: 0.3s;
}

footer .footer_contact_list li a:hover {
  color: var(--primary);
}

footer .bottom_bar {
  text-align: center;
  background-color: var(--secondary);
  padding: 15px 0;
  margin-top: 50px;
  font-size: 13px;
  color: #fff;
}

footer .bottom_bar a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

footer .bottom_bar a:hover {
  color: var(--primary);
}

@media (max-width: 991px) {
  .custom_card_block {
    padding: 50px 0 !important;
  }

  .custom_card_header h2 {
    font-size: 22px;
  }

  .custom_navbar {
    position: relative;
  }

  .custom_navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 3px solid var(--primary);
    padding: 8px 16px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    animation: menuSlideDown 0.25s ease forwards;
  }

  @keyframes menuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

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

  .custom_navbar .navbar-nav {
    gap: 2px;
  }

  .custom_navbar .nav-item {
    border-bottom: 1px solid #f2f2f2;
  }

  .custom_navbar .nav-item:last-child {
    border-bottom: none;
  }

  .custom_navbar .nav-link {
    margin-right: 0 !important;
    padding: 12px 10px !important;
    border-radius: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .custom_navbar .nav-link:hover,
  .custom_navbar .nav-link:focus {
    background-color: transparent;
    color: var(--secondary) !important;
    padding-left: 14px !important;
    transition: padding 0.2s ease, color 0.2s ease;
  }

  .custom_navbar .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none;
    box-shadow: none;
    background-color: #fafafa;
    border-left: 3px solid var(--primary);
    border-radius: 0;
    margin: 0 0 6px 10px;
    padding: 4px 0;
  }

  .custom_navbar .dropdown-item {
    font-size: 14px;
    padding: 9px 16px;
    color: var(--secondary);
    transition: 0.2s;
  }

  .custom_navbar .dropdown-item:hover {
    background-color: #f0f0f0;
    color: var(--primary);
    padding-left: 20px;
  }

  .hero_float_1,
  .hero_float_4 {
    display: none;
  }
}

@media (max-width: 767px) {
  .custom_card_header h2 {
    font-size: 18px;
  }

  .hero_float {
    display: none;
  }
  .top_bar {
    display: none;
  }
}