:root {
    --primary-color: #0d6efd;
    --secondary-color: #0a58ca;
    --accent-color: #e6f0ff;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.hero {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffffff 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.display-4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #495057;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

.features {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.1);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 25px;
    color: var(--primary-color);
    background-color: var(--accent-color);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.4s;
}

.feature-box:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.feature-box h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-box p {
    color: #6c757d;
    line-height: 1.6;
}

footer {
    background-color: var(--light-color);
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-text {
    color: #6c757d;
}

/* Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #f5f8ff;
}

.login-wrapper {
    display: flex;
    width: 1000px;
    max-width: 100%;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.login-left {
    width: 45%;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.login-left-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.brand-logo {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.brand-logo i {
    font-size: 40px;
    color: white;
}

.login-left h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.login-left p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.login-right {
    width: 55%;
    background-color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
}

.login-form-container {
    width: 100%;
}

.login-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.login-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #777;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.login-form label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e1e5ee;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
    outline: none;
}

.password-input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    padding: 0;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    accent-color: var(--primary-color);
}

.login-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.login-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.login-button i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.login-button:hover i {
    transform: translateX(5px);
}

.login-footer {
    text-align: center;
    color: #777;
}

.login-footer a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.error-message {
    display: flex;
    align-items: center;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.error-message i {
    margin-right: 0.5rem;
}

/* Water Animation */
.water-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.water-drop {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: drop 8s infinite;
}

.water-drop:nth-child(1) {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 10%;
    animation-delay: 0s;
}

.water-drop:nth-child(2) {
    width: 120px;
    height: 120px;
    top: -60px;
    right: 15%;
    animation-delay: 2s;
}

.water-drop:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 30%;
    left: -50px;
    animation-delay: 4s;
}

.water-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    bottom: -150px;
    right: -150px;
}

@keyframes drop {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(500px) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translateY(1000px) scale(0.6);
        opacity: 0;
    }
}

/* Wave Animation */
.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" fill="%23ffffff" fill-opacity="0.1"/></svg>');
    background-size: 1200px 100px;
    animation: wave 10s linear infinite;
}

.wave1 {
    animation-delay: 0s;
    z-index: 3;
    opacity: 0.3;
}

.wave2 {
    animation-delay: -2s;
    z-index: 2;
    opacity: 0.2;
}

.wave3 {
    animation-delay: -4s;
    z-index: 1;
    opacity: 0.1;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 500px;
    }
    
    .login-left, .login-right {
        width: 100%;
    }
    
    .login-left {
        padding: 2rem;
        min-height: 250px;
    }
    
    .login-right {
        padding: 2rem;
    }
}

/* RTL Support */
html[dir="rtl"] .login-form label i {
    margin-right: 0;
    margin-left: 0.5rem;
}

html[dir="rtl"] .toggle-password {
    right: auto;
    left: 1rem;
}

html[dir="rtl"] .form-checkbox {
    margin-right: 0;
    margin-left: 0.5rem;
}

html[dir="rtl"] .login-button i {
    margin-left: 0;
    margin-right: 0.5rem;
    transform: rotate(180deg);
}

html[dir="rtl"] .login-button:hover i {
    transform: translateX(-5px) rotate(180deg);
}

html[dir="rtl"] .error-message i {
    margin-right: 0;
    margin-left: 0.5rem;
}