/*--------------------------------------------------------------
# Red-Knot Consulting - Custom Styles
# Dubai Immigration Consultancy Website
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Color Variables (Dubai Cultural Alignment)
--------------------------------------------------------------*/
:root {
  /* Primary Brand Colors */
  --uae-blue: #0a4c96;          /* Trust, professionalism */
  --uae-gold: #e4b255;          /* Success, prosperity */
  --pure-white: #ffffff;        /* Cleanliness, fresh starts */
  --charcoal: #2d3748;          /* Primary text */
  
  /* Supporting Colors */
  --slate-100: #f1f5f9;         /* Background sections */
  --slate-600: #475569;         /* Secondary text */
  --success-green: #10b981;     /* Approval status */
  --warning-red: #ef4444;       /* Urgent notifications */
  
  /* Typography */
  --font-default: 'Roboto', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--charcoal);
  background-color: var(--pure-white);
}

a {
  color: var(--uae-blue);
  text-decoration: none;
}

a:hover {
  color: var(--uae-gold);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--charcoal);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--pure-white);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
  background-color: #2d3748;
  box-shadow: 0px 2px 20px rgba(10, 76, 150, 0.1);
}

.header.header-scrolled {
  background: #2d3748;
  padding: 15px 0;
  box-shadow: 0px 2px 20px rgba(10, 76, 150, 0.15);
}

.header .logo {
  line-height: 0;
}

.header .logo img {
  max-height: 90px;
  margin-right: 8px;
  border-radius: 4px;
  object-fit: contain;
  width: auto;
}

.header .logo span {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--uae-blue);
  margin-left: 10px;
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #e4b255;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: var(--uae-gold);
  padding: 8px 20px;
  margin-left: 30px;
  border-radius: 4px;
  color: var(--pure-white);
  font-weight: 600;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: var(--pure-white);
  background: var(--uae-blue);
}

/*--------------------------------------------------------------
# Dropdown Navigation
--------------------------------------------------------------*/
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-toggle {
  position: relative;
  padding: 10px 0 10px 30px !important;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar .dropdown-toggle:hover {
  background: rgba(182, 138, 53, 0.1);
  color: var(--uae-gold) !important;
}

.navbar .dropdown-toggle i {
  font-size: 12px;
  margin-left: 8px;
  transition: transform 0.3s ease;
  opacity: 0.8;
}

.navbar .dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
  opacity: 1;
}

.navbar .dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  min-width: 220px;
  background: var(--pure-white);
  box-shadow: 0 15px 40px rgba(10, 76, 150, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 15px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 9999;
  border: 1px solid rgba(10, 76, 150, 0.08);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.navbar .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 30px;
  width: 16px;
  height: 16px;
  background: var(--pure-white);
  border: 1px solid rgba(10, 76, 150, 0.08);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: -1;
}

.navbar .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.navbar .dropdown-menu li {
  position: relative;
  margin: 0 8px;
}

.navbar .dropdown-menu a {
  padding: 14px 20px;
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  background: transparent;
}

.navbar .dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(135deg, var(--uae-blue), var(--uae-gold));
  border-radius: 2px;
  transition: height 0.3s ease;
}

.navbar .dropdown-menu a::after {
  content: '→';
  position: absolute;
  right: 20px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--uae-gold);
  font-weight: 600;
}

.navbar .dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(10, 76, 150, 0.08), rgba(182, 138, 53, 0.08));
  color: var(--uae-blue);
  padding-left: 28px;
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(10, 76, 150, 0.1);
}

.navbar .dropdown-menu a:hover::before {
  height: 24px;
}

.navbar .dropdown-menu a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.navbar .dropdown-menu li:not(:last-child) {
  border-bottom: 1px solid rgba(10, 76, 150, 0.06);
  margin-bottom: 2px;
  padding-bottom: 2px;
}

/* Focus states for accessibility */
.navbar .dropdown-toggle:focus {
  outline: 2px solid var(--uae-gold);
  outline-offset: 2px;
  background: rgba(182, 138, 53, 0.1);
  color: var(--uae-gold) !important;
  box-shadow: 0 0 0 3px rgba(182, 138, 53, 0.2);
}

/* Mobile navigation toggle accessibility */
.mobile-nav-toggle:focus {
  outline: 2px solid var(--uae-gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(182, 138, 53, 0.3);
}

.mobile-nav-toggle:active {
  transform: scale(0.95);
}

.navbar .dropdown-menu a:focus {
  outline: 2px solid var(--uae-gold);
  outline-offset: -2px;
  background: linear-gradient(135deg, rgba(10, 76, 150, 0.08), rgba(182, 138, 53, 0.08)) !important;
  color: var(--uae-blue) !important;
  padding-left: 28px;
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(10, 76, 150, 0.1);
}

.navbar .dropdown-menu a:focus::before {
  height: 24px;
}

.navbar .dropdown-menu a:focus::after {
  opacity: 1;
  transform: translateX(0);
}

/* Ensure dropdown stays open on focus within */
.navbar .dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
.mobile-nav-toggle {
  color: var(--uae-blue);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  position: relative;
  z-index: 1002;
  -webkit-user-select: none;
  user-select: none;
}

/* Mobile Navigation Active State */
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(45, 55, 72, 0.98);
  transition: 0.3s;
  z-index: 999;
  padding-top: 80px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block !important;
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 15px 0;
  border-radius: 12px;
  background-color: #2d3748;
  overflow-y: auto;
  transition: 0.3s;
  border: 2px solid rgba(182, 138, 53, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.navbar-mobile ul li {
  padding: 0;
  margin: 0 15px 2px 15px;
}

.navbar-mobile ul li a,
.navbar-mobile ul li:hover > a {
  font-size: 16px;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
  font-weight: 500;
  border-bottom: none;
  line-height: 1.4;
}

.navbar-mobile ul li a:hover,
.navbar-mobile ul li:hover > a {
  color: #e4b255;
  background: rgba(182, 138, 53, 0.15);
  transform: translateX(5px);
}

.navbar-mobile ul li.dropdown {
  position: static !important;
  margin-bottom: 6px;
}

.navbar-mobile ul li.dropdown > a {
  background: rgba(10, 76, 150, 0.3);
  border: 1px solid rgba(182, 138, 53, 0.3);
  border-radius: 10px;
  margin-bottom: 4px;
}

.navbar-mobile ul li.dropdown ul {
  position: static !important;
  display: none;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-height: none;
  overflow: visible;
  min-width: auto !important;
  backdrop-filter: none !important;
}

.navbar-mobile ul li.dropdown ul li {
  margin: 0 0 3px 0 !important;
  padding: 0 !important;
}

.navbar-mobile ul li.dropdown ul a {
  padding: 14px 25px !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 400 !important;
  border-radius: 8px !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(45, 55, 72, 0.6) !important;
  border: 1px solid rgba(182, 138, 53, 0.2) !important;
  position: relative !important;
  left: 20px !important;
  width: calc(100% - 40px) !important;
}

.navbar-mobile ul li.dropdown ul a:hover,
.navbar-mobile ul li.dropdown ul a:active,
.navbar-mobile ul li.dropdown ul a:focus {
  background: rgba(182, 138, 53, 0.3) !important;
  color: #e4b255 !important;
  transform: translateX(4px) !important;
  border-color: rgba(182, 138, 53, 0.5) !important;
}

.navbar-mobile ul li.dropdown:hover ul,
.navbar-mobile ul li.dropdown.dropdown-active ul {
  display: block !important;
  animation: slideDown 0.3s ease;
  opacity: 1;
  visibility: visible;
}

/* Ensure desktop hover functionality is maintained */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

/* Mobile-specific dropdown positioning fixes */
@media (max-width: 991.98px) {
  .navbar .dropdown {
    position: static !important;
  }
  
  .navbar .dropdown-toggle {
    position: static !important;
  }
  
  .navbar .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    min-width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-mobile ul li.dropdown .dropdown-toggle {
  position: relative;
  padding-right: 50px !important;
}

.navbar-mobile ul li.dropdown .dropdown-toggle::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  font-size: 14px;
  color: #e4b255;
  background: rgba(182, 138, 53, 0.2);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(182, 138, 53, 0.3);
}

.navbar-mobile ul li.dropdown.dropdown-active .dropdown-toggle {
  background: rgba(10, 76, 150, 0.5) !important;
  border-color: rgba(182, 138, 53, 0.5) !important;
}

.navbar-mobile ul li.dropdown.dropdown-active .dropdown-toggle::after {
  transform: translateY(-50%) rotate(180deg);
  background: rgba(182, 138, 53, 0.4) !important;
  border-color: rgba(182, 138, 53, 0.6) !important;
}

.navbar-mobile ul li.dropdown.dropdown-active ul {
  display: block !important;
  animation: mobileDropdownSlide 0.4s ease-out;
}

@keyframes mobileDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced responsive navigation */
@media (max-width: 1199px) {
  .navbar ul {
    gap: 0;
  }
  
  .navbar a {
    padding: 10px 0 10px 20px;
  }
}

/* Tablet-specific improvements */
@media (max-width: 991px) and (min-width: 768px) {
  .navbar-mobile ul li.dropdown ul a {
    padding: 16px 30px !important;
    font-size: 15px !important;
    min-height: 52px !important;
  }
  
  .navbar-mobile ul li.dropdown .dropdown-toggle::after {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    right: 25px !important;
  }
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: flex !important;
    color: #ffffff;
    font-size: 28px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(182, 138, 53, 0.15);
    border: 2px solid rgba(182, 138, 53, 0.4);
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus {
    background: rgba(182, 138, 53, 0.25);
    color: #e4b255;
    border-color: rgba(182, 138, 53, 0.6);
    transform: scale(1.05);
  }

  .navbar ul {
    display: none;
  }
  
  /* Ensure navbar doesn't overlap content */
  .header {
    padding: 12px 0;
  }
  
  /* Ensure proper spacing for mobile navigation */
  .header .container-fluid {
    padding: 0 15px;
  }
  
  /* Make sure logo doesn't interfere with hamburger */
  .header .logo img {
    max-height: 40px;
    width: auto;
  }
  
  /* Add padding to prevent content from hiding behind fixed header */
  #hero,
  .hero-video {
    padding-top: 80px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* Hero Video Container */
.hero-video {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
}

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

/* Video Overlay Content */
.hero-content {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(10, 76, 150, 0.7), rgba(10, 76, 150, 0.5));
  padding: 140px 0 60px 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}
/* Hero Text Styles */
.hero-video h1,
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--pure-white);
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
}

.hero-video h2,
.hero-content h2 {
  color: var(--uae-gold);
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-video p,
.hero-content p {
  color: var(--pure-white);
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-video .btn-get-started,
.hero-content .btn-get-started {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  transition: 0.3s;
  margin: 10px 0 0 0;
  color: var(--pure-white);
  background: var(--uae-blue);
  text-decoration: none;
}

.hero-video .btn-get-started:hover,
.hero-content .btn-get-started:hover {
  background: var(--uae-gold);
}

.hero-video .btn-whatsapp,
.hero-content .btn-whatsapp {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  transition: 0.3s;
  margin: 10px 0 0 20px;
  color: var(--pure-white);
  background: #25d366;
  text-decoration: none;
}

.hero-video .btn-whatsapp:hover,
.hero-content .btn-whatsapp:hover {
  background: #128c7e;
  color: var(--pure-white);
}

.hero-video .btn-whatsapp i,
.hero-content .btn-whatsapp i {
  margin-right: 8px;
}

/*--------------------------------------------------------------
# Trust Indicators
--------------------------------------------------------------*/
.trust-indicators {
  background: var(--pure-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(10, 76, 150, 0.1);
  margin-top: 40px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--uae-blue);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--slate-600);
  margin-top: 5px;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.services.sections-bg {
  padding: 40px 0 20px 0;
  background-image: url('images/burj1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  color: white;
}

.services.sections-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7));
  z-index: 1;
}

.services.sections-bg .container {
  position: relative;
  z-index: 2;
}

.sections-bg {
  background-color: var(--slate-100);
}

.section-header {
  text-align: center;
  padding-bottom: 20px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  color: var(--uae-blue);
}

.services.sections-bg .section-header h2 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.section-header p {
  color: var(--slate-600);
  margin-bottom: 0;
  font-size: 18px;
}

/* Dark background sections - consistent white text styling */
.about-intro .section-header h2,
.services.sections-bg .section-header h2,
.process .section-header h2,
.assessment .section-header h2,
.testimonials .section-header h2,
.contact .section-header h2,
.about-content .section-header h2,
.mission-vision .section-header h2,
.why-choose-us .section-header h2,
.cta .section-header h2 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.about-intro .section-header p,
.services.sections-bg .section-header p,
.process .section-header p,
.assessment .section-header p,
.testimonials .section-header p,
.contact .section-header p {
  color: var(--uae-gold);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* About page specific - use white for subheadings */
.about-content .section-header p,
.mission-vision .section-header p,
.why-choose-us .section-header p,
.cta .section-header p {
  color: white;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  border-radius: 10px;
  padding: 30px 20px;
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.services .service-item .icon {
  color: var(--uae-gold) !important;
  margin-bottom: 15px;
  font-size: 48px;
}

.services .service-item h3 {
  color: white;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.services .service-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.services .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(10, 76, 150, 0.15);
}

.services .service-item .readmore {
  color: var(--uae-gold);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.services .service-item .readmore:hover {
  color: white;
}

/*--------------------------------------------------------------
# Process Section
--------------------------------------------------------------*/
.process {
  background-image: url('images/hero-lithuania1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  padding: 80px 0;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7));
  z-index: 1;
}

.process .container {
  position: relative;
  z-index: 2;
}

/* Process section headers are now handled by the global dark background section rules above */

.process-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  margin-bottom: 30px;
  position: relative;
  transition: all 0.3s ease;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(10, 76, 150, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.process-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--uae-blue), #0a5dbf);
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(10, 76, 150, 0.3);
  border: 3px solid var(--pure-white);
}

.process-icon {
  font-size: 48px;
  color: var(--uae-gold);
  margin: 25px 0 20px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.process-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--charcoal);
  line-height: 1.3;
}

.process-item p {
  font-size: 15px;
  color: var(--slate-600);
  margin-bottom: 0;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.process-item:hover {
  background: var(--pure-white);
  box-shadow: 0 15px 40px rgba(10, 76, 150, 0.25);
  transform: translateY(-10px);
}

.process-item:hover .process-number {
  background: linear-gradient(135deg, var(--uae-gold), #d4a853);
  transform: translateX(-50%) scale(1.1);
}

.process-item:hover .process-icon {
  color: var(--uae-blue);
  transform: scale(1.1);
}

/* Process Section Mobile Responsiveness */
@media (max-width: 992px) {
  .process .row {
    justify-content: center;
  }
  
  .process-item {
    height: 260px;
    padding: 25px 15px;
  }
  
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 18px;
    top: -18px;
  }
  
  .process-icon {
    font-size: 42px;
    margin: 20px 0 15px 0;
  }
  
  .process-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .process-item p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .process {
    background-attachment: scroll;
    padding: 60px 0;
  }
  
  .process-item {
    height: 240px;
    padding: 20px 12px;
    margin-bottom: 25px;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
    top: -15px;
  }
  
  .process-icon {
    font-size: 36px;
    margin: 15px 0 12px 0;
  }
  
  .process-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .process-item p {
    font-size: 13px;
    line-height: 1.4;
  }
}

@media (max-width: 576px) {
  .process {
    padding: 50px 0;
  }
  
  .process .section-header h2 {
    font-size: 28px;
  }
  
  .process .section-header p {
    font-size: 16px;
  }
  
  .process-item {
    height: 220px;
    padding: 18px 10px;
    margin-bottom: 20px;
  }
  
  .process-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
    top: -12px;
  }
  
  .process-icon {
    font-size: 32px;
    margin: 12px 0 10px 0;
  }
  
  .process-item h4 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.2;
  }
  
  .process-item p {
    font-size: 12px;
    line-height: 1.3;
  }
}

/*--------------------------------------------------------------
# Assessment Section
--------------------------------------------------------------*/
.assessment {
  background-image: url('images/visa.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.assessment::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7));
  z-index: 1;
}

.assessment .container {
  position: relative;
  z-index: 2;
}

.assessment-form {
  background: var(--pure-white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Ensure form headers inside white forms use dark text */
.assessment-form .section-header h2 {
  color: var(--uae-blue) !important;
  text-shadow: none !important;
  font-size: 32px;
}

.assessment-form .section-header p {
  color: var(--slate-600) !important;
  text-shadow: none !important;
  font-size: 18px;
}

.assessment-form .form-label {
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 8px;
}

.assessment-form .form-control,
.assessment-form .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  transition: 0.3s;
}

.assessment-form .form-control:focus,
.assessment-form .form-select:focus {
  border-color: var(--uae-blue);
  box-shadow: 0 0 0 0.2rem rgba(10, 76, 150, 0.25);
}

.btn-assessment {
  background: var(--uae-gold);
  color: var(--pure-white);
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
  margin-top: 20px;
}

.btn-assessment:hover {
  background: var(--uae-blue);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Application Success Styling
--------------------------------------------------------------*/
.application-results .timeline-list {
  list-style: none;
  padding-left: 0;
}

.application-results .timeline-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--slate-700);
  line-height: 1.5;
}

.application-results .timeline-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--success-green);
  font-weight: bold;
  font-size: 1.1rem;
}

.application-results .submission-details ul li {
  padding: 5px 0;
  color: var(--slate-700);
  line-height: 1.6;
}

.application-results .action-buttons .btn {
  border-radius: 25px;
  font-weight: 600;
  padding: 12px 30px;
  transition: all 0.3s ease;
}

.application-results .action-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* File upload styling */
.form-control[type="file"] {
  padding: 12px 15px;
  border: 2px dashed #e2e8f0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.form-control[type="file"]:hover {
  border-color: var(--uae-blue);
  background: #f1f5f9;
}

.form-control[type="file"]:focus {
  border-color: var(--uae-blue);
  border-style: solid;
  background: var(--pure-white);
  box-shadow: 0 0 0 0.2rem rgba(10, 76, 150, 0.25);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  background-image: url('images/czech-hero3-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  z-index: 10;
  padding: 80px 0;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7));
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 2;
}

.testimonials .slides-3 {
  opacity: 1;
  visibility: visible;
}

.testimonials .swiper {
  opacity: 1 !important;
  visibility: visible !important;
}

.testimonials .swiper-wrapper {
  opacity: 1;
  visibility: visible;
}

.testimonials .swiper-slide {
  opacity: 1;
  visibility: visible;
}

.testimonial-wrap {
  padding: 0 20px;
  opacity: 1;
  visibility: visible;
}

.testimonial-item {
  background: var(--slate-100);
  padding: 30px;
  border-radius: 15px;
  position: relative;
  border-left: 4px solid var(--uae-gold);
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--uae-gold);
}

.testimonials h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.testimonials h4 {
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 0;
}

.testimonials .stars {
  color: var(--uae-gold);
  margin-top: 5px;
}

.testimonials .quote-icon-left,
.testimonials .quote-icon-right {
  color: var(--uae-blue);
  font-size: 26px;
}

.testimonials .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials p {
  font-style: italic;
  margin: 15px 0 15px 0;
  padding: 20px 0 0 0;
  color: var(--charcoal);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background: var(--slate-100);
  position: relative;
  overflow: hidden;
}

.contact.with-map-bg {
  background: none;
  position: relative;
  min-height: 100vh;
}

.contact-map-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.contact-map-background iframe {
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 1;
}

.contact-map-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 76, 150, 0.1), rgba(10, 76, 150, 0.6));
  z-index: 2;
}

.contact-content {
  position: relative;
  z-index: 3;
  background: transparent;
}

.contact .info-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(10, 76, 150, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
}

.contact .info-item {
  width: 100%;
  background: var(--slate-100);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  align-items: flex-start;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--uae-blue);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--pure-white);
  margin-right: 15px;
}

.contact .info-item h4 {
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--charcoal);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--slate-600);
}

.contact .php-email-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(10, 76, 150, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  transition: 0.3s;
}

.contact .php-email-form .form-control:focus {
  border-color: var(--uae-blue);
  box-shadow: 0 0 0 0.2rem rgba(10, 76, 150, 0.25);
}

.contact .php-email-form button[type=submit] {
  background: var(--uae-blue);
  border: 0;
  padding: 15px 40px;
  color: var(--pure-white);
  border-radius: 50px;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 600;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--uae-gold);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--charcoal);
  color: var(--pure-white);
  font-size: 14px;
  padding: 50px 0 30px 0;
}

.footer .footer-info .logo {
  line-height: 0;
  margin-bottom: 25px;
}

.footer .footer-info .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-info .logo span {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--pure-white);
  font-family: var(--font-primary);
}

.footer .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-primary);
  color: rgba(255, 255, 255, 0.8);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--pure-white);
  border-color: var(--uae-gold);
  background: var(--uae-gold);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: var(--pure-white);
}

.footer .footer-links {
  margin-bottom: 30px;
}

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

.footer .footer-links ul i {
  padding-right: 2px;
  color: var(--uae-gold);
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--uae-gold);
}

.footer .footer-contact p {
  line-height: 26px;
  color: rgba(255, 255, 255, 0.8);
}

.footer .copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/*--------------------------------------------------------------
# WhatsApp Floating Button
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: var(--pure-white);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: var(--pure-white);
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 90px;
  z-index: 996;
  background: var(--uae-blue);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: var(--pure-white);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--uae-gold);
  color: var(--pure-white);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .hero-video .hero-content,
  .hero-content {
    padding: 120px 0 40px 0;
  }
  
  .hero-video h1,
  .hero-content h1 {
    font-size: 36px;
    line-height: 42px;
  }
  
  .hero-video h2,
  .hero-content h2 {
    font-size: 20px;
  }
  
  .hero-video p,
  .hero-content p {
    font-size: 16px;
    line-height: 24px;
  }
  
  .hero-video .btn-whatsapp,
  .hero-content .btn-whatsapp {
    margin: 10px 0 0 0;
    display: block;
    text-align: center;
  }
  
  .trust-indicators {
    margin-top: 30px;
    padding: 20px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .services .service-item {
    margin-bottom: 20px;
  }
  
  .process-item {
    margin-bottom: 30px;
  }
  
  .assessment-form {
    padding: 30px 20px;
  }
  
  .contact .info-container,
  .contact .php-email-form {
    padding: 30px 20px;
  }
  
  .footer {
    padding: 40px 0 20px 0;
  }
  
}

@media (max-width: 576px) {
  /* Mobile Portrait Navigation Fixes */
  .header {
    padding: 8px 0;
  }
  
  .header .container-fluid {
    padding: 0 10px;
  }
  
  .mobile-nav-toggle {
    font-size: 24px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
    margin-left: 8px;
  }
  
  .header .logo img {
    max-height: 35px;
  }
  
  .hero-video h1,
  .hero-content h1 {
    font-size: 28px;
    line-height: 34px;
  }
  
  .hero-video h2,
  .hero-content h2 {
    font-size: 18px;
  }
  
  .trust-indicators .col-4 {
    margin-bottom: 15px;
  }
  
  .services .service-item {
    padding: 30px 20px;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Arabic RTL Support
--------------------------------------------------------------*/
[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .navbar-nav {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-video .btn-whatsapp,
[dir="rtl"] .hero-content .btn-whatsapp {
  margin: 10px 20px 0 0;
}

[dir="rtl"] .testimonial-item {
  border-left: none;
  border-right: 4px solid var(--uae-gold);
}

[dir="rtl"] .contact .info-item i {
  margin-right: 0;
  margin-left: 15px;
}

/*--------------------------------------------------------------
# Services Section Enhancements
--------------------------------------------------------------*/
.service-outro {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgb(250, 250, 250));
  padding: 50px 40px;
  border-radius: 20px;
  border: 2px solid rgba(10, 76, 150, 0.1);
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-outro h3, .service-outro h4 {
  line-height: 1.3;
}

.service-outro .highlight-box {
  transition: all 0.3s ease;
}

.service-outro .highlight-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 76, 150, 0.1);
}

.service-outro .cta-section {
  background: rgba(255, 255, 255, 0.7);
  padding: 30px 25px;
  border-radius: 15px;
  border: 1px solid rgba(10, 76, 150, 0.1);
}

.service-outro .achievement-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.service-outro .btn {
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.service-outro .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(10, 76, 150, 0.4);
}

.service-outro .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.service-outro .btn:hover::before {
  left: 100%;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
  .service-outro {
    padding: 30px 20px;
  }
  
  .service-outro .cta-section {
    margin-top: 30px;
    padding: 25px 20px;
  }
}

/*--------------------------------------------------------------
# About Introduction Section
--------------------------------------------------------------*/
.about-intro {
  padding: 40px 0 20px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7)), url('../images/burj.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.about-intro .section-header h2 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.about-intro .section-header .lead {
  color: var(--uae-gold);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.about-text {
  text-align: left;
  padding: 0 15px;
}

.about-intro .about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.about-text p {
  color: var(--slate-600);
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 20px;
}

.about-intro .expertise-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.expertise-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--pure-white);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.expertise-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(10, 76, 150, 0.15);
}

.expertise-icon {
  margin-bottom: 20px;
}

.about-intro .expertise-icon i {
  font-size: 48px;
  color: var(--uae-gold) !important;
}

.expertise-icon i {
  font-size: 48px;
  color: var(--uae-blue);
}

.about-intro .expertise-item h5 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.about-intro .expertise-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.expertise-item h5 {
  color: var(--uae-blue);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.expertise-item p {
  color: var(--slate-600);
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 0;
}

/* Mobile Responsiveness for About Intro */
@media (max-width: 768px) {
  .about-intro {
    padding: 60px 0 15px 0;
  }
  
  .about-intro .section-header h2 {
    font-size: 28px;
  }
  
  .about-intro .section-header .lead {
    font-size: 18px;
  }
  
  .expertise-item {
    margin-bottom: 20px;
  }
  
  .hero-video h1,
  .hero-content h1 {
    white-space: normal;
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .about-intro {
    padding: 40px 0 10px 0;
  }
  
  .hero-video h1,
  .hero-content h1 {
    font-size: 2rem;
    white-space: normal;
  }
}

/*--------------------------------------------------------------
# About Page Styles
--------------------------------------------------------------*/
.about-page-bg {
  background: url('../css/images/czech-hero2-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.about-page-bg::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: -1;
}

.skilled-migration-page-bg {
  background-image: url('images/opera.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
}

.skilled-migration-page-bg::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;
}

.work-permits-page-bg {
  background-image: url('images/germany-hero2-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
}

.work-permits-page-bg::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;
}

.study-abroad-page-bg {
  background-image: url('images/georgia1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
}

.study-abroad-page-bg::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;
}

.about-hero {
  padding: 140px 0 40px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7));
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

.about-hero .lead {
  font-size: 1.2rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.about-content {
  padding: 40px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7));
}

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

.about-content .about-text .lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.about-content .about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.mission-vision {
  padding: 40px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7));
}

.mission-box, .vision-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 280px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.mission-box:hover, .vision-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(10, 76, 150, 0.15);
}

.mission-box .icon, .vision-box .icon {
  margin-bottom: 1rem;
}

.mission-box .icon i, .vision-box .icon i {
  font-size: 2.5rem;
  color: var(--uae-gold) !important;
  display: block;
}

.mission-box h3, .vision-box h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(182, 138, 53, 0.8);
  text-align: center;
}

.mission-box p, .vision-box p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-align: center;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 10px;
  position: absolute;
  top: 160px;
  left: 0;
  right: 0;
}

.why-choose-us {
  padding: 40px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7));
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(10, 76, 150, 0.15);
}

.feature-icon {
  margin-bottom: 1rem;
}

.feature-icon i {
  font-size: 2.5rem;
  color: var(--uae-gold);
}

.feature-content h4 {
  color: white;
  text-shadow: 0 0 10px rgba(182, 138, 53, 0.8);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-align: center;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 100%;
  padding: 0 10px;
  position: absolute;
  top: 160px;
  left: 0;
  right: 0;
  font-size: 0.95rem;
}

.cta {
  padding: 40px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 76, 150, 0.7));
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.cta p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Investor-visa style buttons */
.btn-primary-custom {
  background: var(--uae-gold);
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  margin: 0 10px;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background: var(--uae-blue);
  transform: translateY(-2px);
  color: white;
}

.btn-cta-enhanced {
  padding: 20px 60px !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 25px rgba(182, 138, 53, 0.4);
  border-radius: 60px !important;
}

.btn-cta-enhanced:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 35px rgba(182, 138, 53, 0.6);
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.2rem;
  }
  
  .about-hero .lead {
    font-size: 1.1rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cta h2 {
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*--------------------------------------------------------------
# Navigation UX Improvements
--------------------------------------------------------------*/

/* Additional mobile optimization */
@media (max-width: 767px) {
  .navbar-mobile ul {
    top: 10px;
    padding: 10px 0;
  }
  
  .navbar-mobile ul li {
    margin: 0 10px 1px 10px;
  }
  
  .navbar-mobile ul li a {
    padding: 10px 15px;
    font-size: 15px;
  }
  
  .navbar-mobile ul li.dropdown ul {
    margin: 4px 0 4px 12px;
    padding: 6px 0;
  }
  
  .navbar-mobile ul li.dropdown ul li {
    margin: 0 6px 1px 6px;
  }
  
  .navbar-mobile ul li.dropdown ul a {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* Ensure smooth transitions */
.navbar .dropdown-toggle i {
  transition: all 0.3s ease;
}

.navbar .dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

/* Prevent layout shifts */
.navbar .dropdown-menu {
  white-space: nowrap;
}

.navbar .dropdown-menu li a {
  white-space: normal;
}

/* Improved accessibility and focus states */
.navbar a:focus,
.navbar .dropdown-toggle:focus {
  outline: 2px solid #e4b255;
  outline-offset: 2px;
}

.mobile-nav-toggle:focus {
  outline: 2px solid #e4b255;
  outline-offset: 2px;
}
.navbar a:focus:not(:focus-visible),
.navbar .dropdown-toggle:focus:not(:focus-visible),
.mobile-nav-toggle:focus:not(:focus-visible),
.navbar .dropdown-menu a:focus:not(:focus-visible) {
  outline: none !important;
}
/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--uae-blue);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --uae-blue: #000080;
    --uae-gold: #e4b255;
    --charcoal: #000000;
    --slate-600: #333333;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .whatsapp-float {
    animation: none;
  }
}

 

/*--------------------------------------------------------------
# Skilled Migration Page Styles
--------------------------------------------------------------*/

/* Combined Header Section */
.combined-header {
  padding: 120px 0 60px 0;
  margin-bottom: 40px;
}

.combined-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--uae-blue);
  margin-bottom: 15px;
}

.combined-header .lead {
  font-size: 1.1rem;
  color: var(--slate-600);
  margin-bottom: 20px;
}

.breadcrumbs {
  margin-top: 20px;
}

.breadcrumbs ol {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li {
  margin: 0 5px;
}

.breadcrumbs ol li a {
  color: var(--uae-blue);
  text-decoration: none;
}

.breadcrumbs ol li:not(:last-child)::after {
  content: ' / ';
  color: var(--slate-400);
  margin-left: 10px;
}

/* Skilled Migration Section */
.skilled-migration {
  padding: 40px 0 80px 0;
  background: transparent;
}

/* Migration Container with Flex Layout */
.migration-container {
  display: flex;
  gap: 30px;
  max-height: 70vh;
  margin-top: 30px;
}

/* Country Sidebar */
.country-sidebar {
  flex: 0 0 280px;
  max-width: 280px;
}

/* Country Navigation Pills (Vertical Tabs) */
.country-nav-pills {
  background: var(--pure-white);
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  padding: 15px 0;
  height: 100%;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--uae-blue) var(--slate-100);
}

.country-nav-pills::-webkit-scrollbar {
  width: 6px;
}

.country-nav-pills::-webkit-scrollbar-track {
  background: var(--slate-100);
  border-radius: 3px;
}

.country-nav-pills::-webkit-scrollbar-thumb {
  background: var(--uae-blue);
  border-radius: 3px;
}

.country-nav-pills::-webkit-scrollbar-thumb:hover {
  background: var(--uae-gold);
}

.country-nav-pills .nav-pills {
  border: none;
}

.country-nav-pills .nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 20px;
  color: var(--slate-600);
  background: transparent;
  border: none;
  border-radius: 6px;
  margin: 3px 10px;
  text-align: left;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  width: calc(100% - 20px);
}

.country-nav-pills .nav-link i {
  margin-right: 12px;
  font-size: 1.1rem;
  width: 20px;
}

.country-nav-pills .nav-link:hover {
  background: var(--slate-50);
  color: var(--uae-blue);
  border-left-color: var(--uae-blue);
  transform: translateX(5px);
}

.country-nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--uae-blue) 0%, #0a5dbf 100%);
  color: var(--pure-white);
  border-left-color: var(--uae-gold);
  box-shadow: 0 4px 15px rgba(10, 76, 150, 0.3);
}

.country-nav-pills .nav-link.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.country-nav-pills .nav-link.disabled:hover {
  transform: none;
  background: transparent;
  border-left-color: transparent;
}

/* Content Area */
.content-area {
  flex: 1;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--uae-blue) var(--slate-100);
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
  padding: 5px;
  
}

.content-area::-webkit-scrollbar {
  width: 8px;
}

.content-area::-webkit-scrollbar-track {
  background: var(--slate-100);
  border-radius: 4px;
}

.content-area::-webkit-scrollbar-thumb {
  background: var(--uae-blue);
  border-radius: 4px;
}

.content-area::-webkit-scrollbar-thumb:hover {
  background: var(--uae-gold);
}

/* Country Content Area */
.country-content {
  background: var(--pure-white);
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-bottom: 20px;
}

.country-header h3 {
  color: var(--charcoal);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.country-header .lead {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Australia Horizontal Subtabs */
.australia-subtabs {
  margin-top: 30px;
}

.australia-subtabs .nav-tabs {
  border-bottom: 2px solid var(--slate-200);
  margin-bottom: 0;
}

.australia-subtabs .nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--slate-600);
  font-weight: 600;
  padding: 15px 25px;
  background: transparent;
  transition: all 0.3s ease;
}

.australia-subtabs .nav-tabs .nav-link:hover {
  border-bottom-color: var(--uae-gold);
  color: var(--uae-blue);
}

.australia-subtabs .nav-tabs .nav-link.active {
  color: var(--uae-blue);
  border-bottom-color: var(--uae-blue);
  background: var(--slate-50);
}

/* Visa Content Sections */
.visa-content {
  padding-top: 20px;
}

.visa-header h4 {
  color: var(--charcoal);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.visa-header p {
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Benefits, Eligibility, and Other Sections */
.benefits-section,
.eligibility-section,
.processing-time,
.why-choose,
.process-overview {
  margin-bottom: 30px;
}

.benefits-section h5,
.eligibility-section h5,
.processing-time h5,
.why-choose h5,
.process-overview h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.benefits-list,
.eligibility-list {
  list-style: none;
  padding-left: 0;
}

.benefits-list li,
.eligibility-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--slate-600);
  line-height: 1.6;
  border-bottom: 1px solid rgba(10, 76, 150, 0.1);
}

.benefits-list li:last-child,
.eligibility-list li:last-child {
  border-bottom: none;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--success-green);
  font-weight: bold;
  font-size: 1.1rem;
}

.eligibility-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--uae-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.process-steps {
  padding-left: 20px;
}

.process-steps li {
  margin-bottom: 10px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* CTA Section - Original styling for other pages */
.cta-section {
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--pure-white) 100%);
  border-radius: 8px;
  padding: 25px;
  border-left: 4px solid var(--uae-gold);
  margin-top: 30px;
}

.cta-section h6 {
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 10px;
}

.cta-section p {
  color: var(--slate-600);
  margin-bottom: 15px;
}

/* Additional Programs */
.additional-programs {
  border-top: 1px solid var(--slate-200);
  padding-top: 30px;
}

.program-card {
  background: var(--slate-50);
  padding: 20px;
  border-radius: 8px;
  height: 100%;
  border-left: 3px solid var(--uae-blue);
}

.program-card h6 {
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 10px;
}

.program-card p {
  color: var(--slate-600);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Call to Action Section */
.cta-section.py-5 {
  margin-top: 80px;
}

/* Footer Logo Optimization */
.footer-logo {
  max-width: 120px;
  height: auto;
  object-fit: contain;
}

/* Mobile Responsive Design */
@media (max-width: 992px) {
  .migration-container {
    flex-direction: column;
    max-height: none;
    gap: 20px;
  }
  
  .country-sidebar {
    flex: none;
    max-width: 100%;
  }
  
  .country-nav-pills {
    max-height: 200px;
    margin-bottom: 20px;
  }
  
  .country-nav-pills .nav-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .country-nav-pills .nav-link {
    margin: 3px;
    padding: 8px 12px;
    font-size: 0.85rem;
    width: auto;
    flex: 0 0 auto;
  }
  
  .content-area {
    max-height: none;
    overflow-y: visible;
  }
  
  .combined-header {
    padding: 100px 0 40px 0;
  }
  
  .combined-header h1 {
    font-size: 2.2rem;
  }
  
  .skilled-migration {
    padding: 30px 0 60px 0;
  }
}

@media (max-width: 768px) {
  .country-nav-pills .nav-pills {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .country-nav-pills .nav-link {
    margin: 2px;
    padding: 6px 10px;
    font-size: 0.8rem;
    justify-content: center;
    text-align: center;
    min-width: auto;
  }
  
  .australia-subtabs .nav-tabs {
    flex-wrap: wrap;
  }
  
  .australia-subtabs .nav-tabs .nav-link {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .country-content {
    padding: 18px;
  }
  
  .combined-header h1 {
    font-size: 1.9rem;
  }
  
  .combined-header .lead {
    font-size: 1rem;
  }
  
  .breadcrumbs ol {
    flex-wrap: wrap;
  }
  
  .migration-container {
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .combined-header {
    padding: 80px 0 30px 0;
  }
  
  .combined-header h1 {
    font-size: 1.7rem;
  }
  
  .combined-header .lead {
    font-size: 0.95rem;
  }
  
  .country-header h3 {
    font-size: 1.5rem;
  }
  
  .visa-header h4 {
    font-size: 1.2rem;
  }
  
  .cta-section {
    padding: 15px;
  }
  
  .skilled-migration {
    padding: 20px 0 40px 0;
  }
  
  .country-nav-pills .nav-link {
    padding: 5px 8px;
    font-size: 0.75rem;
    margin: 1px;
  }
  
  .migration-container {
    gap: 10px;
  }
  
  .footer-logo {
    max-width: 100px;
  }
}

/* Animation Enhancements */
.country-content {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Hover Effects */
.program-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
} 

/*--------------------------------------------------------------
# Contact Page Styles
--------------------------------------------------------------*/

/* Contact Page Hero */
.contact-hero {
  padding: 140px 0 80px 0;
  background: linear-gradient(135deg, var(--uae-blue) 0%, var(--uae-gold) 100%);
  position: relative;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 55, 72, 0.3);
  z-index: 1;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  color: var(--pure-white);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Office Locations Section */
.office-locations {
  padding: 80px 0;
}

.office-item {
  background: var(--pure-white);
  border-radius: 15px;
  padding: 40px 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(10, 76, 150, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(10, 76, 150, 0.1);
}

.office-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(10, 76, 150, 0.15);
  border-color: var(--uae-gold);
}

.office-flag {
  text-align: center;
  margin-bottom: 25px;
}

.office-item h3 {
  text-align: center;
  color: var(--uae-blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.office-item h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--uae-blue), var(--uae-gold));
  border-radius: 2px;
}

.office-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(10, 76, 150, 0.02);
  border-radius: 8px;
  border-left: 4px solid var(--uae-gold);
}

.info-row i {
  color: var(--uae-blue);
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 3px;
  min-width: 20px;
}

.info-row h5 {
  color: var(--uae-blue);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.info-row p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Office CTA Section */
.office-cta {
  background: linear-gradient(135deg, rgba(10, 76, 150, 0.05), rgba(182, 138, 53, 0.05));
  border-radius: 15px;
  padding: 40px 30px;
  border: 2px solid rgba(182, 138, 53, 0.2);
}

/* Contact Page Background */
.contact-page-bg {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.5) 0%, var(--pure-white) 100%);
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-hero {
    padding: 120px 0 60px 0;
  }
  
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .office-locations {
    padding: 60px 0;
  }
  
  .office-item {
    padding: 30px 20px;
    margin-bottom: 30px;
  }
  
  .office-cta {
    padding: 30px 20px;
  }
  
  .info-row {
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-hero .lead {
    font-size: 1.1rem;
  }
  
  .office-item h3 {
    font-size: 1.3rem;
  }
  
  .info-row {
    flex-direction: column;
    text-align: center;
  }
  
  .info-row i {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/*--------------------------------------------------------------
# Career Page Styles
--------------------------------------------------------------*/

/* Career Page Background */
.careers-page-bg {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

/* Career Hero Section */
.careers-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0A4C96 0%, #2C3E50 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.careers-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.careers-hero .container {
  position: relative;
  z-index: 2;
}

.careers-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.careers-hero .lead {
  font-size: 1.4rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* Careers Content Section */
.careers-content {
  padding: 80px 0;
  background: #ffffff;
}

.careers-intro h2 {
  color: #0A4C96;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.careers-intro .lead {
  font-size: 1.2rem;
  color: #555;
  text-align: center;
  margin-bottom: 50px;
}

/* Benefit Items */
.benefit-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: #f8f9fa;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(10, 76, 150, 0.15);
  background: #ffffff;
}

.benefit-item i {
  font-size: 3rem;
  color: #B68A35;
  margin-bottom: 20px;
  display: block;
}

.benefit-item h4 {
  color: #0A4C96;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.benefit-item p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Career Application Section */
.career-application {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.career-application .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.career-application .section-header h2 {
  color: #0A4C96;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.career-application .section-header p {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
}

/* Career Form Styles */
.career-application .php-email-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.career-application .form-group {
  margin-bottom: 20px;
}

.career-application .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.career-application .form-control:focus {
  border-color: #0A4C96;
  box-shadow: 0 0 0 0.2rem rgba(10, 76, 150, 0.25);
}

.career-application select.form-control {
  height: auto;
  padding: 12px 15px;
}

.career-application textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.career-application .form-label {
  font-weight: 500;
  color: #0A4C96;
  margin-bottom: 8px;
  display: block;
}

.career-application button[type="submit"] {
  background: linear-gradient(135deg, #0A4C96 0%, #2C3E50 100%);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.career-application button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 76, 150, 0.3);
}

/* File Upload Styling */
.career-application input[type="file"] {
  border: 2px dashed #e9ecef;
  padding: 20px;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.career-application input[type="file"]:hover {
  border-color: #0A4C96;
  background: #ffffff;
}

/* Responsive Design for Career Page */
@media (max-width: 768px) {
  .careers-hero h1 {
    font-size: 2.5rem;
  }
  
  .careers-hero .lead {
    font-size: 1.2rem;
  }
  
  .careers-intro h2 {
    font-size: 2rem;
  }
  
  .career-application .php-email-form {
    padding: 30px 20px;
  }
  
  .benefit-item {
    margin-bottom: 20px;
  }
}

/*--------------------------------------------------------------
# Tourist Visa Page Styles
--------------------------------------------------------------*/

/* Tourist Visa Page Background */
.tourist-visa-page-bg {
  background: linear-gradient(135deg, rgba(10, 76, 150, 0.7), rgba(182, 138, 53, 0.7)), url('images/hero-berlin.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

/* All text white on tourist visa page */
.tourist-visa-page-bg,
.tourist-visa-page-bg p,
.tourist-visa-page-bg span,
.tourist-visa-page-bg li,
.tourist-visa-page-bg .lead,
.tourist-visa-page-bg .breadcrumbs a,
.tourist-visa-page-bg .benefits-list li {
  color: #ffffff !important;
}

/* Headings with text shadow on tourist visa page */
.tourist-visa-page-bg h1,
.tourist-visa-page-bg h2,
.tourist-visa-page-bg h3,
.tourist-visa-page-bg h4,
.tourist-visa-page-bg h6 {
  color: #ffffff !important;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

/* Exclude country names (h5 in country cards) from text shadow */
.tourist-visa-page-bg .country-info h5 {
  text-shadow: none !important;
}

/* Tourist Visa Section */
.tourist-visa {
  padding: 140px 0 80px 0;
  position: relative;
}

/* Specific class overrides for tourist visa page */
.tourist-visa-page-bg .combined-header.text-center.aos-init.aos-animate {
  padding: 0px;
}

.tourist-visa-page-bg .row.justify-content-center.mb-5.aos-init.aos-animate {
  margin-bottom: 0px !important;
}

/* Countries Gallery */
.countries-gallery {
  padding: 60px 0;
}

.countries-gallery h3 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.countries-gallery h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--uae-blue), var(--uae-gold));
  border-radius: 2px;
}

/* Country Cards */
.country-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 76, 150, 0.08);
  transition: all 0.15s ease;
  height: 100%;
  border: 1px solid rgba(10, 76, 150, 0.05);
}

.country-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(10, 76, 150, 0.15);
  border-color: var(--uae-gold);
}

.country-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.country-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
}

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

.country-info {
  padding: 20px;
  text-align: center;
}

.country-info h5 {
  color: var(--uae-blue) !important;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
  text-shadow: none !important;
}

.country-info p {
  color: var(--slate-600) !important;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.country-features {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.country-features span {
  background: rgba(10, 76, 150, 0.05);
  color: var(--uae-blue) !important;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(10, 76, 150, 0.1);
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  min-width: 110px;
}

.country-features span i {
  color: var(--uae-gold) !important;
}

/* Service Features */
.service-feature {
  text-align: center;
  padding: 25px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  transition: all 0.15s ease;
  backdrop-filter: blur(10px);
}

.service-feature:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.service-feature i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--uae-gold) !important;
}

.service-feature h6 {
  color: #ffffff !important;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.service-feature p {
  color: #ffffff !important;
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Services Overview */
.services-overview {
  background: rgba(255, 255, 255, 0.1);
  padding: 60px 0;
  border-radius: 20px;
  margin: 60px 0;
  backdrop-filter: blur(10px);
}

.services-overview h3 {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

/* Why Choose Us Section with specific image styling */
.tourist-visa-page-bg .why-choose-us {
  padding: 60px 0;
}

.tourist-visa-page-bg .why-choose-us h3 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.tourist-visa-page-bg .why-choose-us .col-lg-6:first-child {
  padding-left: 40px;
}

.tourist-visa-page-bg .why-choose-us img {
  height: 600px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Tourist visa page specific benefits-list styling */
.tourist-visa-page-bg .benefits-list {
  list-style: none;
  padding: 0;
}

.tourist-visa-page-bg .benefits-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  padding-left: 25px;
  color: #ffffff !important;
  line-height: 1.6;
}

.tourist-visa-page-bg .benefits-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--uae-gold);
  font-weight: bold;
  font-size: 1.1rem;
}

.tourist-visa-page-bg .benefits-list li:last-child {
  border-bottom: none;
}

.tourist-visa-page-bg .benefits-list li strong {
  color: var(--uae-gold) !important;
}

/* Tourist Visa Page CTA Section */
.tourist-visa-page-bg .cta-section {
  background: rgba(255, 255, 255, 0.1);
  padding: 60px 40px;
  border-radius: 20px;
  color: var(--pure-white);
  margin: 60px 0;
  backdrop-filter: blur(10px);
}

.tourist-visa-page-bg .cta-section h4 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(182, 138, 53, 1), 2px 2px 4px rgba(0,0,0,0.5);
}

.tourist-visa-page-bg .cta-section .lead {
  color: #ffffff !important;
  margin-bottom: 30px;
}

/* CTA Buttons styling */
.tourist-visa-page-bg .cta-section .btn {
  background-color: var(--uae-gold) !important;
  border-color: var(--uae-gold) !important;
  color: var(--charcoal) !important;
  font-weight: 600;
  transition: all 0.15s ease;
}

.tourist-visa-page-bg .cta-section .btn:hover {
  background-color: var(--uae-blue) !important;
  border-color: var(--uae-blue) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 76, 150, 0.3);
}

/* Responsive Design for Tourist Visa Page */
@media (max-width: 992px) {
  .tourist-visa-page-bg .why-choose-us .col-lg-6:first-child {
    padding-left: 20px;
  }
  
  .tourist-visa-page-bg .why-choose-us img {
    height: 500px;
  }
  
  .countries-gallery {
    padding: 40px 0;
  }
  
  .country-card {
    margin-bottom: 20px;
  }
  
  .country-image {
    height: 180px;
  }
  
  .services-overview {
    padding: 40px 20px;
    margin: 40px 0;
  }
  
  .tourist-visa-page-bg .cta-section {
    padding: 40px 20px;
    margin: 40px 0;
  }
}

@media (max-width: 768px) {
  .tourist-visa {
    padding: 120px 0 60px 0;
  }
  
  .tourist-visa-page-bg .why-choose-us .col-lg-6:first-child {
    padding-left: 15px;
  }
  
  .tourist-visa-page-bg .why-choose-us img {
    height: 400px;
    margin-bottom: 30px;
  }
  
  .countries-gallery h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .country-image {
    height: 160px;
  }
  
  .country-info {
    padding: 15px;
  }
  
  .country-features {
    flex-direction: column;
    gap: 8px;
  }
  
  .country-features span {
    min-width: auto;
    justify-content: center;
  }
  
  .service-feature {
    padding: 20px 10px;
  }
  
  .service-feature i {
    font-size: 2rem;
  }
  
  .why-choose-us .row {
    flex-direction: column-reverse;
  }
}

@media (max-width: 576px) {
  .tourist-visa-page-bg .why-choose-us .col-lg-6:first-child {
    padding-left: 15px;
  }
  
  .tourist-visa-page-bg .why-choose-us img {
    height: 300px;
  }
  
  .country-image {
    height: 140px;
  }
  
  .country-info h5 {
    font-size: 1rem;
  }
  
  .country-info p {
    font-size: 0.85rem;
  }
  
  .country-features span {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
    .tourist-visa-page-bg .cta-section h4 {
    font-size: 1.3rem;
  }

  .tourist-visa-page-bg .cta-section .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Animation Enhancements for Tourist Visa */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.country-card {
  animation: cardFadeIn 0.3s ease-out forwards;
}

/* Stagger animation for country cards */
.country-card:nth-child(1) { animation-delay: 0.05s; }
.country-card:nth-child(2) { animation-delay: 0.1s; }
.country-card:nth-child(3) { animation-delay: 0.15s; }
.country-card:nth-child(4) { animation-delay: 0.2s; }
.country-card:nth-child(5) { animation-delay: 0.25s; }
.country-card:nth-child(6) { animation-delay: 0.3s; }
.country-card:nth-child(7) { animation-delay: 0.35s; }
.country-card:nth-child(8) { animation-delay: 0.4s; }

/*--------------------------------------------------------------
# Responsive Image Optimizations
--------------------------------------------------------------*/

/* General responsive image utilities */
.img-responsive {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.img-contain {
  object-fit: contain;
}

.img-cover {
  object-fit: cover;
}

/* Aspect ratio containers for consistent image display */
.aspect-ratio-16x9 {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.aspect-ratio-4x3 {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 4:3 aspect ratio */
  overflow: hidden;
}

.aspect-ratio-1x1 {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* 1:1 aspect ratio */
  overflow: hidden;
}

.aspect-ratio-16x9 img,
.aspect-ratio-4x3 img,
.aspect-ratio-1x1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Enhanced country image containers */
.country-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

/* Logo optimizations */
.header .logo img {
  max-height: 90px;
  margin-right: 8px;
  border-radius: 4px;
  object-fit: contain;
  width: auto;
}

/* Footer logo */
.footer-logo {
  max-width: 120px;
  height: auto;
  object-fit: contain;
}

/* Testimonial image optimizations */
.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--uae-gold);
}

/* Background image improvements */
.bg-responsive {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero section background optimizations */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/*--------------------------------------------------------------
# Mobile Responsive Image Fixes
--------------------------------------------------------------*/

/* Tablet optimizations */
@media (max-width: 991px) {
  .country-image {
    height: 180px;
  }
  
  .header .logo img {
    max-height: 60px;
  }
  
  /* Background image adjustments for better mobile viewing */
  .about-intro {
    background-attachment: scroll;
    background-position: center center;
  }
  
  /* Adjust hero backgrounds for tablet */
  .hero-content {
    background-position: center center;
  }
}

/* Mobile landscape optimizations */
@media (max-width: 768px) {
  .country-image {
    height: 160px;
  }
  
  .header .logo img {
    max-height: 50px;
  }
  
  /* Optimize background images for mobile */
  .about-intro,
  .tourist-visa-page-bg,
  .combined-header {
    background-attachment: scroll;
    background-position: center top;
    background-size: cover;
  }
  
  /* Improve aspect ratios for mobile */
  .aspect-ratio-16x9 {
    padding-bottom: 66.67%; /* Adjust for mobile viewing */
  }
  
  .testimonial-img {
    width: 60px;
    height: 60px;
  }
}

/* Mobile portrait optimizations */
@media (max-width: 576px) {
  .country-image {
    height: 140px;
  }
  
  .header .logo img {
    max-height: 35px;
  }
  
  /* Optimize for small screens */
  .aspect-ratio-16x9 {
    padding-bottom: 75%; /* More square ratio for very small screens */
  }
  
  .footer-logo {
    max-width: 100px;
  }
  
  .testimonial-img {
    width: 50px;
    height: 50px;
  }
  
  /* Background position adjustments for mobile */
  .about-intro {
    background-position: center 20%;
  }
  
  /* Hero background improvements */
  .hero-content {
    min-height: 80vh;
    background-position: center center;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .country-image {
    height: 120px;
  }
  
  .header .logo img {
    max-height: 30px;
  }
}

/*--------------------------------------------------------------
# Image Loading and Performance Optimizations
--------------------------------------------------------------*/

/* Smooth image loading */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Prevent layout shift during image loading */
.img-placeholder {
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.875rem;
}

/* High DPI display optimizations */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
  
  /* Optimize images for retina displays */
  .country-image img,
  .header .logo img,
  .footer-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/*--------------------------------------------------------------
# Specific Component Image Fixes
--------------------------------------------------------------*/

/* Study abroad page image fix */
.study-destination img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .study-destination img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .study-destination img {
    height: 150px;
  }
}

/* Service card image optimizations */
.service-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.service-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .service-image img {
    height: 200px;
  }
}

/* Gallery image optimizations */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .gallery-item img {
    min-height: 150px;
  }
}

/*--------------------------------------------------------------
# Background Image Responsive Improvements
--------------------------------------------------------------*/

/* Enhanced background image handling */
.hero-section-bg,
.about-intro,
.tourist-visa-page-bg,
.combined-header,
.contact-hero,
.careers-hero {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Mobile-specific background adjustments */
@media (max-width: 768px) {
  .hero-section-bg,
  .about-intro,
  .tourist-visa-page-bg,
  .combined-header,
  .contact-hero,
  .careers-hero {
    background-attachment: scroll;
    background-position: center top;
  }
  
  /* Specific background position adjustments for mobile */
  .about-intro {
    background-position: center 30%;
  }
  
  .tourist-visa-page-bg {
    background-position: center 40%;
  }
  
  .contact-hero {
    background-position: center 25%;
  }
  
  .careers-hero {
    background-position: center 35%;
  }
}

/* Small mobile adjustments */
@media (max-width: 576px) {
  .hero-section-bg,
  .about-intro,
  .tourist-visa-page-bg,
  .combined-header,
  .contact-hero,
  .careers-hero {
    background-position: center 20%;
  }
}

/*--------------------------------------------------------------
# Legacy Image Class Overrides and Fallbacks
--------------------------------------------------------------*/

/* Ensure compatibility with existing img-fluid classes */
.img-fluid {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Enhanced responsive image base class */
.img-responsive {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.3s ease;
}

/* Prevent images from being stretched */
img:not([class*="object-fit"]):not(.img-cover):not(.img-contain) {
  object-fit: cover;
}

/* Fix for images in cards that might overflow */
.card img,
.country-card img,
.service-card img {
  object-fit: cover;
  width: 100%;
}

/* Ensure proper aspect ratios on mobile */
@media (max-width: 767px) {
  .img-responsive {
    border-radius: 4px;
  }
  
  /* Prevent very tall images on mobile */
  .country-image img,
  .service-image img,
  .study-destination img {
    max-height: 300px;
    object-fit: cover;
  }
}

/*--------------------------------------------------------------
# Browser-specific Image Fixes
--------------------------------------------------------------*/

/* Safari-specific fixes */
@supports (-webkit-appearance:none) {
  .img-responsive,
  .country-image img,
  .service-image img {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* Internet Explorer fallbacks */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .img-responsive {
    width: 100%;
    max-width: 100%;
  }
  
  .country-image {
    display: block;
    overflow: hidden;
  }
}

/* Specific class overrides for skilled migration, work permits, and study abroad pages */
.skilled-migration-page-bg .combined-header.text-center.aos-init.aos-animate {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

.work-permits-page-bg .combined-header.text-center.aos-init.aos-animate {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

.study-abroad-page-bg .combined-header.text-center.aos-init.aos-animate {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

/* Achttien.io Credit Styling */
.col-md-6.text-md-end a {
  color: var(--uae-gold) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.col-md-6.text-md-end a:hover {
  color: white !important;
}