html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  padding: 0;
  /* color: #342b50; */

  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  padding-right: 0;
  box-sizing: border-box;
  min-height: 100vh;
  color: rgba(0, 0, 0, 0.71);
}

.page {
  display: none;
}
.color-first {
  color: #003087;
}
.color-secondary {
  color: #0070e0;
}
a {
  text-decoration: none;
  color: inherit;
}

.bg-contact {
  background-color: #eeebe7;
}

.bg-first {
  background-color: #f5f8fd;
}
.bg-second {
  background-color: #0070e0;
}
.color-third {
  color: #103256;
}

.f-pakete {
  font-size: 55px;
}

@media (max-width: 450px) {
  .f-pakete {
    font-size: 38px;
  }
}

/* Navbar Styling */
.navbar {
  background-color: #003087;
  transition: background-color 0.3s ease;
}

.navbar-brand a {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Navbar Links */
.nav-item {
  position: relative;
}

.nav-item a {
  color: #ffffffad;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 10px 15px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  display: inline-block;
}

/* Underline Effect on Hover */
.nav-item a:hover {
  color: #fff;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

/* Keep Underline on Active Link */
.nav-item .nav-link.active {
  color: #fff;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

/* Hamburger Icon Styles */
.navbar-toggler {
  border: none; /* Remove border */
  outline: none; /* Remove focus outline */
  background: none; /* Remove default background */
}

.navbar-toggler-icon {
  background-color: transparent; /* Ensure no background */
}

/* Media Queries for Responsiveness */
@media (max-width: 767px) {
  .navbar-collapse {
    transition: max-height 0.3s ease;
    max-height: 0;
    overflow: hidden;
  }

  .navbar-collapse.show {
    max-height: 500px; /* Adjust for your content */
  }
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar-toggler {
  background-color: transparent;
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.line-container {
  width: 100%; /* Full width of the screen */
  height: 50vh; /* Height set to 150% of the viewport height */
  margin-top: 150px; /* Space above the container */
  background: linear-gradient(45deg, #003087 50%, transparent 50%) no-repeat,
    /* Diagonal line */ linear-gradient(90deg, #003087 0%, transparent 0%)
      no-repeat; /* Horizontal line */
  background-size: 100% 100%, 100% 100%; /* Full width for both */
  background-position: top right, top right;
  background-attachment: fixed; /* Keeps the background fixed while scrolling */
  padding: 30px;
}

.button-container {
  position: absolute;
  top: 70%; /* Adjusted from 40% to 45% to move it down */
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
}

.background-image-container {
  width: 100%;
  height: calc(80vh - 65.5px);
  background-image: url("./images/consulting-banner.jpg");
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: visible !important;
}
.bottom-container {
  position: absolute;
  opacity: 90%;
  width: 80%;
  height: 20vh;
  background-color: #003087;
  bottom: -10vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible !important;
}

.bottom-container-2 {
  margin-top: 10vh;
  margin-bottom: 48px !important;
  z-index: 1;
}

.slide-bottom {
  transform: translateY(100px); /* Start off-screen below */
  opacity: 0; /* Start hidden */
  width: 100%; /* Full width */
  transition: transform 0.6s ease, opacity 0.7s ease; /* Transition for slide-in effect */
}

.slide-bottom.slide-in {
  transform: translateY(0); /* Move to original position */
  opacity: 1; /* Make visible */
}

.btn-one {
  color: #ffffff;
  background-color: #003087;
  padding: 6px 12px;
  border-radius: 15px;
  border: none;
}

.btn-one:hover {
  color: white;
  background-color: #003087;
  padding: 6px 18px;
  transition: all 0.3s ease;
}
.fa-play:hover {
  color: #4b9c26 !important;
}

.btn-one:hover span {
  display: inline-block;
  transform: rotate(-360deg);
}

.btn-one a {
  text-decoration: none;
}

.element {
  width: 100%; /* Full width */
  height: 300px; /* Adjust height as needed */
  background-color: #003087; /* Blue color */
  clip-path: path(
    "M 0 0 L 100% 0 L 100% 70% Q 50% 120% 0 70% Z"
  ); /* Curved shape */
}

.font-15 {
  font-size: 15px;
}

.custom-shape {
  width: 100%;
  margin-top: 100px;
  height: 100vh;
  background-color: #003087; /* Blue color */
  clip-path: polygon(79.3% 0%, 100.1% 0%, 100.1% 100.3%, 0% 100.3%, 0% 79.8%);
  position: absolute;
  top: 0; /* Start from the top of the container */
  z-index: 0; /* Ensure the shape stays behind the card */
}

.custom-shape-2 {
  width: 100%;
  margin-top: 100px;
  height: 100vh;
  background-color: #0070e0; /* Blue color */
  clip-path: polygon(0% 79.8%, 100.1% 79.5%, 100.1% 100%, 0% 100.3%);
  position: absolute;
  top: 0; /* Start from the top of the container */
  z-index: -1; /* Ensure the second shape stays behind everything */
}

.card-container {
  z-index: 1111; /* Ensure the card appears above the custom shapes */
  margin-top: 150px;
  margin-right: auto;
  margin-left: auto;
  overflow: visible;
}

.card {
  z-index: 2; /* Ensures card stays above the custom-shape */
}

.custom-shape-3 {
  width: 100%;
  position: relative;

  background: linear-gradient(
    to right,
    #003087 50%,
    #0070e0 50%
  ); /* Blue and second color split */
  clip-path: polygon(
    75.9% 0%,
    100.1% 0%,
    100% 100.3%,
    41% 99.5%,
    70% 100%,
    0% 100.3%,
    0% 82.5%,
    50% 82%
  );
  margin-left: auto;
  margin-right: auto;
  padding: 0%;
  z-index: 0; /* Ensure the shape stays behind the card */
  overflow: visible;
  display: flex;
  flex-grow: 1;
  height: 20vh;
}

/* @media (max-width: 2560px) {
  .custom-shape-3 {
    height: 750px;
  }
}

@media (max-width: 1440px) {
  .custom-shape-3 {
    height: 950px;
  }
}
@media (max-width: 1024px) {
  .custom-shape-3 {
    height: 1320px;
  }
}
@media (max-width: 768px) {
  .custom-shape-3 {
  }
} */

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.animated-heading-container {
  text-align: center;
  padding: 40px 0;
}

.main-heading {
  color: #003087;
  margin-bottom: 10px;
}

.motto {
  color: #666;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.underline {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #003087, #0070e0);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.underline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* POCETNA */

.service-list li {
  position: relative;
  padding-left: 12px;
  line-height: 1.6;
  transition: transform 0.2s ease;
  font-size: 0.9rem;
}

.service-list li:hover {
  transform: translateX(10px);
  color: #003087;
}

.background-shape {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Specific styles for the services cards */
.services-image-card {
  transition: transform 0.3s ease;
  border-radius: 15px;
  background-color: white;
  height: 100%;
}

.services-image-card:hover {
  transform: translateY(-5px);
}

.services-image-card img {
  width: 100%;
  height: 800px; /* Adjusted to match content height */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services-content-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  transition: transform 0.3s ease;
  height: 100%;
}

.services-content-card:hover {
  transform: translateY(-5px);
}

.service-list li:hover {
  transform: translateX(10px);
  color: #003087;
}

.background-shape {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.services-image-card {
  transition: transform 0.3s ease;
  border-radius: 15px;
  background-color: #f1f2f3;
  height: 100%;
}

.services-image-card:hover {
  transform: translateY(-5px);
}

.services-image-card img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services-content-card {
  background-color: #f1f2f3;
  border-radius: 15px;
  transition: transform 0.3s ease;
  height: 100%;
}

.services-content-card:hover {
  transform: translateY(-5px);
}

.professional-divider {
  position: relative;
  height: 20px;
  background-color: #0070e0;
  margin: 30px 0;
}
@media (max-width: 768px) {
  .professional-divider {
    height: 13px !important;
    margin: 10px 0 !important;
  }
}

.diagonal-section {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(45deg, #0070e0, #0070e0);
}

.diagonal-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(10deg);
}

.content-wrapper {
  position: relative;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.accent-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 4px;
  background-color: white;
  opacity: 0.2;
}

.accent-bar::before,
.accent-bar::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  opacity: 0.2;
}

.accent-bar::before {
  left: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.accent-bar::after {
  right: 0;
  transform: translate(50%, -50%) rotate(45deg);
}

@media (max-width: 768px) {
  .professional-divider {
    height: 80px;
    margin: 40px 0;
  }

  .accent-bar {
    width: 80%;
  }
}

@media (max-width: 991px) {
  /* 991px is Bootstrap's lg breakpoint */
  .services-image-card img {
    height: 250px; /* Reduced height for mobile view */
  }
}

/* UBER MICH */

.animated-heading-container {
  text-align: center;
  padding: 40px 0;
}

.main-heading {
  color: #003087;
  margin-bottom: 10px;
}

.underline {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #003087, #0070e0);
  margin: 0 auto;
}

.profile-section {
  background-color: #f1f2f3;
  padding: 30px 0;
}

.profile-content {
  padding: 20px;
}

.profile-name {
  color: #003087;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.profile-title {
  color: #0070e0;
  font-size: 1.5rem;
  margin-bottom: 30px;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .profile-title {
    font-size: 1.2rem;
  }
}

.profile-text {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.profile-image-container {
  width: 250px; /* Fixed width */
  height: 350px; /* Same as width for circle */
  margin: 0 auto;
  overflow: hidden; /* Important for maintaining circle shape */
  border-radius: 15%; /* Makes container circular */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 5%; /* Makes image circular */
}

.team-member {
  transition: transform 0.3s ease;
  margin-bottom: 30px;
}

.team-member:hover {
  transform: translateY(-5px);
}

/* .team-member-info {
    padding: 1rem;
  } */

.team-member-info h4 {
  color: #003087;
  font-size: 1.2rem;
  font-weight: 600;
}

.phone-link {
  text-decoration: none;
  border-bottom: 2px solid #0070e0;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: #0070e0;
}

.language-info {
  font-size: 0.9em;
  font-weight: bold;

  margin-top: 5px;
}

@media (min-width: 1220px) {
  .custom-col-3 {
    width: 33.33333%;
  }
}
@media (max-width: 991px) {
  /*   .profile-image-container {
      width: 150px; 
      height: 150px;
    }
   */
  .profile-content {
    text-align: center;
    margin-bottom: 30px;
  }

  .profile-text {
    text-align: left;
  }
}

.logo-container {
  position: relative;
  display: inline-block;
}

/* LOGO NAVBARRR */
.navbar-logo {
  height: 45px;
  width: auto;
  position: relative;
  z-index: 2;
}

.blob-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(90% + 1px); /* Middle size between previous versions */
  height: calc(100% + 15px);
  background: rgba(255, 255, 255, 0.75); /* Middle opacity */
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
  animation: morphing 30s ease-in-out infinite; /* Slower animation */
  filter: blur(8px);
}

@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  20% {
    border-radius: 70% 30% 45% 55% / 80% 35% 65% 20%;
  }
  40% {
    border-radius: 40% 60% 20% 80% / 35% 75% 25% 65%;
  }
  60% {
    border-radius: 25% 75% 85% 15% / 65% 25% 75% 35%;
  }
  80% {
    border-radius: 75% 25% 35% 65% / 30% 85% 15% 70%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.logo-container:hover .blob-background {
  background: rgba(255, 255, 255, 0.85);
  transition: background 0.5s ease;
}
/*  */

.logo-3d-wrapper {
  position: relative;
  perspective: 2000px;
  padding: 20px;
  transform-style: preserve-3d;
}

.logo-3d-effect {
  transform: perspective(1000px) rotateY(-2deg) translateX(-2px);
  filter: drop-shadow(15px 5px 15px rgba(0, 112, 224, 0.2));
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.shadow-ground {
  position: absolute;
  bottom: -20px; /* Moved lower */
  left: 50%;
  width: 95%;
  height: 30px; /* Increased height */
  transform: translateX(-50%) rotateX(60deg) scale(0.9); /* Larger scale */
  background: radial-gradient(
    ellipse at center,
    rgba(0, 112, 224, 0.12) 0%,
    /* Stronger blue */ rgba(236, 240, 245, 0.15) 40%,
    /* Stronger light gray */ rgba(51, 51, 51, 0.08) 60%,
    /* Added dark gray */ rgba(0, 0, 0, 0) 90%
  );
  z-index: -1;
  filter: blur(8px); /* Added blur for softer shadow */
}
@media (max-width: 767px) {
  .shadow-ground {
    display: none;
  }
}

.logo-3d-effect:hover {
  transform: perspective(1000px) rotateY(-25deg) rotateX(8deg) translateX(-20px)
    scale(1.12);
}

.logo-3d-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(0, 112, 224, 0.02) 50%,
    rgba(236, 240, 245, 0.05) 100%
  );
  pointer-events: none;
}

/* UBER MICH */

.german-card,
.macedonian-card {
  background-color: #ffffff;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  width: 100%;
  border-radius: 8px;
  border-left: 4px solid #0070e0;
}

.german-card:hover,
.macedonian-card:hover {
  transform: scale(1.05);
}

.card-hover {
  transition: transform 0.3s ease;
}

.card-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 112, 224, 0.3);
}

.cards-section {
  padding: 3rem 0;
}

.german-wrapper,
.macedonian-wrapper {
  position: relative;
  margin-top: 20px; /* Space for the pin */
}

.pin-icon {
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.pin-icon:hover {
  color: #ff4d4d;
}

.arrow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arrow-list p {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.arrow-list p::before {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #0070e0;
}

/* ROLLING TEXT */

.polygon-section {
  background-color: var(--color-third);
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  clip-path: polygon(0 15%, 100% 0, 100% 85%, 0% 100%);
}

.polygon-shade {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.text-slide-container {
  position: relative;
  height: 60px;
  background-color: #0070e0;
  margin: 0;
  overflow: hidden;
}

.slide-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(45deg, #0070e0, #0070e0);
}

.slide-gradient::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(10deg);
}

.slide-inner {
  position: relative;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-decor-stripe {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 4px;
  background-color: white;
  opacity: 0.2;
}

.text-decor-stripe::before,
.text-decor-stripe::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  opacity: 0.2;
}

.text-decor-stripe::before {
  left: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.text-decor-stripe::after {
  right: 0;
  transform: translate(50%, -50%) rotate(45deg);
}

.rolling-text-container {
  position: relative;
  overflow: hidden;
  height: 60px;
}

.rolling-text {
  display: inline-block;
  animation: rollText 25s linear infinite;
  padding: 15px 50px;
  font-size: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  white-space: nowrap;
}

@keyframes rollText {
  0%,
  100% {
    transform: translateX(100%);
  }
  99.9% {
    transform: translateX(-100%);
  }
}

.signup-circle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  background-color: #ff4d4d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.signup-circle::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ff6666;
  z-index: -1;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.signup-circle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.signup-circle:hover::before {
  transform: scale(1);
}

.signup-circle:active {
  transform: scale(0.95);
}

.polygon-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
}

/* UBERMICH IMAGE POCETOK */

.benefits-list {
  margin-top: 2rem;
}

.arrow-text {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-third);
}

.arrow-text i {
  position: absolute;
  left: 0;
  top: 5px;
  color: #0070e0; /* This is the bg-second color */
}

/* KONTAKT */
.contact-questions {
  padding: 5rem 0;
}

.contact-btn {
  color: #ffffff;
  background-color: #003087;
  padding: 8px 24px;
  border-radius: 15px;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  min-width: 130px;
  justify-content: center;
}

.contact-btn:hover {
  background-color: #0070e0;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.questions-primary-title {
  font-size: 2.5rem;
  line-height: 1.3;
  font-weight: bold;
}

.questions-secondary-title {
  font-size: 1.5rem;
  color: #333333;
}

.questions-list p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
}

/* KONTAKT FORM SECTION */

.contact-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333333;
}

.info-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0070e0;
  margin-bottom: 0.5rem;
}

.info-block p {
  color: #333333;
  line-height: 1.6;
  margin-bottom: 0;
}

/* SLIDING */

.slide-from-left {
  opacity: 0;
  position: relative;
  transform: translateX(-150px);
  transition: all 1.3s ease;
}

.slide-from-right {
  opacity: 0;
  position: relative;
  transform: translateX(150px);
  transition: all 1.3s ease;
}

.slide-active {
  opacity: 1;
  transform: translateX(0);
}

.agency-heading {
  /* margin-top: 30vh; */
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
}

.heading-bg {
  position: relative;
  display: inline-block;
  padding: 1rem 3rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 48, 135, 0.1),
    inset 0 0 20px rgba(0, 112, 224, 0.15);
  overflow: hidden;
  animation: floatContainer 6s ease-in-out infinite;
}

.heading-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 30%,
    transparent 70%
  );
  animation: rotateGlow 8s linear infinite;
}

.heading-text {
  background: linear-gradient(135deg, #003087 20%, #0070e0 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 48, 135, 0.2),
    -2px -2px 4px rgba(0, 112, 224, 0.2);
}

.heading-accent {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #003087, #0070e0);
  transform: scaleX(0.8);
  filter: drop-shadow(0 0 8px rgba(0, 112, 224, 0.5));
}

@keyframes floatContainer {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(0.5deg);
  }
  75% {
    transform: translateY(4px) rotate(-0.5deg);
  }
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.heading-bg::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 768px) {
  .agency-heading {
    margin-top: 10vh;
    font-size: 1.5rem;
  }
  .heading-bg {
    padding: 0.8rem 1rem;
  }
}

/* FOOTER */
.hover-border {
  position: relative;
}

.hover-border::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #0070e0;
  transition: width 0.3s ease;
}

.hover-border:hover::after {
  width: 100%;
}
