/* Custom styles to complement Bootstrap */
.navbar-brand img {
    height: 40px;
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../img/hero.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.auth-form {
    max-width: 450px;
    margin: 40px auto;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: white;
}

.membership-status {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-history {
    margin-top: 30px;
}

.language-selector {
    margin-left: 15px;
}

/* Custom colors for medical theme */
.btn-primary {
    background-color: #005eb8;
    border-color: #005eb8;
}

.btn-primary:hover {
    background-color: #004a8f;
    border-color: #004a8f;
}

/* Alert customization */
.alert {
    margin-top: 20px;
}


 /* Navbar styles */
 .navbar {

    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

/* Language switcher styles */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-flag {
    width: 30px;
    height: 20px;
    cursor: pointer;
    border-radius: 2px;
    transition: transform 0.2s;
    opacity: 0.7;
}

.language-flag:hover {
    transform: scale(1.1);
    opacity: 1;
}

.language-flag.active {
    opacity: 1;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

/* Mobile optimizations */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .d-flex.align-items-center {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
    }
    
    .language-switcher {
        justify-content: center;
        margin-bottom: 1rem;
        order: -1;
    }
    
    .btn {
        width: 100%;
        margin: 0.5rem 0 !important;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-brand {
        margin-right: auto;
    }
    
    /* Adjust flag sizes for mobile */
    .language-flag {
        width: 35px;
        height: 23px;
    }
}

/* Hero Section Styles */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.626), rgba(0, 0, 0, 0.7));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    opacity: 0.9;
}

.hero-buttons {
    position: relative;
    z-index: 2;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background-color: #005eb8;
    border-color: #005eb8;
}

.hero-buttons .btn-primary:hover {
    background-color: #004a8f;
    border-color: #004a8f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons .btn {
        padding: 0.6rem 1.5rem;
        margin: 0.5rem;
    }
}

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

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Add animation for text appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title, .hero-subtitle, .hero-buttons {
    animation: fadeInUp 1s ease-out;
}