:root {
    --primary-color: #0B3D2E;
    /* Deeper, more luxurious Forest Green */
    --secondary-color: #D4AF37;
    /* Soft Gold */
    --bg-color: #FDFCF8;
    /* Warm Off-White */
    --text-color: #333333;
    --light-text: #666666;
    --section-bg: #F5F3F0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
    hyphens: none;
    /* Prevent ugly word wrapping on mobile */
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

html {
    scroll-behavior: smooth;
}

.section {
    padding: 5rem 0;
    scroll-margin-top: 100px;
    /* Offset for fixed header */
}

/* Ensure sub-pages content starts below the fixed header */
main.section {
    padding-top: 8rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 252, 248, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.8rem 0;
    /* Slightly slimmer for more video space */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo image styling */
.header .logo {
    display: inline-block;
    transition: opacity 0.3s ease;
    display: flex;
    /* Align center */
    align-items: center;
}

.header .logo img {
    height: 75px;
    /* Increased significantly for thin font readability */
    width: auto;
    object-fit: contain;
}

.header .logo:hover {
    opacity: 0.8;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-color);
}

.nav-list a:hover {
    color: var(--secondary-color);
}

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: var(--primary-color) !important;
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 65vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background-color: #06020e;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center 20%;
    /* Desktop focus */
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 5;
    /* Above the fade and video */
    animation: fadeInUp 1.2s ease-out;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Slight darkening for text clarity */
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.1;
    /* Ensure white text on video */
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 2.5rem;
}

/* About */
.about {
    text-align: center;
}

.about-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    gap: 3rem;
}

.about-text.info-card {
    max-width: 100%;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: left;
    /* Reverted to left-aligned */
}

.about-image {
    max-width: 500px;
    /* Limit image size in centered layout */
    width: 100%;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(11, 61, 46, 0.1);
    /* Subtle primary color border */
}

/* Certificate Styling */
.cert-section-box {
    margin-top: 4rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

.cert-card {
    margin-top: 3rem !important;
    max-width: 100% !important;
}

.cert-card-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.cert-card-text {
    flex: 1;
}

.cert-card-text p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.cert-card-image {
    flex: 0 0 280px;
    display: flex;
    justify-content: flex-end;
}

.cert-link {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(11, 61, 46, 0.1);
}

.cert-link:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.cert-thumb {
    width: 100%;
    height: auto;
    display: block;
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 46, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.cert-link:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    border: 1px solid #fff;
}

@media (max-width: 992px) {
    .cert-card-content {
        gap: 2rem;
    }

    .cert-card-image {
        flex: 0 0 220px;
    }
}

@media (max-width: 768px) {
    .cert-card-content {
        flex-direction: column;
        text-align: center;
    }

    .cert-card-image {
        flex: 0 0 auto;
        justify-content: center;
        width: 100%;
    }

    .cert-link {
        max-width: 260px;
    }
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: #888;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services */
.services {
    background-color: var(--section-bg);
    position: relative;
    overflow: hidden;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: #fff;
    padding: 3.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(13, 61, 46, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: var(--section-bg);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
    transition: all 0.5s ease;
    transform: rotate(-10deg);
}

.service-card:hover .service-icon {
    transform: rotate(0deg) scale(1.1);
    background: #fff;
    color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.service-card h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--secondary-color);
}

.service-list {
    text-align: left;
    margin-top: 1rem;
    width: 100%;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    color: var(--text-color);
    font-size: 0.9rem;
}

.service-list li::before {
    content: '◈';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.service-list li strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card-full {
    grid-column: 1 / -1;
    text-align: left;
    padding: 2.5rem;
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #fcfbf7 100%);
}

.service-card-full .service-icon {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 120px;
    height: 120px;
    font-size: 4rem;
}

.service-card-full .card-content {
    flex-grow: 1;
}

.service-card-full h3 {
    text-align: left;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

.service-card-full h3::after {
    left: 0;
    transform: none;
    width: 60px;
}

.service-card-full p {
    margin-bottom: 1.5rem;
}

.service-card-full .service-call-to-action {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 1.5rem;
}

@media (max-width: 992px) {
    .service-card-full {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
    }
    .service-card-full h3 {
        text-align: center;
    }
    .service-card-full h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}


/* Energy Work & Chakras Info */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: flex-start;
    justify-items: center;
    margin-bottom: 48px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    width: 100%;
    max-width: 100%;
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(13, 61, 46, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.info-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.info-card:hover::after {
    transform: scaleX(1);
}


.info-card h2 {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 700;
}

.legal-content .info-card h2 {
    font-size: 1.4rem;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

.legal-content .info-card h3 {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-weight: 700;
}

.legal-content section {
    margin-bottom: 3rem;
    position: relative;
}

.legal-content section:last-of-type {
    margin-bottom: 0;
}

.info-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.info-card p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.contact-info {
    padding: 2rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 12px;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-symbol {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.contact-symbol:hover {
    opacity: 0.8;
}

.contact-symbol img {
    width: 140px;
    height: auto;
}

@media (max-width: 768px) {
    .contact-symbol {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        opacity: 0.6;
        /* Balanced opacity for mobile */
    }

    .contact-symbol img {
        width: 120px;
        /* Adjusted size for mobile */
    }
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-links a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .header .container {
        padding: 0 1.5rem;
    }

    .header .logo img {
        height: 55px;
        /* Scaled up for mobile legibility */
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
    }

    .hero-title {
        font-size: 1.8rem;
        /* Scaled down further to prevent line breaks */
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .legal-content .info-card h2 {
        font-size: 1.25rem;
    }

    .legal-content .info-card h3 {
        font-size: 1.1rem;
    }

    .header {
        background-color: rgba(253, 252, 248, 0.98);
        /* Solid header on mobile for better menu contrast */
    }

    .hero {
        height: 75vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 1.5rem;
        z-index: 10;
    }

    .hero-video {
        object-fit: cover;
        object-position: center top;
        margin-top: 60px;
        /* Pushes the video down so the head is NOT under the menu! */
        height: calc(100% - 60px);
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        gap: 2rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}