/**** CONSTANTS ***/
/******************/
:root {
    --esim-orange: #fd7e14;
    --esim-darkgray: #212529;
    --esim-whitehover: #e0e0e0;
    /* Bootstrap primary color override */
    --bs-primary: #fd7e14 !important;
    --bs-primary-hover: #e06d0c !important;
    --bs-primary-pressed: #d66609 !important;
    --bs-primary-rgb: 253, 126, 20 !important;
    --bs-secondary: #343a40 !important;
    --bs-secondary-rgb: 52, 58, 64 !important;
}

* {
    font-family: "Inter", sans-serif;
}

.p-section {
    padding: 4.5rem 0;
}

@media (max-width: 767.98px) {
    .p-section {
        padding: 2rem 0;
    }
}

/**** GLOBAL ****/
/******************/

.link-orange {
    color: var(--esim-orange);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

    .btn-primary:hover {
        background-color: var(--bs-primary-hover);
        border-color: var(--bs-primary-hover);
    }

    .btn-primary:active,
    .btn-outline-primary:active {
        background-color: var(--bs-primary-pressed) !important;
        border-color: var(--bs-primary-pressed) !important;
        color: white !important;
        box-shadow: none !important; /* optional: removes glow */
    }

.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

    .btn-outline-primary:hover {
        background-color: var(--bs-primary);
        border-color: var(--bs-primary);
    }

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    max-width: 1200px;
}

.text-justify {
    text-align: justify;
}
/***** COOKIES ****/
/******************/

/***** NAVBAR *****/
/******************/
.navbar {
    height: 110px;
    background-color: var(--esim-darkgray);
}

.navbar-nav .nav-link {
    color: white;
}

    .navbar-nav .nav-link.active {
        color: var(--esim-orange);
    }

@media (max-width: 768px) {
    .navbar {
        height: 64px;
    }
}

/* Offcanvas Navigation */
.offcanvas {
    background-color: var(--esim-darkgray);
    width: 90vw;
    max-width: 340px;
}

.offcanvas-header {
    height: 64px;
}

.offcanvas-nav-link {
    color: white;
    text-decoration: none;
}

    .offcanvas-nav-link:hover,
    .offcanvas-nav-link.active {
        color: var(--esim-orange);
    }

/****** HERO ******/
/******************/

/* Every hero sizes itself to its content. They are centred flex boxes, so a fixed height
   let content taller than the box overflow equally above and below: on a phone the home
   page lost 15.7px of its headline behind the sticky nav and 15.7px of its Trustpilot
   line off the foot of the image, and a country page overflowed by about 120px.
   min-height keeps each hero exactly as tall as it is now wherever the content fits
   (measured unchanged on the guides and not-found pages) and lets the ones that overflow
   grow instead. Do not put height back: it reintroduces the overflow. */
.hero-section {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        min-height: 280px;
    }
}

/* Home page hero is taller than the standard product-page banners */
.hero-section.home-hero {
    min-height: 480px;
}

@media (max-width: 991px) {
    .hero-section.home-hero {
        min-height: 420px;
    }
}

@media (max-width: 575px) {
    .hero-section.home-hero {
        min-height: 340px;
    }
}

.hero-background-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url("/www.App/Assets/2025/images/backgrounds/hero.webp");
    background-size: cover;
    background-position: right center;
}

.about-us-hero-background-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url("/www.App/Assets/2025/images/backgrounds/hero-2.webp");
    background-size: cover;
    background-position: center;
}

.product-hero-background-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url("/www.App/Assets/2025/images/backgrounds/hero-3.webp");
    background-size: cover;
    background-position: top center;
}

.guides-hero-background-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url("/www.App/Assets/2025/images/backgrounds/hero-4.webp");
    background-size: cover;
    background-position: right center;
}

.seo-hero-background-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url("/www.App/Assets/2025/images/backgrounds/hero-5.webp");
    background-size: cover;
    background-position: right center;
}

.hero-searchbar {
    height: 66px;
}

.hero-searchbar-flag {
    width: 24px;
    height: 24px;
}

.trustpilot-image {
    height: 90px;
}

@media (max-width: 768px) {
    .trustpilot-image {
        height: 68px;
    }
}

/* Static Trustpilot rating badge (Excellent + 4.5 stars + logo) for the dark hero banners,
   used because the live TrustBox iframe renders in black and can't be styled. */
.trustpilot-badge {
    display: inline-block;
    line-height: 0;
}

.trustpilot-badge img {
    height: 24px;
    width: auto;
}

/**** PRODUCTS ****/
/******************/

.products {
    background-image: url("/www.App/Assets/2025/images/backgrounds/products.webp");
    background-size: cover;
    background-position: center;
}

.filter-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

    .filter-card:hover {
        background-color: var(--esim-whitehover);
    }

    .filter-card.selected {
        background-color: var(--esim-orange);
        border-color: var(--esim-orange);
    }

.product-logo {
    width: 50px;
    height: 50px;
}

.product-icon-check {
    color: var(--bs-secondary);
    width: 16px;
    height: 16px;
}

.product-description-icon {
    height: 24px;
    width: 24px;
}

/** DESTINATIONS **/
/******************/
.destination-card {
    transition: background-color 0.3s ease;
    cursor: pointer;
}

    .destination-card:hover {
        background-color: #f0f0f0 !important;
    }

.destination-card-flag {
    width: 59px;
    height: 59px;
}

.destination-list-flag {
    width: 30px;
    height: 30px;
}

/**** FEATURES ****/
/******************/

.features-section {
    background-color: var(--esim-darkgray);
}

.feature-item {
    aspect-ratio: 1;
}

.feature-text {
    max-width: 70%;
}

@media (max-width: 767.98px) {
    .feature-item {
        margin: 0 auto;
    }
}

/**** INSTALL *****/
/******************/

.step-number {
    font-size: 4rem;
    -webkit-text-stroke: 1.25px var(--esim-orange);
    line-height: 1;
    min-width: 80px;
}

.step-title {
    font-size: 2.5rem;
}

/****** LOGIN ******/
/******************/

.social-login-button {
  width: 50px;
  height: 50px;
}

.social-login-button-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.login-tab-button {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.login-card {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}
/****** FAQ *******/
/******************/

/* Accordion custom styles */
.accordion {
    position: relative;
    z-index: 1;
}

.accordion-button:not(.collapsed) {
    background-color: var(--esim-orange);
   /* color: white;*/
   box-shadow:none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/*.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}*/

/* Checkout accordion specific overrides */
.checkout-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: inherit;
}

.checkout-accordion .accordion-button:not(.collapsed)::after {
  filter: none;
}
/** TESTIMONIALS **/
/******************/

.testimonials-section {
    background-image: url("/www.App/Assets/2025/images/backgrounds/testimonials.webp");
    background-size: cover;
    background-position: center;
}

.testimonial-card {
    background-color: var(--esim-darkgray);
}

.testimonial-quote-icon {
    font-size: 53px;
    width: 53px;
    height: 53px;
}

/***** FOOTER *****/
/******************/

.footer-section {
    background-color: var(--esim-darkgray);
}

.footer-link {
    color: var(--bs-gray-400);
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: white;
    }

.footer-section .social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.2s ease;
}

.footer-section .social-icon.facebook { background-color: #1877F2; }
.footer-section .social-icon.twitter { background-color: #000000; }
.footer-section .social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-section .social-icon.youtube { background-color: #FF0000; }
.footer-section .social-icon.linkedin { background-color: #0A66C2; }
.footer-section .social-icon:hover { opacity: 0.8; color: #ffffff; }

/* Container padding for mobile */
@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.chatbot-image {
    width: 60px;
    height: 60px;
}

.form-check-input:checked {
    background-color: var(--esim-orange);
    border-color: var(--esim-orange);
}

.form-check-input:focus {
    border-color: var(--esim-orange);
    box-shadow: 0 0 0 0.25rem rgba(253, 126, 20, 0.25);
}

.form-check-input-lg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
 }

.top-banner {
    font-size: 1rem;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #ff9a00, #ff6a00);
    color: #fff;
    width: 100%;
    top: 0;
    z-index: 1050;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.top-banner .banner-text {
    font-size: 1.1rem;
}

.top-banner .btn-dark {
    background-color: #000;
    border: none;
}

.top-banner .btn-close {
    filter: brightness(0) invert(1);
    vertical-align: middle;
}

.banner-actions {
    min-width: 135px;
    padding-left: 10px;
}
@media (max-width: 460px) {
    .banner-actions {
        min-width: auto;
    }
}