/* Base Styles */
:root {
    --primary: #002855;            /* Dark Blue - used for navbar */
    --primary-light: #c3c7cc;      /* 8 shades lighter - used for hero */
    --secondary: #6c757d;
    --dark: #212529;
    --light: #f8f9fa;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;
}

.popular_service {
    --bs-text-opacity: 1;
    color: var(--primary);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    background-color: var(--primary) !important;
}

.cta-bg {
    background-color: var(--primary) !important;
}

.stats-bg {
    background-color: var(--primary) !important;
}

.navbar-brand img {
    height: 55px;         /* Reduce height to fit better */
    width: auto;              /* Maintain aspect ratio */
    object-fit: contain;      /* Prevent stretching */
    padding: 2px 10px;        /* Optional: padding inside the link */
    vertical-align: middle;   /* Aligns logo vertically */
}


.nav-link {
    font-weight: 500;
}

.navbar .nav-link {
    color: white !important;
}

.navbar .nav-link:hover {
    color: var(--warning) !important;
}


.hero-section {
    background-size: cover;
    color: #000;
    /* background: #f8f7f7; */
    background: #f8f7f7d2;

}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
}

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

/* Icons */
.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
}

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

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

/* Forms */
.form-control, .form-select {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

/* Testimonials */
.testimonial-card {
    border-left: 3px solid var(--primary);
}

/* Footer */
footer a:hover {
    color: var(--primary-light) !important;
}

.social-icon {
    color: #fff; /* white text */
    background-color: #003366; /* your primary color */
    border: 2px solid #003366;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #fff;
    color: #003366;
    border-color: #003366;
}


/* .social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
} */

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #fff);
    border-radius: 0 0 0.4rem 0.4rem;
    color: var(--primary);
}

/* Country Cards */
.country-card .flag-container {
    width: 80px;
    height: 50px;
    overflow: hidden;
    border-radius: 0.25rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Gradient Background */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), #001b36) ;
}

/* Custom Utilities */
.rounded-lg {
    border-radius: 1rem;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Z-index utilities */
.z-1 {
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

/* Chat widget */
#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}

/* Chat modal */
.chat-message {
    max-width: 70%;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 18px;
}

.client-message {
    background: #e3f2fd;
    margin-left: auto;
}

.agent-message {
    background: #f1f1f1;
    margin-right: auto;
}

/* WhatsApp Chat Widget */
#whatsapp-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  max-height: 70vh;
}

.chat-header {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  align-items: center;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  background: #f5f5f5;
}

.chat-message {
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  max-width: 80%;
}

.bot-message {
  background: white;
  align-self: flex-start;
}

.chat-input {
  border-top: 1px solid #eee;
}

#whatsapp-toggle {
  transition: all 0.3s ease;
}

#whatsapp-toggle:hover {
  transform: scale(1.1);
}

.chat-widget-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 1000;
  display: none;
  flex-direction: column;
  max-height: 90vh;
}

/* Ultra-Minimal Cards */
.card {
    transition: transform 0.3s ease;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-3px);
}

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

.card-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

  .service-card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        height: 100%;
        background: white;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }
    
    .service-image {
        height: 180px;
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.3);
    }
    
    .service-logo {
        position: relative;
        z-index: 1;
        background: rgba(255,255,255,0.9);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #003366;
    }
    
    .service-content {
        padding: 25px;
    }
    
    .service-content h3 {
        font-weight: 600;
        margin-bottom: 15px;
        color: #333;
    }
    
    .service-content p {
        color: #666;
        margin-bottom: 20px;
        font-size: 0.95rem;
    }
    
    .service-link {
        color: #003366;
        text-decoration: none;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
    }
    
    .service-link i {
        margin-left: 5px;
        transition: transform 0.3s ease;
    }
    
    .service-link:hover i {
        transform: translateX(3px);
    }

/* Card Styling */
/* Swiper wrapper container */
.swiper-wrapper-container {
  position: relative;
}

/* Swiper slider */
.regionSwiper {
  padding: 20px 0;
}

/* Cards */
.regionSwiper .swiper-slide {
  display: flex;
  height: auto;
}

.regionSwiper .card {
  flex: 1;
  flex-direction: column;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.hover-effect:hover {
  transform: translateY(-5px);
}

/* Image */
.regionSwiper .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Custom arrows */
.custom-swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper-wrapper-container:hover .custom-swiper-button {
  opacity: 1;
}

.custom-swiper-button-prev {
  left: -20px;
}

.custom-swiper-button-next {
  right: -20px;
}

/* Hide on mobile */
@media (max-width: 768px) {
  .custom-swiper-button {
    display: none;
  }
}

.swiper-wrapper-container {
  min-height: 380px;
  display: flex;
  align-items: center;
}

.regionSwiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  height: auto;
}


.custom-swiper-button {
  z-index: 9999 !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.regionSwiper .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.regionSwiper .card-body > div:last-child {
  margin-top: auto; /* Pushes badge container to bottom */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials-list {
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-item {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.testimonial-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.testimonial-avatar,
.testimonial-avatar-placeholder {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  font-weight: bold;
  font-size: 1.25rem;
  color: #fff;
  background-color: #003366; /* bootstrap primary color */
  user-select: none;
}

.testimonial-avatar {
  object-fit: cover;
}

.testimonial-avatar-placeholder {
  display: inline-flex;
  border-radius: 50%;
}

.star-rating i {
  margin-right: 2px;
  font-size: 1rem;
}


/* Ensure full width and correct height for Select2 single select */
.select2-container .select2-selection--single {
    height: 46px !important;
    line-height: 46px !important;
    padding: 8px 12px !important;
    border-radius: 0.375rem !important;
    font-size: 1rem !important;
    border: 1px solid #ced4da !important;
}

/* Adjust arrow alignment */
.select2-selection__arrow {
    height: 46px !important;
    top: 0px !important;
    right: 8px;
}

/* Fix width */
.select2-container {
    width: 100% !important;
}

/* Buttons */
.btn-trending {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    color: #ffffff;
    background-color: #000000;
}

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

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


.trending-services .trending-badge {
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4em 0.8em;
    border-radius: 999px;
    background-color: #ffa600;
    color: #000203;
    transition: all 0.3s ease-in-out;
    line-height:1;
}

.trending-services .trending-badge:hover {
    background-color: #d62b01;
    color: #f8f9fa;
    transform: translateY(-1px);
}

.trending-services {
    font-size: 1rem;
    animation: fadeInDown 0.6s ease-in-out;
}

.trending-badge {
    background-color: #f8f9fa;
    color: #333;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: background-color 0.3s;
    cursor: pointer;
}

.trending-badge:hover {
    background-color: #e2e6ea;
}

.trending-large-button {
    background-color: #f0f8ff;
    border: 1px solid #007bff;
    color: #0056b3;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s;
    cursor: pointer;
}

.trending-large-button:hover {
    background-color: #d6eaff;
}

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

    .nav-tabs .nav-link {
        color: black;
        font-weight: 500;
        border: 1px solid #003366;
    }

    .nav-tabs .nav-link.active {
        background-color: #003366;
        color: white;
        border-color: #003366 #003366 #fff;
    }

    .tab-pane ul {
        padding-left: 1rem;
    }

    .tab-pane ul li {
        margin-bottom: 0.5rem;
    }

    h5 {
        color: #003366;
    }

    .faq-answer {
        color: #333;
    }

    .faq-section {
        background-color: #fff;
        border: 1px solid #003366;
        padding: 20px;
        border-radius: 8px;
        margin-top: 20px;
    }

    body {
        background-color: #f8f9fa;
    }

.scroll-inner {
    display: flex;
    flex-direction: column;
    animation: scroll-vertical 20s linear infinite;
}

@keyframes scroll-vertical {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-60%);
    }
}

.scroll-inner:hover {
    animation-play-state: paused;
}

.trending-vertical-wrapper {
    max-width: 500px;
    background-color: var(--primary);
}