/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
}

.nav-link:hover {
    color: #4fc3f7;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4fc3f7;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* WhatsApp link in navigation */
.nav-link.whatsapp-link {
    background: #25D366;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
}

.nav-link.whatsapp-link:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.nav-link.whatsapp-link::after {
    display: none;
}

.nav-link.whatsapp-link i {
    font-size: 1.2rem;
    color: white;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url('images/book cover.jpg') center center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
}

.hero::before {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title, .hero-subtitle, .hero-description {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow:
        0 0 12px #088bd4,
        0 0 24px #088bd4,
        0 2px 8px rgba(0,0,0,0.7),
        0 1px 2px rgba(0,0,0,0.5);
    animation: heroGlowFadeIn 2s cubic-bezier(.4,2,.3,1) 0.2s both, heroPulse 2.5s infinite 2s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #4fc3f7;
    color: #333;
}

.btn-primary:hover {
    background: #29b6f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,215,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #6c757d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.btn-outline {
    background: transparent;
    color: #088bd4;
    border: 2px solid #088bd4;
}

.btn-outline:hover {
    background: #088bd4;
    color: white;
}

.hero-image {
    display: none;
}

.hero-cover {
    position: relative;
    width: 350px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.5s ease;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    cursor: pointer;
}

.hero-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-cover:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.2);
}

.hero-book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 0;
    filter: brightness(1.05) contrast(1.1);
    transition: filter 0.3s ease;
}

.hero-cover:hover .hero-book-cover {
    filter: brightness(1.1) contrast(1.15);
}

.hero-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 139, 212, 0.2) 0%, rgba(6, 107, 163, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(2px);
}

.hero-cover:hover .hero-cover-overlay {
    opacity: 1;
}

.hero-cover-overlay i {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: pulse 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.about-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #333;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    border-radius: 15px;
    color: white;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4fc3f7;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Books Section */
.books {
    padding: 5rem 0;
    background: #f8f9fa;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    justify-items: center;
}

.book-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-item:hover {
    transform: translateY(-5px);
}

.book-modal-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-modal-btn:hover {
    background: #088bd4;
    color: white;
    transform: scale(1.05);
}

.book-card {
    background: transparent;
    border-radius: 50%;
    overflow: visible;
    box-shadow: none;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(8, 139, 212, 0.1) 0%, transparent 50%, rgba(6, 107, 163, 0.1) 100%);
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover::before {
    opacity: 1;
}

.book-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 139, 212, 0.02) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

.book-card:hover {
    transform: translateY(-10px) scale(1.05) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.2),
        0 0 30px rgba(8, 139, 212, 0.2);
}

.book-cover {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    transform-style: preserve-3d;
    border-radius: 50%;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.1);
    transition: all 0.5s ease;
}

.book-card:hover .book-cover {
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.3),
        0 0 40px rgba(8, 139, 212, 0.3);
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

.book-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

.book-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
    filter: brightness(1.05) contrast(1.1);
    transform-style: preserve-3d;
    border-radius: 50%;
}

.book-card:hover .book-cover-image {
    transform: scale(1.1) translateZ(10px);
    filter: brightness(1.1) contrast(1.15);
}

.book-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 139, 212, 0.3) 0%, rgba(6, 107, 163, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(2px);
    transform-style: preserve-3d;
    border-radius: 50%;
}

.book-card:hover .book-cover-overlay {
    opacity: 1;
    transform: translateZ(20px);
}

.book-cover-overlay i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: bookPulse 2s infinite;
    transform-style: preserve-3d;
}

.book-card:hover .book-cover-overlay i {
    transform: translateZ(30px) scale(1.1);
}

.book-info {
    padding: 1.5rem 0 0 0;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.book-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.4;
}

.book-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.book-info .btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.book-info .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 139, 212, 0.3);
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: white;
    color: #333;
}

.stats .section-title {
    color: #088bd4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(8, 139, 212, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(8, 139, 212, 0.3);
}

.stat-icon {
    margin-bottom: 1.5rem;
    position: relative;
}

.stat-icon i {
    font-size: 3rem;
    color: #4fc3f7;
    animation: iconBlink 4s ease-in-out infinite;
    display: block;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(79, 195, 247, 0.3);
}

.stat-card:nth-child(1) .stat-icon i {
    animation-delay: 0s;
}

.stat-card:nth-child(2) .stat-icon i {
    animation-delay: 1.3s;
}

.stat-card:nth-child(3) .stat-icon i {
    animation-delay: 2.6s;
}

.stat-card:hover .stat-icon i {
    animation: iconPulse 0.6s ease-in-out;
    color: white;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #4fc3f7;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
}

.stat-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.stars i {
    color: #4fc3f7;
    font-size: 1.5rem;
    text-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
    animation: starTwinkle 2s ease-in-out infinite;
}

.stars i:nth-child(1) { animation-delay: 0s; }
.stars i:nth-child(2) { animation-delay: 0.2s; }
.stars i:nth-child(3) { animation-delay: 0.4s; }
.stars i:nth-child(4) { animation-delay: 0.6s; }
.stars i:nth-child(5) { animation-delay: 0.8s; }

.rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: #4fc3f7;
    text-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Quotes Section */
.quotes {
    padding: 5rem 0;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    color: white;
}

.quotes .section-title {
    color: white;
}

.quotes .section-title::after {
    background: white;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.quote-card {
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    color: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: white;
    opacity: 0.3;
    font-family: serif;
}

.quote-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.quote-content {
    margin-bottom: 1.5rem;
}

.quote-content p {
    font-size: 1rem;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

.quote-source {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.book-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.book-icon i {
    font-size: 1.2rem;
    color: white;
}

.book-info h4 {
    margin: 0;
    font-size: 1rem;
    color: white;
    font-weight: 600;
}

.book-info span {
    color: #e3eaf2;
    font-size: 0.9rem;
}

.quotes-cta {
    text-align: center;
}

.quotes-cta .btn {
    background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
    color: #333;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.quotes-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    color: #333;
}

.quotes-cta .btn i {
    font-size: 1.1rem;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
}

.reviews .swiper {
    padding: 0 20px 50px 20px;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.review-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.review-stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

.quote {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.user-info h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

/* زر إضافة تقييم */
.review-cta {
    text-align: center;
    margin-top: 3rem;
}

.review-btn {
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(8, 139, 212, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(8, 139, 212, 0.4);
    background: linear-gradient(135deg, #066ba3 0%, #055a8a 100%);
}

.review-btn i {
    font-size: 1.2rem;
    animation: starTwinkle 2s infinite;
}

/* Modal التقييم */
.review-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.review-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.review-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.review-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.review-modal-body {
    padding: 1.5rem;
    background: white;
}

.review-modal-body .form-group {
    margin-bottom: 1rem;
}

.review-modal-body label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.review-modal-body input,
.review-modal-body textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #333 !important;
    background: white !important;
}

.review-modal-body textarea {
    resize: vertical;
    min-height: 80px;
}

.review-modal-body input::placeholder,
.review-modal-body textarea::placeholder {
    color: #999 !important;
}

.review-modal-body input:focus,
.review-modal-body textarea:focus {
    outline: none;
    border-color: #088bd4;
    box-shadow: 0 0 0 3px rgba(8, 139, 212, 0.1);
    color: #333 !important;
    background: white !important;
}

.review-modal-body input:focus::placeholder,
.review-modal-body textarea:focus::placeholder {
    color: #999 !important;
}

/* نجوم التقييم */
.rating-stars {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.rating-stars i {
    font-size: 1.6rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-stars i:hover,
.rating-stars i.active {
    color: #ffd700;
    transform: scale(1.1);
}

.rating-stars i:hover ~ i {
    color: #ddd;
}

/* أزرار النموذج */
.form-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.form-actions .btn {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.form-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.form-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    color: white;
}

.form-actions .btn-primary:hover {
    background: linear-gradient(135deg, #066ba3 0%, #055a8a 100%);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes starTwinkle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* إصلاح إضافي لون النص */
.review-modal-body input,
.review-modal-body textarea,
.review-modal-body input:focus,
.review-modal-body textarea:focus,
.review-modal-body input:active,
.review-modal-body textarea:active {
    color: #333 !important;
    background-color: white !important;
    -webkit-text-fill-color: #333 !important;
    -webkit-appearance: none;
    appearance: none;
}

/* إصلاح للـ autofill */
.review-modal-body input:-webkit-autofill,
.review-modal-body input:-webkit-autofill:hover,
.review-modal-body input:-webkit-autofill:focus,
.review-modal-body input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #333 !important;
    background-color: white !important;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: white;
}

.contact-location {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-location p {
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    margin: 0;
}

.contact-whatsapp {
    text-align: center;
    margin-bottom: 1.5rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-link i {
    font-size: 1.2rem;
}

.whatsapp-link:hover i {
    transform: scale(1.1);
}

.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}

.social-link i {
    font-size: 1.3rem;
}

.social-link .x-icon {
    width: 1.3rem;
    height: 1.3rem;
}

.social-link:hover i,
.social-link:hover .x-icon {
    transform: scale(1.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #4fc3f7;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-item h3 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4fc3f7;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #088bd4;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* WhatsApp link in mobile navigation */
    .nav-link.whatsapp-link {
        width: 35px;
        height: 35px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link.whatsapp-link i {
        font-size: 1rem;
        line-height: 1;
        margin: 0;
        padding: 0;
    }
    
    .author-profile {
        padding: 60px 0 60px 0;
    }
    
    .circular-image {
        width: 280px;
        height: 280px;
    }
    
    .profile-text p {
        font-size: 1.1rem;
    }
    
    .books-section {
        padding: 60px 0;
    }
    
    .books-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .book-circle {
        width: 150px;
        height: 150px;
    }
    
    .book-title {
        font-size: 1.1rem;
    }
    
    .stat-icon i {
        font-size: 2.5rem;
    }
    
    .reviews .swiper {
        padding-bottom: 50px;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .user img {
        width: 50px;
        height: 50px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        max-width: 95vw;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-social-links {
        gap: 1rem;
        margin-bottom: 2rem;
        flex-direction: row;
    }
    
    .contact-location p {
        font-size: 0.85rem;
    }
    
    .whatsapp-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .whatsapp-link i {
        font-size: 1.3rem;
    }
    
    .social-link {
        padding: 0.3rem;
    }
    
    .social-link i {
        font-size: 2rem;
    }
    
    .social-link .x-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .social-link span {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .books-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
    }
    
    .book-card {
        width: 180px;
        height: 180px;
    }
    
    .book-cover {
        width: 180px;
        height: 180px;
    }
    
    .book-info {
        padding: 1rem 0 0 0;
        max-width: 180px;
    }
    
    .book-info h3 {
        font-size: 1rem;
    }
    
    .book-info p {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-card i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-card p {
        font-size: 0.9rem;
    }
    
    .stars i {
        font-size: 1.2rem;
    }
    
    .rating-number {
        font-size: 1.6rem;
    }
    
    .voice-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 600px;
    }
    
    .feature-item {
        padding: 1rem;
        gap: 0.8rem;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item i {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .feature-item span {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .voice-stats-preview {
        flex-direction: row;
        gap: 0.8rem;
        justify-content: center;
        flex-wrap: nowrap;
        align-items: stretch;
    }
    
    .stat-preview {
        padding: 0.8rem 0.5rem;
        min-width: 80px;
        flex: 1;
        max-width: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .stat-preview h3 {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-preview span {
        font-size: 0.75rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .voice-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: nowrap;
    }
    
    .voice-actions .btn {
        width: auto;
        min-width: 160px;
        max-width: none;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        flex: 1;
    }
    
    .about-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quote-card {
        padding: 1.5rem;
    }
    
    .quote-content p {
        font-size: 1rem;
        line-height: 1.7;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
        max-width: 100%;
    }
    
    .book-icon {
        width: 40px;
        height: 40px;
    }
    
    .book-icon i {
        font-size: 1rem;
    }
    
    .book-info h4 {
        font-size: 0.9rem;
    }
    
    .book-info span {
        font-size: 0.8rem;
    }
    
    .quotes-cta .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .author-profile {
        padding: 50px 0 50px 0;
    }
    
    .circular-image {
        width: 220px;
        height: 220px;
    }
    
    .profile-text p {
        font-size: 1rem;
    }
    
    .books-section {
        padding: 50px 0;
    }
    
    .books-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .book-circle {
        width: 120px;
        height: 120px;
    }
    
    .book-title {
        font-size: 1rem;
    }
    
    .stat-icon i {
        font-size: 2rem;
    }
    
    .reviews .swiper {
        padding-bottom: 40px;
    }
    
    .review-card {
        padding: 1rem;
    }
    
    .quote {
        font-size: 1rem;
    }
    
    .user-avatar {
        width: 45px;
        height: 45px;
    }
    
    .user-avatar i {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-cover {
        width: 200px;
        height: 200px;
    }
    
    .hero-cover:hover {
        transform: perspective(800px) rotateY(-3deg) rotateX(1deg) scale(1.03);
    }
    
    .hero-book-cover {
        width: 100%;
        height: 100%;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-card {
        padding: 1rem 0.8rem;
    }
    
    .stat-card i {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
    
    .stat-card p {
        font-size: 0.8rem;
    }
    
    .stars i {
        font-size: 1rem;
    }
    
    .rating-number {
        font-size: 1.4rem;
    }
    
    .voice-features {
        gap: 0.6rem;
        margin: 1rem 0;
    }
    
    .feature-item {
        padding: 0.6rem;
        gap: 0.4rem;
    }
    
    .feature-item i {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .feature-item span {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .voice-stats-preview {
        gap: 0.5rem;
    }
    
    .stat-preview {
        padding: 0.6rem 0.4rem;
        min-width: 70px;
        max-width: 90px;
    }
    
    .stat-preview h3 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-preview span {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .voice-actions {
        gap: 0.6rem;
    }
    
    .voice-actions .btn {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        min-width: 140px;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* تنسيق قسم اسمع معي */
    .listen-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .listen-feature {
        padding: 1rem;
    }

    .listen-feature i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .listen-feature h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .listen-feature p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .books-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .book-card {
        width: 180px;
        height: 180px;
    }
    
    .book-cover {
        width: 180px;
        height: 180px;
    }
    
    .book-info {
        max-width: 180px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
}

@keyframes heroGlowFadeIn {
    0% {
        opacity: 0;
        filter: blur(8px);
        text-shadow: none;
        transform: scale(0.95);
    }
    60% {
        opacity: 1;
        filter: blur(0.5px);
        text-shadow:
            0 0 24px #088bd4,
            0 0 48px #088bd4,
            0 2px 8px rgba(0,0,0,0.7),
            0 1px 2px rgba(0,0,0,0.5);
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        text-shadow:
            0 0 12px #088bd4,
            0 0 24px #088bd4,
            0 2px 8px rgba(0,0,0,0.7),
            0 1px 2px rgba(0,0,0,0.5);
        transform: scale(1);
    }
}

@keyframes heroPulse {
    0%, 100% {
        text-shadow:
            0 0 12px #088bd4,
            0 0 24px #088bd4,
            0 2px 8px rgba(0,0,0,0.7),
            0 1px 2px rgba(0,0,0,0.5);
    }
    50% {
        text-shadow:
            0 0 24px #4fc3f7,
            0 0 48px #088bd4,
            0 2px 12px #088bd4,
            0 2px 8px rgba(0,0,0,0.7),
            0 1px 2px rgba(0,0,0,0.5);
    }
}

@keyframes iconBlink {
    0%, 100% {
        color: #4fc3f7;
        text-shadow: 0 2px 10px rgba(79, 195, 247, 0.3);
        transform: scale(1);
    }
    20% {
        color: #4fc3f7;
        text-shadow: 0 2px 10px rgba(79, 195, 247, 0.3);
        transform: scale(1);
    }
    30% {
        color: white;
        text-shadow: 0 4px 20px rgba(255, 255, 255, 0.6);
        transform: scale(1.1);
    }
    50% {
        color: white;
        text-shadow: 0 4px 20px rgba(255, 255, 255, 0.6);
        transform: scale(1.1);
    }
    70% {
        color: white;
        text-shadow: 0 4px 20px rgba(255, 255, 255, 0.6);
        transform: scale(1.1);
    }
    80% {
        color: #4fc3f7;
        text-shadow: 0 2px 10px rgba(79, 195, 247, 0.3);
        transform: scale(1);
    }
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Author Profile Section */
.author-profile {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0 80px 0;
    text-align: center;
}

.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.profile-image {
    position: relative;
    margin-bottom: 1rem;
}

.circular-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #088bd4;
    box-shadow: 0 10px 30px rgba(8, 139, 212, 0.3);
    transition: all 0.3s ease;
}

.circular-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(8, 139, 212, 0.4);
}

.profile-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #088bd4;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-text p {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Books Section */
.books-section {
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    padding: 80px 0;
    text-align: center;
}

.books-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
    position: relative;
}

.books-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.book-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.book-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: white;
}

.book-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.book-circle:hover .book-cover {
    transform: scale(1.1);
}

.book-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    min-height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 25px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: white;
    color: #088bd4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Voice Features */
.voice-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(8, 139, 212, 0.08);
    border-radius: 18px;
    border: 2px solid rgba(8, 139, 212, 0.15);
    transition: all 0.3s ease;
    min-height: 100px;
    justify-content: center;
}

.feature-item:hover {
    background: rgba(8, 139, 212, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(8, 139, 212, 0.2);
    border-color: rgba(8, 139, 212, 0.3);
}

.feature-item i {
    font-size: 1.8rem;
    color: #088bd4;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(8, 139, 212, 0.2);
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
}

.voice-stats-preview {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2.5rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-preview {
    text-align: center;
    background: linear-gradient(135deg, #088bd4, #0056b3);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 25px;
    min-width: 150px;
    box-shadow: 0 10px 35px rgba(8, 139, 212, 0.3);
    transition: transform 0.3s ease;
    flex: 1;
    max-width: 200px;
}

.stat-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(8, 139, 212, 0.4);
}

.stat-preview h3 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #ffd700;
}

.stat-preview span {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.4;
}

.voice-actions {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.voice-actions .btn {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    min-width: 280px;
    justify-content: center;
}

.voice-actions .btn-primary {
    background: linear-gradient(135deg, #088bd4, #0056b3);
    color: white;
    box-shadow: 0 8px 25px rgba(8, 139, 212, 0.3);
}

.voice-actions .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(8, 139, 212, 0.4);
}

.voice-actions .btn-secondary {
    background: white;
    color: #088bd4;
    border: 3px solid #088bd4;
    box-shadow: 0 8px 25px rgba(8, 139, 212, 0.1);
}

.voice-actions .btn-secondary:hover {
    background: #088bd4;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(8, 139, 212, 0.3);
}

@media (max-width: 1024px) {
    .voice-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item i {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .voice-stats-preview {
        gap: 1.5rem;
    }
    
    .stat-preview {
        padding: 1.2rem;
        min-width: 100px;
    }
    
    .stat-preview h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .voice-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin: 1.2rem 0;
    }
    
    .feature-item {
        padding: 0.8rem;
        gap: 0.6rem;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item i {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .feature-item span {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .voice-stats-preview {
        flex-direction: row;
        gap: 0.8rem;
        justify-content: center;
        flex-wrap: nowrap;
        align-items: stretch;
        margin: 1rem 0;
    }
    
    .stat-preview {
        padding: 0.8rem 0.5rem;
        min-width: 80px;
        flex: 1;
        max-width: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .stat-preview h3 {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-preview span {
        font-size: 0.75rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .voice-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: nowrap;
        margin-top: 1rem;
    }
    
    .voice-actions .btn {
        width: auto;
        min-width: 160px;
        max-width: none;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        flex: 1;
    }
    
    .about-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .voice-features {
        gap: 0.6rem;
        margin: 1rem 0;
    }
    
    .feature-item {
        padding: 0.6rem;
        gap: 0.4rem;
    }
    
    .feature-item i {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .feature-item span {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .voice-stats-preview {
        gap: 0.5rem;
        margin: 0.8rem 0;
    }
    
    .stat-preview {
        padding: 0.6rem 0.4rem;
        min-width: 70px;
        max-width: 90px;
    }
    
    .stat-preview h3 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-preview span {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .voice-actions {
        gap: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .voice-actions .btn {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        min-width: 140px;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* تنسيق قسم اسمع معي */
    .listen-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .listen-feature {
        padding: 1rem;
    }

    .listen-feature i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .listen-feature h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .listen-feature p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #4fc3f7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4fc3f7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #088bd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    background: #4fc3f7;
    color: #333;
    transform: translateY(-2px);
}

.social-links a .x-icon {
    width: 1.2rem;
    height: 1.2rem;
    pointer-events: none;
}

.social-links a i {
    pointer-events: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

.footer-bottom p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e3eaf2;
    margin: 0;
    letter-spacing: 0.5px;
}

.hero-lead {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    text-shadow: 0 2px 8px rgba(8,139,212,0.10);
}

.hero-message {
    font-size: 1.1rem;
    color: #e3eaf2;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 2;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-project {
    color: #e3eaf2;
    font-weight: bold;
    font-style: normal;
    font-size: 1.15em;
    letter-spacing: 1px;
}

/* Listen Section */
.listen {
    padding: 3rem 0;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    color: white;
}

.listen .section-title {
    color: white;
}

.listen .section-title::after {
    background: white;
}

.listen-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.listen-text {
    margin-bottom: 2rem;
}

.listen-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e3eaf2;
    margin-bottom: 0.5rem;
}

.listen-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.listen-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.listen-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

.listen-feature i {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.8rem;
    display: block;
}

.listen-feature h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.listen-feature p {
    color: #e3eaf2;
    line-height: 1.4;
    margin: 0;
    font-size: 0.9rem;
}

.listen-cta {
    text-align: center;
}

.listen-cta .btn {
    background: linear-gradient(135deg, white 0%, #f8f9fa 100%);
    color: #333;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.listen-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    color: #333;
}

.listen-cta .btn i {
    font-size: 1rem;
}

.review-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Modal التقييم للشاشات الصغيرة */
.review-modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.review-modal-header {
    padding: 1.2rem 1.5rem;
}

.review-modal-header h3 {
    font-size: 1.1rem;
}

.review-modal-body {
    padding: 1.5rem;
    background: white;
}

.rating-stars i {
    font-size: 1.8rem;
}

.form-actions {
    flex-direction: column;
    gap: 0.8rem;
}

.form-actions .btn {
    width: 100%;
    padding: 1rem;
} 

/* تنسيق خاص للشاشات الكبيرة */
@media (min-width: 768px) {
    .review-modal-content {
        max-width: 350px;
        max-height: 70vh;
    }
    
    .review-modal-header {
        padding: 1rem 1.2rem;
    }
    
    .review-modal-header h3 {
        font-size: 1rem;
    }
    
    .review-modal-body {
        padding: 1.2rem;
    }
    
    .review-modal-body .form-group {
        margin-bottom: 0.8rem;
    }
    
    .review-modal-body label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .review-modal-body input,
    .review-modal-body textarea {
        padding: 0.6rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .rating-stars i {
        font-size: 1.4rem;
    }
    
    .form-actions {
        margin-top: 1.2rem;
        gap: 0.6rem;
    }
    
    .form-actions .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Contact Section */



/* Form Submit Animation */



/* Reviews CTA */
.reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

.reviews-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(8, 139, 212, 0.3);
    transition: all 0.3s ease;
}

.reviews-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(8, 139, 212, 0.4);
}

/* Modal التقييم */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-body .form-group {
    margin-bottom: 1.5rem;
}

.modal-body label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.modal-body input,
.modal-body textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    color: #333;
    background: white;
}

.modal-body input:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: #088bd4;
    box-shadow: 0 0 0 3px rgba(8, 139, 212, 0.1);
}

/* Rating Stars */
.rating-stars {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.rating-stars i {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-stars i:hover,
.rating-stars i.active {
    color: #ffd700;
    transform: scale(1.1);
}

.rating-stars i.fas {
    color: #ffd700;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .rating-stars i {
        font-size: 1.5rem;
    }
}

/* Form Submit Animation */

/* Review Card Loading State */
.review-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.review-card.loading .review-stars {
    justify-content: center;
    margin-bottom: 1rem;
}

.review-card.loading .review-stars i {
    font-size: 1.5rem;
    color: #088bd4;
}

.review-card.loading .quote {
    text-align: center;
    font-style: italic;
    color: #666;
}

.review-card.loading .user-info h3 {
    text-align: center;
    color: #999;
}

/* ===== ADMIN QUOTES STYLES ===== */

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quote-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.quote-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.quote-content {
    margin-bottom: 1rem;
}

.quote-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
    font-style: italic;
    position: relative;
    padding-right: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap; /* يحافظ على كسر الأسطر */
    max-width: 100%;
}

.quote-content p::before {
    content: '"';
    position: absolute;
    right: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: #088bd4;
    opacity: 0.3;
    font-family: serif;
}

.quote-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.book-name {
    font-weight: 600;
    color: #088bd4;
}

.page-number {
    background: #f8f9fa;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.quote-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.action-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.edit-btn {
    background: #17a2b8;
    color: white;
}

.edit-btn:hover {
    background: #138496;
    transform: scale(1.05);
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.delete-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

.loading-quotes {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

.loading-quotes i {
    font-size: 2rem;
    color: #088bd4;
    margin-bottom: 1rem;
    display: block;
}

.no-quotes {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

.no-quotes i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
    display: block;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
    background: #f8d7da;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Quote Modal Styles */
#quoteModal .modal-content {
    max-width: 600px;
}

#quoteModal .form-group {
    margin-bottom: 1.5rem;
}

#quoteModal label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

#quoteModal textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
}

#quoteModal textarea:focus {
    outline: none;
    border-color: #088bd4;
}

#quoteModal .form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

#quoteModal input[type="text"],
#quoteModal input[type="number"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#quoteModal input:focus {
    outline: none;
    border-color: #088bd4;
}

#quoteModal .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design for Quotes */
@media (max-width: 768px) {
    .quotes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quote-item {
        padding: 1rem;
    }
    
    .quote-content p {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
        max-width: 100%;
    }
    
    .quote-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    #quoteModal .form-row {
        grid-template-columns: 1fr;
    }
    
    .quote-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .quote-item {
        padding: 0.8rem;
    }
    
    .quote-content p {
        font-size: 0.95rem;
        padding-right: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: pre-wrap;
        max-width: 100%;
    }
    
    .quote-content p::before {
        font-size: 2rem;
        top: -0.3rem;
    }
    
    .action-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Loading placeholder for quotes */
.quote-card.loading {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    animation: pulse 2s infinite;
}

.quote-card.loading .quote-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.loading-placeholder {
    text-align: center;
    color: #6c757d;
}

.loading-placeholder i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #088bd4;
}

.loading-placeholder p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Quote notification styles */
.quote-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-notification .notification-content i {
    font-size: 1.2rem;
}

/* Empty quotes message */
.empty-quotes {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-quotes i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #088bd4;
}

.empty-quotes h3 {
    margin-bottom: 0.5rem;
    color: #495057;
}

.empty-quotes p {
    margin: 0;
    font-size: 1rem;
}

/* تخصيص نصوص وأزرار بطاقات الاقتباس في الصفحة الرئيسية فقط */
.quotes-grid .quote-card {
    background: linear-gradient(135deg, #088bd4 0%, #066ba3 100%);
    color: #fff;
}

.quotes-grid .quote-card .quote-text p,
.quotes-grid .quote-card .quote-meta,
.quotes-grid .quote-card .book-info span,
.quotes-grid .quote-card .page-info span {
    color: #fff !important;
}

.quotes-grid .quote-card .quote-meta i,
.quotes-grid .quote-card .book-info i,
.quotes-grid .quote-card .page-info i {
    color: #fff !important;
    opacity: 0.85;
}

.quotes-grid .quote-card .quote-actions {
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* تنسيقات محددة لأزرار بطاقات الاقتباسات في الصفحة الرئيسية */
.quotes-grid .quote-card .action-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 80px;
    justify-content: center;
}

.quotes-grid .quote-card .action-btn:hover,
.quotes-grid .quote-card .action-btn:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.quotes-grid .quote-card .action-btn:active {
    transform: translateY(0);
}

.quotes-grid .quote-card .action-btn i {
    font-size: 0.9rem;
    color: inherit;
}

.quotes-grid .quote-card .action-btn span {
    color: inherit;
    font-size: 0.8rem;
}

/* تنسيق خاص لزر الإعجاب */
.quotes-grid .quote-card .like-btn.liked {
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.4);
    color: #fff;
}

.quotes-grid .quote-card .like-btn.liked:hover {
    background: rgba(231, 76, 60, 0.3);
    border-color: rgba(231, 76, 60, 0.6);
}

.quotes-grid .quote-card .like-btn.liked i {
    color: #e74c3c;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 768px) {
    .quotes-grid .quote-card .quote-actions {
        justify-content: center;
        gap: 0.3rem;
    }
    
    .quotes-grid .quote-card .action-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    .quotes-grid .quote-card .action-btn i {
        font-size: 0.8rem;
    }
    
    .quotes-grid .quote-card .action-btn span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .quotes-grid .quote-card .quote-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .quotes-grid .quote-card .action-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
    }
}