:root {
    --primary-color: #8e44ad;
    --secondary-color: #e84393;
    --dark-color: #6c3483;
    --light-color: #ffffff;
    --grey-color: #95a5a6;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9f9f9;
}

/* Header Styling */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    padding: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.navbar-brand .brand-text {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Feature Cards */
.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--grey-color);
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Footer Styling */
.footer {
    background-color: var(--dark-color);
    color: white;
}

.footer h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer .social-icons a {
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Form Styling */
.form-control {
    padding: 0.8rem 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 108, 247, 0.25);
}

/* Info Card */
.info-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--primary-color);
}

/* Simplified Login Page */
.simple-login-card {
    max-width: 450px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-top: 2rem;
}

.simple-login-card h1 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.simple-login-card .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.simple-login-card .form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
}

.simple-login-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(142, 68, 173, 0.25);
}

.simple-login-card .btn-primary {
    padding: 0.75rem 0;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 0.5rem;
}

.simple-login-card .form-check-label {
    font-size: 0.9rem;
}

.simple-login-card hr {
    margin: 1.5rem 0;
    opacity: 0.15;
}

.simple-login-links {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.simple-login-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.simple-login-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Alert Messages */
.alert {
    border-radius: 5px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    font-weight: 500;
}

.alert-danger {
    color: #fff;
    background-color: var(--danger-color);
    border-color: #c0392b;
}

.alert-success {
    color: #fff;
    background-color: var(--success-color);
    border-color: #27ae60;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-info {
    color: #fff;
    background-color: var(--secondary-color);
    border-color: #d53c8d;
}

.alert-dismissible .btn-close {
    color: inherit;
    opacity: 0.8;
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Dropdown Hover Effect */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Make dropdown menu stay open when hovering */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
        margin-top: 0;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
} 