/* ============================================
   Bootstrap 5 Custom Styles for Travelario
   ============================================ */

/* ==================== Variables ==================== */
:root {
    --primary-blue: #0047ab;
    --secondary-blue: #2563eb;
    --light-blue: #d4dced;
    --light-gray: #94a3b8;
    --dark-gray: #1e293b;
    --text-dark: #000;
    --text-light: #fff;
    --gradient-blue: linear-gradient(90deg, #0047ab, #2563eb);
}

/* ==================== Global Styles ==================== */
body {
    margin: 0;
    font-family: sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Text Gradient Utility */
.text-gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}
a{
    text-decoration: none !important;
}

.text-primary-custom {
    color: var(--primary-blue) !important;
}

.text-light-gray {
    color: var(--light-gray);
}

/* ==================== Hero Section ==================== */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

/* ==================== Header/Navigation ==================== */
.header-nav {
    background-color: rgba(77, 77, 77, 0.28);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-nav.scrolled {
    background-color: rgba(77, 77, 77, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-img {
    height: 60px;
    width: auto;
}

/* Logo Display Control */
.desktop-logo {
    display: block;
}

.mobile-logo {
    display: none;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

.btn-login {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: var(--gradient-blue) !important;
    border: none !important;
    border-radius: 8px;
    font-weight: 300;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 71, 171, 0.3);
}

/* ==================== Hero Content ==================== */
.badge-hero {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #050505;
    letter-spacing: -0.02em;
    line-height: 1.6;
}

/* ==================== Email Form ==================== */
.email-form .form-control {
    border-radius: 50px;
    background-color: var(--text-light);
    border: none;
    padding: 0.75rem 1.5rem;
    color: var(--primary-blue);
    font-weight: 400;
}

.email-form .form-control::placeholder {
    color: var(--primary-blue);
    opacity: 0.7;
}

.email-form .btn {
    border-radius: 50px;
    white-space: nowrap;
    font-weight: 500;
}

/* ==================== Video Card ==================== */
.video-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 28px 28px 0 0;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.play-btn:hover {
    transform: scale(1.1);
    background: white;
}

.video-info {
    background: white;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ==================== Benefits Section ==================== */
.benefits-section {
    background: linear-gradient(180deg, var(--light-blue) 0%, #f8fafc 100%);
    padding: 5rem 0;
}

.badge-section {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--primary-blue);
    padding: 0.375rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.6;
    font-weight: 300;
}

/* ==================== Benefit Cards ==================== */
.benefit-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 7px 13px 1px rgba(0, 0, 0, 0.09);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-content {
    padding: 1.5rem;
    font-weight: 300;
}

.benefit-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-blue);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.3;
    color: var(--text-dark);
    font-weight: 300;
    margin: 0;
}




.padding-left-4rem{
    padding-left: 4rem !important;
}


.padding-left-3rem{
    padding-left: 3rem !important;
}

/* ==================== Whitepaper Button ==================== */
.btn-whitepaper {
    background: #ffffff !important;
    color: #0056B3 !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    padding: 0.75rem 2rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.btn-whitepaper:hover {
    color: #0056B3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4) !important;
}

.btn-whitepaper:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}






/* ==================== How It Works Section ==================== */
.how-it-works-section {
    background: white;
    padding: 5rem 0;
}

.step-list li {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.3;
    color: var(--text-dark);
}

.step-list .fa-check {
    font-size: 1rem;
}

/* ==================== CTA Section ==================== */
.cta-section {

    
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.cta-card {
    background: linear-gradient(90deg, #f5f8fe, white);
    border-radius: 18px;
    box-shadow: 0 7px 13px 1px rgba(0, 0, 0, 0.09);
    position: relative;
    z-index: 1;
    font-weight: 300 !important;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.125rem;
    line-height: 1.3;
    color: var(--text-dark);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 400;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

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

/* ==================== Footer ==================== */
.footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-top: 1px solid #d9d9d9;
}

.footer h5,
.footer h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p {
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.email-subscribe .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 9999px;
    color: #ffffff;
    padding: 0.6rem 1rem;
    max-width: 430px;
}

@media (min-width: 768px) {
    .email-subscribe .form-control {
        min-width: 350px;
    }
}

.email-subscribe .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-subscribe .btn {
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.7);
    font-weight: 700;
    padding: 0.45rem 1.15rem;
    margin-left: 0.75rem;
}

.social-links {
    display: flex;
    gap: 0.85rem;
}

.social-icon {
    width: 34px;
    height: 34px;
    /* background: rgba(255, 255, 255, 0.12); */
    /* border: 1px solid rgba(255,255,255,0.4); */
    /* border-radius: 9999px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem !important;
    /* transition: all 0.2s ease; */
}

.social-icon:hover {
    /* background: var(--text-light); */
    /* color: var(--primary-blue); */
    transform: translateY(-3px);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991px) {
    .hero-content {
        padding-top: 60px;
    }
    .footer-mobile-mt-5 {
        margin-top: 3rem !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .navbar-nav {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

@media (max-width: 767px) {
    .hero-bg {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form .form-control,
    .email-form .btn {
        width: 100%;
        border-radius: 50px;
    }

    .benefit-card {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-card {
        padding: 2rem !important;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .badge-hero,
    .badge-section {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

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

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

/* ==================== Utility Classes ==================== */
.rounded-custom {
    border-radius: 18px;
}

.shadow-custom {
    box-shadow: 0 7px 13px 1px rgba(0, 0, 0, 0.09);
}

/* ==================== Smooth Scrolling ==================== */
html {
    scroll-behavior: smooth;
}

/* ==================== Selection ==================== */
::selection {
    background: var(--primary-blue);
    color: white;
}

::-moz-selection {
    background: var(--primary-blue);
    color: white;
}

/* ==================== Mobile Header Styles ==================== */

/* Standard Bootstrap Mobile Menu Toggle */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
    outline: none;
}

.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");
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .header-nav {
        padding: 0.5rem 0;
    }
    
    .logo-img {
        height: 50px;
    }
    
    /* Show mobile logo, hide desktop logo */
    .desktop-logo {
        display: none;
    }
    
    .mobile-logo {
        display: block;
    }
    
    /* Ensure proper layout: logo -- login -- icon */
    .navbar > .container-fluid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .navbar-brand {
        flex: 0 0 auto;
        margin-right: 0 !important;
    }
    
    /* Mobile Login Button Styling - positioned between logo and icon */
    .mobile-login-btn {
        flex: 1 1 auto;
        display: flex;
        justify-content: flex-end;
        margin-right: 0.75rem;
        margin-left: auto;
    }
    
    .mobile-login-btn .btn-login {
        background-color: white;
        color: var(--primary-blue);
        border: 1px solid white;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        padding: 0.5rem 1rem !important;
        transition: all 0.3s ease;
    }
    
    .mobile-login-btn .btn-login:hover {
        background-color: transparent;
        color: white;
        border-color: white;
    }
    
    /* Menu toggle icon - always on the right */
    .navbar-toggler {
        flex: 0 0 auto;
        margin-left: 0;
    }
    
    /* Collapsed menu - full width below the header */
    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        background-color: rgba(77, 77, 77, 0.95);
        backdrop-filter: blur(15px);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav {
        margin: 0 !important;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        border-radius: 4px;
        transition: all 0.3s ease;
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Hide desktop header buttons in mobile collapsed menu */
    .header-buttons {
        display: none !important;
    }
    
    /* Mobile Buy Tokens Button Styling */
    .mobile-buy-tokens {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .mobile-buy-tokens .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem;
        border-radius: 8px;
        font-weight: 600;
        background: var(--bs-btn-bg);
        border: none;
        transition: all 0.3s ease;
    }
    
    .mobile-buy-tokens .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 71, 171, 0.3);
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 575.98px) {
    .header-nav .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    /* Ensure mobile logo is shown on extra small screens */
    .desktop-logo {
        display: none;
    }
    
    .mobile-logo {
        display: block;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-collapse {
        margin-top: 0.25rem;
        padding: 0.75rem;
        border-radius: 6px;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem !important;
    }
    
    /* Mobile Login Button for Extra Small Screens */
    .mobile-login-btn .btn-login {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem !important;
    }
    
    /* Mobile Buy Tokens Button for Extra Small Screens */
    .mobile-buy-tokens .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem !important;
    }
}

/* Mobile Menu Standard Bootstrap Behavior */
@media (max-width: 991.98px) {
    .navbar-collapse {
        transition: all 0.3s ease;
    }
}

/* Footer Email Form Alignment - Mobile Only */
@media (max-width: 767.98px) {
    .email-subscribe {
        width: 100%;
    }
    
    .email-subscribe .form-control,
    .email-subscribe .btn {
        width: 100% !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .email-subscribe .btn {
        margin-top: 0.5rem;
    }
}

/* Desktop Footer Form - Restore Normal Behavior */
@media (min-width: 768px) {
    .email-subscribe .btn {
        width: auto !important;
        margin-top: 0 !important;
    }
}