:root {
    --bg-dark: #1f002d;
    --primary-pink: #d9007f;
    --text-light: #ffffff;
    --text-dark: #1C0028;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-container {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: flex-start;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1.5px;
    line-height: 1;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-pink);
    display: inline-block;
    margin-top: 8px;
    margin-right: 4px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-icon .bar {
    width: 30px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
}

/* Hero Section */
.main-content {
    margin-top: 70px; /* Offset for fixed navbar */
    position: relative;
    overflow: hidden;
}

.hero-section {
    width: 100%;
    margin: 0 auto;
    padding: 30px 15px 40px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 55vh;
    background-image: url('../assets/media/Publi1.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

.text-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-info-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 15px;
    display: inline-block;
    color: var(--text-dark);
    max-width: 100%;
    border: none;
    text-align: left;
}

.floating-info-box strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.floating-info-box p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.text-content h1 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 15px;
    position: relative;
    color: var(--text-dark);
}

.text-content h1 strong {
    font-weight: 700;
    font-size: 38px;
}

.highlight-pink {
    color: var(--primary-pink);
    font-weight: 700;
    font-size: 38px;
}

.whatsapp-bubble {
    position: absolute;
    top: 50px;
    right: 0px;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-bubble svg.bubble-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.whatsapp-bubble svg.wa-icon {
    position: relative;
    z-index: 2;
    margin-top: -15px; /* adjust within bubble */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-pink);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 20px;
    margin-top: 10px;
}

.bottom-info-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 20px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90%;
    z-index: 5;
}

.btn-primary:hover {
    background-color: #b8006b;
    transform: translateY(-2px);
}

.legal-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 500px;
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-text .vigilado {
    font-weight: bold;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
}

/* Image content */
.image-content {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 2;
}

.mockup-container {
    position: relative;
    max-width: 450px;
}

.mockup-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    /* Adding a subtle animation for the hero image */
    animation: fade-in-up 1s ease-out forwards;
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer Section */
.footer-container {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
}

.footer-curve {
    width: 100%;
    height: auto;
    max-height: 140px;
    display: block;
    margin-bottom: -1px; /* Prevents tiny gap */
}

.main-footer {
    background-color: #1a0524;
    color: #ffffff;
    padding: 20px 20px 80px;
    padding-left: 50px; /* Space for the vigilado text */
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.vigilado-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vigilado-text {
    transform: rotate(-90deg);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 8px;
    color: #8c7c94;
}

.vigilado-text .box {
    border-top: 1px solid #8c7c94;
    border-bottom: 1px solid #8c7c94;
    padding: 2px 4px;
    font-weight: bold;
}

.vigilado-text .multi {
    text-align: center;
    line-height: 1.1;
}

.footer-content {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: baseline;
}

.nequi-footer-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-cibest {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.cibest-footer-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-divider {
    border: none;
    height: 3px;
    background-color: #331e3d;
    margin: 0;
}

.footer-accordion {
    padding: 20px 0;
    margin: 0;
}

.footer-accordion .accordion-item {
    margin: 25px 0;
    cursor: pointer;
}

.footer-accordion .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-accordion .accordion-item.active .accordion-header {
    color: #ff99d6;
}

.footer-accordion .accordion-header .chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.footer-accordion .accordion-item.active .accordion-header .chevron {
    transform: rotate(-90deg);
}

.footer-accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    padding-left: 20px;
    color: #ffffff;
}

.footer-accordion .accordion-item.active .accordion-content {
    max-height: 800px;
    margin-top: 15px;
}

.footer-accordion .accordion-content p {
    margin: 15px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.footer-accordion .accordion-content p.text-blue {
    color: #1a73e8;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 50px 0;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #4d3954;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.footer-stores {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 5px; 
    margin-top: 20px; 
    margin-left: -20px; 
    margin-right: -20px; 
    flex-wrap: nowrap;
}

.store-link {
    flex: 1; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.store-img {
    height: 40px; 
    width: auto; 
    max-width: 220px; 
    object-fit: contain;
}

.gallery-img {
    height: 44px;
    transform: translateY(-1px);
}



/* Background elements like small stars/sparkles */
.sparkle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
}
.sparkle::before, .sparkle::after {
    content: '';
    position: absolute;
    background: var(--bg-dark);
}
.sparkle::before { top: -2px; bottom: -2px; left: 5px; right: 5px; }
.sparkle::after { left: -2px; right: -2px; top: 5px; bottom: 5px; }

.s1 { right: 5%; bottom: 15%; border-color: rgba(255,255,255,0.8); }
.s2 { left: 45%; top: 20%; border-color: var(--primary-pink); opacity: 0.5; }

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }
    
    .text-content {
        max-width: 100%;
    }
    
    .text-content h1 {
        font-size: 40px;
    }
    
    .text-content h1 strong, .highlight-pink {
        font-size: 48px;
    }
    
    .whatsapp-bubble {
        position: fixed;
        bottom: 20px;
        right: 20px;
        top: auto;
        transform: scale(0.8);
    }
    
    .legal-text {
        margin: 0 auto;
        justify-content: center;
    }
    
    .image-content {
        justify-content: center;
        margin-top: 40px;
    }
    
    .hero-section::before {
        width: 100vw;
        height: 30vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
    }
}

/* Cards Carousel Section */
.cards-carousel-section {
    padding: 30px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
}

.carousel-header {
    display: flex;
    justify-content: flex-end;
    padding: 0 20px;
    margin-bottom: 20px;
}

.carousel-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary-pink);
    border-radius: 4px;
    background: transparent;
    color: var(--primary-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (hover: hover) {
    .nav-btn:hover {
        background: var(--primary-pink);
        color: #ffffff;
    }
}
.nav-btn:active {
    background: var(--primary-pink);
    color: #ffffff;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-container {
    display: flex;
    gap: 15px;
    padding: 0 20px 20px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    align-items: flex-start;
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.carousel-card {
    flex: 0 0 auto;
    width: 220px;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    background-color: #EDE8F5;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    box-sizing: border-box;
}

.carousel-card h3 {
    font-size: 17px;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
    text-align: left;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin-bottom: 10px;
}

.card-icon svg {
    width: 50px;
    height: 50px;
}

.card-btn-down {
    width: 36px;
    height: 36px;
    background-color: var(--primary-pink);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    align-self: flex-start;
    margin-top: auto;
}

@media (hover: hover) {
    .card-btn-down:hover {
        background-color: #b8006b;
        transform: translateY(3px);
    }
}
.card-btn-down:active {
    background-color: #b8006b;
    transform: translateY(3px);
}

.card-btn-down svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .carousel-card {
        width: 75vw; /* Takes up most of the screen on mobile, allowing peeking at next card */
        max-width: 300px;
    }
}

/* How to Section */
.how-to-section {
    background-color: #16011e; /* Very dark background */
    padding: 80px 20px;
    width: 100%;
}

.how-to-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff;
}

.neon-heading {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(155, 93, 229, 0.8), 0 0 20px rgba(155, 93, 229, 0.6), 0 0 40px rgba(155, 93, 229, 0.4);
}

.how-to-desc {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 800px;
}

.how-to-desc strong {
    font-weight: 700;
}

.store-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 8px 15px;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s;
    min-width: 160px;
}

.store-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.store-info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.store-info span {
    font-size: 10px;
    line-height: 1;
    text-align: left;
}

.store-info strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.subtitle-pink {
    color: var(--primary-pink);
    font-size: 24px;
    font-weight: 700;
    margin: 60px 0 20px;
    text-align: center;
    width: 100%;
}

.slider-box {
    background-color: #EDE8F5; /* Light purple */
    border-radius: 20px;
    width: 100%;
    position: relative;
    padding: 40px 60px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.slider-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
}

.slider-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.slider-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.slider-image img {
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.slider-text {
    flex: 1;
    color: var(--text-dark);
    font-size: 24px;
    padding-left: 20px;
    text-align: left;
}

.slider-text strong {
    font-weight: 700;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background-color: var(--primary-pink);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.2s;
}

.slider-nav-btn:hover {
    background-color: #b8006b;
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    display: flex;
    gap: 8px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.square-dot {
    width: 20px;
    height: 20px;
    border: 1.5px solid #dcd1eb;
    background-color: transparent;
    cursor: pointer;
}

.square-dot.active {
    background-color: transparent; /* Wait, it should be solid if active based on reference */
}

.abstract-squares {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 150px;
    height: 150px;
    background-image: 
        linear-gradient(rgba(217, 0, 127, 0.15), rgba(217, 0, 127, 0.15)),
        linear-gradient(rgba(217, 0, 127, 0.15), rgba(217, 0, 127, 0.15)),
        linear-gradient(rgba(217, 0, 127, 0.15), rgba(217, 0, 127, 0.15)),
        linear-gradient(rgba(217, 0, 127, 0.15), rgba(217, 0, 127, 0.15));
    background-size: 40px 40px, 60px 60px, 30px 30px, 40px 40px;
    background-position: 10px 10px, 60px 40px, 40px 110px, 120px 80px;
    background-repeat: no-repeat;
    z-index: 1;
}

@media (max-width: 768px) {
    .neon-heading { font-size: 36px; }
    .slider-box { padding: 30px 20px 60px; }
    .slider-content { flex-direction: column; }
    .slider-text { padding: 20px 0 0; text-align: center; }
    .slider-nav-btn { 
        width: 40px;
        height: 40px;
    }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
}

/* Education Section */
.education-section {
    background-color: #ffffff;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.edu-title {
    color: var(--primary-pink);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 40px;
}

.edu-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.edu-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px 20px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eaeaea;
}

.edu-card-plus {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #16011e;
    transition: transform 0.3s ease;
    z-index: 10;
}

.edu-card-plus svg {
    width: 100%;
    height: 100%;
}

.edu-card-img {
    width: 100%;
    max-width: 220px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.edu-card-title {
    color: var(--text-dark);
    font-size: 16px;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
}

.edu-card-desc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 5;
    border-radius: 20px;
}

.edu-card.expanded .edu-card-desc {
    opacity: 1;
    pointer-events: auto;
}

.edu-card.expanded .edu-card-plus {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    /* Hero Section Overrides */
    .hero-section {
        padding-top: 20px;
        padding-bottom: 250px; /* push text up so it doesn't cover the models */
        background-position: center bottom;
    }
    
    .text-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .text-content h1 strong, .highlight-pink {
        font-size: 28px;
    }
    
    .floating-info-box {
        margin-left: 10px;
        margin-right: 10px;
        width: calc(100% - 20px);
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Education Section Overrides */
    .neon-heading {
        font-size: 28px;
    }
    
    .how-to-desc {
        font-size: 15px;
    }
    
    /* Carousel Overrides */
    .carousel-container {
        padding-left: 15px;
        padding-right: 15px;
        scroll-padding-left: 15px;
        gap: 10px;
    }
    
    .carousel-card {
        width: 220px;
        max-width: 220px;
        padding: 15px;
    }
    
    .card-icon svg {
        width: 50px;
        height: 50px;
    }
    
    /* Footer Overrides */
    .main-footer {
        padding-left: 55px; /* ensure vigilado fits */
        padding-right: 15px;
    }
    
    .nequi-footer-img {
        height: 32px;
    }
    
    .cibest-footer-img {
        height: 32px;
    }
    
    .footer-cibest {
        font-size: 11px;
    }
    
    .footer-stores {
        flex-wrap: wrap; /* allow wrap on ultra small screens */
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .store-img {
        max-width: 100px; /* smaller max to fit side-by-side on mobile, or gracefully stack */
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}
