/* Home Page Styles */

/* Hero Section Responsive */
.hero-content {
    text-align: center;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-buttons .btn {
    white-space: nowrap;
}

/* Hero Section Mobile Fixes */
@media (max-width: 991.98px) {
    .hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .hero .container {
        padding: 0 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        min-height: auto;
    }
    
    .hero .row {
        margin: 0;
    }
    
    .hero [class*="col-"] {
        padding: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .hero .container {
        padding: 0 0.75rem;
    }
    
    .hero [class*="col-"] {
        padding: 0.25rem;
    }
}

/* Login Form Container */
.login-form-container {
    position: relative;
    z-index: 10;
}

.login-form-wrapper {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.login-form-wrapper:hover {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Form Styling */
.login-form .form-group {
    margin-bottom: 1rem;
}

.login-form .input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.login-form .input-group:focus-within {
    box-shadow: 0 4px 20px rgba(238, 30, 70, 0.3);
    transform: translateY(-1px);
}

.login-form .input-group-text {
    background: rgba(238, 30, 70, 0.9);
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #000 !important;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    background: rgba(255, 255, 255, 1);
    box-shadow: none;
    border: none;
    outline: none;
    color: #000 !important;
}

.login-form .form-control::placeholder {
    color: #666 !important;
    opacity: 0.8;
}

/* Button Styling */
.login-form .btn-primary {
    background: linear-gradient(135deg, #ee1e46 0%, #c41e3a 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(238, 30, 70, 0.3);
}

.login-form .btn-primary:hover {
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 30, 70, 0.4);
}

.login-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(238, 30, 70, 0.3);
}

/* Checkbox Styling */
.login-form .form-check-input {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(238, 30, 70, 0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.login-form .form-check-input:checked {
    background: #ee1e46;
    border-color: #ee1e46;
}

.login-form .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(238, 30, 70, 0.25);
    border-color: #ee1e46;
}

.login-form .form-check-label {
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login-form .form-check-label:hover {
    color: white !important;
}

/* Links */
.login-form a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-form a:hover {
    text-decoration: underline;
    color: #fff !important;
}

/* Alert Styling */
.login-form .alert {
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.login-form .alert-danger {
    background: rgba(220, 53, 69, 0.9);
    color: white;
    backdrop-filter: blur(5px);
}

.login-form .alert-info {
    background: rgba(13, 202, 240, 0.9);
    color: white;
    backdrop-filter: blur(5px);
}

/* Typography */
.login-form h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.login-form p {
    font-size: 0.95rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Navigation Responsive Fixes */
@media (max-width: 991.98px) {
    .site-navbar {
        padding: 1rem 0 !important;
    }
    
    .site-navbar .container {
        padding: 0 1rem;
    }
    
    .site-logo img {
        max-height: 40px;
        width: auto;
    }
    
    .site-menu-toggle {
        font-size: 1.5rem !important;
        margin-left: 1rem;
    }
    
    .d-flex.align-items-center {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .site-navbar {
        padding: 0.75rem 0 !important;
    }
    
    .site-logo img {
        max-height: 35px;
        width: auto;
    }
    
    .site-menu-toggle {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 575.98px) {
    .site-navbar {
        padding: 0.5rem 0 !important;
    }
    
    .site-navbar .container {
        padding: 0 0.75rem;
    }
    
    .site-logo img {
        max-height: 30px;
        width: auto;
    }
    
    .site-menu-toggle {
        font-size: 1.1rem !important;
        margin-left: 0.5rem;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .login-form-wrapper {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .login-form h3 {
        font-size: 1.5rem;
    }
    
    .login-form p {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .login-form-wrapper {
        margin-top: 1.5rem;
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .login-form .input-group-text,
    .login-form .form-control {
        padding: 0.65rem 0.85rem;
        font-size: 0.95rem;
    }
    
    .login-form .btn-primary {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .hero-content {
        padding: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn,
    .hero-buttons .more {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .login-form-wrapper {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .login-form h3 {
        font-size: 1.25rem;
    }
    
    .login-form p {
        font-size: 0.8rem;
    }
    
    .hero-content {
        padding: 0.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 991.98px) and (orientation: landscape) {
    .hero-content {
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .login-form-wrapper {
        padding: 1rem;
    }
}

/* Animation for form appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus states for accessibility */
.login-form .form-control:focus,
.login-form .btn-primary:focus,
.login-form .form-check-input:focus {
    outline: 2px solid rgba(238, 30, 70, 0.5);
    outline-offset: 2px;
}

/* Elegant Cards Styling */
.elegant-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
}

.elegant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    border-color: rgba(238, 30, 70, 0.3);
}

.elegant-card .card-body {
    padding: 2.5rem 2rem;
}

.elegant-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.elegant-card .card-text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Custom Icon Colors */
.text-primary-custom {
    color: #ee1e46 !important;
    text-shadow: 0 0 20px rgba(238, 30, 70, 0.5);
}

.text-success-custom {
    color: #28a745 !important;
    text-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
}

.text-warning-custom {
    color: #ffc107 !important;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

/* Custom Button Styles */
.btn-primary-custom {
    background: linear-gradient(135deg, #ee1e46 0%, #c41e3a 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 30, 70, 0.3);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 30, 70, 0.4);
    color: white;
    text-decoration: none;
}

.btn-success-custom {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success-custom:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

.btn-warning-custom {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    color: #212529;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning-custom:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #212529;
    text-decoration: none;
}

/* Section Background for Cards */
.site-section {
    background: linear-gradient(135deg, #222831 0%, #393e46 100%);
    padding: 0 0 4rem 0;
    margin-top: -2rem;
}

.site-section .title-section {
    padding-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Responsive Card Styles */
@media (max-width: 767.98px) {
    .elegant-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .elegant-card .card-title {
        font-size: 1.25rem;
    }
    
    .elegant-card .card-text {
        font-size: 0.9rem;
    }
    
    .btn-primary-custom,
    .btn-success-custom,
    .btn-warning-custom {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .site-section {
        padding: 0 0 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .elegant-card .card-body {
        padding: 1.5rem 1rem;
    }
    
    .site-section {
        padding: 0 0 2.5rem 0;
    }
}
