/* ========================================== */
/* KINGDOM TUTORING - PASTEL PINK VERSION */
/* Soft Rose Pink Design - No Green Backgrounds */
/* ========================================== */

/* ========================================== */
/* ROOT VARIABLES - SOFT PASTEL PALETTE */
/* ========================================== */
:root {
    /* Primary Color Palette - PASTEL PINK THEME */
    --rose: #E89F5C;              /* Soft pastel rose (replaces moss) */
    --pistachio: #B8C5A8;         /* Keep pistachio for accents */
    --coconut: #F9F7F4;           /* Keep coconut */
    --dusty-pink: #D4A5A5;        /* Keep dusty pink */
    --mandarine: #E89F5C;         /* Keep mandarine */
    
    /* Extended Palette */
    --rose-dark: #D4A8BE;         /* Medium pastel pink (replaces moss-dark) */
    --rose-light: #F5DBE8;        /* Light pastel pink (replaces moss-light) */
    --pistachio-light: #D4DCC8;   
    --dusty-pink-light: #E8C9C9;  
    --mandarine-dark: #D68A45;
    --lavender: #E5D4F0;          /* NEW: Soft lavender accent */
    --blush: #FFE8EE;             /* NEW: Very light blush for backgrounds */
    
    /* Neutrals - DARKER FOR VISIBILITY */
    --text-dark: #1A1A1A;         
    --text-medium: #3D3D3D;       
    --text-light: #5A5A5A;        
    --border-light: #E8E6E3;
    --white: #FFFFFF;
    
    /* Functional Colors */
    --success: #A8C7AF;           /* Softer success color (was green) */
    --error: #C77A7A;
    --warning: var(--mandarine);
    
    /* Shadows - Updated for pastel pink theme */
    --shadow-sm: 0 2px 8px rgba(232, 196, 212, 0.12);
    --shadow-md: 0 4px 16px rgba(232, 196, 212, 0.18);
    --shadow-lg: 0 8px 32px rgba(232, 196, 212, 0.24);
    
    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================== */
/* GLOBAL RESET & BASE STYLES */
/* ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--coconut);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1.25rem;
    text-align: justify;
    hyphens: auto;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition-base);
}

a:hover {
    color: var(--mandarine);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#main-content {
    padding-top: 100px; /* Increased for taller navbar */
}

/* ========================================== */
/* FIXED NAVIGATION - PROPERLY CENTERED LOGO */
/* ========================================== */
.navbar {
    background-color: var(--white);
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    min-height: 90px;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    min-height: 80px;
}

.navbar .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 100%;
    min-height: 90px;
    position: relative;
}

.navbar.scrolled .container {
    min-height: 80px;
}

/* Logo - PROPERLY CENTERED */
.navbar-brand {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    z-index: 1;
}

.brand-logo {
    height: 80px;
    width: auto;
    max-width: 90vw;
    object-fit: contain;
    transition: var(--transition-base);
}

.navbar.scrolled .brand-logo {
    height: 65px;
}

/* Hamburger Menu - FAR RIGHT */
.navbar-toggler {
    grid-column: 3;
    justify-self: end;
    border: none;
    background: var(--mandarine);
    padding: 0.75rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 6px;
    transition: var(--transition-base);
    z-index: 1001;
}

.navbar-toggler:hover {
    background: var(--mandarine);
}

.navbar-toggler span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.navbar-toggler[aria-expanded="true"] {
    background: var(--mandarine);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu - DROPDOWN */
.navbar-collapse {
    grid-column: 1 / -1;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-lg);
    padding: 0;
    border-top: 3px solid var(--pistachio);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.navbar-collapse.show {
    max-height: 500px;
    opacity: 1;
    padding: 1.5rem;
}

.navbar-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Navigation Links - NO WEIRD BACKGROUNDS */
.nav-item {
    width: 100%;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    padding: 1rem 1.5rem;
    transition: var(--transition-base);
    border-bottom: 1px solid var(--border-light);
    display: block;
    width: 100%;
    background: transparent !important; /* Force no background */
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-dark);
    background-color: var(--pistachio-light) !important;
    padding-left: 2rem;
}

/* CTA Button */
.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--mandarine) 0%, var(--mandarine-dark) 100%) !important;
    color: var(--white) !important;
    font-weight: 700;
    padding: 1.25rem 2rem !important;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: var(--shadow-sm);
    font-size: 17px;
    letter-spacing: 0.02em;
    border: none;
    text-align: center;
}

.nav-link.nav-cta:hover {
    background: linear-gradient(135deg, var(--mandarine-dark) 0%, var(--mandarine) 100%) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    padding-left: 2rem !important;
}

/* ========================================== */
/* BUTTONS */
/* ========================================== */
.btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    transition: var(--transition-base);
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--mandarine) 0%, var(--mandarine-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--mandarine-dark) 0%, var(--mandarine) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--rose);
    color: var(--text-dark);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 18px;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
}

/* ========================================== */
/* HERO SECTIONS - CHANGED FROM GREEN */
/* ========================================== */
.hero-section,
.page-hero,
.home-hero,
.about-hero,
.blog-hero,
.subjects-hero,
.testimonials-hero,
.consultation-hero,
.contact-hero,
.tuition-hero,
.blog-single-hero,
.subject-single-hero {
    /* CHANGED: From green to dusty pink/cream gradient */
    background: linear-gradient(135deg, var(--dusty-pink) 0%, var(--pistachio-light) 50%, var(--coconut) 100%);
    color: var(--text-dark);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before,
.page-hero::before,
.about-hero::before,
.blog-hero::before,
.subjects-hero::before,
.testimonials-hero::before,
.consultation-hero::before,
.contact-hero::before,
.tuition-hero::before,
.blog-single-hero::before,
.subject-single-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(232, 159, 92, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 197, 168, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.home-hero {
    padding: 7rem 0 5rem;
}

.hero-section .container,
.page-hero .container,
.home-hero .container {
    position: relative;
    z-index: 1;
}

.hero-title,
.page-hero h1,
.home-hero h1 {
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.hero-subtitle,
.page-hero p,
.home-hero p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ========================================== */
/* SECTIONS */
/* ========================================== */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--rose) 0%, var(--mandarine) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================== */
/* CARDS */
/* ========================================== */
.card {
    border: 1px solid var(--border-light);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-base);
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-card {
    background-color: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    text-align: center;
    transition: var(--transition-base);
}

.service-card:hover {
    border-color: var(--pistachio);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    text-align: justify;
}

/* ========================================== */
/* TESTIMONIALS */
/* ========================================== */
.testimonial-card {
    background-color: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    border-color: var(--pistachio);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.testimonial-text,
.testimonial-quote {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 1.75rem;
    text-align: justify;
}

/* ========================================== */
/* STATS BAR */
/* ========================================== */
.stats-bar {
    background: linear-gradient(135deg, var(--mandarine) 0%, var(--mandarine-dark) 100%);
    padding: 3rem 0;
    box-shadow: var(--shadow-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================== */
/* CTA SECTIONS */
/* ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--pistachio-light) 0%, var(--pistachio) 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.cta-section p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* ========================================== */

/* ========================================== */
/* FOOTER - EQUAL SPACING & COMPLETE STYLES */
/* ========================================== */

/* Footer container */
.site-footer {
    background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

/* Main footer row - FORCE EQUAL SPACING */
.site-footer .container > .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* ALL footer columns - EXACTLY EQUAL (33.33% each) */
.site-footer .container > .row > [class*="col-"] {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Logo column - prevent overflow */
.site-footer .container > .row > [class*="col-"]:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Center column alignment */
.site-footer .container > .row > [class*="col-"]:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 2rem;
}

/* Right column alignment */
.site-footer .container > .row > [class*="col-"]:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 2rem;
}

/* Footer logo */
.footer-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 4px;
}

/* Footer text */
.footer-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: left;
}

/* Footer headings */
.footer-heading {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
}

/* Footer links list */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--mandarine);
    padding-left: 0.5rem;
}

/* Footer contact */
.footer-contact {
    margin-bottom: 1.5rem;
    width: 100%;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-contact p:last-child {
    margin-bottom: 0;
}

.footer-contact i {
    color: var(--pistachio);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--pistachio);
}

/* Footer button */
.btn-footer {
    background: linear-gradient(135deg, var(--mandarine) 0%, var(--mandarine-dark) 100%);
    color: var(--white);
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(232, 159, 92, 0.3);
    border: none;
    margin-top: 0.5rem;
}

.btn-footer:hover {
    background: linear-gradient(135deg, var(--mandarine-dark) 0%, var(--mandarine) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 159, 92, 0.4);
    color: var(--white);
}

/* Footer bottom section */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--pistachio);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .site-footer .container > .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2.5rem;
        text-align: center;
        padding-left: 15px !important;
    }
    
    .site-footer .container > .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    .site-footer .container > .row > [class*="col-"]:nth-child(2),
    .site-footer .container > .row > [class*="col-"]:nth-child(3) {
        align-items: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .btn-footer {
        margin-top: 1rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 0.5rem;
    }
}