/* Color Palette Variables */
:root {
    --primary-sage: #8FB5A4;
    --primary-burgundy: #7C4A5A;
    --primary-cream: #F5F1E7;
    --primary-terracotta: #C47B5A;
    --primary-charcoal: #3A3A3A;
    
    /* Light Shades */
    --sage-light: #B8D4C7;
    --burgundy-light: #A67182;
    --cream-light: #FEFCF8;
    --terracotta-light: #D99D7E;
    --charcoal-light: #6B6B6B;
    
    /* Dark Shades */
    --sage-dark: #6A8B7A;
    --burgundy-dark: #5A3442;
    --cream-dark: #E6E0D1;
    --terracotta-dark: #A05E3F;
    --charcoal-dark: #2A2A2A;
    
    /* Gradients */
    --gradient-warm: linear-gradient(135deg, var(--terracotta-light), var(--cream));
    --gradient-cool: linear-gradient(135deg, var(--sage), var(--cream-light));
    --gradient-sophisticated: linear-gradient(135deg, var(--burgundy-dark), var(--charcoal));
}

/* Base Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream-light);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--charcoal-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--burgundy-dark);
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--sage-dark);
    margin-bottom: 0.6rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--charcoal-light);
}

/* Header */
.navbar {
    background: linear-gradient(90deg, var(--cream-light), var(--sage-light));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.4rem !important;
    font-weight: 600;
    color: var(--burgundy-dark) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--charcoal) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--burgundy) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: var(--sage);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-warm);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../images/hero-reading-nook.webp') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-section .container-fluid {
    position: relative;
    z-index: 1;
}

/* Sections */
section {
    padding: 5rem 0;
}

.bg-light {
    background: var(--gradient-cool) !important;
}

/* Cards */
.card, .service-card, .feature-card, .price-card, .team-member, .review-item, .case-study-item, .blog-post {
    background: var(--cream-light);
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover, .service-card:hover, .feature-card:hover, .price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-body {
    padding: 2rem;
}

/* Service Cards */
.service-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terracotta);
    text-align: center;
    margin-top: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.2rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--sage);
}

/* Feature Cards */
.feature-card, .feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-card i, .feature-item i {
    font-size: 2.5rem;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

/* Price Cards */
.price-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.price-card.featured {
    background: var(--gradient-sophisticated);
    color: var(--cream-light);
    transform: scale(1.05);
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-top: 1.5rem;
}

.price-card.featured .price {
    color: var(--terracotta-light);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-card li {
    padding: 0.5rem 0;
}

/* Team Section */
.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--sage-light);
}

/* Reviews Section */
.testimonials-slider {
    padding: 2rem 0;
}

.review-item {
    padding: 2.5rem;
    text-align: center;
    margin: 1rem;
}

.review-item p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--sage);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    text-align: right;
}

.timeline-content {
    background: var(--cream-light);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 45%;
}

/* Process Steps */
.process-step {
    position: relative;
    padding-top: 4rem;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--terracotta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Career Items */
.career-item {
    background: var(--cream-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--sage);
}

/* Core Info Items */
.core-info-item {
    padding: 2rem;
}

.core-info-item i {
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

/* Blog Section */
.blog-post {
    overflow: hidden;
}

.blog-post img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
}

.blog-content a:hover {
    color: var(--terracotta-dark);
    text-decoration: underline;
}

/* FAQ Section */
.accordion-button {
    background-color: var(--cream-light);
    color: var(--charcoal);
    border: none;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: var(--sage-light);
    color: var(--charcoal-dark);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--sage);
}

.accordion-body { overflow-x: hidden;
    background-color: var(--cream-light);
}

/* Gallery */
.gallery-img {
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 200px;
    object-fit: cover;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Contact Form */
.contact-form {
    background: var(--cream-light);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
    background-color: white;
    border: 2px solid var(--sage-light);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 0.2rem rgba(143, 181, 164, 0.25);
    background-color: var(--cream-light);
}

.btn-primary {
    background: var(--gradient-sophisticated);
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--burgundy), var(--charcoal-dark));
}

/* Footer */
.footer-section {
    background: var(--burgundy-dark);
    color: var(--cream-light);
}

.footer-section h3, .footer-section h4 {
    color: var(--terracotta-light);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--cream-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--terracotta-light);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 1rem 0;
    background: var(--sage-light);
}

.breadcrumb-img {
    max-height: 30px;
    opacity: 0.7;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.py-5 { padding: 3rem 0; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
