:root {
    --primary-color: #1a365d;
    --secondary-color: #D63437;
    --accent-color: #9c4221;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --cream: rgba(221, 220, 219, 0.78);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="books" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect fill="none"/><path d="M2 2h4v16h-4z" fill="rgba(255,255,255,0.05)"/><path d="M8 4h4v12h-4z" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23books)"/></svg>');
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: rgba(255,255,255,0.2);
    padding: 10px 15px;
    border-radius: 50px;
    display: inline-flex;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: white;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.section-title.white {
    color: white;
}

/* Buttons */
.btn-primary-custom {
    background: var(--secondary-color);
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.btn-primary-custom:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(214, 158, 46, 0.4);
}

/* Common Cards */
.card-common {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card-common:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Placeholders */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* HOME PAGE STYLES */
/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #d69e2e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="books" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect fill="none"/><path d="M2 2h4v16h-4z" fill="rgba(255,255,255,0.05)"/><path d="M8 4h4v12h-4z" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23books)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-placeholder {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-image-placeholder:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.contact-home-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
    padding: 100px 0;
}

.service-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--secondary-color);
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 50px rgba(0,0,0,0.15);
}

/* Featured Books */
.books-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.book-card {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
}

.book-cover {
    height: 300px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background: var(--cream);
}

.map-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    height: 450px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    text-align: center;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.location-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    /* margin-top: 2rem; */
}

.location-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.location-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 30px;
}

/* ABOUT PAGE STYLES */
.about-hero {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-image-placeholder {
    width: 100%;
    height: 500px;
    background: rgba(0,0,0,0.05);
    border: 3px dashed rgba(0,0,0,0.1);
    border-radius: 20px;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

.mission-card {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    height: 100%;
    transition: all 0.3s ease;
}

.mission-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.team-card {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
}

.team-image {
    height: 300px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.social-links a {
    color: var(--text-light);
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* History Section */
.history-section {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: white;
    border: 4px solid var(--secondary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--bg-light);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--bg-light);
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonial-section {
    padding: 100px 0;
    background: var(--cream);
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(214, 158, 46, 0.2);
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    overflow: hidden;
}

.author-image i {
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: white;
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
}

/* SERVICES PAGE STYLES */
.services-hero {
    padding: 100px 0;
    background: var(--bg-light);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Services Grid */
.services-grid {
    padding: 100px 0;
}

.service-card {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    position: relative;
    border-top: 5px solid var(--secondary-color);
}

.service-image {
    height: 250px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

.process-step {
    text-align: center;
    padding: 0 30px;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
    top: 40px;
    right: -50px;
}

.process-step:last-child::after {
    display: none;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.pricing-card {
    border-radius: 15px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.pricing-card.popular {
    border: 3px solid var(--secondary-color);
    position: relative;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(214, 158, 46, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(214, 158, 46, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a365d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d69e2e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* BOOKS PAGE STYLES */
.books-hero {
    padding: 100px 0;
    background: var(--bg-light);
}

.books-grid {
    padding: 100px 0;
}

.book-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.book-details {
    padding: 1.5rem;
}

.book-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.book-author {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.book-description {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.book-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.book-price {
    font-weight: 700;
    color: var(--primary-color);
}

.book-rating {
    color: var(--secondary-color);
}

/* Book Categories */
.categories-section {
    padding: 80px 0;
    background: var(--cream);
}

.category-card {
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Featured Author */
.author-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

.author-image {
    height: 400px;
    background: var(--cream);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.author-social {
    display: flex;
    margin-top: 2rem;
}

.author-social a {
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: var(--secondary-color);
}

/* Newsletter */
.newsletter-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

/* CONTACT PAGE STYLES */
.contact-section {
    padding: 100px 0;
}

.contact-info-card {
    padding: 2.5rem;
    border-radius: 15px;
    height: 100%;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.contact-form {
    padding: 3rem;
    border-radius: 15px;
}

.form-control {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(214, 158, 46, 0.25);
}

/* Map Section */
.map-section {
    padding-bottom: 100px;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    text-align: center;
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 50px 0 30px;
}

.footer .social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--accent-color);
}

/* Animations & Responsive */
/* Floating Animation */
.floating-book {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .left::before, .right::before {
        border: none;
    }
    
    .left::after, .right::after {
        left: 18px;
    }
    
    .right {
        left: 0%;
    }
    
    .process-step {
        margin-bottom: 50px;
    }
    
    .process-step::after {
        display: none;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .book-cover {
        height: 300px;
    }
    
    .author-image {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .map-container {
        height: 300px;
        margin-bottom: 2rem;
    }
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: blink 1.5s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
}

@keyframes blink {
    0% { box-shadow: 0 0 0px rgba(37, 211, 102, 0.8); }
    50% { box-shadow: 0 0 15px rgba(37, 211, 102, 1); }
    100% { box-shadow: 0 0 0px rgba(37, 211, 102, 0.8); }
}
