:root {
    --gold-color: #C0A459;
}

/* General Body Styles */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #ffffff; /* White background */
    color: #1a1a1a; /* Very dark gray, almost black for text */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #000000; /* Black headings */
}

h1 {
    font-size: 3.5rem; /* Larger for main title */
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5em;
    margin-top: 1em;
}

p.subtitle {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: #333333; /* Darker gray for subtitle */
    margin-bottom: 1em;
}

.hero-section .subtitle,
.hero-cta-box .start-story-text {
    color: var(--gold-color);
}

/* Navbar */
.navbar {
    background-color: #000000;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: top 0.3s ease-in-out, background-color 0.3s ease;
    height: 70px;
}

.navbar.navbar--hidden {
    top: -70px;
}

/* Navbar container full-width */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%; /* ensure full width */
    max-width: none;   /* override generic .container max-width */

    padding: 0 20px;    /* fixed horizontal padding */
    margin: 0;          /* override generic .container auto margins */
    box-sizing: border-box;
}

/* Left side of navbar */
.navbar-left {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 1;
}

.navbar-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 20px;
}

.navbar-logo img {
    max-height: 50px;
    display: block;
}

/* Navigation links */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-links li {
    margin: 0;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-color);
}

/* Right side of navbar */
.navbar-right {
    margin-left: auto; /* push to extreme right */
    display: flex;
    align-items: center;
    height: 100%;
}

.book-now-container {
    white-space: nowrap;
    margin-right: 15px;
}

.btn {
    padding: 10px 20px; /* Increased padding */
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    line-height: 1.2; /* Tighter line height */
    font-size: 1.2rem; /* Increased font size */
}

.btn-primary {
    background-color: var(--gold-color);
    color: #ffffff;
    border: 1px solid var(--gold-color);
    border-radius: 25px;
}

.btn-primary:hover,
.btn-primary.active {
    background-color: #000000;
    color: var(--gold-color);
    border-color: var(--gold-color);
}

.btn-secondary {
    background-color: #333333; /* Dark Gray */
    color: #ffffff;
    border: 1px solid #333333;
    margin-top: 1em;
}

.btn-secondary:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Hamburger Menu for Mobile */
.hamburger-menu {
    display: none;
    cursor: pointer;
    margin-left: 15px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */

/* Hero animations */
@keyframes heroImageFade {
    0% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes heroContentSlide {
    0% { opacity: 0; transform: translateY(-25px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-banner-image {
    opacity: 0;
    animation: heroImageFade 1.2s ease-out forwards;
}

.hero-text-container {
    opacity: 0;
    transform: translateY(-25px);
    animation: heroContentSlide 1s ease-out forwards;
    animation-delay: 1.2s;
}

.hero-cta-box {
    opacity: 0;
    transform: translateY(-25px);
    animation: heroContentSlide 1s ease-out forwards;
    animation-delay: 2.2s;
}
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px; /* Navbar height */
    padding: 0;
    width: 100%;
    text-align: center;
    display: flex; /* Added to help with centering */
    align-items: center;
    justify-content: center;
    background-color: #000; /* Add black background to prevent gray borders */
}

/* New hero content container */
.hero-content {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    /* Adjust position to account for navbar height */
    transform: translateY(35px);
}

.hero-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    box-sizing: border-box;
    margin: 0;
    z-index: 0;
    min-height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15); /* Very light semi-transparent black overlay (15% opacity) */
    z-index: 1;
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero-section {
        position: relative;
        height: 100vh; /* full viewport height */
        min-height: 100vh; /* Force full viewport height */
        padding-top: 70px; /* space for navbar */
        box-sizing: border-box;
        overflow: hidden;
        margin-top: 0; /* remove margin to avoid extra space */
    }
    
    .hero-content {
        transform: translateY(0); /* Reset any transform */
        height: 100%;
        padding: 70px 0 0; /* Add padding at top to account for navbar */
        box-sizing: border-box;
    }
    
    .hero-banner-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Full viewport height */
        object-fit: cover; /* fill and crop sides */
        object-position: center; /* Center the image */
        border: none;
        z-index: 0;
    }
    
    .hero-section .container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2;
        margin: 0 auto; /* Center horizontally */
        transform: none;
        background-color: rgba(0, 0, 0, 0.2); /* Subtle dark overlay */
    }
    
    .hero-text-container {
        padding: 20px 25px;
        width: 85%;
        max-width: 350px;
        margin-bottom: 0; /* no gap */
    }
    
    .hero-section h1 {
        font-size: 2.2rem; /* Adjusted heading size on mobile */
        margin-bottom: 8px;
        white-space: normal; /* Allow text to wrap on mobile */
    }
    
    .hero-section p.subtitle {
        font-size: 1.1rem; /* Adjusted subtitle size on mobile */
        margin-bottom: 5px;
    }
    
    .hero-cta-box {
        padding: 15px 20px; /* Adjusted padding */
        max-width: 85%;
        margin: 10px auto 0; /* smaller top margin */
    }
    
    .hero-cta-box .start-story-text {
        font-size: 1.3rem; /* Adjusted CTA text size */
        margin-bottom: 10px;
    }
    
    .hero-cta-box .btn {
        padding: 10px 20px;
    }
    
    .hero-cta-box .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
    }
}



/* Extra small screens */
@media (max-width: 480px) {

    .hero-section {
        height: 100vh; /* Full viewport height */
        min-height: 100vh; /* Force full viewport height */
        overflow: hidden; /* Contain everything */
        padding-top: 70px; /* space for navbar */
        box-sizing: border-box;
        margin-top: 0; /* remove extra margin */
    }
    
    .hero-banner-image {
        width: 100%;
        height: 100%; /* Match container height */
        object-fit: cover;
        object-position: center; /* Center the image */
        border: none;
    }
    
    .hero-content {
        transform: translateY(0); /* Reset any transform */
        height: 100%;
        padding: 70px 15px 0; /* Add padding at top to account for navbar */
        box-sizing: border-box;
    }
    
    .hero-text-container {
        padding: 10px 15px;
        width: 90%;
        max-width: 300px;
        margin-bottom: 10px; /* Add space before CTA */
    }
    
    .hero-section h1 {
        font-size: 1.4rem; /* further reduced */
        margin-bottom: 5px;
        letter-spacing: 0.5px;
    }
    
    .hero-section p.subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta-box {
        padding: 8px 15px 20px;
        width: 90%;
        margin: 0 auto;
    }
    
    .hero-cta-box .start-story-text {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .hero-cta-box .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .hero-banner-image {
        border-width: 5px;
    }
    
    .hero-text-container {
        padding: 10px 15px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section p.subtitle {
        font-size: 0.9rem;
    }
    
    .hero-cta-box {
        padding: 10px;
    }
    
    .hero-cta-box .start-story-text {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
}

/* Removed unused overlay since we're using a container with background */

.hero-section .container {
    position: relative;
    z-index: 2; /* Ensure content is above the animation layer and overlay */
}

.hero-text-container {
    max-width: 900px; /* Increased max width to ensure title stays on one line */
    width: 90%;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 5px; /* Reduced margin significantly */
}

.hero-section h1 {
    color: #ffffff; /* White text */
    font-weight: 700;
    font-size: 4.4rem; /* Increased by 1/3 from 3.2rem */
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    white-space: nowrap; /* Keep title on one line */
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.7); /* Enhanced shadow for better emphasis */
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh; /* Full viewport height */
        min-height: 100vh;
    }
    
    .hero-section h1 {
        white-space: normal; /* Allow wrapping on smaller screens */
        font-size: 3.5rem;
    }
    
    .hero-content {
        transform: translateY(0); /* Remove the transform on mobile */
        padding: 80px 0; /* Add padding instead of fixed height */
    }
}

.hero-section p.subtitle {
    color: #b0a060; /* Gold text */
    font-weight: 500; /* Slightly bolder */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7); /* Enhanced shadow for better readability */
    font-size: 2.0rem; /* Increased by 1/3 from 1.4rem */
    margin: 0;
    letter-spacing: 0.5px;
    font-style: italic;
    padding: 0 10px;
}

.hero-cta-box {
    display: inline-block;
    margin-top: 20px;
    transform: translateY(0);
    transition: transform 0.3s ease;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.hero-cta-box:hover {
    transform: translateY(-5px);
}

.hero-cta-box .start-story-text {
    font-size: 2.25rem; /* Increased by 1/3 from 1.6rem */
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    padding-top: 0;
    display: block;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
}

.hero-cta-box .btn {
    display: block;
    margin: 0 auto;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.3), 1px -1px 0 rgba(0,0,0,0.3), -1px 1px 0 rgba(0,0,0,0.3), 1px 1px 0 rgba(0,0,0,0.3);
}

/* Intro Section */
.intro-logo img {
    max-width: 250px; /* Further increased size for intro section logo */
    height: auto;
    display: block;
    margin-bottom: 20px; /* Add some space below the logo if it's above text on small screens */
}

@media (min-width: 769px) {
    .intro-logo img {
        margin-bottom: 0; /* No bottom margin when side-by-side */
        margin-right: 30px; /* Space between logo and text */
    }
}

.intro-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.content-split {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-logo {
    flex: 1; /* Take exactly 50% */
    max-width: 50%;
}

.intro-logo img {
    max-width: 90%; /* Leave some margin */
    height: auto;
    display: block;
    margin: 0 auto;
}

.intro-text {
    flex: 1;
    text-align: right; /* Right-align content */
}

@media (max-width: 768px) {
    .content-split {
        flex-direction: column; /* stack elements */
        gap: 25px;
        align-items: center;
    }

    .intro-logo,
    .intro-text {
        max-width: 100%;
        flex: none;
    }

    .intro-text {
        text-align: center;
    }

    .intro-text .btn {
        display: inline-block;
        margin: 15px auto 0;
        max-width: 200px;
    }
}

.intro-section h2 {
    font-size: 2.5rem; /* Assuming this is the desired size, adjust if needed */
    margin-bottom: 10px;
    color: #000000;
    text-align: center;
}

.mission-underline {
    height: 2px;
    background-color: #C0A459; /* Gold color */
    max-width: 800px; /* Match paragraph width */
    margin: 0 auto 20px auto; /* Center and provide bottom margin */
}

.intro-text p {
    font-size: 1.25rem; /* Increased font size */
    line-height: 1.7; /* Added for consistency */
    color: #333; /* Added for consistency */
    max-width: 800px; /* Constrain width */
    margin: 0 0 30px auto; /* Right-aligned */
}

/* Founder Section */
.founder-section {
    padding: 60px 0;
    background-color: #f0f0f0; /* Slightly darker gray */
}

.founder-section .container > p { /* Target direct paragraph children for mission text */
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    max-width: 800px;
    margin: 0 auto 30px auto; /* Center and add bottom margin, top margin handled by underline */
}

.founder-content-split {
    display: flex;
    align-items: center;
    gap: 40px;
}

.founder-text {
    flex: 1;
    text-align: left;
}

.founder-text ul {
    list-style-position: outside;
    padding-left: 20px;
}

.founder-text ul li {
    font-size: 1.2rem; /* Larger bullet points */
    margin-bottom: 8px;
}

.founder-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.founder-headshot, .book-cover {
    width: 100%;
    max-width: 600px; /* Increased size */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    display: block;
    border: none;
}

.founder-content-wrapper {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 20px;
}

.founder-main-row {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: center; /* Vertically center items when in a row */
    gap: 30px;
    width: 100%;
}

.founder-text {
    flex: 1; /* Takes up available space */
    min-width: 300px; /* Minimum width before wrapping */
    width: 50%; /* Ensure it takes exactly half */
}

/* Media query for responsive behavior */
@media (max-width: 768px) {
    .founder-main-row {
        flex-direction: column;
    }
    
    .founder-text,
    .founder-image-main {
        width: 100%;
        flex-basis: 100%;
    }
    
    .founder-image-main img {
        width: 100%;
        max-width: 600px; /* Match the book image width */
        margin: 0 auto;
        display: block;
    }
}

.founder-image-main {
    flex-basis: 50%; /* Take exactly half the space */
    text-align: center; /* Center image if container is wider */
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-image-main img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /* Shadow removed as requested */
    display: block;
    margin: 0 auto;
}

.founder-image-book {
    text-align: center; /* Center the book image */
    margin-top: 20px; /* Space above the book image */
}

.founder-image-book img {
    max-width: 400px; /* Decreased size */
    width: 100%; /* Make it responsive */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.intro-text a.btn {
    margin-top: 10px;
    float: right; /* Move button to right */
}

/* Testimonials Section */
.testimonial-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px; /* Increased padding for wrapper */
    margin-top: 20px;
    position: relative; /* Context for any z-index on buttons if needed */
}

.testimonials-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.testimonials-section .section-subtitle {
    font-size: 1.3rem;
    font-weight: normal;
    color: #333;
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-align: center;
    font-family: 'Times New Roman', serif;
    line-height: 1.6;
}

.testimonials-section .section-subtitle strong {
    font-weight: bold;
    display: block;
    margin-bottom: 2px; /* Reduced from 8px to 2px */
    font-size: 1.4rem;
    color: #000;
}

.testimonial-slider {
    display: flex; /* For the cards inside */
    overflow-x: hidden; /* Hide horizontal scrollbar, JS handles scrolling */
    scroll-snap-type: x mandatory; /* Optional: for smoother native scroll if JS fails */
    flex-grow: 1; /* Takes up space between buttons */
    margin: 0 25px; /* CRITICAL: Space between slider content and arrow buttons */
    padding: 20px 0; /* Vertical padding for the cards themselves */
    background-color: #f9f9f9; /* Restore light background for slider area */
    border-radius: 8px; /* Restore rounded corners for slider area */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Restore shadow for slider area */
    position: relative; /* Ensure it's a positioning context if cards need it */
}

.testimonial-card {
    display: none; /* Hidden by default */
    padding: 20px;
    box-sizing: border-box; /* Ensure padding doesn't add to width if min-width is 100% */
}

.testimonial-card.current-testimonial {
    display: block; /* Visible card */
    width: 100%; /* Occupy full width of slider */
    box-sizing: border-box; /* Include padding in width */
    flex-shrink: 0; /* Don't shrink */
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-card h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
    text-align: center; /* Center the name */
}

.five-stars {
    text-align: center;
    margin-bottom: 15px;
}

.five-stars img {
    width: 120px;
    height: 24px;
}

.testimonial-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px 0;
}

.testimonial-cta .btn {
    font-size: 1.1rem;
    padding: 12px 28px;
}

.testimonial-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700; /* Increased to bold */
}

.testimonial-card p { /* General style for all p in card, will be inherited or overridden */
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.5;
    /* text-align will be inherited from .testimonial-card (center) by default */
}

/* Specific styling for the main testimonial quote paragraph */
.testimonial-card > p:not(.accepted-to) {
    display: block; /* Ensure block behavior */
    width: 100%; /* Occupy full available width of parent's content box */
    max-width: 100%; /* Further ensure it doesn't exceed parent's content box */
    box-sizing: border-box; /* Include padding/border in its own width calculation if any were added */
    text-align: left; /* Align quote text to the left for readability */
    overflow: visible; /* Ensure text is not clipped if it miscalculates height/width */
    /* Inherits white-space: normal and overflow-wrap: break-word from .testimonial-card p */
}

.testimonial-card p.accepted-to {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    text-align: center; /* Center the 'Accepted to' line */
}

.testimonial-card p.accepted-to strong {
    font-size: 1.2rem;
    color: #333;
}

.testimonial-logo {
    width: 300px; /* Smaller size for circular logo */
    height: auto;
    margin: 0px auto 0 auto; /* Reduced bottom margin, added top margin */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    display: block; /* Needed for margin auto to work */
    max-width: 100%; /* Ensure it doesn't overflow its container */
}

/* Responsive adjustments for testimonial logos */
@media (max-width: 768px) {
    .testimonial-logo {
        width: 80%; /* Take up most of the card width on smaller screens */
        margin: 15px auto;
    }
}

.testimonial-logo img {
    width: 100%; /* Use full width of container */
    max-width: 300px; /* Maximum size */
    height: auto; /* Maintain aspect ratio */
    margin-top: 20px; /* Adjusted margin */
    opacity: 0.9;
    display: block; /* Ensure block display */
    margin-left: auto;
    margin-right: auto; /* Center the image */
}

.slider-btn {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #ffffff; /* Consider a slightly darker border for better definition on light backgrounds if needed */
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 5; /* Ensure buttons are clickable, above slider cards if overlap occurs during animation */
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent buttons from shrinking */
    padding: 0; /* Remove any default padding if it affects size */
}

.slider-btn:hover {
    background-color: #b0a060; /* Gold hover */
    color: #000000;
    border-color: #b0a060;
}

/* Previous .prev-btn and .next-btn rules (which were empty or placeholders for absolute positioning) removed to clear lint errors. Flexbox now handles their positioning. */
@media (max-width: 480px) { /* Adjusted breakpoint for more general mobile */
    .testimonial-slider-wrapper {
        padding: 0 5px; /* Reduce wrapper padding slightly */
    }
    .testimonial-slider {
        margin: 0 10px; /* Reduce margin around slider for smaller screens */
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.faq-item:hover {
    border-color: #C0A459; /* Gold color */
}

.faq-item.active {
    border-color: #C0A459;
    box-shadow: 0 6px 15px rgba(192, 164, 89, 0.2);
}

.faq-question {
    background: none;
    border: none;
    color: #333;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    transition: background-color 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: #fdfaf2; /* Light gold background */
    color: #000;
}

.faq-icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: #333;
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out; /* Smooth transition */
    background-color: #ffffff;
    border-top: 1px solid #eeeeee; /* Separator line */
}

.faq-answer p {
    margin: 15px 0;
    font-size: 1.1rem; /* Match question font size */
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg); /* Rotate arrow up */
}

.faq-section .section-subtitle {
    font-size: 1.3rem; /* Larger font */
    font-weight: bold; /* Bolded */
    color: #333; /* Darker color for more emphasis */
    max-width: 800px;
    margin: 0 auto 20px auto; /* Centered, reduced bottom margin */
    text-align: center;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 5px; /* Reduced padding */
    color: #000000;
}

/* Services Preview Section */
.services-preview-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.service-card p {
    margin-bottom: 20px;
    color: #555;
}

/* Keyframes for animations */
@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(-5px, 5px);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

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

/* Footer */
.footer-section {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: start;
}

.footer-logo-col p {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #999;
}

.trusted-schools {
    font-size: 1rem;
    color: #C0A459;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 10px;
}

.footer-links-col h4, .footer-contact-col h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
}

.footer-links-col li a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-links-col li a:hover {
    color: #C0A459; /* Gold color */
}

.footer-contact-col p a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-col p a:hover {
    color: #C0A459;
}

.social-icons {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    justify-content: center; /* Center icons */
}

.animate-on-scroll:not(.hero-section) {
    opacity: 0;
    transition: all 1.2s ease-in-out;
}

/* Default fade-in animation */
.animate-on-scroll:not(.hero-section).visible {
    opacity: 1;
}

/* Hero section is always visible */
.hero-section.animate-on-scroll {
    opacity: 1;
}

/* Mission section animation - fade in */
#intro.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

#intro.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About section animation - slide in from left */
#about-full.animate-on-scroll {
    opacity: 0;
    transform: translateX(-65px);
}

#about-full.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Services section animation - slide in from right */
#services-preview.animate-on-scroll {
    opacity: 0;
    transform: translateX(65px);
}

#services-preview.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Testimonials section animation - fade in up */
#testimonials.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
}

#testimonials.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ section animation - scale in */
#faq.animate-on-scroll {
    opacity: 0;
    transform: scale(0.90);
}

#faq.animate-on-scroll.visible {
    opacity: 1;
    transform: scale(1);
}

.social-icons a img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: opacity 0.3s ease;
}

.social-icons a:hover img {
    opacity: 0.8;
}

.footer-logo {
    max-width: 150px; /* Adjust size as needed */
    margin-bottom: 15px;
}

/* About Page Specific Styles */
.about-hero-section {
    padding: 20px; /* Removed bottom padding */
    margin-top: 70px; /* Navbar height */
    background-color: #f8f8f8; /* Light gray, consistent with home hero */
}

.about-hero-image {
    display: block; /* To allow margin auto for centering */
    width: 100%; /* Let the image define its own width so the container wraps tightly */
    max-width: 35%; /* Reduced from 90% to make image smaller */
    height: auto;
    border-radius: 15px; /* Rounded rectangle, consistent with founder section on home */
    /* Removing border and shadow to ensure transparent PNG blends with background */
    border: none;
    box-shadow: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px; /* Add a small margin below the image */
}

/* Ensure the about hero container shrinks to fit the image and centers its content */
.about-hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0; /* Remove any default gap between flex items */
}


.about-hero-section h1 {
    font-size: 2.5rem;
    color: #000000;
    text-align: center;
    margin: 0; /* Remove all margins */
    padding-top: 0; /* Ensure no top padding */
}

.about-content-section {
    padding: 20px 0;
    background-color: #ffffff;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5em;
    color: #333333;
}

.founder-image-book {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.about-image-feature {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    max-width: 40%; /* reduced from 70% to make image smaller */
    margin: 0 auto; /* center the container */
}

.about-image-feature img {
    max-width: 100%; /* reduced from 100% */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto; /* center the image */
}

/* About Page Mobile Styles */
@media (max-width: 768px) {
    .about-hero-image {
        max-width: 85%;
    }
    
    .about-image-feature {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .about-hero-image {
        max-width: 90%;
    }
    
    .about-image-feature {
        max-width: 90%;
    }
}

/* Services Page Specific Styles */
.page-title-section {
    padding: 60px 0;
    margin-top: 70px; /* Navbar height */
    background-color: #000000;
    color: #ffffff;
}

.page-title-section h1 {
    color: #ffffff;
    font-size: 2rem; /* Reduced to 2rem as requested */
    text-align: center;
    width: 100%;
}

.page-title-section .subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-align: center;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
}

.services-category {
    padding: 50px 0;
}

.services-category:nth-child(odd) {
    background-color: #f9f9f9;
}

.services-category h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #1a1a1a;
}

.service-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 160px;
    position: relative;
}

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

.service-item h3 {
    font-size: 1.6rem;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
}

.service-description {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000000;
    text-align: right;
}

.service-select-btn {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    background-color: #000000;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #000000;
    position: absolute;
    bottom: 23px;
    right: 23px;
}

.service-select-btn:hover {
    background-color: var(--gold-color);
    color: #000000;
    border-color: var(--gold-color);
}

.cta-section {
    padding: 50px 0;
    background-color: #f0f0f0; /* Light gray background */
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #1a1a1a;
}

/* Contact Page Specific Styles */
.contact-social-icons {
    justify-content: center;
    margin-top: 30px;
    gap: 25px; /* Increase spacing */
}

.contact-social-icons a img {
    width: 40px;
    height: 40px;
    filter: invert(0); /* Keep original colors */
    transition: transform 0.3s ease;
}

.contact-social-icons a:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

.contact-title-section {
    background-color: #f8f8f8; /* Lighter background for contact title */
    color: #1a1a1a;
}

.contact-title-section h1 {
    color: #1a1a1a;
    font-size: 2rem; /* Set to 2rem as requested */
}

.contact-title-section .subtitle {
    color: #555555;
    font-size: 1.5rem; /* Adjusted subtitle size */
}

.contact-info-section {
    padding: 50px 0;
    text-align: center;
}

.email-contact h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.email-contact p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-email-address {
    font-size: 1.5rem !important; /* Make email address prominent */
    font-weight: bold;
    margin-top: 10px;
}

.contact-email-address a {
    color: #007bff; /* Standard link blue, or your theme's primary color */
    text-decoration: none;
}

.contact-email-address a:hover {
    text-decoration: underline;
}

.social-media-section {
    padding: 40px 0;
    background-color: #f0f0f0; /* Light gray for social media section */
}

.social-media-section h2 {
    margin-bottom: 30px;
    font-size: 2rem; /* Set to 2rem as requested */
}

.social-links-container {
    display: flex;
    flex-direction: column; /* Stack links vertically on small screens */
    align-items: center;
    gap: 20px;
}

.social-link {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    text-decoration: none;
    color: #333333;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    min-width: 280px; /* Ensure links have some width */
    text-align: center;
}

.social-link:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Book Now Page Specific Styles */
.book-now-title-section {
    background-color: #000000; /* Dark background for booking title */
    color: #ffffff;
    padding-top: 60px;
    padding-bottom: 40px;
}

.book-now-title-section h1 {
    color: #ffffff;
}

.book-now-title-section .subtitle {
    color: #f0f0f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.calendly-embed-section {
    padding: 40px 0;
    background-color: #ffffff; /* Clean white background for the embed area */
}

.calendly-inline-widget {
    margin: 0 auto; /* Center the widget if its width is less than container */
    border-radius: 8px; /* Optional: if you want to round the corners of the embed itself */
    overflow: hidden; /* Helps if Calendly widget has its own shadows/borders you want to clip */
    min-height: 600px;
    width: 100%;
}

/* Calendly loading indicator */
.calendly-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    width: 100%;
    color: #333;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(176, 160, 96, 0.3); /* Gold color with opacity */
    border-radius: 50%;
    border-top-color: #b0a060; /* Gold accent color */
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-logo {
        padding-right: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #000000;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1em 0;
        z-index: 999;
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
        height: auto;
        padding: 10px 0;
        justify-content: center;
    }

    .hamburger-menu {
        display: block;
    }

    .book-now-nav-item {
        width: 100%;
        text-align: center;
        margin: 10px 0;
        padding: 10px 0;
        display: flex;
        justify-content: center;
    }

    .book-now-container.menu-active {
        position: relative;
        width: 100%;
        text-align: center;
        padding: 5px 0;
        margin: 0;
        background-color: transparent;
        display: flex;
        justify-content: center;
    }
    /* ensure button text remains black over dark background */
    .book-now-container.menu-active .btn-primary {
        background-color: #b0a060;
        color: #000000 !important;
    }
}

@media (max-width: 768px) {
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
