:root {
    --primary-color: #8a2be2;
    --secondary-color: #6a0dad;
    --light-purple: #f9f5ff;
    --dark-text: #333;
    --light-text: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: var(--dark-text);
    line-height: 1.6;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 15px rgba(106, 13, 173, 0.2);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%238a2be2" opacity="0.05"><polygon points="0,0 100,0 100,100"/></svg>');
    background-size: cover;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
}

.contact-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.25);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.3rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 0 20px;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-purple {
    color: #8a2be2;
}

.alert {
    border-radius: 10px;
    border: none;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

.glass-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.glass-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-container .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.glass-container .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.glass-container .form-control:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.admin-sidebar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    height: 100vh;
    position: fixed;
    width: 250px;
    padding: 20px 0;
}

.admin-main {
    margin-right: 250px;
    padding: 20px;
}

.message-item {
    border-bottom: 1px solid #eee;
    padding: 15px;
    transition: all 0.3s ease;
}

.message-item:hover {
    background-color: #f8f9fa;
}

.badge-unread {
    background-color: var(--primary-color);
}