:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --secondary-color: #6c757d;
    --background-color: #f5f7fa;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Layout Containers */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
}

/* Cards */
.custom-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: var(--text-color) !important;
    position: relative;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    color: var(--primary-color) !important;
}

.custom-card .icon-container {
    width: 80px;
    height: 80px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.custom-card:hover .icon-container {
    background-color: var(--primary-color);
}

.custom-card .icon-container i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.custom-card:hover .icon-container i {
    color: #fff;
}

.custom-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Forms */
.form-container {
    max-width: 450px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.form-label {
    font-weight: 500;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
}

/* Footer */
footer {
    padding: 20px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .custom-card {
        padding: 20px;
    }

    .main-container {
        padding: 20px 0;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 50px;
    text-align: center;
    border-radius: 0 0 50% 50% / 40px;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
}

.hero-section i {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section h2 {
    font-size: 1.8rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        border-radius: 0 0 30% 30% / 20px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }
}