:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #F1C40F;
    --dark-green: #0C3B2E;
    --light-beige: #F8F5E6;
    --accent-blue: #1A5F7A;
    --text-dark: #2C3E50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--light-beige);
    color: var(--text-dark);
    line-height: 1.7;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4af3733' fill-opacity='0.3' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem 0;
}

.blog-title {
    font-family: 'Amiri', serif;
    font-size: 3.5rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    animation: fadeInDown 1s ease;
}

.blog-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-gold), var(--secondary-gold));
    border-radius: 2px;
}

.greeting {
    font-size: 1.2rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease;
}

.intro {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    animation: fadeInUp 1s ease;
}

.intro::before {
    content: "\""; /* Fixed: Added backslash for escape and proper quotes */
    font-family: 'Amiri', serif;
    font-size: 5rem;
    color: var(--primary-gold);
    position: absolute;
    top: -20px;
    left: 10px;
    opacity: 0.3;
}

.word-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease;
    counter-increment: word-counter;
}

.word-card::before {
    content: counter(word-counter);
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 10rem;
    font-family: 'Amiri', serif;
    color: rgba(212, 175, 55, 0.1);
    font-weight: bold;
    z-index: 0;
}

.word-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.word-title {
    font-family: 'Amiri', serif;
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.word-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-gold), transparent);
}

.meaning, .importance, .usage {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.subtitle i {
    margin-right: 10px;
    color: var(--primary-gold);
}

.highlight {
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-weight: 600;
    color: var(--dark-green);
}

.underline {
    text-decoration: underline;
    text-decoration-color: var(--primary-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.arabic {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    color: var(--dark-green);
    text-align: right;
    margin: 1rem 0;
    direction: rtl;
}

.conclusion {
    background: linear-gradient(145deg, var(--dark-green), #0a2e24);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.5s ease;
}

.conclusion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.conclusion-title {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    position: relative;
}

.share-section {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: fadeIn 1.5s ease;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: var(--dark-green);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.share-button i {
    margin-right: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--dark-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2.5rem;
    }
    
    .word-title {
        font-size: 2rem;
    }
    
    .word-card {
        padding: 1.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
}