/* Hero Carousel Styles */
.hero-carousel {
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.carousel-item {
    height: 100%;
}

.carousel-image {
    height: 100vh;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.carousel-indicators {
    bottom: 0;
}


/* Language Switcher Styles */
.navbar .dropdown-menu {
    min-width: 120px;
}

.dropdown-item.active {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* Sidebar language switcher */
.sidebar .dropdown-menu {
    background-color: #495057;
    border: none;
}

.sidebar .dropdown-item {
    color: #dee2e6;
    padding: 0.5rem 1rem;
}

.sidebar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar .dropdown-item.active {
    background-color: rgba(13, 110, 253, 0.2);
    color: white;
}

.sidebar .dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: 0.15em;
}

/* Responsive adjustments for language switcher */
@media (max-width: 992px) {
    .navbar .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        border: none;
        box-shadow: none;
        background-color: transparent;
    }
    
    .navbar .dropdown-item {
        color: white;
        padding: 0.5rem 1rem;
    }
    
    .navbar .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .navbar .dropdown-item.active {
        background-color: rgba(13, 110, 253, 0.2);
    }
}

/* Flag option (alternative to icon) */
.language-flag {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    vertical-align: middle;
}


/* Navigation Bar Styles */
.navbar {
    transition: all 0.3s ease;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #343a40;
    transition: left 0.3s ease;
    z-index: 1050;
    display: none;
}

.sidebar.active {
    left: 0;
}

.sidebar .navbar-nav {
    flex-direction: column;
    padding: 1rem;
}

.sidebar .nav-link,
.sidebar .btn {
    color: white;
    margin: 0.5rem 0;
    width: 100%;
    text-align: left;
}

.sidebar .btn {
    display: block;
    text-align: center;
}

.sidebar-toggle {
    display: none;
}

.sidebar-close {
    display: none;
    color: white;
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

/* Feature Card Styles */
.feature-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    transition: color 0.3s;
}

.feature-card:hover i {
    color: #0d6efd !important;
}

/* User Type Card Styles */
.user-type-card {
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s;
}

.user-type-card:hover {
    transform: scale(1.05);
}

/* Benefits Section Styles */
.benefits-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.benefit-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    margin-bottom: 2rem;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    color: #0d6efd;
    transition: transform 0.3s;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.2);
}

.benefit-card ul {
    list-style: none;
    padding-left: 0;
}

.benefit-card ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.benefit-card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.payment-methods {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-method {
    height: 50px;
    object-fit: contain;
    margin: 10px;
    transition: transform 0.3s;
}

.payment-method:hover {
    transform: scale(1.1);
}

/* Footer Styles */
footer {
    background: linear-gradient(180deg, #343a40 0%, #1d2124 100%);
    color: white;
    padding: 4rem 0 2rem;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #0d6efd;
}

footer .social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s;
}

footer .social-icons a:hover {
    transform: translateY(-3px);
}

footer .footer-payment img {
    width: 40px;
    margin: 0.5rem;
    transition: transform 0.3s;
}

footer .footer-payment img:hover {
    transform: scale(1.1);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

footer .text-center p {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-carousel {
        height: 70vh;
    }

    .carousel-caption {
        width: 90%;
        padding: 1.5rem;
        bottom: 15%;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption .lead {
        font-size: 1.1rem;
    }

    .benefit-card {
        margin-bottom: 1.5rem;
    }

    footer {
        padding: 3rem 0 1.5rem;
    }

    .navbar-expand-lg .navbar-nav {
        display: none !important;
    }

    .sidebar {
        display: block;
    }

    .sidebar-toggle {
        display: block;
    }

    .sidebar-close {
        display: block;
    }
}

@media (min-width: 992px) {
    .sidebar {
        display: none !important;
    }

    .sidebar-toggle {
        display: none !important;
    }

    .sidebar-close {
        display: none !important;
    }

    .navbar-expand-lg .navbar-nav {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-caption {
        width: 95%;
        padding: 1rem;
        bottom: 30%;
    }

    .carousel-caption h1 {
        font-size: 1.4rem;
    }

    .carousel-caption .lead {
        font-size: 1rem;
    }

    .benefit-card ul li {
        font-size: 0.6rem;
    }

    .payment-method {
        height: 40px;
        margin: 8px;
    }

    footer .col-md-4,
    footer .col-md-2,
    footer .col-md-3 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 50vh;
        min-height: 350px;
    }

    .carousel-image {
        height: 50vh;
    }

    .carousel-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .carousel-caption {
        width: 95%;
        padding: 1rem;
        bottom: 0%;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption .lead {
        font-size: 0.9rem;
    }

    .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    footer {
        padding: 2rem 0 1rem;
    }

    footer h5 {
        font-size: 1.2rem;
    }

    footer .social-icons a {
        font-size: 1.2rem;
    }

    footer .footer-payment img {
        width: 35px;
    }
}