@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
    /* "Organic Sanctuary" Palette */
    --bg-pearl: #F9F7F2;
    --text-forest: #2D3A30;
    --sage-accent: #7D8F82;
    --terracotta: #BC6C4B;
    --sage-deep: #4A5D4E;
    /* High-contrast Sage */
    /* Muted Dusty Terracotta */

    /* Soft Geometry */
    --radius-pebble: 60px;
    --radius-soft: 40px;
    --shadow-soft: 0 20px 50px rgba(45, 58, 48, 0.04);
    /* Cloud Shadow */

    /* Typography */
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    margin: 0;
    background-color: var(--bg-pearl);
    color: var(--text-forest);
    overflow-x: hidden;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-forest);
    font-weight: 400;
}

/* Header */
header {
    background-color: rgba(249, 247, 242, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-forest);
    letter-spacing: -0.02em;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav li {
    margin-right: 30px;
    /* Adjust as needed for desired spacing */
}

nav li:last-child {
    margin-right: 0;
}

/* Dropdown Button */
.dropbtn {
    background-color: transparent;
    color: #4a4a4a;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: color 0.3s ease;
}

.dropbtn:hover,
.dropbtn:focus {
    color: #e8a0bf;
}

/* The container <div> - needed to position the dropdown content */
.dropdown-container {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: 400;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-container when the user clicks on the dropdown button) */
.show {
    display: block;
}

nav a {
    text-decoration: none;
    color: var(--text-forest);
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    /* Luxury Spacing */
}

nav a:hover,
.dropbtn:hover {
    color: var(--sage-accent);
}

.dropbtn {
    color: var(--text-forest);
    font-family: var(--font-body);
    font-weight: 500;
}

/* Hero Section */
.hero {
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-forest);
    text-align: center;
    padding: 200px 0 160px;
    /* Increased heavy padding */
}

.schedule-hero {
    position: relative;
}

.schedule-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(249, 247, 242, 0.25);
    /* Much lighter overlay to show image */
    z-index: 0;
}

.schedule-hero .hero-content {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    background: radial-gradient(circle, rgba(249, 247, 242, 0.5) 0%, rgba(249, 247, 242, 0.2) 60%, transparent 100%);
    padding: 80px 40px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    margin-bottom: 25px;
    font-weight: 500;
    color: var(--text-forest);
    letter-spacing: -0.01em;
    text-shadow: 0 0 20px rgba(249, 247, 242, 1), 0 0 40px rgba(249, 247, 242, 0.8);
    /* Stronger glow for title */
}

.hero p {
    font-size: 22px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    color: var(--sage-deep);
    line-height: 1.6;
    text-shadow: 0 0 15px rgba(249, 247, 242, 1), 0 0 30px rgba(125, 143, 130, 0.2);
    /* Soft protective aura */
}

.btn {
    background-color: var(--terracotta);
    color: #fff;
    padding: 16px 36px;
    text-decoration: none;
    border-radius: var(--radius-pebble);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(188, 108, 75, 0.3);
}

.btn:hover {
    background-color: #a45b3e;
    /* Darker Terracotta */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 108, 75, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: var(--radius-pebble);
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--text-forest);
}

/* Welcome Section */
.welcome {
    padding: 120px 0;
}

.welcome-content {
    display: flex;
    align-items: flex-start;
}

.welcome-text {
    flex: 1;
    padding-right: 50px;
}

.welcome-image {
    flex: 1;
}

.welcome-image img {
    width: 100%;
    border-radius: var(--radius-soft);
    filter: sepia(0.1) brightness(1.05);
    /* Warm Morning Light */
}

.welcome h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

.welcome p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    /* Constrained for readability */
    margin: 0 auto 60px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

/* Featured Classes Section */
.featured-classes {
    background-color: #fff;
    padding: 100px 0;
    /* Breathable spacing */
}

.featured-classes h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
}

.class-cards {
    display: flex;
    justify-content: space-between;
}

.card {
    background-color: #fff;
    border-radius: var(--radius-pebble);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    width: 32%;
    text-align: center;
    width: 32%;
    text-align: center;
    border: none;
    /* Removed hard border */
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 50px;
    font-size: 50px;
    color: var(--sage-accent);
    margin: 40px 0 20px;
}

.card h3 {
    font-size: 24px;
    margin: 20px;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 20px 20px;
}

.btn-tertiary {
    display: inline-block;
    margin: 0 20px 20px;
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    font-style: italic;
}

/* Offerings Page */
.offering-page {
    padding: 120px 0;
}

.offering-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
}

/* About Me Section */
.about-me {
    padding: 120px 0;
}

.about-content {
    display: flex;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-soft);
    filter: sepia(0.1) brightness(1.05);
    /* Warm Morning Light */
}

.offering-image {
    flex: 1;
}

.offering-image img {
    width: 100%;
    height: 400px;
    /* Fixed height for consistency */
    object-fit: cover;
    /* Ensures images cover the area without distortion, cropping as needed */
    border-radius: 5px;
    display: block;
    /* Removes extra space below the image */
}

.about-text {
    flex: 1;
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Prevents stretching of child items and aligns them to the start */
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #e8a0bf;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-text .btn {
    margin-top: auto;
    /* Pushes the button to the bottom of the flex container */
}

/* Schedule Section */
.schedule {
    padding: 120px 0;
}

.schedule h2 {
    text-align: center;
    font-size: 52px;
    color: var(--text-forest);
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

.schedule p {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

.schedule-table {
    overflow-x: auto;
    /* Allows the table to scroll horizontally */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
}

.schedule-table th {
    background-color: var(--sage-accent);
    color: #fff;
}

.schedule-table td.has-class {
    background-color: #f9f7f3;
    font-weight: 700;
    color: var(--terracotta);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.schedule-table td.has-class:hover {
    background-color: var(--terracotta);
    color: #fff;
}

.schedule-table td.has-class a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 700;
    display: block;
    height: 100%;
    width: 100%;
}

.schedule-table td.has-class:hover a {
    color: #fff;
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
    padding: 100px 0;
    /* Breathable spacing */
}

.testimonials h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
}

.testimonial-cards {
    display: flex;
    justify-content: space-between;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--radius-pebble);
    padding: 40px;
    width: 32%;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    border: none;
    /* Removed hard border */
}

.testimonial-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    /* Pushes the author info to the bottom */
}

.testimonial-author img {
    width: 100px;
    height: 100px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    filter: sepia(0.1) brightness(1.05);
}

.author-info h4 {
    font-size: 18px;
    margin: 0;
}

.author-info p {
    font-size: 16px;
    margin: 0;
    color: var(--sage-accent);
}

.testimonial-cards .testimonial-card:nth-of-type(3) .testimonial-author img {
    object-position: 50% 20%;
    /* Adjusts the vertical position of the image within its frame */
}

/* Blog Section */
.blog {
    padding: 120px 0;
}

.blog h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-post {
    background-color: #fff;
    border-radius: var(--radius-pebble);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    border: none;
}

.blog-post:hover {
    transform: translateY(-10px);
}

.blog-post img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    filter: sepia(0.1) brightness(1.05);
}

.blog-post-content {
    padding: 30px;
}

.blog-post h3 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    font-size: 14px;
    color: var(--sage-accent);
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-weight: 500;
}

.blog-post h3 {
    font-size: 24px;
    margin: 20px;
}

.blog-post p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 20px 20px;
}

.post-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 120px 0;
}

.contact h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
}

.contact p {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #4a4a4a;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 25px;
    border: 2px solid var(--sage-accent);
    border-radius: 50px;
    /* Pebble-style */
    font-family: var(--font-body);
    font-size: 16px;
    box-sizing: border-box;
    background-color: #fff;
    color: var(--text-forest);
    outline: none;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form textarea {
    border-radius: 20px;
    padding: 15px 25px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(188, 108, 75, 0.1);
}

.contact-form button.btn {
    width: auto;
    /* Allow button to size naturally */
    align-self: flex-start;
    /* Align button to the left */
    margin-top: 20px;
    /* Adds space above the button */
}

.contact-image {
    flex: 1;
    margin-left: 50px;
}

.contact-image img {
    width: 100%;
    border-radius: var(--radius-soft);
    filter: sepia(0.1) brightness(1.05);
    /* Warm Morning Light */
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Social Media Icons on Contact/Booking Pages */
.contact-info .social-media a {
    color: #4a4a4a;
    /* Dark grey */
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info .social-media a:hover {
    color: var(--terracotta);
    /* Terracotta on hover */
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #3a3a3a;
    /* A dark, warm grey */
    color: #f9f7f3;
    padding: 120px 0 40px;
    border-top: none;
    background-color: var(--sage-accent);
    /* Grounding Sage Green */
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-about p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links a {
    color: #f9f7f3;
    font-size: 24px;
    margin-right: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--terracotta);
    transform: translateY(-3px);
}

.social-links a:last-child {
    margin-right: 0;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #f9f7f3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-links a:hover {
    padding-left: 5px;
    color: var(--sage-accent);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.footer-contact i {
    color: var(--sage-accent);
    margin-right: 15px;
    width: 22px;
    text-align: center;
    font-size: 18px;
}

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

.footer-contact a:hover {
    color: var(--sage-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    font-size: 14px;
    color: #ccc;
}

.developer-credit {
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.developer-credit a {
    color: var(--terracotta);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    font-weight: 700;
    opacity: 1;
    background-color: #ffffff;
    /* Solid white background for extreme visibility */
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin: 4px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    color: #ffffff;
    background-color: var(--terracotta);
    text-decoration: none;
    transform: translateY(-2px);
}

.disclaimer {
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.disclaimer strong {
    color: #bbb;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        margin-top: 1rem;
    }

    .social-links a {
        margin: 0 10px;
    }

    .footer-links ul {
        margin-top: 1rem;
    }

    .footer-contact p {
        justify-content: center;
    }

    /* Footer Bottom Polish */
    .footer-bottom {
        padding: 40px 20px;
    }

    .disclaimer {
        font-size: 12px;
        line-height: 1.6;
        padding: 0 10px;
    }
}

/* Hamburger Menu */
.menu-icon {
    display: none;
    /* Hidden by default */
    cursor: pointer;
    font-size: 24px;
}

@media screen and (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: #fff;
    }

    nav ul.active {
        display: flex;
    }

    .menu-icon {
        display: block;
        position: absolute;
        right: 10px;
        /* Adjusted to move further left */
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Mobile Responsiveness & Navigation Overlay */
@media screen and (max-width: 768px) {
    .container {
        padding: 0;
        /* Remove horizontal padding on mobile to prevent overflow */
    }

    header .container {
        flex-direction: row;
        /* Keep header items in a row */
        justify-content: space-between;
        /* Space out logo and menu icon */
        align-items: center;
        padding-right: 20px;
        /* Add right padding to move menu icon left */
    }

    .logo {
        margin-bottom: 0;
        /* Remove bottom margin on mobile */
    }

    /* Mobile Navigation (Compact Dropdown) */
    nav ul {
        display: none;
        /* Hidden by default */
        flex-direction: column;
        /* Stack items vertically */
        width: 100%;
        text-align: center;
        position: absolute;
        /* Position relative to header */
        top: 80px;
        /* Below the header */
        left: 0;
        /* Align to the left edge */
        background-color: #fff;
        /* White background for the menu */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        /* Subtle shadow */
        padding: 10px 20px;
        /* Add some padding to prevent content from touching edges */
        z-index: 999;
        /* Ensure it's above other content */
    }

    nav ul.active {
        display: flex;
        /* Show when active */
    }

    nav li {
        margin: 10px 0;
        /* Spacing between menu items */
    }

    nav a {
        color: #4a4a4a;
        /* Dark text for readability */
        font-size: 18px;
        /* Readable font size */
    }

    .dropbtn {
        font-size: 18px;
        /* Match other nav items */
    }

    /* Dropdown within Mobile Navigation */
    .dropdown-container {
        width: 100%;
        /* Full width for dropdown container */
        text-align: center;
        display: block;
        /* Ensure it behaves as a block element */
    }

    .dropdown-content {
        position: static;
        /* Make it flow naturally within the mobile menu */
        background-color: transparent;
        /* Make background transparent */
        box-shadow: none;
        /* No shadow for sub-menu */
        max-height: 0;
        /* Start hidden */
        overflow: hidden;
        /* Hide overflowing content */
        transition: max-height 0.3s ease-out;
        /* Smooth transition */
        width: 100%;
        /* Full width */
        padding: 0;
        /* No padding for the container itself */
    }

    .dropdown-content.show {
        /* Explicitly show when 'show' class is present */
        max-height: 200px;
        /* Sufficient height to show all content */
        padding: 0;
        /* No padding for the container itself */
    }

    .dropdown-content a {
        padding: 10px 0;
        /* Padding for sub-menu items */
        font-size: 16px;
        color: #4a4a4a;
    }

    /* General adjustments for smaller screens */
    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .welcome h2,
    .featured-classes h2,
    .testimonials h2,
    .blog h2,
    .contact h2 {
        font-size: 32px;
    }

    .welcome p,
    .schedule p,
    .contact p {
        font-size: 16px;
        padding: 0 20px;
        /* Add horizontal padding */
    }

    .card,
    .testimonial-card,
    .blog-post {
        padding: 20px;
        width: 100%;
        /* Make cards full width on mobile */
        margin-bottom: 30px;
        /* Add spacing between stacked cards */
    }

    .welcome-content,
    .class-cards,
    .testimonial-cards,
    .contact-content {
        flex-direction: column;
    }

    .blog-posts {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* Adjust gap for mobile */
    }

    .welcome-text,
    .contact-form,
    .contact-image {
        padding-right: 0;
        margin-left: 0;
        width: 100%;
    }

    .welcome-text,
    .contact-info {
        margin-bottom: 30px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image,
    .offering-image {
        flex: 1 1 100%;
        margin-bottom: 30px;
    }

    .about-text {
        padding-left: 0;
        padding: 0 20px;
        /* Add horizontal padding for breathing room */
    }

    .about-image img,
    .offering-image img {
        height: auto;
        width: 100%;
    }

    /* Excessive Padding Reduction */
    .welcome,
    .featured-classes,
    .testimonials,
    .blog,
    .contact,
    .offering-page,
    .about-me,
    .schedule {
        padding: 60px 0 !important;
    }

    .hero {
        padding: 120px 0 80px !important;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 18px;
        padding: 0 20px;
    }

    /* Center Section Text Blocks */
    .welcome p,
    .schedule p,
    .contact p {
        max-width: 100%;
        margin: 0 auto 30px;
        text-align: center;
    }

    /* Card Radius Adjust for Mobile */
    .card,
    .testimonial-card {
        border-radius: 40px;
        /* Slightly smaller for mobile */
    }
}

/* Tablet Specific Grid */
@media screen and (min-width: 600px) and (max-width: 991px) {

    .class-cards,
    .testimonial-cards {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .card,
    .testimonial-card {
        width: 100% !important;
    }
}

/* --- Modern Booking Calendar (Flatpickr) --- */
/* Customizing Flatpickr Theme to match site */
.flatpickr-calendar {
    background: var(--bg-pearl) !important;
    border: none !important;
    box-shadow: 0 15px 40px rgba(45, 58, 48, 0.15) !important;
    border-radius: 20px !important;
    font-family: var(--font-body) !important;
}

.flatpickr-day.selected {
    background: var(--terracotta) !important;
    border-color: var(--terracotta) !important;
}

.flatpickr-day:hover {
    background: var(--sage-accent) !important;
    color: #fff !important;
}

/* --- Simplified Page Theme (Confirmation/Placeholders) --- */
.simplified-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--bg-pearl);
    padding: 20px;
}

.simplified-content {
    max-width: 650px;
    padding: 60px 40px;
    background-color: #fff;
    border-radius: var(--radius-pebble);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(125, 143, 130, 0.1);
}

.simplified-content h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--text-forest);
    margin-bottom: 20px;
}

.simplified-content p {
    font-size: 19px;
    color: var(--sage-deep);
    line-height: 1.7;
    margin-bottom: 40px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background-color: var(--text-forest);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.back-btn:hover {
    background-color: var(--terracotta);
    transform: translateX(-5px);
}

.back-btn i {
    font-size: 1.2em;
}