:root {
    --color-sky-blue: #A7D7E9;
    --color-peach: #FFC0B3;
    --color-lavender: #D2B7E1;
    --color-mint: #B9E6D5;
    --color-dark-text: #333;
    --color-light-text: #fff;
    --color-grey-text: #666;
    --color-background: #F0F2F5; /* Light grey for contrast */
    --font-primary: 'Poppins', sans-serif;
    --shadow-depth-1: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    --shadow-depth-2: 0 8px 16px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
    --border-radius-large: 25px;
    --border-radius-medium: 15px;
    --border-radius-small: 8px;
    --transition-ease: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-medium);
}

a {
    text-decoration: none;
    color: inherit;
}

.button {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--color-peach);
    color: var(--color-light-text);
    border-radius: var(--border-radius-large);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-depth-1);
    transition: var(--transition-ease);
    cursor: pointer;
    border: none;
    text-align: center;
}

.button:hover {
    background-color: #f7a99b; /* Slightly darker peach */
    box-shadow: var(--shadow-depth-2);
    transform: translateY(-3px);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-dark-text);
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--color-grey-text);
}

/* Claymorphic general card styling (not directly used for all, but for reference) */
.clay-card {
    background-color: #fff;
    border-radius: var(--border-radius-large);
    padding: 30px;
    box-shadow: var(--shadow-depth-1);
    transition: var(--transition-ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.clay-card:hover {
    box-shadow: var(--shadow-depth-2);
    transform: translateY(-5px);
}

/* Header & Navigation */
.header {
    background-color: var(--color-background);
    padding: 20px 0;
    box-shadow: var(--shadow-depth-1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark-text);
    padding: 8px 15px;
    background-color: var(--color-sky-blue);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-depth-1);
    transition: var(--transition-ease);
}

.site-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-depth-2);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-grey-text);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-peach);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-dark-text);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    padding: 60px 20px;
    gap: 40px;
    background-color: var(--color-background);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    padding-right: 40px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-dark-text);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-grey-text);
    margin-bottom: 25px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-depth-2);
    object-fit: cover;
    width: 100%;
    height: 500px;
    max-width: 600px;
}

/* Claymorphic blob effect for hero image background */
.hero-image::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    background-color: var(--color-mint);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; /* Blob shape */
    filter: blur(50px);
    opacity: 1;.6;
    z-index: -1;
}

/* Specific button styling for Hero */
.hero-content .button {
    background-color: var(--color-sky-blue);
    color: var(--color-dark-text);
}

.hero-content .button:hover {
    background-color: #8ac0d4;
    transform: translateY(-4px);
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.about-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.about-content {
    flex: 2;
    padding-right: 30px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--color-grey-text);
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    margin-top: 30px;
    padding-left: 0;
}

.about-list li {
    font-size: 1.05rem;
    color: var(--color-dark-text);
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    font-weight: 500;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-color: var(--color-peach);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-depth-2);
    object-fit: cover;
    width: 100%;
    height: 400px;
}

/* Claymorphic blob for about image */
.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-color: var(--color-lavender);
    border-radius: 60% 40% 30% 70% / 60% 40% 70% 30%; /* Another blob shape */
    filter: blur(40px);
    opacity: 1;.5;
    z-index: -1;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--color-mint);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--color-peach);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 1;.4;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: var(--color-sky-blue);
    border-radius: 50% 30% 60% 40% / 70% 30% 50% 50%;
    filter: blur(100px);
    opacity: 1;.3;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-large);
    padding: 30px;
    box-shadow: var(--shadow-depth-1);
    transition: var(--transition-ease);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    box-shadow: var(--shadow-depth-2);
    transform: translateY(-5px);
}

.feature-visual {
    width: 100%;
    height: 200px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensure image fits */
}

.feature-visual img {
    border-radius: var(--border-radius-medium);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: cover;
    height: 100%;
    width: 100%;
}


.feature-heading {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-dark-text);
}

.feature-text {
    font-size: 1rem;
    color: var(--color-grey-text);
    margin-bottom: 25px;
    flex-grow: 1;
}

.feature-link {
    display: inline-block;
    color: var(--color-peach);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.feature-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-peach);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.feature-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Achievements Timeline */
.achievements-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-lavender);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    box-shadow: var(--shadow-depth-1);
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
    text-align: left;
}

.timeline-content {
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-depth-1);
    transition: var(--transition-ease);
}

.timeline-content:hover {
    box-shadow: var(--shadow-depth-2);
    transform: translateY(-3px);
}

.timeline-item::after { /* Claymorphic "dot" on the timeline */
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -14px;
    background-color: var(--color-peach);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: var(--shadow-depth-1);
}

.timeline-item:nth-child(even)::after {
    left: -14px;
}

.timeline-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-sky-blue);
    margin-bottom: 10px;
}

.timeline-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark-text);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--color-grey-text);
}

/* Gallery Section (Category Tabs + Lightbox) */
.gallery-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: #fff;
    color: var(--color-grey-text);
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius-large);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-depth-1);
    transition: var(--transition-ease);
}

.tab-button:hover {
    box-shadow: var(--shadow-depth-2);
    transform: translateY(-3px);
}

.tab-button.active {
    background-color: var(--color-lavender);
    color: var(--color-light-text);
    box-shadow: var(--shadow-depth-2);
    transform: translateY(-2px);
}

.gallery-tabs {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-pane.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-grid img {
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-depth-1);
    cursor: pointer;
    transition: var(--transition-ease);
    object-fit: cover;
    width: 100%;
    height: 250px; /* Fixed height for consistent grid */
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-depth-2);
}

/* Lightbox styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s linear;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    animation: zoomIn 0.3s ease-out;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-depth-2);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--color-light-text);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 1; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 1; }
    to { transform: scale(1); opacity: 1; }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--color-sky-blue);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before { /* Blob */
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background-color: var(--color-peach);
    border-radius: 50% 70% 30% 60% / 60% 40% 70% 30%;
    filter: blur(100px);
    opacity: 1;.5;
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius-large);
    padding: 30px;
    box-shadow: var(--shadow-depth-1);
    transition: var(--transition-ease);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-depth-2);
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-dark-text);
}

.testimonial-handle {
    font-size: 0.9rem;
    color: var(--color-grey-text);
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--color-grey-text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-date {
    font-size: 0.85rem;
    color: #999;
    align-self: flex-end; /* Align to bottom right within card */
}

/* FAQ Section (Interactive Chat) */
.faq-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.faq-chat-container {
    max-width: 800px;
    margin: 50px auto 0;
    background-color: #fff;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-depth-2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.chat-message {
    padding: 15px 20px;
    border-radius: var(--border-radius-large);
    max-width: 85%;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.bot-message {
    background-color: var(--color-mint);
    color: var(--color-dark-text);
    align-self: flex-start;
    border-bottom-left-radius: var(--border-radius-small); /* For chat bubble effect */
}

.user-message {
    background-color: var(--color-peach);
    color: var(--color-light-text);
    align-self: flex-end;
    cursor: pointer;
    transition: var(--transition-ease);
    border-bottom-right-radius: var(--border-radius-small); /* For chat bubble effect */
}

.user-message:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-depth-1);
}

.faq-answer {
    display: none; /* Hidden by default */
    background-color: var(--color-mint);
    color: var(--color-dark-text);
    align-self: flex-start;
    border-bottom-left-radius: var(--border-radius-small);
}

.faq-answer p {
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background-color: var(--color-lavender);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before { /* Blob */
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 250px;
    height: 250px;
    background-color: var(--color-sky-blue);
    border-radius: 30% 70% 50% 50% / 70% 30% 60% 40%;
    filter: blur(80px);
    opacity: 1;.5;
    z-index: 0;
}

.newsletter-cta {
    background-color: #fff;
    border-radius: var(--border-radius-large);
    padding: 40px;
    box-shadow: var(--shadow-depth-2);
    max-width: 700px;
    margin: 50px auto 0;
    text-align: center;
    z-index: 1;
    position: relative;
}

.newsletter-cta p {
    font-size: 1.25rem;
    color: var(--color-dark-text);
    margin-bottom: 30px;
    font-weight: 500;
}

.newsletter-cta .button {
    background-color: var(--color-peach);
    color: var(--color-light-text);
}

.newsletter-cta .button:hover {
    background-color: #f7a99b;
}

/* Footer */
.footer {
    background-color: var(--color-dark-text);
    color: var(--color-light-text);
    padding: 40px 0;
    text-align: center;
    border-top: 5px solid var(--color-peach);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-sky-blue);
}

.footer p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ccc;
}

.footer-note {
    font-style: italic;
    margin-top: 20px;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-image img {
        height: 400px;
    }

    .about-grid {
        flex-direction: column;
    }

    .about-content {
        padding-right: 0;
    }

    .features-grid,
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
        padding-right: 20px; /* Reset padding for odd items */
    }

    .timeline-item:nth-child(odd)::after {
        left: 10px; /* Adjust dot position for odd items */
        right: auto;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 10px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hiding for simplicity on small screens */
    }

    .nav-bar {
        justify-content: center;
    }

    .site-logo {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid,
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: 1fr; /* Stack to 1 column */
    }

    .tab-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .tab-button {
        width: 100%;
    }

    .faq-chat-container {
        padding: 20px;
    }

    .chat-message {
        max-width: 95%;
        font-size: 0.95rem;
    }

    .lightbox-close {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }

    .footer-logo {
        font-size: 1.7rem;
    }
}

/* Ensure no empty divs are styled (failsafe) */
div:empty:not(#lightbox) { /* #lightbox is empty until populated, so exclude */
  display: none;
}

/* 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);
}

/* Universal Icon Fixes for Buttons */
button svg, .carousel-next svg, .carousel-prev svg, .slider-next svg, .slider-prev svg,
.next svg, .prev svg, .tab-button svg, .tab-btn svg {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

button i, .carousel-next i, .carousel-prev i, .slider-next i, .slider-prev i,
.next i, .prev i, .tab-button i, .tab-btn i {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    font-style: normal;
}

button .icon, .carousel-next .icon, .carousel-prev .icon,
.slider-next .icon, .slider-prev .icon, .tab-button .icon {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
}

/* Ensure carousel buttons are clickable even with icons */
.carousel-next, .carousel-prev, .slider-next, .slider-prev,
.next, .prev, .next-btn, .prev-btn {
    cursor: pointer;
    position: relative;
}

.carousel-next *, .carousel-prev *, .slider-next *, .slider-prev *,
.next *, .prev *, .next-btn *, .prev-btn * {
    pointer-events: none;
}

/* Tab button icon fixes */
.tab-button, .tab-btn, .tab {
    cursor: pointer;
    position: relative;
}

.tab-button *, .tab-btn *, .tab * {
    pointer-events: none;
}

/* Ensure icons don't block clicks */
button > svg, button > i, button > .icon,
.carousel-next > svg, .carousel-prev > svg,
.tab-button > svg, .tab-button > i {
    pointer-events: none !important;
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
