body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #333;
  }

  .navbar {
    background-color: #002B5B;
  }

  .navbar-brand, .nav-link {
    color: #fff !important;
  }

  .navbar-brand:hover, .nav-link:hover {
    color: #FFD93D !important;
  }

  .hero {
    background: linear-gradient(to right, #00509E, #003F7D);
    padding: 80px 0;
    color: white;
    text-align: center;
    animation: fadeInDown 1s ease;
  }

  .hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
  }

  .hero p {
    font-size: 1.2rem;
    margin: 20px 0;
  }

  .btn-primary {
    background-color: #FFD93D;
    border-color: #FFD93D;
    color: #000;
  }

  .btn-primary:hover {
    background-color: #FFC300;
    border-color: #FFC300;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
  }

  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }

  .footer {
    background-color: #002B5B;
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }

  @keyframes fadeInDown {
    0% {
      opacity: 0;
      transform: translateY(-30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .animate-step {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.animate-arrow {
  animation: bounceArrow 1.5s infinite;
}

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceArrow {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}

 .flip-card {
background-color: transparent;
width: 100%;
height: 200px;
perspective: 1000px;
}

.flip-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.6s;
transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border: 1px solid #0d6efd;
border-radius: 0.5rem;
padding: 1rem;
}

.flip-card-front {
background-color: #ffffff;
color: #000000;
}

.flip-card-back {
background-color: #0d6efd;
color: #ffffff;
transform: rotateY(180deg);
}

header {
  overflow-x: hidden;
}

.carousel-item {
  height: 100vh;
}

.carousel-item .d-flex {
  flex-direction: column;
}

.carousel-item .text-white {
  color: #fff;
}

.carousel-item h1 {
  font-size: 3rem;
  font-weight: bold;
}

.carousel-item p {
  font-size: 1.25rem;
}

.carousel-item .btn {
  font-size: 1.125rem;
  padding: 10px 20px;
}

.carousel-item .col-lg-6 {
  height: 100vh;
}

.carousel-item .col-lg-6 img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Gradient Background */
.carousel-item {
background: linear-gradient(to right, rgba(0, 46, 100, 0.7), rgba(0, 123, 255, 0.7));
}

@media (max-width: 768px) {
  .carousel-item .d-flex {
    flex-direction: column-reverse;
  }
  .carousel-item .col-lg-6 {
    padding: 1rem;
  }
}

.carousel-item {
  height: 100vh;
  background: linear-gradient(-45deg, #002e64, #007bff, #0056b3, #66b2ff);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.carousel-item {
height: 100vh;
background: linear-gradient(-45deg, #004e92, #000428, #005aa7, #001f3f);
background-size: 400% 400%;
animation: gradientFlow 15s ease infinite;
position: relative;
z-index: 0;
}

@keyframes gradientFlow {
0% {
  background-position: 0% 50%;
}
50% {
  background-position: 100% 50%;
}
100% {
  background-position: 0% 50%;
}
}

/* Base Navbar */
.custom-navbar {
background-color: transparent;
transition: background-color 0.4s ease, box-shadow 0.4s ease;
padding: 1rem 0;
backdrop-filter: none;
border-bottom: 1px solid transparent;
}

/* Hover effect on full navbar */
.custom-navbar:hover {
background-color: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(8px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* When scrolling */
.custom-navbar.scrolled {
background-color: #001f3f !important;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
backdrop-filter: none;
}

/* Navbar Brand */
.navbar-brand {
font-size: 1.6rem;
color: #fff;
transition: color 0.3s ease;
}

/* Nav Links */
.navbar-nav .nav-link {
color: #fff;
font-weight: 500;
position: relative;
padding: 0.5rem 1rem;
transition: color 0.3s ease, transform 0.3s ease;
}

/* Glow & bold effect on hover */
.navbar-nav .nav-link:hover {
color: #00bfff;
font-weight: 600;
transform: scale(1.05);
}

/* Underline animation */
.navbar-nav .nav-link::after {
content: '';
position: absolute;
left: 0;
bottom: 5px;
height: 2px;
width: 0%;
background: #00bfff;
transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
width: 100%;
}

/* Active Link */
.navbar-nav .nav-link.active {
color: #00bfff;
font-weight: 600;
}

/* Spacing between navbar items */
.navbar-nav .nav-item {
margin: 0 1rem;
}

/* Nav link default */
.navbar-nav .nav-link {
color: #fff;
font-weight: 500;
position: relative;
padding: 0.5rem 0;
transition: color 0.3s ease;
}

/* Eurworx-style bottom glow effect */
.navbar-nav .nav-link::after {
content: '';
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
width: 0%;
height: 3px;
background: linear-gradient(90deg, #00c6ff, #0072ff);
border-radius: 2px;
transition: width 0.4s ease;
box-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
opacity: 0;
}

/* Hover effect */
.navbar-nav .nav-link:hover::after {
width: 80%;
opacity: 1;
}

.navbar-nav .nav-link:hover {
color: #00bfff;
font-weight: 600;
}

/* Active */
.navbar-nav .nav-link.active {
color: #00bfff;
}

/* Remove scroll effect */
.custom-navbar {
background-color: #001f3f; /* Solid dark blue */
padding: 1rem 0;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Remove scrolled class override completely */
.custom-navbar.scrolled {
background-color: #001f3f !important; /* same as default */
box-shadow: none;
backdrop-filter: none;
}

/* Initial state (before animation) */
.carousel-image {
opacity: 0;
transform: translateX(50px);
transition: transform 0.8s ease, opacity 0.8s ease;
}

/* When active slide loads, trigger this */
.carousel-item.active .carousel-image {
opacity: 1;
transform: translateX(0);
}

.carousel-image {
animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
0%, 100% {
  transform: translateY(0px);
}
50% {
  transform: translateY(-10px);
}
}

/* Wrapper hides overflow */
.scrolling-wrapper {
overflow: hidden;
position: relative;
}

/* Content animates back and forth */
.scrolling-content {
display: flex;
gap: 2rem;
width: max-content;
animation: scroll-alternate 20s linear infinite alternate;
}

.country-card {
min-width: 150px;
padding: 10px;
background: #fff;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease;
flex-shrink: 0;
}

.country-card:hover {
transform: scale(1.05);
}

.flag-img {
width: 50px;
height: auto;
transition: transform 0.3s ease, box-shadow 0.3s ease;
filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.6)); /* base glow */
}

/* Optional: Add glow on hover */
.country-card:hover .flag-img {
transform: scale(1.1);
filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.9))
        drop-shadow(0 0 20px rgba(0, 123, 255, 0.6));
}


/* Keyframes for alternate scroll */
@keyframes scroll-alternate {
0% {
  transform: translateX(0%);
}
100% {
  transform: translateX(-50%);
}
}

.animate-step:hover i.bi {
transform: scale(1.15);
transition: transform 0.3s ease;
}

.step-label {
display: inline-block;
padding: 6px 14px;
border: 2px solid #0d6efd;
border-radius: 30px;
background-color: rgba(13, 110, 253, 0.1);
font-weight: 600;
font-size: 0.95rem;
color: #0d6efd;
transition: all 0.3s ease;
}

.step-label:hover {
background-color: #0d6efd;
color: #fff;
}

.step-label-wrapper {
margin-top: 50px;
}

.my-icon-spacing {
margin-top: 50px;
margin-bottom: 20px; /* Optional: space between icon and text */
}

/* Apply fade-in animation on each step card */
.animate-step {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.6s ease-out forwards;
transition: opacity 0.3s ease, transform 0.3s ease;
animation-delay: 0.2s; /* You can adjust delay for each step */
}

/* Define keyframes for the fade-in effect */
@keyframes fadeInUp {
to {
  opacity: 1;
  transform: translateY(0);
}
}

/* Optional: Add delay to each step for staggered animation */
.animate-step:nth-child(1) {
animation-delay: 0.2s;
}
.animate-step:nth-child(2) {
animation-delay: 0.4s;
}
.animate-step:nth-child(3) {
animation-delay: 0.6s;
}
.animate-step:nth-child(4) {
animation-delay: 0.8s;
}

/* Apply a glow effect on hover */
.card:hover {
box-shadow: 0 4px 15px rgba(0, 255, 255, 0.8), 0 8px 30px rgba(0, 255, 255, 0.5); /* Cyan glow */
transform: translateY(-5px); /* Floating effect */
transition: all 0.3s ease-in-out; /* Smooth transition */
}


/* Footer Background with Dark Blue Gradient */
.footer {
background: linear-gradient(to right, #003366, #1a3d6d); /* Dark Blue Gradient */
color: #fff;
}

.footer h5 {
font-weight: 600;
font-size: 18px;
}

.footer ul li a {
text-decoration: none;
color: #ffffff;
transition: color 0.3s ease;
}

.footer ul li a:hover {
color: #f8f9fa; /* Light hover effect */
}

/* Social Media Icon Style */
.footer .bi {
font-size: 24px;
transition: transform 0.3s ease;
}

.footer .bi:hover {
transform: scale(1.2); /* Slight zoom on hover */
}

/* Bottom Footer Section */
.footer .text-center p {
font-size: 14px;
margin-top: 15px;
color: #6c757d;
}

/* Footer Padding */
.footer .container {
padding: 0 15px;
}

/* Whatsapp Button Css */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  animation: floatUpDown 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
