/* Get eVisa - Custom Styles - Turquoise & White Palette */
:root {
    /* Primary turquoise colors */
    --primary-turquoise: #00c8aa;
    --primary-turquoise-dark: #00a68c;
    --primary-turquoise-light: #00e6c4;
    --primary-turquoise-hover: #00b89a;
    
    /* Header/footer colors */
    --header-dark: #1a1a1a;
    --header-dark-secondary: #2d2d2d;
    --footer-dark: #1a1a1a;
    
    /* Background colors - White variations */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-light-gray: #f1f3f3;
    --bg-section: #fafbfb;
    --bg-turquoise-light: #f0fdfb;
    
    /* Text colors */
    --text-dark: #1a1a1a;
    --text-primary: #2d2d2d;
    --text-secondary: #5a5a5a;
    --text-muted: #767676;
    --text-white: #ffffff;
    --text-link: #00c8aa;
    
    /* Card and surface colors */
    --card-bg: #ffffff;
    --card-shadow: 0 2px 8px rgba(0, 200, 170, 0.08);
    --card-shadow-hover: 0 4px 16px rgba(0, 200, 170, 0.12);
    
    /* Border and divider */
    --border-color: #e0e0e0;
    --divider-color: #e8e8e8;
    
    /* Accent colors */
    --accent-green: #00c8aa;
    --accent-blue: #00a6c8;
}

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

body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Header Styles */
.top-disclaimer {
    background-color: var(--header-dark);
    padding: 8px 0;
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-white);
    border-bottom: 1px solid var(--header-dark-secondary);
}

.navbar-custom {
    background-color: var(--header-dark-secondary);
    padding: 0.2rem 0;
    min-height: auto;
    overflow: visible;
    border-bottom: 1px solid var(--header-dark-secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-nav {
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
}

.navbar-custom .container {
    position: relative;
    overflow: visible;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-logo {
    width: auto;
    object-fit: contain;
}

/* Mobile responsive logo */
@media (max-width: 991.98px) {
    .navbar-custom {
        padding: 0.2rem 0;
    }
    
    .navbar-brand {
        flex: 0 1 50%;
        min-width: 0;
        max-width: 215px;
        margin: 0;
    }
    
    .navbar-logo {
        width: 100%;
        max-width: 215px;
        height: auto;
        object-fit: contain;
    }
    
    .navbar-custom .navbar-nav {
        flex-shrink: 0;
        min-width: auto;
        gap: 0.5rem;
    }
    
    .contact-link {
        padding: 0.5rem;
    }
    
    .navbar-custom .btn-outline-secondary {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .navbar-custom .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

/* Extra small screens - use min logo */
@media (max-width: 320px) {
    .navbar-brand {
        max-width: 50%;
        flex: 0 1 50%;
    }
    
    .navbar-logo {
        max-width: 100%;
        width: 100%;
        max-height: 45px;
    }
    
    .navbar-custom .navbar-nav {
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 0.25rem;
    }
    
    .navbar-custom .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

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

.contact-link {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-link i {
    font-size: 1.2rem;
}

.navbar-custom .dropdown {
    flex-shrink: 0;
}

.navbar-custom .btn-outline-secondary {
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0;
}

.navbar-custom .btn-outline-secondary .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    flex-shrink: 0;
}

.navbar-custom .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0;
}

.navbar-custom .dropdown-item .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    flex-shrink: 0;
}

.navbar-toggler {
    border: 1px solid var(--text-white);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom .dropdown {
    position: relative;
}

.dropdown-menu {
    background-color: var(--header-dark-secondary);
    border: 1px solid var(--header-dark-secondary);
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    margin-top: 0.5rem;
    z-index: 1000;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

/* Mobile specific fixes */
@media (max-width: 991.98px) {
    .navbar-custom {
        overflow: visible !important;
    }
    
    .navbar-custom .navbar-nav {
        overflow: visible;
        flex-wrap: nowrap;
        gap: 0 !important;
    }
    
    .navbar-custom .container {
        overflow: visible !important;
    }
    
    .navbar-custom .dropdown {
        position: relative;
    }
    
    .dropdown-menu {
        position: absolute !important;
        right: 0;
        left: auto;
        top: 100%;
        margin-top: 0.5rem;
    }
}

.dropdown-item {
    color: var(--text-white);
}

.dropdown-item:hover {
    background-color: rgba(0, 200, 170, 0.15);
    color: var(--primary-turquoise);
}

.btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-white);
    background-color: transparent;
}

.btn-outline-secondary:hover {
    background-color: rgba(0, 200, 170, 0.1);
    border-color: var(--primary-turquoise);
    color: var(--primary-turquoise);
}

.btn-outline-secondary:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 200, 170, 0.25);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    max-width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
    left: 0;
    right: 0;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-container video,
.hero-background-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(0, 200, 170, 0.25));
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.btn-cta {
    background-color: var(--primary-turquoise);
    color: var(--text-white);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 14px 32px;
    border-radius: 24px;
    border: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--card-shadow);
    letter-spacing: 0.5px;
}

.btn-cta:hover {
    background-color: var(--primary-turquoise-dark);
    transform: translateY(-1px);
    box-shadow: var(--card-shadow-hover);
    color: var(--text-white);
}

/* Statistics Section */
.stats-section {
    background-color: var(--bg-turquoise-light);
    padding: 60px 0;
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--primary-turquoise);
    margin-bottom: 0.5rem;
    line-height: 1;
    font-family: 'Google Sans', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Destinations Section */
.destinations-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
}

/* Destinations Carousel */
.destination-carousel-item {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
}

.destination-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 200, 170, 0.25));
    z-index: 1;
}

.destination-carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

.destination-carousel-title {
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.destination-apply-btn {
    font-size: 1.3rem;
    padding: 18px 50px;
}

#destinationsCarousel .carousel-control-prev,
#destinationsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

#destinationsCarousel .carousel-control-prev {
    left: 20px;
}

#destinationsCarousel .carousel-control-next {
    right: 20px;
}

.destination-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.destination-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--bg-white);
    border-radius: 20px;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--card-shadow);
}

.destination-item:hover {
    background-color: var(--bg-turquoise-light);
    transform: translateY(-1px);
    color: var(--primary-turquoise);
    text-decoration: none;
    border-color: var(--primary-turquoise);
    box-shadow: var(--card-shadow-hover);
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
}

.how-it-works-section .row {
    display: flex;
    flex-wrap: wrap;
}

.how-it-works-section .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.step-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--card-shadow);
}

.step-card:hover {
    background-color: var(--bg-turquoise-light);
    border-color: var(--primary-turquoise);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.step-number {
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-turquoise);
    margin-bottom: 1rem;
    font-family: 'Google Sans', sans-serif;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* GIF Banner Section */
.gif-banner-section {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

.gif-banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gif-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gif-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 200, 170, 0.2));
    z-index: 1;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.why-choose-section .row {
    display: flex;
    flex-wrap: wrap;
}

.why-choose-section .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.benefit-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

.benefit-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-turquoise-light);
    border-color: var(--primary-turquoise);
    box-shadow: var(--card-shadow-hover);
}

.benefit-image-card {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    flex: 1;
    box-shadow: var(--card-shadow);
}

.benefit-image-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-turquoise);
    box-shadow: var(--card-shadow-hover);
}

.benefit-image-standalone {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.benefit-image-card:hover .benefit-image-standalone {
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-turquoise);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background-color: var(--bg-turquoise-light);
    text-align: center;
    border-top: 1px solid var(--divider-color);
}

.cta-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}


/* Footer */
.footer {
    background-color: var(--footer-dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--header-dark-secondary);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-disclaimer {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2rem;
    justify-content: center;
    align-items: center;
}

.footer-languages a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0px;
}

.footer-languages a:hover {
    color: var(--primary-turquoise);
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 0.2rem;
}

.footer-company {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--header-dark-secondary);
    font-size: 0.85rem;
    color: var(--text-white);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .destination-list {
        flex-direction: column;
        align-items: center;
    }
}
