:root {
    --color-sky-blue: #B3E0FF; /* Soft matte sky blue */
    --color-peach: #FFDAB9;   /* Soft matte peach */
    --color-lavender: #E0BBE4; /* Soft matte lavender */
    --color-mint: #C9F0DF;   /* Soft matte mint */
    --color-background: #F8F8F8; /* Off-white background */
    --color-dark-text: #333;
    --color-light-text: #666;
    --color-primary-accent: #FF8C94; /* A slightly bolder pastel for emphasis */
    --color-secondary-accent: #A9DEF9; /* Another pastel for secondary elements */

    --font-primary: 'Poppins', sans-serif;
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-clay: 8px 8px 15px rgba(0, 0, 0, 0.15), -8px -8px 15px rgba(255, 255, 255, 0.6), inset 2px 2px 5px rgba(255, 255, 255, 0.3), inset -2px -2px 5px rgba(0, 0, 0, 0.08);
    --shadow-clay-hover: 5px 5px 12px rgba(0, 0, 0, 0.1), -5px -5px 12px rgba(255, 255, 255, 0.5), inset 1px 1px 3px rgba(255, 255, 255, 0.2), inset -1px -1px 3px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    color: var(--color-dark-text);
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: var(--color-dark-text);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
    color: var(--color-dark-text);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--color-light-text);
}

a {
    color: var(--color-primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e65c66; /* Slightly darker primary accent */
}

ul {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 1.2rem;
}

li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
    color: var(--color-light-text);
}

/* Claymorphic Elements */
.claymorphic-card {
    background-color: var(--color-background);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: var(--shadow-clay);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, box-shadow;
    position: relative;
}

.claymorphic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-clay-hover);
}

.claymorphic-header {
    background-color: var(--color-sky-blue);
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.claymorphic-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    background-color: var(--color-peach);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0;
}

.main-nav a {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-primary-accent);
    border-radius: 1.5px;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    transform: translateY(-2px);
    color: var(--color-primary-accent);
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-clay);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary-accent);
    color: #fff;
}

.btn-secondary {
    background-color: var(--color-secondary-accent);
    color: var(--color-dark-text);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-clay-hover);
    filter: brightness(1.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-sky-blue) 0%, var(--color-mint) 100%);
    padding: 6rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.hero-section h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.hero-section p {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
section {
    padding: 6rem 0;
}

section:nth-of-type(even) {
    background-color: var(--color-lavender); /* Alternating background for visual separation */
}

/* About Section */
.about-section .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-section .card {
    text-align: center;
}

.about-section .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
}

.card-title-strong {
    font-size: 1.75rem;
    color: var(--color-dark-text);
    margin-bottom: 1rem;
    font-weight: 700;
    display: block; /* Ensures it acts like a block-level heading */
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-sky-blue) 100%);
}

.features-section .tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.features-section .tab-button {
    background-color: var(--color-background);
    color: var(--color-dark-text);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-clay);
}

.features-section .tab-button.active {
    background-color: var(--color-primary-accent);
    color: #fff;
    box-shadow: var(--shadow-clay-hover);
    transform: translateY(-5px);
}

.features-section .tab-pane {
    display: none;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--color-background); /* Explicitly set background for tab pane */
    box-shadow: var(--shadow-clay);
    border-radius: 25px;
    transform: translateY(10px);
    opacity: 1;
    transition: all 0.5s ease-out;
}

.features-section .tab-pane.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.features-section .tab-pane ul {
    padding-left: 0; /* Remove default padding for centered list */
    display: inline-block; /* Helps center the list */
    text-align: left; /* Aligns text within list items */
}

/* Showcase Section */
.showcase-section .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-story {
    text-align: center;
}

.showcase-story .story-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
}

.showcase-story .testimonial-quote {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--color-dark-text);
    font-size: 1.1rem;
    padding: 0 1rem;
}

.showcase-story .story-client {
    font-weight: 600;
    color: var(--color-primary-accent);
    margin-top: 1.5rem;
}

/* Carousel Sections (Gallery & Team) */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3); /* 3 items visible */
    padding: 1rem;
    text-align: center;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
}

.carousel-slide h3,
.carousel-slide .card-title-strong {
    margin-top: 1rem;
    font-size: 1.5rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background-color: var(--color-primary-accent);
    color: #fff;
    box-shadow: var(--shadow-hover);
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.team-member-card .team-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}

.team-member-card .team-role {
    font-style: italic;
    color: var(--color-primary-accent);
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--color-peach) 0%, var(--color-lavender) 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-item {
    text-align: center;
}

.testimonial-item .large-quote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-dark-text);
    line-height: 1.8;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial-item .quote-author {
    font-weight: 600;
    color: var(--color-primary-accent);
    font-size: 1.2rem;
}

/* Newsletter Section (adapted due to restrictions) */
.newsletter-section .container {
    text-align: center;
    padding: 4rem;
    max-width: 800px;
}

/* Gallery Lightbox Section */
.gallery-lightbox-section .lightbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    cursor: pointer;
    text-align: center;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.gallery-item p {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--color-dark-text);
}

.lightbox-modal {
    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);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-clay);
}

.lightbox-close:hover {
    color: var(--color-primary-accent);
    box-shadow: var(--shadow-clay-hover);
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 1; }
    to { opacity: 1; }
}

/* Contact Section (adapted due to restrictions) */
.contact-section .container {
    text-align: center;
    padding: 4rem;
    max-width: 800px;
}

/* Footer */
footer {
    background-color: var(--color-sky-blue);
    color: #fff;
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.9rem;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .main-nav ul {
        gap: 1rem;
    }

    .carousel-slide {
        flex: 0 0 calc(100% / 2); /* 2 items visible */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .main-nav a {
        font-size: 1rem;
        display: block;
        padding: 0.3rem 0;
    }

    .claymorphic-header .container {
        flex-direction: column;
    }

    .hero-section {
        padding: 4rem 0;
        min-height: auto;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .about-section .card-grid,
    .showcase-section .card-grid,
    .testimonial-grid,
    .lightbox-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }

    .carousel-slide {
        flex: 0 0 100%; /* 1 item visible */
    }

    .carousel-button {
        padding: 0.6rem 0.9rem;
        font-size: 1.2rem;
    }

    .features-section .tab-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .features-section .tab-button {
        width: 80%;
    }

    .features-section .tab-pane {
        padding: 2rem;
    }

    .lightbox-content {
        max-width: 90%;
        max-height: 70%;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}


javascript
/* 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;
}

/* Enhanced: Missing animation classes from JS */
.scroll-animate {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.scroll-animate.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;
}

/* Accessibility focus outlines */
:focus{outline:2px solid #5ac8fa;outline-offset:2px;}
:focus:not(:focus-visible){outline:none;}
