@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background-color: #f9f9f9;
    direction: rtl;
    text-align: right;
    padding: 2rem;
}

.container {
    max-width: 700px;
    margin: auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input,
select,
textarea,
button {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

label {
    font-weight: bold;
    display: block;
    margin-top: 1rem;
}

button {
    background-color: #1d72b8;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #155d94;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

a {
    color: #1d72b8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* === Homepage Specific Styles (Final Version) === */

body.homepage-body {
    padding: 0;
}

.homepage-header {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

.homepage-title {
    font-size: 2rem;
    font-weight: 700;
    color: #343a40;
}

.homepage-subtitle {
    color: #6c757d;
}

.hero-section {
    background-color: #2c3e50;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(150, 150, 150, 0.6)), url('https://images.unsplash.com/photo-1593982937981-1fe2770a05a7?w=800');
    background-size: cover;
    background-position: center center;
    padding: 5rem 0;
    color: #343a40;
}

.hero-section .quran-verse {
    font-family: 'Vazirmatn', 'Amiri', serif;
    /* **FIX**: Smaller, more delicate font size */
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.8;
}

.hero-section .quran-translation {
    font-size: 1.1rem;
    opacity: 0.9;
}

.homepage-card {
    background-color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    padding: 1.5rem;
}

.homepage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* **NEW**: Highlighting the resume card */
.resume-card-highlight {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.resume-card-highlight .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.homepage-footer {
    background-color: #343a40;
    color: #f8f9fa;
}

.homepage-footer p {
    color: #343a40;
}

