:root {
    --color-primary-green: #4CAF50;
    --color-secondary-green: #8BC34A;
    --color-earth-brown: #795548;
    --color-light-brown: #A1887F;
    --color-sky-blue: #03A9F4;
    --color-dark-sky-blue: #2196F3;
    --color-warm-white: #F5F5DC;
    --color-off-white: #FFFAF0;
    --color-text-dark: #333;
    --color-text-light: #fdfdfd;

    --font-heading: 'Source Sans Pro', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-organic: 'Lato', sans-serif;

    --border-radius-soft: 15px;
    --transition-speed: 0.3s ease-in-out;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-off-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--color-primary-green);
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-dark-sky-blue);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 0.8em;
    color: var(--color-earth-brown);
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Header */
header {
    background-color: var(--color-warm-white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 600;
    color: var(--color-primary-green);
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--color-earth-brown);
    font-weight: 400;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-green);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: url('images/image_13.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    isolation: isolate;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(76, 175, 80, 0.4), rgba(3, 169, 244, 0.4));
    z-index: -1;
}

.hero-content {
    color: var(--color-text-light);
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-soft);
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: var(--color-off-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3em;
    color: var(--color-off-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* About Section - Interactive Map */
.about-section {
    background-color: var(--color-warm-white);
    text-align: center;
}

.about-map {
    position: relative;
    width: 80%;
    max-width: 900px;
    height: 200px;
    margin: 60px auto 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.map-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary-green), var(--color-sky-blue));
    border-radius: 2px;
    z-index: 1;
}

.map-point {
    width: 20px;
    height: 20px;
    background-color: var(--color-primary-green);
    border: 3px solid var(--color-off-white);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform var(--transition-speed), background-color var(--transition-speed);
}

.map-point:hover {
    transform: scale(1.2);
    background-color: var(--color-sky-blue);
}

.map-point.point-1 { left: 0; transform: translateY(-20px); }
.map-point.point-2 { left: 33%; transform: translateY(20px); }
.map-point.point-3 { left: 66%; transform: translateY(-20px); }
.map-point.point-4 { right: 0; transform: translateY(20px); } /* Changed left to right for point-4 */


.map-overlay-info {
    position: absolute;
    top: calc(50% + 50px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-earth-brown);
    color: var(--color-off-white);
    padding: 15px 20px;
    border-radius: var(--border-radius-soft);
    width: 80%;
    max-width: 400px;
    opacity: 1;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed), transform var(--transition-speed);
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-overlay-info.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.map-overlay-info h3 {
    color: var(--color-warm-white);
    margin-bottom: 5px;
}
.map-overlay-info p {
    font-size: 0.9em;
    color: var(--color-off-white);
}

/* Team Section */
.team-section {
    background-color: var(--color-off-white);
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    position: relative;
    border-radius: var(--border-radius-soft);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-speed);
}

.team-member:hover {
    transform: translateY(-8px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.team-member .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(76, 175, 80, 0.8);
    color: var(--color-off-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity var(--transition-speed);
    padding: 20px;
    text-align: center;
}

.team-member:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    color: var(--color-off-white);
    margin-bottom: 5px;
}
.overlay p {
    font-size: 0.9em;
    color: var(--color-off-white);
}

/* Testimonials Carousel */
.testimonials-section {
    background-color: var(--color-warm-white);
    text-align: center;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 40px auto 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--color-off-white);
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.testimonial-item {
    flex-shrink: 0;
    width: 100%;
    padding: 40px;
    text-align: center;
    background-color: var(--color-off-white);
}

.testimonial-item p {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--color-earth-brown);
}

.testimonial-item span {
    font-weight: 600;
    color: var(--color-primary-green);
    font-family: var(--font-organic);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-light-brown);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.carousel-dots .dot.active,
.carousel-dots .dot:hover {
    background-color: var(--color-primary-green);
    transform: scale(1.1);
}

/* Offerings (Pricing) Section - Single Plan */
.offerings-section {
    background-color: var(--color-off-white);
    text-align: center;
}

.offering-card {
    background-color: var(--color-warm-white);
    border-radius: var(--border-radius-soft);
    padding: 50px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.offering-card h3 {
    font-size: 2.5em;
    color: var(--color-primary-green);
    margin-bottom: 10px;
}

.offering-card .subtitle {
    font-size: 1.3em;
    color: var(--color-earth-brown);
    margin-bottom: 30px;
    font-family: var(--font-organic);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    background-color: var(--color-off-white);
    padding: 25px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-left: 5px solid var(--color-secondary-green);
}

.feature-item h4 {
    color: var(--color-primary-green);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.95em;
    color: var(--color-text-dark);
}

.add-ons {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed var(--color-light-brown);
    text-align: left;
}

.add-ons h4 {
    color: var(--color-sky-blue);
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
}

.add-on-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    background-color: rgba(3, 169, 244, 0.1);
    padding: 15px 20px;
    border-radius: var(--border-radius-soft);
}

.add-on-item span {
    font-weight: 600;
    color: var(--color-dark-sky-blue);
    margin-bottom: 5px;
}

.add-on-item p {
    font-size: 0.9em;
    color: var(--color-text-dark);
}


/* FAQ Section - Interactive Chat */
.faq-section {
    background-color: var(--color-off-white);
    text-align: center;
}

.chat-faq-container {
    max-width: 700px;
    margin: 40px auto;
    background-color: var(--color-warm-white);
    border-radius: var(--border-radius-soft);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-message {
    padding: 15px 20px;
    border-radius: 20px;
    max-width: 80%;
    position: relative;
    font-family: var(--font-organic);
}

.user-question {
    background-color: var(--color-primary-green);
    color: var(--color-off-white);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.user-question:hover {
    background-color: var(--color-secondary-green);
}

.bot-answer {
    background-color: var(--color-sky-blue);
    color: var(--color-off-white);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden; /* Hide overflow content during height transition */
    transition: opacity var(--transition-speed), visibility var(--transition-speed), max-height var(--transition-speed);
}

.bot-answer.active {
    opacity: 1;
    visibility: visible;
    max-height: 200px; /* Sufficient height for expected answers */
}

.bot-answer .bot-text {
    display: block;
}


/* Gallery Section - Lightbox Gallery */
.gallery-section {
    background-color: var(--color-warm-white);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-soft);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--border-radius-soft);
    animation: zoomIn 0.3s forwards;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 1; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--color-off-white);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--color-primary-green);
    text-decoration: none;
    cursor: pointer;
}


/* Newsletter Section - Centered Signup (Mockup) */
.newsletter-section {
    background-color: var(--color-off-white);
    text-align: center;
    padding: 60px 0;
}

.newsletter-section h2 {
    color: var(--color-earth-brown);
    margin-bottom: 15px;
}

.newsletter-section p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: var(--color-text-dark);
}

.newsletter-mockup {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--color-warm-white);
    padding: 30px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(161, 136, 127, 0.2);
}

.newsletter-mockup p {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: var(--color-light-brown);
}

.mock-input {
    background-color: var(--color-off-white);
    border: 1px solid var(--color-light-brown);
    border-radius: 8px;
    padding: 15px 20px;
    font-family: var(--font-body);
    font-size: 1em;
    color: var(--color-text-dark);
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
}

.mock-button {
    background-color: var(--color-primary-green);
    color: var(--color-off-white);
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: default;
    display: inline-block;
    transition: background-color var(--transition-speed);
}


/* Footer */
footer {
    background-color: var(--color-earth-brown);
    color: var(--color-off-white);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9em;
}

footer p:first-child {
    margin-bottom: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .team-grid, .features-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 20px;
    }

    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }

    .about-map {
        height: 150px;
        width: 90%;
    }
    .map-point.point-1 { transform: translateY(-15px); }
    .map-point.point-2 { transform: translateY(15px); }
    .map-point.point-3 { transform: translateY(-15px); }
    .map-point.point-4 { transform: translateY(15px); }

    .offering-card {
        padding: 30px;
    }

    .testimonial-item {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }

    .team-grid, .features-grid, .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    section {
        padding: 60px 0;
    }

    .offering-card {
        padding: 20px;
    }
    .features-grid {
        gap: 15px;
    }

    .chat-message {
        max-width: 95%;
        padding: 12px 15px;
    }

    .map-overlay-info {
        max-width: 90%;
        top: calc(50% + 40px);
    }
    .map-point {
        width: 15px;
        height: 15px;
    }
    .about-map {
        height: 120px;
    }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
