/* Main Styles for VS Website */
@font-face {
  font-family: 'AllianceNo2-Regular';
  src: url('https://ext.same-assets.com/860653777/1672649362.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AllianceNo2-Light';
  src: url('https://ext.same-assets.com/860653777/4101141529.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ------------------  NEW COLOUR SCHEME  ------------------ */
:root{
  --primary-color: #d4af37;   /* gold accent */
  --primary-color-hover:#b9972e;
  --bg-color:        white; /* rich navy */
  --secondary-bg:    #f5f5f5; /* slightly lighter navy */
  --text-color:      #16284b; /* near-white */
  --secondary-text:  #c5c5c5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'AllianceNo2-Regular', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'AllianceNo2-Light', sans-serif;
  font-weight: 300;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover{
  background-color: var(--primary-color-hover);
  color: var(--text-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  background-color: var(--bg-color);
  transition: all 0.3s ease;
}

.header-scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Updated navbar styles */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: auto;
}
/* the <nav> that wraps .nav-menu, .lang-dropdown and burger */
.header-left nav{
  display:flex;
  align-items:center;
  gap:1.25rem;           /* space between links & flag pill   */
}


.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 35px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin-left: 2rem;
}

.nav-menu.active {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.nav-phone i {
  color: var(--primary-color);
}

.nav-social {
  display: flex;
  gap: 0.75rem;
}

.nav-social a {
  color: var(--text-color);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.nav-social a:hover {
  color: var(--primary-color);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-color);
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1;
  padding: 1rem 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  padding: 0.5rem 1rem;
  display: block;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  position: relative;
  width: 30px;
  height: 25px;
}

.hamburger {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  left: 0;
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.mobile-nav-toggle.active .hamburger {
  background-color: transparent;
}

.mobile-nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Mobile menu items that will be moved from header-right */
.mobile-menu-items {
  display: none; /* Hide by default - will show in mobile menu */
}

.nav-item.lang-dropdown{display:flex;align-items:center;}

@media (max-width:1024px){
  .nav-item.lang-dropdown{
    margin-left:auto;    /* pushes to the far right */
    order:2;             /* burger keeps default order:3 */
  }
}


/* Updated Hero Section with slideshow */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-color);
  overflow: hidden;
  padding-top: 100px; /* Increased from 80px to account for navbar */
  min-height: 600px;
  height: 80vh;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  position: relative;
  max-width: 600px;
  z-index: 2;
  width: 50%;
}

.hero-image {
  width: 45%;
  position: relative;
  z-index: 2;
  height: 500px; /* Make it taller on desktop */
  overflow: hidden;
}

/* Hero slideshow */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-dots {
  position: absolute;
  bottom: 20px; /* Adjusted position */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

/* Black section for contrast */
.section-dark {
  background-color: #071124;
  color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: white;
}

.section-dark .section-subtitle {
  color: var(--primary-color);
}

.section-title {
  margin-bottom: 3rem;
  text-align: center;
}

.section-subtitle {
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

/* Solution cards section */
.solution-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 1024px) {
  .solution-cards {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on medium screens */
  }
}

@media (max-width: 600px) {
  .solution-cards {
    grid-template-columns: repeat(1, 1fr); /* 1 card per row on small screens */
  }
}


.solution-card {
  background-color: #f8fcf6;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.solution-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.solution-card-description {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Arrow Link Styles */
.arrow-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.arrow-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

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

.arrow-link:hover::after {
  transform: translateX(5px);
}

/* Updated Testimonial Carousel Section */
.testimonials-section {
  position: relative;
  overflow: hidden;
  background-color: var(--secondary-bg);
  padding: 6rem 0;
}

.testimonial-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
}

.testimonial-slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: all;
}

/* New Card-based Testimonial Design */
.testimonial-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-company {
  flex: 1;
}

.testimonial-quote-icon {
  color: var(--primary-color);
  opacity: 0.8;
}

.testimonial-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 0;
}

.testimonial-content {
  margin-bottom: 2.5rem;
  position: relative;
}

.testimonial-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 300;
  font-style: italic;
  color: #333;
  margin: 0;
  position: relative;
  z-index: 1;
}

.testimonial-content p::before {
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: -1rem;
  left: -1rem;
  z-index: -1;
  font-family: serif;
  color: var(--primary-color);
  opacity: 0.05;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-author-info h4 {
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: var(--text-color);
}

.testimonial-author-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--secondary-text);
  letter-spacing: 1px;
}

.testimonial-image {
  width: 200px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-btn {
  margin-top: 1rem;
  display: inline-block;
}

/* Carousel Controls */
.testimonial-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.testimonial-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-carousel-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Responsive Testimonials */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-content p {
    font-size: 1.2rem;
  }

  .testimonial-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .testimonial-image {
    width: 100%;
    height: 180px;
  }
}
/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'AllianceNo2-Regular', sans-serif;
  background-color: #fff;
  color: var(--text-color);
}

/* File input styling */
input[type="file"].form-control {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: var(--secondary-bg);
  cursor: pointer;
}

input[type="file"].form-control::file-selector-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type="file"].form-control::file-selector-button:hover {
  background-color: #d4af37;
}

/* reCAPTCHA styling */
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Black footer */
footer {
  background-color: #071124;;
  color: white;
  padding: 3rem 0;
}

footer a,
footer h4,
footer p {
  color: white;
}

.footer-nav a:hover,
.footer-links a:hover {
  color: var(--primary-color);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-logo img {
  height: 30px;
  margin-bottom: 1rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background-color: #d4af37;
}

.copyright {
  margin-top: 3rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ccc;
}

/* Partners section */
.partners-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  overflow: hidden;
  padding: 1rem 0;
}

.partners-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0; /* Add padding for shadow */
}

.partners-track {
  display: flex;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.partners-row.reverse .partners-track {
  animation: scroll-reverse 35s linear infinite; /* Slightly different speed for visual interest */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Only need to scroll half way due to the duplicated set */
  }
}

@keyframes scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.partner-logo {
  height: 50px;
  opacity: 0.9;
  transition: all 0.3s ease;
  margin: 0 2.5rem; /* Add more spacing between logos */
  filter: brightness(1.2) grayscale(30%); /* Increase brightness for dark logos */
  max-width: 120px; /* Limit overly wide logos */
  object-fit: contain;
}

.partner-logo:hover {
  opacity: 1;
  filter: brightness(1.4) grayscale(0%);
  transform: scale(1.1);
}

.partners-row:hover .partners-track {
  animation-play-state: paused; /* Pause on hover */
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  z-index: 9999;
  display: none;
}

.cookie-consent .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-consent p {
  margin-bottom: 0;
  margin-right: 1rem;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .header-container {
    flex-wrap: nowrap;
  }

  .nav-menu {
    margin-left: 1rem;
    gap: 1rem;
  }
}

/* Media query for tablet and mobile */
@media (max-width: 1024px) {
  header {
    padding: 1rem 0; /* Slightly reduce padding to save space */
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    max-width: 320px;
    background-color: var(--bg-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 1000;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 0 0 0 10px;
    margin-left: 0;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0 0 1.5rem 0;
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.5rem 0;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    display: none;
    padding: 0.5rem 0;
    min-width: auto;
    width: 100%;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-menu-items {
    display: block;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
    width: 100%;
  }

  .mobile-menu-items .nav-phone {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }

  .mobile-menu-items .btn {
    width: 100%;
    text-align: center;
  }

  .header-right {
    display: none;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 120px; /* Increased padding for the navbar */
    min-height: auto;
    height: auto; /* Remove fixed height constraint */
    padding-bottom: 40px; /* Add some bottom padding */
  }

  .hero-container {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .hero-content,
  .hero-image {
    width: 100%;
    max-width: 100%;
  }

  .hero-image {
    height: 300px; /* Fixed height for mobile to make slideshow work */
    margin-top: 20px; /* Add some space after the navbar */
  }

  .slideshow-dots {
    bottom: 10px; /* Better positioning on mobile */
  }

  .slideshow-dot {
    width: 14px; /* Slightly larger dots on mobile */
    height: 14px;
    background-color: rgba(255, 255, 255, 0.7); /* More visible background */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Add border for better visibility */
  }

  .testimonials-section {
    grid-template-columns: 1fr;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  header {
    padding: 0.8rem 0; /* Further reduce padding on smaller screens */
  }

  .hero {
    padding-top: 120px; /* Increase padding for tablet/mobile to prevent image cut-off */
    padding-bottom: 60px;
    height: auto;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .testimonial-content {
    font-size: 1.25rem;
  }

  /* Adjust partners section for mobile */
  .partners-container {
    gap: 1.5rem;
  }

  .partner-logo {
    height: 35px;
    margin: 0 1.5rem;
  }

  .partners-track {
    animation-duration: 25s; /* Faster on mobile */
  }

  .partners-row.reverse .partners-track {
    animation-duration: 20s; /* Faster on mobile */
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cookie-consent .container {
    flex-direction: column;
  }

  .cookie-consent p {
    margin-bottom: 1rem;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  /* Job cards mobile styling - make them stack in a single column */
  .job-card {
    width: 100% !important; /* Force 100% width on mobile */
    height: 350px;
  }

  .job-title {
    font-size: 1.5rem;
  }

  .job-location {
    margin-bottom: 0.75rem;
  }

  .jobs-cards {
    flex-direction: column !important; /* Force column direction */
    gap: 1.5rem;
    margin-top: 2rem;
  }
}

/* Media query for tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    padding-top: 130px; /* Even more padding for tablets specifically */
  }

  .hero-image {
    height: 400px; /* Taller image on tablets compared to mobile */
  }

  .hero-title {
    font-size: 3rem; /* Slightly smaller than desktop */
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
}

/* Jobs Abroad Section */
.jobs-abroad-section {
  padding: 5rem 0;
  background-color: var(--secondary-bg);
}

.jobs-intro-text {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--secondary-text);
}

.jobs-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.jobs-more-container {
  text-align: center;
  margin-top: 3rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-large i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-large:hover i {
  transform: translateX(5px);
}

.job-card {
  position: relative;
  width: calc(50% - 1rem); /* This makes sure we have 2 cards per row on desktop/tablet */
  align-items: center;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation delays for job cards */
.job-card:nth-child(2) {
  animation-delay: 0.3s;
}

.jobs-cards:nth-child(3) .job-card:nth-child(1) {
  animation-delay: 0.5s;
}

.jobs-cards:nth-child(3) .job-card:nth-child(2) {
  animation-delay: 0.7s;
}

/* Animation delays for the new cards */
.jobs-cards:nth-child(4) .job-card:nth-child(1) {
  animation-delay: 0.9s;
}

.jobs-cards:nth-child(4) .job-card:nth-child(2) {
  animation-delay: 1.1s;
}

.jobs-cards:nth-child(5) .job-card:nth-child(1) {
  animation-delay: 1.3s;
}

.jobs-cards:nth-child(5) .job-card:nth-child(2) {
  animation-delay: 1.5s;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.job-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  color: white;
  z-index: 2;
  transition: transform 0.3s ease;
}

.job-card:hover .job-card-content {
  transform: translateY(-10px);
}

.job-location {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.country {
  font-weight: bold;
  font-size: 1.2rem;
}

.salary {
  margin-left: 0.5rem;
  font-weight: bold;
  color: var(--secondary-bg);
  background-color: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 1.1rem;
}

.job-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.job-requirements {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.job-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.job-btn:hover {
  background-color: #d4af37;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Us Page Styles */
/* ----------  About-Us Page – Hero  ---------- */
.about-hero{
  position:relative;
  padding:180px 0 80px;                       /* same spacing as Jobs hero  */
  background:
      /* navy overlay for legibility */
      linear-gradient(rgba(11,31,63,.55), rgba(11,31,63,.55)),
      url('/assets/images/hero1.jpg')    /* swap path if you like     */
      center/cover no-repeat;
  text-align:center;
}

.about-hero-content{max-width:800px;margin:0 auto;}

.about-hero-title{
  font-size:4rem;font-weight:300;margin-bottom:1.5rem;
  color:#fff;                                 /* headline in white         */
}

.about-hero-subtitle{
  font-size:1.5rem;line-height:1.5;max-width:600px;margin:0 auto;
  color:var(--secondary-text);                /* subtitle in muted grey    */
}

/* Our Story Section */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story-image {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-story-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-story-image:hover img {
  transform: scale(1.03);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: center;
}

.about-stat {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.about-stat-text {
  color: var(--secondary-text);
  font-size: 0.9rem;
}

/* Mission & Values Section */
.about-mission-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.about-mission-subtitle {
  font-size: 1.2rem;
  color: var(--secondary-text);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.about-value {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.about-value:hover {
  transform: translateY(-10px);
}

.about-value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.about-value-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.about-value h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.about-value p {
  color: var(--secondary-text);
  line-height: 1.6;
}

/* Team Section */
.about-team-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  color: var(--secondary-text);
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.about-team-member {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.about-team-member:hover {
  transform: translateY(-10px);
}

.about-team-member-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.about-team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-team-member:hover .about-team-member-image img {
  transform: scale(1.05);
}

.about-team-member h3 {
  margin: 1.5rem 0 0.3rem;
  padding: 0 1.5rem;
}

.about-team-member-title {
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 1.5rem;
}

.about-team-member p {
  color: var(--secondary-text);
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.about-team-member-social {
  display: flex;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
}

.about-team-member-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.about-team-member-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Why Choose Us Section */
.about-why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-why-us-image {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-why-us-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-why-us-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about-why-us-feature {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.about-why-us-feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-why-us-feature-icon i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.about-why-us-feature-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.about-why-us-feature-text p {
  color: var(--secondary-text);
  line-height: 1.6;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Approach Section */
.about-approach-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  color: var(--secondary-text);
}

.about-approach-steps {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.about-approach-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45px;
  width: 2px;
  background-color: var(--text-color);
}

.about-approach-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.about-approach-step:last-child {
  margin-bottom: 0;
}

.about-approach-step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}

.about-approach-step-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.about-approach-step-content p {
  color: var(--secondary-text);
  line-height: 1.6;
}

/* CTA Section */
.about-cta {
  text-align: center;
  color: white;
}

.about-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-white {
  background-color: white;
  color: var(--primary-color);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles for About Page */
@media (max-width: 1024px) {
  .about-hero-title {
    font-size: 3.5rem;
  }

  .about-story-grid,
  .about-why-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-story-image {
    order: -1;
  }

  .about-approach-steps::before {
    left: 35px;
  }

  .about-approach-step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 150px 0 60px;
  }

  .about-hero-title {
    font-size: 2.8rem;
  }

  .about-hero-subtitle {
    font-size: 1.2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-team-member-image {
    height: 250px;
  }

  .about-approach-steps::before {
    left: 25px;
  }

  .about-approach-step {
    gap: 1.5rem;
  }

  .about-approach-step-number {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 1rem;
  }

  .about-cta h2 {
    font-size: 2rem;
  }
}
/* ----------  Jobs Abroad Page – Hero  ---------- */
.jobs-hero{
  position:relative;
  padding:180px 0 80px;
  /* background image with a gentle navy overlay for readability */
  background:
      linear-gradient(rgba(11,31,63,.55), rgba(11,31,63,.55)),
      url('/assets/images/hero1.jpg') center/cover no-repeat;
  text-align:center;
}

.jobs-hero-content{max-width:800px;margin:0 auto;}

.jobs-hero-title{
  font-size:4rem;font-weight:300;margin-bottom:1.5rem;
  color:#fff;                       /* title now white                */
}

.jobs-hero-subtitle{
  font-size:1.5rem;line-height:1.5;max-width:600px;margin:0 auto;
  color:var(--secondary-text);      /* subtitle keeps existing colour */
}

/* Jobs Intro Section */
.jobs-intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.jobs-intro-content h2 {
  margin-bottom: 1.5rem;
  font-size: 2.3rem;
}

.jobs-intro-content p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--secondary-text);
  line-height: 1.6;
}

.jobs-intro-image {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.jobs-intro-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.jobs-intro-image:hover img {
  transform: scale(1.03);
}

.jobs-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.jobs-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* Jobs benefit icon — change the circle’s background */
.jobs-benefit-icon{
  width:50px;height:50px;min-width:50px;
  border-radius:50%;
  background:rgba(11,31,63, 01);   /* ← navy, 15 % opacity */
  display:flex;align-items:center;justify-content:center;
}


.jobs-benefit-icon i {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.jobs-benefit-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.jobs-benefit-text p {
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
}

/* Jobs Filter Section */
.jobs-filter {
  text-align: center;
}

.jobs-filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.jobs-filter-group {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.jobs-filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.jobs-filter-select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: white;
  font-size: 1rem;
}

.jobs-filter-btn {
  margin-top: 1.8rem;
  min-width: 120px;
}

/* Jobs Listings Section */
.jobs-listings {
  padding-bottom: 3rem;
}

.jobs-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  user-select: none;
}

.jobs-page, .jobs-page-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.jobs-page {
  background-color: #f0f0f0;
  color: var(--text-color);
}

.jobs-page:hover {
  background-color: #e0e0e0;
}

.jobs-page.active {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 8px var(--text-color);
  transform: scale(1.1);
}

.jobs-page-dots {
  cursor: default;
}

/* No Jobs Message */
.no-jobs-message {
  text-align: center;
  padding: 3rem 0;
}

.no-jobs-message p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-text);
}

.reset-filters-btn {
  padding: 0.75rem 1.5rem;
}

/* Jobs Pagination Section */
.jobs-listings .container {
  min-height: 500px; /* Ensure enough height even when no jobs are shown */
}

/* Jobs Process Section */
.jobs-process-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  color: var(--secondary-text);
}

.jobs-process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.jobs-process-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  position: relative;
}

.jobs-process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25px;
  right: -25px;
  width: 50px;
  height: 2px;
  background-color: var(--text-color);
  display: none;
}

@media (min-width: 992px) {
  .jobs-process-step:not(:last-child)::after {
    display: block;
  }
}

.jobs-process-step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.jobs-process-step h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.jobs-process-step p {
  color: var(--secondary-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Form File Input */
.form-control-file {
  padding: 0.5rem 0;
}

/* Responsive Styles for Jobs Page */
@media (max-width: 1024px) {
  .jobs-hero-title {
    font-size: 3.5rem;
  }

  .jobs-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .jobs-intro-image {
    order: -1;
  }

  .jobs-benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .jobs-hero {
    padding: 150px 0 60px;
  }

  .jobs-hero-title {
    font-size: 2.8rem;
  }

  .jobs-hero-subtitle {
    font-size: 1.2rem;
  }

  .jobs-benefits {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .jobs-filter-options {
    flex-direction: column;
    gap: 1rem;
  }

  .jobs-filter-group {
    width: 100%;
  }

  .jobs-filter-btn {
    margin-top: 1rem;
    width: 100%;
  }

  .jobs-process-steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .jobs-process-step {
    max-width: 280px;
  }
}
@media (max-width:1000px){

  /* BASIC mobile behaviour */
  .nav-menu          { display:none; }       /* list hidden */
  .mobile-nav-toggle { display:block; }

  /* WHEN THE BURGER OPENS  (adjust the class name ↓ ) */
  .nav-menu.open{                             /* .active / .show ? */
    display:flex;
    flex-direction:column;
    gap:1.5rem;
  }

  /* extra block now visible */
  .nav-menu.open .mobile-menu-items{
    display:flex;
    flex-direction:column;
    gap:1.25rem;
    margin-top:1.25rem;
  }
}

/* --  DESKTOP LAYOUT  ---------------------------------- */
@media (min-width:1001px){
  .mobile-nav-toggle { display:none; }   /* hide burger    */
  .mobile-menu-items{ display:none; }    /* extra links only in burger */
}


@media (max-width: 480px) {
  .jobs-benefit {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .jobs-benefit-text h3,
  .jobs-benefit-text p {
    text-align: center;
  }
}



/* Success banner ------------------------------------------------- */
#successPopup{
  display:none;                 /* hidden by default */
  position:fixed;
  top:30%;
  left:50%;
  transform:translate(-50%,-30%);
  background:#fff;
  padding:2rem 3rem;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
  text-align:center;
  z-index:1000;
}
#successPopup.is-visible{       /* shown only when this class is added */
  display:block;
}



/* ====================  HERO SECTION  ==================== */
.hero{
  position:relative;
  width:100%;
  height:65vh;                  /* shorter banner */
  min-height:420px;
  overflow:hidden;
  margin-top:64px;              /* offset for fixed navbar */
  color:var(--secondary-bg);      /* assumes your navy+gold palette */
}

.hero::before{                  /* subtle dark overlay for readability */
  content:"";
  position:absolute;inset:0;
  background:rgba(11,31,63,.45);
  z-index:1;
}

/* ----- slides ----- */
.hero-slide{
  position:absolute;inset:0;
  opacity:0;transition:opacity .8s ease-in-out;
}
.hero-slide.active{opacity:1;z-index:2;}
.hero-slide img{
  width:100%;height:100%;
  object-fit:cover;
}

/* ----- copy block (title, text, buttons) ----- */
.hero-copy{
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%) translateX(60px); /* start off-screen right */
  text-align:center;width:90%;max-width:680px;
  opacity:0;
}
.hero-slide.active .hero-copy{
  animation:slideIn .9s ease forwards .15s;
}
@keyframes slideIn{
  to{transform:translate(-50%,-50%) translateX(0);opacity:1;}
}

.hero-title{
  font-size:clamp(2.5rem,5vw,3.75rem);
  line-height:1.1;margin:0 0 1rem;
}
.hero-description{
  font-size:1.125rem;line-height:1.6;margin:0 0 2rem;
}
.hero-buttons{
  display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;
}

/* ----- pagination dots ----- */
.hero-indicators{
  position:absolute;left:50%;bottom:1.25rem;
  transform:translateX(-50%);
  display:flex;gap:.65rem;z-index:3;
}
.hero-indicators span{
  width:.75rem;height:.75rem;border-radius:50%;
  background:var(--secondary-text);opacity:.6;
  cursor:pointer;transition:opacity .25s,background .25s;
}
.hero-indicators span.active,
.hero-indicators span:hover{
  background:var(--primary-color);opacity:1;
}

/* responsive height tweaks */
@media(max-width:768px){ .hero{height:60vh;} }
@media(max-width:480px){ .hero{height:55vh;} }


/* =========  UNIVERSAL PAGE HERO  (all pages except index)  ========= */
.page-hero{
  position: relative;
  padding: 180px 0 80px;           /* matches Jobs banner spacing   */
  min-height: 420px;               /* same overall height           */
  text-align: center;
  overflow: hidden;

  /* navy overlay + shared background image */
  background:
      linear-gradient(rgba(11,31,63,.55), rgba(11,31,63,.55)),
      url('/assets/images/hero1.jpg') center/cover no-repeat;
}

/* headline & subtitle (inherit palette vars) */
.page-hero-title{
  font-size: 4rem;
  font-weight: 300;
  margin: 0 0 1.5rem;
  color: #fff;
}
.page-hero-subtitle{
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  color: var(--secondary-text);
}


/* ==========================================================
   UNIVERSAL   L A N G U A G E   S W I T C H E R   (CSS only)
   * Rounded flag that drops down on click
   * Navy outline around the flag so it’s visible on dark bg
   * Lives inline with other nav links (desktop)
   * Floats next to burger icon (≤ 1024 px)
   * Palette-aware: relies on your existing CSS variables
   ========================================================== */

/* ----------  core dropdown container  ---------- */
.lang-dropdown{
  position:relative;
  font-weight:600;      /* matches nav font-weight */
  user-select:none;
  display:flex;align-items:center;
}

/* ----------  closed state (flag + caret)  ---------- */
.lang-current{
  display:flex;align-items:center;gap:.45rem;
  cursor:pointer;
  padding:2px 8px;                   /* breathing room in pill */
  border-radius:4px;
  color:var(--text-color, #ffffff);
  transition:background .2s;
}
.lang-current:hover{
  background:rgba(212,175,55,.15);   /* light gold tint on hover */
}
.lang-current i{font-size:.55rem;}   /* FontAwesome caret icon   */

/* ----------  flag styling  ---------- */
.flag-icon{
  width:24px;height:24px;            /* keep square to preserve circle */
  border-radius:50%;
  background-size:cover;
  background-position:center;
  border:2px solid #0b1f3f;          /* navy outline so flag pops */
}
/* Flags served from FlagCDN (no local assets needed) */
.flag-ro{background-image:url('https://flagcdn.com/w20/ro.png');}
.flag-ru{background-image:url('https://flagcdn.com/w20/ru.png');}

/* ----------  dropdown menu  ---------- */
.lang-options{
  position:absolute;right:0;top:calc(100% + .25rem);
  background:var(--secondary-bg, #16284b);
  border-radius:6px;
  padding:.4rem 0;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .25s,transform .25s;
  z-index:99;
}
.lang-dropdown.open .lang-options{
  opacity:1;visibility:visible;transform:translateY(0);
}

/* each option inside the dropdown */
.lang-option{
  display:flex;align-items:center;gap:.5rem;
  width:100%;border:none;background:none;
  padding:.35rem 1.1rem;text-align:left;
  font-weight:600;cursor:pointer;
  color:var(--secondary-text, #c5c5c5);
}
.lang-option:hover,
.lang-option.active{
  color:var(--primary-color, #d4af37);
}

/* ----------  nav-link integration  ---------- */
/* treat as a nav item (place this class on the outer div) */
.nav-item.lang-dropdown{display:flex;align-items:center;}

/* position next to burger on mobile */
@media (max-width:1024px){
  .nav-item.lang-dropdown{
    margin-left:auto;                 /* push to the far right */
    order:2;                          /* burger icon stays order:3 */
  }
}


/* remove bullets + left indent in the language dropdown */
.lang-options{           /* the <ul> element */
  list-style:none;       /* ← no dots */
  margin:0;              /* kill default indent */
  padding:.4rem 0;       /* keep your custom padding top/bottom */
}

.lang-options li{        /* each <li> row */
  margin:0;
  padding:0;             /* ensures no extra bump on the left */
}



