/* Enhanced Styles for Goodlife Travels & Work Visas
   Created: April 2025
*/

/* Global Improvements */
body {
  font-family: 'Roboto', sans-serif;
  color: #444;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
}

/* Enhanced Header */
.header_area {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.header_area .navbar-brand {
  padding: 10px 0;
}

.logo-image {
  max-height: 60px;
  transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  padding: 25px 15px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .active .nav-link {
  color: #6059f6;
}

.navbar-light .navbar-nav .nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 15px;
  left: 15px;
  background-color: #6059f6;
  transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover:after,
.navbar-light .navbar-nav .active .nav-link:after {
  width: calc(100% - 30px);
}

/* Enhanced Hero Banners */
.hero-banner, .hero-banner-sm {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-banner .container, .hero-banner-sm .container {
  position: relative;
  z-index: 1;
}

.hero-banner h1, .hero-banner-sm h1 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #6059f6, #8075ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: none;
}

.hero-banner p, .hero-banner-sm p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Enhanced Service Cards */
.service-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card-img {
  padding: 40px 20px 20px;
  text-align: center;
  background: linear-gradient(45deg, #f8f9ff, #ffffff);
}

.service-card-body {
  padding: 30px;
}

.service-card-body h3 {
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

/* Enhanced Destination Cards */
.destination-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.destination-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.destination-card .card-body {
  padding: 25px;
}

.destination-card .card-title {
  font-weight: 600;
  margin-bottom: 15px;
}

/* Enhanced Buttons */
.button {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.5px;
  background: linear-gradient(45deg, #6059f6, #8075ff);
  box-shadow: 0 5px 15px rgba(96, 89, 246, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.button:hover {
  background: linear-gradient(45deg, #4f48d6, #6059f6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(96, 89, 246, 0.4);
}

.btn-outline-primary {
  color: #6059f6;
  border-color: #6059f6;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #6059f6;
  border-color: #6059f6;
  transform: translateY(-2px);
}

/* Enhanced Statistics Section */
.stats-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px 15px !important;
  transition: all 0.3s ease;
}

.stats-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.stats-card h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Industry Sectors & Destination Cards */
.industry-card, .destination-card {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.industry-card:hover, .destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.industry-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #f0f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Enhanced Badge Styling */
.badge-primary {
  background-color: #6059f6;
  color: white;
  border-radius: 30px;
  padding: 5px 12px;
  font-weight: 400;
  font-size: 12px;
  margin-right: 5px;
  margin-bottom: 5px;
  display: inline-block;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 15px;
    text-align: center;
  }
  
  .navbar-light .navbar-nav .nav-link:after {
    bottom: 5px;
    left: 30%;
    width: 40%;
  }
  
  .hero-banner h1, .hero-banner-sm h1 {
    font-size: 36px;
  }
  
  .service-card {
    margin-bottom: 30px;
  }
  
  .destination-card .card-img-top {
    height: 160px;
  }
}

@media (max-width: 767px) {
  .hero-banner h1, .hero-banner-sm h1 {
    font-size: 28px;
  }
  
  .hero-banner p, .hero-banner-sm p {
    font-size: 16px;
  }
  
  .section-intro h2 {
    font-size: 28px;
  }
  
  .stats-card h2 {
    font-size: 32px;
  }
  
  .service-card-img {
    padding: 30px 20px 10px;
  }
  
  .destination-card .row {
    flex-direction: column;
  }
  
  .destination-card .col-5 {
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .destination-card .col-7 {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* Add animations */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

.slide-up {
  animation: slideUp 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #b5b0ff;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6059f6;
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-inner {
  text-align: center;
}

.loader-circle {
  width: 40px;
  height: 40px;
  border: 4px solid #f0f0f0;
  border-top: 4px solid #6059f6;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

.loader-text {
  margin-top: 15px;
  color: #6059f6;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 14px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #6059f6;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  z-index: 99;
}

.back-to-top:hover {
  background: #4f48d6;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Card Improvements */
.process-card {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.process-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f0f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.process-icon i {
  color: #6059f6;
}

/* Statistics Section Enhancements */
.section-padding--small.bg-primary {
  background: linear-gradient(45deg, #6059f6, #8075ff) !important;
  border-radius: 0;
  padding: 60px 0;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(96, 89, 246, 0.2);
}

/* Hero Banner with Gradient Overlay */
.hero-banner-sm {
  position: relative;
  padding-top: 180px;
  padding-bottom: 100px;
  background-position: center;
}

.hero-banner-sm::before {
  background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.6) 100%);
}


/* Enhanced Image Styles */
.about-img img, .rounded-custom {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.about-img:hover img, .rounded-custom:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Fix Media Queries for Extra Small Devices */
@media (max-width: 576px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  h1, .h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  
  h2, .h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  
  .section-margin, .section-padding {
    margin: 40px 0;
    padding: 40px 0;
  }
  
  .hero-banner, .hero-banner-sm {
    padding-top: 140px;
    padding-bottom: 80px;
  }
  
  .service-card-img {
    padding: 25px 15px 15px;
  }
  
  .service-card-body {
    padding: 20px 15px 25px;
  }
  
  .about-content h2 {
    font-size: 24px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}