/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Original Light Theme (White & Orange) - Commented out for backup
:root {
    --primary-color: #D45A2A;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-light: #E8E8E8;
    --white: #FFFFFF;
    --border-color: #CCCCCC;
    --footer-bg: #1a1a1a;
    --footer-text: #FFFFFF;
}
*/

/* New Dark/Grey Wooden Theme */
:root {
    --primary-color: #D45A2A;
    /* Keeping the orange for warmth/pop */
    --text-dark: #E0E0E0;
    /* Light grey text for dark backgrounds */
    --text-light: #B0B0B0;
    /* Muted grey for secondary text */
    --bg-light: #2A2A2A;
    /* Dark grey for secondary section backgrounds */
    --white: #121212;
    /* Very dark grey (almost black) for main backgrounds */
    --border-color: #444444;
    /* Darker border color */
    --footer-bg: #000000;
    /* Black footer */
    --footer-text: #E0E0E0;
    /* Light text for footer */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-f {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    border-radius: 4px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s;
}


/* Hero Section */
/* Hero Section */
/* Hero Section */
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

.hero {
    position: relative;
    height: 100vh;
    /* Full screen height */
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align content to bottom */
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding-bottom: 12vh;
    /* Lowered slightly as requested */
    background-color: transparent;
    /* Changed from #111 to transparent to show video */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.9) 100%);
    /* Fade at bottom */
    z-index: 1;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background.blur-effect {
    filter: blur(8px);
    transform: scale(1.1);
    /* Scale up to hide blurred edges */
}

/* Local Video Styles */
.video-background video {
    position: absolute;
    top: 0;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%);
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    /* Height removed to allow content to sit at bottom */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align internal content to bottom */
    align-items: center;
}

.hero-text {
    margin-bottom: 0;
}

.hero-tagline {
    font-family: 'Russo One', sans-serif;
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: 'Russo One', sans-serif;
    font-size: 64px;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: uppercase;
    font-style: italic;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #B84A1F;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 90, 42, 0.3);
}

/* Hero Slider Styles (Unused) */
.hero-slider {
    display: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    /* Delay hiding so previous slide stays visible while new one fades in */
    transition: opacity 0s 1.5s;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    /* Fade in smooth */
    transition: opacity 1.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Page Header */
.page-header {
    padding: 60px 0 40px;
    background-color: var(--white);
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-tagline {
    font-size: 20px;
    color: var(--text-light);
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.blog-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form,
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 16px;
    color: var(--text-dark);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Franchise Section */
.franchise-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.franchise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.franchise-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.franchise-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.benefits-list,
.inquiry-list {
    list-style: none;
}

.benefit-item,
.inquiry-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.benefit-item span:last-child,
.inquiry-item span:last-child {
    flex: 1;
}

.checkmark {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

.franchise-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.become-partner-box {
    background-color: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.partner-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.partner-content {
    padding: 30px;
    color: var(--white);
}

.partner-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.partner-tagline {
    font-size: 18px;
}

/* Partner Logo Overlay */
.partner-image {
    position: relative;
}

.partner-logo-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.partner-logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.franchise-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-f {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {

    .hero-title,
    .page-title {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-list.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title,
    .page-title {
        font-size: 32px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .franchise-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title,
    .page-title {
        font-size: 28px;
    }

    .hero-tagline,
    .page-tagline {
        font-size: 16px;
    }

    .contact-form-wrapper,
    .contact-info-wrapper,
    .franchise-form {
        padding: 25px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* Blog Post Styles */
.blog-post-section {
    padding: 40px 0 80px;
    background-color: var(--white);
}

.blog-post-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #e55a2b;
}

.blog-post-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    gap: 10px;
    color: var(--text-light);
    font-size: 16px;
    flex-wrap: wrap;
}

.blog-post-image {
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-intro {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.6;
}

.blog-post-content h2 {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-post-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-content p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-post-content li {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.blog-post-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.blog-post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}


@media (max-width: 768px) {
    .blog-post-title {
        font-size: 32px;
    }

    .blog-post-image {
        height: 250px;
    }

    .blog-intro {
        font-size: 18px;
    }

    .blog-post-content h2 {
        font-size: 26px;
    }

    .blog-post-content h3 {
        font-size: 22px;
    }

    .blog-post-content p,
    .blog-post-content li {
        font-size: 16px;
    }

    .blog-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 18px;
}

.no-blogs {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 18px;
}

/* About Section Styles */
.about-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text ul {
    margin-bottom: 30px;
    padding-left: 30px;
}

.about-text li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.why-choose-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.why-choose-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.why-choose-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* Programs Section Styles */
.programs-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.program-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.program-icon {
    margin-bottom: 20px;
}

.program-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.program-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.program-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.program-features li {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.program-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.program-schedule {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.programs-cta {
    text-align: center;
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.programs-cta h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.programs-cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2 {
        font-size: 26px;
    }

    .about-text p,
    .about-text li {
        font-size: 16px;
    }

    .programs-cta {
        padding: 40px 25px;
    }

    .programs-cta h2 {
        font-size: 28px;
    }
}