/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fdfdfd;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    height: 35px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
    padding: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #8a7b6a;
}

/* Active navigation link styling */
.nav-links a.active-link {
    color: #8a7b6a;
    border-bottom: 2px solid #8a7b6a;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 180px;
    padding: 10px 0;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown li a {
    padding: 10px 20px;
    display: block;
    color: #555;
    transition: color 0.3s ease;
}

.dropdown li a:hover {
    color: #8a7b6a;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    z-index: 999;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.bg-stair {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-logo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 250px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Main Content Sections */
#main-content {
    background: #fdfdfd;
    padding: 40px 20px;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    /* Margin-top is set dynamically by JavaScript */
}

#main-content-simple {
    background: #fdfdfd;
    padding: 40px 20px;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Typography */
h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 700;
}

h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.8;
}

blockquote {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #8a7b6a;
    border-radius: 5px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

blockquote p {
    margin-bottom: 10px;
}

blockquote p:last-child {
    margin-bottom: 0;
}

.subtitle {
    color: #8a7b6a;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
}

.closing-message {
    margin-top: 2rem;
    font-style: italic;
}

.signature {
    margin-top: 2rem;
}

/* Links and Buttons */
a {
    color: #8a7b6a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c3e50;
}

/* Consolidated button styles */
.cta-button,
.shop-button,
.cloud-button,
.story-link,
.cta-link,
.download-link {
    display: inline-block;
    background-color: #8a7b6a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.cta-button:hover,
.shop-button:hover,
.cloud-button:hover,
.story-link:hover,
.cta-link:hover,
.download-link:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Intro Sections - Consolidated */
.intro-section,
.stories-intro,
.testimonials-intro,
.success-intro,
.community-intro,
.shop-intro,
.cloud-intro,
.directory-intro,
.renewal-intro,
.contact-intro {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #8a7b6a;
}

/* Service Boxes - Consolidated */
.service-box,
.shop-cta-section,
.cloud-login-section,
.testimonials-cta,
.success-cta,
.community-join,
.contact-form-section {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-box h2,
.shop-cta-section h2,
.cloud-login-section h2,
.testimonials-cta h2,
.success-cta h2,
.community-join h2,
.contact-form-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Coming Soon Styling */
.coming-soon {
    opacity: 0.8;
    border: 2px dashed #8a7b6a;
}

.coming-soon-badge {
    display: inline-block;
    background-color: #8a7b6a;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    font-weight: 600;
}

/* Story Cards */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.story-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.story-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.story-card p {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Testimonial Cards */
.testimonials-list {
    display: grid;
    gap: 20px;
    margin: 40px 0;
}

.testimonial-card {
    background: #f5f5f5;
    padding: 20px;
    border-left: 4px solid #8a7b6a;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.8;
}

.testimonial-author {
    color: #8a7b6a;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Success Stories */
.success-stories-list {
    display: grid;
    gap: 20px;
    margin: 40px 0;
}

.success-story-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.success-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.success-story-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.story-highlight {
    color: #8a7b6a;
    font-weight: 600;
    font-style: italic;
    margin-top: 10px;
}

/* Community Voices */
.community-voices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.voice-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.voice-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.voice-author {
    color: #8a7b6a;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Renewal Cards */
.renewal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.renewal-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.renewal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.renewal-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.renewal-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #333;
}

.renewal-link {
    display: inline-block;
    color: #8a7b6a;
    font-weight: 600;
    transition: color 0.3s ease;
}

.renewal-link:hover {
    color: #2c3e50;
}

.renewal-link.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8a7b6a;
    box-shadow: 0 0 5px rgba(138, 123, 106, 0.3);
}

.submit-button {
    background-color: #8a7b6a;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Contact Info */
.contact-info-section {
    margin: 40px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-info-card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #8a7b6a;
}

.contact-info-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 1rem;
    color: #333;
}

.contact-info-card a {
    color: #8a7b6a;
    font-weight: 600;
}

.contact-info-card a:hover {
    color: #2c3e50;
}

/* Social Media */
.social-media-section {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-media-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #8a7b6a;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #2c3e50;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tooltip for links with title attribute */
a[title] {
    position: relative;
}

a[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 0;
    background-color: #2c3e50;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Aromatherapy Section */
.aromatherapy-intro {
    line-height: 1.8;
    max-width: 100%;
}

.aromatherapy-intro img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
}

/* Image positioning for text flow */
.aromatherapy-intro img:nth-of-type(1) {
    float: left;
    margin-right: 20px;
    width: 245px;
    margin-top: 10px;
}

.aromatherapy-intro img:nth-of-type(2) {
    float: right;
    margin-left: 20px;
    width: 245px;
    margin-top: 10px;
}

.aromatherapy-intro img:nth-of-type(3) {
    float: left;
    margin-right: 20px;
    width: 200px;
    margin-top: 10px;
}

.aromatherapy-intro img:nth-of-type(4) {
    float: right;
    margin-left: 20px;
    width: 200px;
    margin-top: 10px;
}

.aromatherapy-intro img:nth-of-type(5) {
    float: left;
    margin-right: 20px;
    width: 250px;
    margin-top: 10px;
}

.aromatherapy-intro::after {
    content: "";
    display: table;
    clear: both;
}

.herbal-garden {
    text-align: center;
    margin-top: 40px;
}

.herbal-garden img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 20px 20px;
    margin-top: 60px;
    border-top: 4px solid #8a7b6a;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #8a7b6a;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8a7b6a;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #8a7b6a;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background-color: #fff;
    color: #2c3e50;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 8px 0;
    color: #aaa;
}

.footer-bottom a {
    color: #8a7b6a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive Design */
/* Tablets and larger mobile devices */
@media (max-width: 1200px) {
    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-logo {
        height: 50px;
        margin-right: 20px;
    }

    .nav-container {
        padding: 0.5rem 1rem;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        max-height: 700px;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        padding: 10px;
    }

    .dropdown {
        position: static !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: none;
        border-top: 1px solid #eee;
        width: 100%;
        padding: 0;
    }

    .dropdown.active {
        max-height: 300px;
    }

    .dropdown li {
        padding: 10px 0;
    }

    .dropdown li a {
        padding: 8px;
        font-size: 0.9rem;
        color: #8a7b6a;
    }

    .has-dropdown:hover .dropdown {
        display: none;
    }

    /* Adjust main content margins for tablets */
    #main-content-simple {
        margin-top: 80px;
    }

    .stories-grid,
    .community-voices,
    .renewal-grid {
        grid-template-columns: 1fr;
    }

    .success-stories-list,
    .testimonials-list {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Small devices and smartphones */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
    }

    .floating-logo {
        max-width: 200px;
        top: 35%;
    }

    .bg-stair {
        object-position: center;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    .content {
        padding: 0 15px;
        margin: 20px auto;
    }

    /* Responsive image positioning for aromatherapy section */
    .aromatherapy-intro img {
        float: none !important;
        margin: 15px auto !important;
        width: 90% !important;
        max-width: 300px;
    }

    .herbal-garden img {
        width: 90%;
        max-width: 300px;
    }

    /* Footer responsive */
    footer {
        padding: 30px 15px 15px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-social-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* Contact form responsive */
    .contact-form-section {
        padding: 20px;
    }

    .social-links {
        gap: 15px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Ensure main content is always visible */
#main-content-simple,
#main-content {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}