﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-green: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #58d68d;
    --gradient-start: #11998e;
    --gradient-end: #38ef7d;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background Particles */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Auth Logo Section with Advanced Styling */
#auth-logo {
    padding: 10% 12%;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.1);
}

#auth-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

#auth-logo::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.2) rotate(180deg); 
        opacity: 0.8; 
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-30px) translateX(30px); }
    66% { transform: translateY(30px) translateX(-30px); }
}

#auth-logo h1 {
    color: var(--white);
    font-weight: 800;
    font-size: 32px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
    line-height: 1.3;
}

#auth-logo h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--white);
    margin-top: 16px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255,255,255,0.3);
}

/* Form Section with Glass Effect */
#form-section {
    background: var(--white);
    height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

/* Premium Auth Form */
#auth-form {
    max-width: 460px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
}

.form-header {
    margin-bottom: 48px;
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 400;
}

/* Enhanced Form Groups */
.form-group {
    margin-bottom: 28px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 18px;
    z-index: 1;
    transition: all 0.3s ease;
}

.form-control {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border: 2px solid #e8ecef;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--gradient-start);
    background: var(--white);
    box-shadow: 0 0 0 6px rgba(17, 153, 142, 0.1),
                0 8px 24px rgba(17, 153, 142, 0.15);
    transform: translateY(-2px);
}

.form-control:focus + .input-icon {
    color: var(--gradient-start);
    transform: translateY(-50%) scale(1.1);
}

.form-control::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* Premium Checkbox Design */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.custom-checkbox input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    margin-right: 12px;
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.custom-checkbox input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-color: var(--gradient-start);
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
}

.custom-checkbox label {
    margin: 0;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    font-weight: 500;
}

.forgot-link {
    color: var(--gradient-start);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.forgot-link:hover {
    color: var(--gradient-end);
    text-decoration: none;
}

.forgot-link:hover::after {
    width: 100%;
}

/* Premium Button Design */
.btn-primary-custom {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border: none;
    border-radius: 16px;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(17, 153, 142, 0.35);
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(17, 153, 142, 0.45);
    background: linear-gradient(135deg, var(--gradient-end) 0%, var(--gradient-start) 100%);
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(17, 153, 142, 0.35);
}

/* Elegant Sign Up Section */
.signup-section {
    text-align: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #f0f0f0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.signup-section p {
    color: var(--text-light);
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}

.signup-link {
    color: var(--gradient-start);
    font-weight: 700;
    text-decoration: none;
    margin-left: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.signup-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.signup-link:hover {
    color: var(--gradient-end);
    text-decoration: none;
}

.signup-link:hover::after {
    transform: scaleX(1);
}



@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.brand-logo-wrapper {
    margin-bottom: 40px;
    animation: scaleIn 1s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.brand-image {
    width: 200px;
    height: 200px;
    border: 6px solid rgba(255, 255, 255, 0.4);
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2),
                0 0 0 1px rgba(255,255,255,0.1) inset;
}

.brand-image:hover {
    transform: scale(1.08) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 24px 64px rgba(0,0,0,0.3),
                0 0 0 1px rgba(255,255,255,0.2) inset;
}

.alternative-login {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 18px 40px;
    border-radius: 16px;
    display: inline-block;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

.alternative-login:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--white);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* Premium Language Selector */
.language-selector {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
}

.btn-language {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    cursor: pointer;
}

.btn-language:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-language i {
    margin-right: 8px;
}

/* Login Info Section - Premium Styling */
#divLoginInfo {
    margin-top: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 2px solid #dee2e6;
    box-shadow: var(--shadow-sm);
}

/* Enhanced Validation Messages */
.text-danger {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    display: block;
    font-weight: 500;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Loading State */
.btn-primary-custom:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.5; }
}

/* Responsive Design - Enhanced */
@media (max-width: 991px) {
    #form-section {
        height: auto;
        min-height: 100vh;
        padding: 60px 0;
    }
    
    #auth-form {
        padding: 0 32px;
    }
    
    #auth-logo {
        padding: 50px 32px;
    }
    
    #auth-logo h1 {
        font-size: 28px;
    }
    
    .background-content {
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .form-header h2 {
        font-size: 28px;
    }
    
    #auth-form {
        max-width: 100%;
        padding: 0 24px;
    }
    
    .form-control {
        padding: 14px 18px 14px 48px;
    }
    
    .btn-primary-custom {
        padding: 16px 28px;
    }
    
    .brand-image {
        width: 160px;
        height: 160px;
    }
    
    #auth-logo h1 {
        font-size: 24px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
}

/* Selection Styling */
::selection {
    background: var(--gradient-start);
    color: var(--white);
}

::-moz-selection {
    background: var(--gradient-start);
    color: var(--white);
}














/* ============================================
   PREMIUM BACKGROUND SECTION REDESIGN
   ============================================ */

#background-section {
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Multi-layer Gradient Overlay */
#background-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(17, 153, 142, 0.95) 0%, rgba(56, 239, 125, 0.90) 100%),
        radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%),
        radial-gradient(circle at bottom left, rgba(0,0,0,0.1) 0%, transparent 60%);
    backdrop-filter: blur(3px);
    z-index: 1;
}

/* Animated Geometric Shapes */
#background-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    z-index: 1;
    animation: morphShapes 15s ease-in-out infinite;
}

@keyframes morphShapes {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

/* Floating Particles Effect */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 30%;
    animation-duration: 20s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 50%;
    animation-duration: 18s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 70%;
    animation-duration: 22s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 90%;
    animation-duration: 17s;
    animation-delay: 3s;
}

@keyframes float-particle {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(100px) rotate(360deg);
    }
}

/* Background Content Container */
.background-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 60px 40px;
    animation: fadeInScale 1s ease-out;
    max-width: 600px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Premium Logo Section */
.brand-logo-wrapper {
    margin-bottom: 50px;
    position: relative;
    animation: logoEntrance 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    60% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Glowing Ring Effect */
.brand-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: pulse-ring 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.8;
    }
}

/* Enhanced Logo Image */
.brand-image {
    width: 220px;
    height: 220px;
    border: 8px solid rgba(255, 255, 255, 0.5);
    padding: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.2) inset,
        0 0 40px rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.brand-image:hover {
    transform: scale(1.1) translateY(-10px);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 30px 80px rgba(0,0,0,0.4),
        0 0 0 2px rgba(255,255,255,0.3) inset,
        0 0 60px rgba(255,255,255,0.2);
}

/* Welcome Text Section */
.welcome-text {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.welcome-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    line-height: 1.2;
}

.welcome-text p {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    min-width: 140px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.feature-card i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.feature-card span {
    font-size: 14px;
    font-weight: 600;
    display: block;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Enhanced Alternative Login Button */
.alternative-login {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px);
    padding: 20px 48px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 12px 32px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.1) inset;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.alternative-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.alternative-login:hover::before {
    left: 100%;
}

.alternative-login:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-6px);
    text-decoration: none;
    color: var(--white);
    box-shadow: 
        0 20px 48px rgba(0,0,0,0.3),
        0 0 0 2px rgba(255,255,255,0.2) inset;
}

.alternative-login i {
    margin-right: 12px;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Premium Language Selector */
.language-selector {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn-language {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-language:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.btn-language i {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Decorative Elements */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.deco-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: rotate 30s linear infinite;
}

.deco-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
    animation: rotate 25s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .welcome-text h2 {
        font-size: 36px;
    }
    
    .brand-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 991px) {
    #background-section {
        display: none;
    }
}

@media (max-width: 576px) {
    .language-selector {
        top: 20px;
        right: 20px;
    }
    
    .btn-language {
        padding: 10px 20px;
        font-size: 13px;
    }
}
