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

:root {
    --primary-color: #8e7cb4;
    --secondary-color: #a89dc9;
    --accent-color: #8e7cb4;
    --text-color: #000000;
    --text-light: #989898;
    --bg-color: #ffffff;
    --bg-light: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --error-color: #e74c3c;
}

body {
    font-family: 'Varela', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

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

/* Header and Navigation */
header {
    background: linear-gradient(to right, rgba(142, 124, 180, 0.7), rgba(142, 124, 180, 1));
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.navbar {
    padding: 1rem 0;
    position: relative;
}

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

.logo-img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-menu a {
    color: #ffffff;
    background-color: transparent;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.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: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Sections */
.hero {
    position: relative;
    background-color: #000000;
    color: white;
    padding: 4rem 0;
    min-height: 500px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ffffff;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.page-hero {
    position: relative;
    background-color: #000000;
    color: white;
    padding: 6rem 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

/* Page-specific hero backgrounds */
.page-hero.about-hero {
    background-image: url('/live-assets/images/flower.jpg');
}

.page-hero.essential-oils-hero {
    background-image: url('/live-assets/images/20190312_123306.jpg');
}

.page-hero.wellness-hero {
    background-image: url('/live-assets/images/plant.jpeg');
}

.page-hero.education-hero,
.page-hero.education-child-hero {
    background-image: url('/live-assets/images/succulent.jpeg');
}

.page-hero.contact-hero {
    background-image: url('/live-assets/images/flower-patch.jpeg');
}

/* Section Styles */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.mission,
.about-content,
.essential-oils-intro,
.wellness-intro,
.education-intro,
.contact-content {
    background-color: var(--bg-light);
}

/* Grid Layouts */
.services-grid,
.benefits-grid,
.values-grid,
.programs-grid,
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Card Styles */
.service-card,
.benefit-card,
.value-card,
.program-card,
.topic-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.benefit-card:hover,
.value-card:hover,
.program-card:hover,
.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-card h3,
.benefit-card h3,
.value-card h3,
.program-card h3,
.topic-card h3 {
    margin-bottom: 1rem;
}

.service-card p,
.benefit-card p,
.value-card p,
.program-card p,
.topic-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Varela', sans-serif;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background-color: #a89dc9;
}

/* Video Info Section */
.video-info-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.video-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.video-info-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Video Section (for other pages) */
.video-section {
    background-color: var(--bg-light);
}

/* Wellness Intro Section */
.wellness-intro {
    padding: 4rem 0;
    background-color: var(--bg-color);
    text-align: center;
}

.wellness-intro h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.wellness-intro blockquote {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: left;
    font-style: italic;
}

/* Wellness Programs Section */
.wellness-programs-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.wellness-programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.wellness-programs-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.wellness-programs-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.wellness-list {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.wellness-list li {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.education-links-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.education-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

/* CTA Section */
.cta,
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cta h2,
.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p,
.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* About Page Specific */
.about-content > .container > h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.about-intro {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.founder-section {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.founder-image {
    flex: 0 0 300px;
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.founder-info {
    flex: 1;
}

.founder-info h2,
.founder-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.founder-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.founder-info .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Lists */
.quality-list,
.approach-list,
.resources-list {
    list-style: none;
    margin-top: 1.5rem;
}

.quality-list li,
.approach-list li,
.resources-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: var(--text-light);
}

.quality-list li:before,
.approach-list li:before,
.resources-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Form */
.contact-form-wrapper {
    width: 100%;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Varela', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-message.error {
    background-color: #f8d7da;
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* Footer */
footer {
    background-color: #000000;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.6);
}

/* Products Grid */
.products {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 1rem 0;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-card .btn {
    margin-top: auto;
}

/* Wellness Programs Grid */
.wellness-programs {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.wellness-programs .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-section {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    color: white;
    text-align: center;
}

.program-section h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.program-section p {
    color: white;
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .wellness-programs .container {
        grid-template-columns: 1fr;
    }
}

/* Education Links Section */
.education-links {
    padding: 4rem 0;
    background-color: var(--bg-light);
    text-align: center;
}

.education-links h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.education-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .education-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Education Topics List (for other pages) */
.education-topics {
    list-style: none;
    margin-top: 2rem;
}

.education-topics li {
    padding: 1rem 0 1rem 2rem;
    position: relative;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.education-topics li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.education-topics li:last-child {
    border-bottom: none;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-info strong {
    color: var(--text-color);
}

/* Hero Description */
.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Mission CTA */
.mission-cta {
    margin-top: 2rem;
    text-align: center;
}

/* Contact Form Section */
.contact-form-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
}

.contact-form-section h2 {
    text-align: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-form-section .contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-section p {
    text-align: center;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
}

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

/* Education Intro */
.education-intro {
    padding: 4rem 0;
    background-color: var(--bg-color);
    text-align: center;
}

.education-intro h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Education Main Grid */
.education-main {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.education-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.education-content p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

.education-links h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.education-links .education-buttons-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .education-links .education-buttons-grid {
        grid-template-columns: 1fr;
    }
}

/* Education Tabs Navigation - File Folder Style */
.education-tabs {
    background-color: transparent;
    padding: 0;
}

.education-tabs .container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    padding: 0 50px;
}

.education-tab {
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #ffffff;
    border: 2px solid var(--border-color);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    position: relative;
    bottom: -2px;
}

.education-tab:hover {
    background-color: #f8f8f8;
    color: var(--primary-color);
}

.education-tab.active {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--border-color);
    font-weight: 600;
}

@media (max-width: 992px) {
    .education-tabs .container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto) auto;
    }

    .education-tab:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .education-tabs .container {
        padding: 0 20px;
    }

    .education-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Education Child Pages */
.education-child-intro {
    padding: 4rem 0;
    background-color: var(--bg-color);
    text-align: center;
}

.education-child-intro h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.education-child-intro p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.education-child-content {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.education-child-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.education-child-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.education-child-content h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-child-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.education-child-content ul {
    list-style-position: inside;
    margin: 1rem 0 2rem 1rem;
}

.education-child-content ul li {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.oil-entry {
    margin-bottom: 2rem;
}

.oil-entry h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.oil-entry h3 em {
    font-weight: normal;
    font-size: 1rem;
    color: var(--text-light);
}

.oil-entry p {
    color: var(--text-color);
    line-height: 1.8;
}

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

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(142, 124, 180, 1);
        flex-direction: column;
        padding: 0.5rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        gap: 0.25rem;
        z-index: 1000;
    }

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

    .nav-menu li {
        width: 100%;
        list-style: none;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.5rem 1rem;
        color: #ffffff;
        background-color: transparent;
        border-radius: 8px;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: #ffffff;
        color: var(--primary-color);
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .video-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wellness-programs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .founder-section {
        flex-direction: column;
    }

    .founder-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
    }

    .services-grid,
    .benefits-grid,
    .values-grid,
    .programs-grid,
    .topics-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    section {
        padding: 2rem 0;
    }
}
