﻿body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f8f9fb;
    color: #333;
}

a {
    text-decoration: none;
}

.header {
    background: #0a1f44;
    padding: 15px 0;
    color: white;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header nav a {
    color: white;
    margin-left: 15px;
}

.vy-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0a1f44, #1456a0);
    color: white;
}

    .hero h1 {
        font-size: 2.5rem;
    }

.cta-buttons {
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border-radius: 6px;
    display: inline-block;
    margin: 10px;
}

.primary {
    background: #25D366;
    color: white;
}

.secondary {
    background: #ffffff;
    color: #1456a0;
}

.btn.primary:hover {
    background: #1ebe5d;
}

.btn.secondary:hover {
    background: #f1f1f1;
}

.header nav a {
    color: white;
    margin-left: 18px;
    font-weight: 500;
}


.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page h2 {
    margin-bottom: 20px;
}

.benefits li {
    margin-bottom: 10px;
}

.action-box {
    margin-top: 30px;
}

.footer {
    background: #0a1f44;
    color: white;
    text-align: center;
    padding: 15px;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.login-card {
    background: white;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.social-btn {
    display: block;
    padding: 14px;
    margin: 15px 0;
    border-radius: 6px;
    font-weight: bold;
    color: white;
}

    .social-btn.google {
        background: #db4437;
    }

    .social-btn.facebook {
        background: #1877f2;
    }

.login-link {
    background: #25D366;
    padding: 8px 14px;
    border-radius: 4px;
    color: white;
}

/* LIVE VISUAL SECTION */

.live-image img {
    max-height: 420px;
    object-fit: contain;
}

.live-visual-section {
    margin: 80px auto;
}

.live-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

    .live-visual.reverse {
        flex-direction: row-reverse;
    }

.live-text {
    flex: 1;
}

    .live-text h2 {
        font-size: 2rem;
        margin-bottom: 15px;
        color: #0a1f44;
    }

    .live-text p {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .live-text ul {
        list-style: none;
        padding: 0;
    }

    .live-text li {
        margin-bottom: 10px;
        font-size: 1rem;
    }

.live-image {
    flex: 1;
    text-align: center;
}

    .live-image img {
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

/* Responsive */
@media (max-width: 900px) {
    .live-visual,
    .live-visual.reverse {
        flex-direction: column;
        text-align: center;
    }

    .live-text h2 {
        font-size: 1.6rem;
    }
}


/* FEATURE SHOWCASE */

.feature-showcase {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8f9fb, #ffffff);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

    .section-header h2 {
        font-size: 2.4rem;
        color: #0a1f44;
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.6;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 5px;
        width: 100%;
        background: #25D366;
        opacity: 0.8;
    }

    .feature-card.highlight::before {
        background: linear-gradient(90deg, #25D366, #128C7E);
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    }

    .feature-card .icon {
        font-size: 2rem;
        display: inline-block;
        margin-bottom: 15px;
    }

    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
        color: #0a1f44;
    }

    .feature-card p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.6;
    }

/* ----------------------------- */
/* HERO CAROUSEL */
/* ----------------------------- */
#heroCarousel {
    position: relative;
}

    #heroCarousel .carousel-item img {
        width: 100%;
        height: auto;
        max-height: 600px; /* Limit height on large screens */
        object-fit: cover; /* Ensures image covers area without distortion */
    }

    /* Carousel captions */
    #heroCarousel .carousel-caption {
        background: rgba(0, 0, 0, 0.4); /* semi-transparent overlay */
        padding: 1rem;
        border-radius: 0.5rem;
        bottom: 15%; /* default position */
    }

/* Desktop: adjust caption font-size */
@media (min-width: 992px) {
    #heroCarousel .carousel-caption h5 {
        font-size: 2rem;
    }

    #heroCarousel .carousel-caption p {
        font-size: 1.1rem;
    }
}

/* Tablet */
@media (max-width: 991px) {
    #heroCarousel .carousel-caption {
        bottom: 10%;
        padding: 0.8rem;
    }

        #heroCarousel .carousel-caption h5 {
            font-size: 1.5rem;
        }

        #heroCarousel .carousel-caption p {
            font-size: 1rem;
        }
}

/* Mobile */
@media (max-width: 576px) {
    #heroCarousel .carousel-caption {
        bottom: 5%;
        padding: 0.6rem;
    }

        #heroCarousel .carousel-caption h5 {
            font-size: 1.2rem;
        }

        #heroCarousel .carousel-caption p {
            font-size: 0.9rem;
        }
}


/* Mobile */
/*@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
}

#heroCarousel .carousel-caption {
    background: rgba(0,0,0,0.4);*/ /* semi-transparent overlay */
    /*padding: 1rem;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    #heroCarousel .carousel-caption {
        bottom: 10%;
        font-size: 0.9rem;
    }

    #heroCarousel h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    #heroCarousel .carousel-caption {
        bottom: 5%;
        font-size: 0.8rem;
    }

    #heroCarousel h5 {
        font-size: 1rem;
    }
}*/

/* Carousel images */
/*#heroCarousel .carousel-item img {
    width: 100%;
    height: auto;
    max-height: 600px;*/ /* Limit height on large screens */
    /*object-fit: cover;*/ /* Crop without distortion */
/*}*/

/* Carousel captions */
/*#heroCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.4);*/ /* semi-transparent overlay */
    /*padding: 1rem;
    border-radius: 0.5rem;
}*/

/* Tablet */
/*@media (max-width: 768px) {
    #heroCarousel .carousel-caption {
        bottom: 10%;
        font-size: 0.9rem;
    }

    #heroCarousel h5 {
        font-size: 1.2rem;
    }
}*/

/* Mobile */
/*@media (max-width: 576px) {
    #heroCarousel .carousel-caption {
        bottom: 5%;
        font-size: 0.8rem;
    }

    #heroCarousel h5 {
        font-size: 1rem;
    }
}*/