/* css/style.css */

:root {
    --primary-color: #0066CC;
    --secondary-color: #28a745;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-family: 'Crimson Pro', serif;
    font-size: 1.1rem;
}

.lead {
    font-family: 'Crimson Pro', serif;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    padding: 6rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    animation: fadeInUp 1s ease 0.2s both;
    color: rgba(255,255,255,0.9);
}

.hero-image-wrapper {
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-decoration {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* Featured Books */
.book-card-featured {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card-featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.book-cover-wrapper {
    overflow: hidden;
    height: 100%;
    font-size: 0;
    max-height: 300px;
}

.book-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    height: 100%;
    object-position: top;
    transition: transform 0.3s ease;
}

.book-card-featured:hover .book-cover-wrapper img {
    transform: scale(1.1);
}

.price-tag {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Category Cards */
.category-story-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
    height: 100%;
}

.category-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.icon-wrapper {
    transition: transform 0.3s ease;
}

.category-story-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Statistics Section */
.statistics-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.stat-item {
    padding: 2rem;
}

/* Educational CTA */
.cta-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
    color: white;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.stars i {
    font-size: 1rem;
}

.avatar img {
    object-fit: cover;
}

/* Article Preview */
.article-preview-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.article-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.article-preview-card img {
    transition: transform 0.3s ease;
}

.article-preview-card:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer-creative {
    position: relative;
}

.social-links a {
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 1.5rem 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
    display: none;
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.5s ease;
}

/* Book Page */
.book-cover-large {
    position: sticky;
    top: 100px;
}

.book-cover-large img {
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.outcome-card {
    transition: all 0.3s ease;
}

.outcome-card:hover {
    transform: translateX(5px);
    background: white !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Page */
.service-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.feature-box {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.process-card {
    padding: 2rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Contact Page */
.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.1);
}

.contact-info-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.icon-box {
    width: 50px;
    flex-shrink: 0;
}

.map-container iframe {
    width: 100%;
    border: none;
}

/* About Page */
.value-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Article Pages */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2,
.article-content h3 {
    color: var(--dark-color);
}

.article-meta {
    color: var(--text-muted);
}

.author-bio {
    border: 2px solid #e9ecef;
}

/* Legal Pages */
.legal-content {
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Newsletter Form */
.newsletter-form .input-group {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .display-3,
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5,
    .display-6 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .display-3,
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5,
    .display-6 {
        font-size: 1.75rem;
    }
    
    .book-card-featured .row {
        flex-direction: column;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Page Hero */
.page-hero {
    padding: 4rem 0;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052a3 100%);
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.shadow {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}




.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}


footer .navbar-brand img{
    filter: brightness(0) invert(1);
}