:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --dark-bg: #0b0e14;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: white;
    overflow-x: hidden;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Header Styling */
.main-header {
    height: 50px;
    z-index: 1000;

}

strong {
    font-weight: 600;
}

.glass-header {
    background-color: #ED3833;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #333;
    transition: all 0.3s ease;
}

.header-logo {
    height: 30px;
    width: auto;
}

/* Sections Base */
.slides-wrapper {
    position: relative;
    width: 100%;
}

.section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.section-inner {
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Backgrounds */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-1::before {
    background-image: url("../img/portada.jpg");
}

.section-2::before {
    background-image: url("../img/visa-8.jpg");
}

.section-3::before {
    background-color: #296C82;
}

.section-4::before {
    background-image: url("../img/visa-4.jpg");
}

.section-5::before {
    background-color: #f1f1f1;
}

.section-6::before {
    background-image: url("../img/visa-2.jpg");
}

.destacado {
    background-color: #296C82;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 25px;
}

.redondo {
    border-radius: 25px;
}

/* Custom override: position the caption below the image */
.caption-below {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    padding-top: 1rem;
    padding-bottom: 2rem;
    color: #fff;
    background-color: transparent !important;
    /* using the glass-card class instead */
    margin-top: 10px;
}


/* Overlay for readability */
.section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}


/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Bootstrap Overrides */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 35px;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 210, 255, 0.25);
    color: white;
}

.feature-icon {
    font-size: 3rem;
}

/* Animations placeholder for JS */
.section-inner {
    will-change: transform;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .glass-card {
        padding: 1.5rem !important;
        /* Overriding .p-5 for mobile to save space */
    }

    .hero-content {
        padding-top: 60px;
        /* Make room for the header */
    }
}