/* Variables for Colors and Fonts */
:root {
    --color-red: #FF0000;
    --color-teal: #008080;
    --color-black: #000000;
    --color-yellow: #FFFF00;
    --color-white: #FFFFFF;
    --color-dark-gray: #333333;

    --font-display: 'Bebas Neue', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-narrative: 'Lora', serif;
}

/* Global Reset and Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-dark-gray);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from chaotic design */
    background-color: var(--color-white); /* Base background */
}

/* Typography Mix */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-black);
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 8vw, 6rem); font-family: var(--font-display); }
h2 { font-size: clamp(2rem, 6vw, 4.5rem); font-family: var(--font-serif); text-transform: none; }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-family: var(--font-sans); }
p { font-family: var(--font-narrative); font-size: clamp(1rem, 2vw, 1.2rem); }
a { text-decoration: none; color: var(--color-teal); transition: color 0.3s ease, transform 0.1s ease-out; }
a:hover { color: var(--color-red); transform: translateY(-2px); }

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 0.8em 2em;
    background-color: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease-out, box-shadow 0.2s ease;
    border-radius: 3px;
    box-shadow: 5px 5px 0px var(--color-teal);
    letter-spacing: 0.1em;
}

.cta-button:hover {
    background-color: var(--color-yellow);
    color: var(--color-black);
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--color-red);
}

/* Header and Navigation */
.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem clamp(1rem, 5vw, 3rem);
    border-bottom: 2px solid var(--color-red);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-yellow);
    letter-spacing: 0.2em;
    transform: rotate(-3deg);
    transition: transform 0.2s ease-out, color 0.2s ease;
    text-shadow: 3px 3px 0 var(--color-teal);
}

.site-logo:hover {
    transform: rotate(3deg) scale(1.05);
    color: var(--color-red);
    text-shadow: 2px 2px 0 var(--color-black);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: clamp(1rem, 3vw, 2.5rem);
    transform: skewX(-10deg);
}

.nav-links li a {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    padding: 0.5rem 0.8rem;
    transition: all 0.2s ease-out;
    position: relative;
    overflow: hidden;
    display: block;
    transform: skewX(10deg); /* Counter-skew */
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-teal);
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.nav-links li a:hover::before {
    transform: translateX(0);
}
.nav-links li a:hover {
    color: var(--color-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Section Common Styles */
section {
    padding: clamp(6rem, 10vw, 10rem) clamp(1rem, 5vw, 3rem);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    transform: rotate(-2deg) translateY(-20px);
    background-color: var(--color-yellow);
    display: inline-block;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg) translateY(-20px);
    padding: 0.5em 1em;
    box-shadow: 7px 7px 0px var(--color-teal);
    color: var(--color-black);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10px;
    width: 100%;
    height: 5px;
    background-color: var(--color-red);
    z-index: -1;
    transform: skewX(-20deg);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.8;
    color: var(--color-dark-gray);
    font-family: var(--font-narrative);
    transform: rotate(1deg);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding-top: 0; /* Adjust for fixed header */
}

.parallax {
    background-image: url('images/image_24.jpg'); /* Main hero background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 128, 128, 0.5), rgba(255, 0, 0, 0.5));
    mix-blend-mode: multiply; /* Artistic blending */
    z-index: 2;
}

.hero-bg-layer {
    position: absolute;
    background-size: cover;
    background-position: center;
    animation: moveLayers 20s infinite alternate ease-in-out;
    opacity: 1;.3;
    z-index: 1;
}

.hero-bg-layer.layer-1 {
    top: -10%; left: -10%; width: 120%; height: 120%;
    background-image: url('images/image_25.jpg');
    animation-delay: 0s;
    filter: blur(5px);
}

.hero-bg-layer.layer-2 {
    bottom: -10%; right: -10%; width: 120%; height: 120%;
    background-image: url('images/image_26.jpg');
    animation-delay: 10s;
    filter: blur(10px);
}

@keyframes moveLayers {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content .card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transform: rotate(var(--rotate-deg, 0deg)) translateY(var(--translate-y, 0px));
    transition: transform 0.3s ease-out, background-color 0.3s ease;
    position: relative;
    z-index: 10;
}
.hero-content .card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(var(--rotate-hover-deg, 0deg)) translateY(var(--translate-y-hover, 0px)) scale(1.02);
}

.hero-content .card-1 { --rotate-deg: -5deg; --translate-y: -20px; --rotate-hover-deg: -3deg; --translate-y-hover: -25px; grid-column: 1 / 2; grid-row: 1 / 2; background-color: rgba(0,128,128,0.7); border-color: var(--color-yellow); }
.hero-content .card-2 { --rotate-deg: 3deg; --translate-y: 10px; --rotate-hover-deg: 5deg; --translate-y-hover: 5px; grid-column: 2 / 3; grid-row: 1 / 2; background-color: rgba(255,0,0,0.7); border-color: var(--color-yellow); }
.hero-content .card-3 { --rotate-deg: -2deg; --translate-y: 0px; --rotate-hover-deg: -4deg; --translate-y-hover: -5px; grid-column: 1 / 2; grid-row: 2 / 3; background-color: rgba(0,0,0,0.7); border-color: var(--color-teal); }
.hero-content .card-4 { --rotate-deg: 1deg; --translate-y: -10px; --rotate-hover-deg: 3deg; --translate-y-hover: -15px; grid-column: 2 / 3; grid-row: 2 / 3; background-color: rgba(0,128,128,0.7); border-color: var(--color-red); }

.hero-subheading {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--color-yellow);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0 var(--color-black);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 6rem);
    color: var(--color-yellow);
    letter-spacing: 0.1em;
    line-height: 1;
    text-shadow: 4px 4px 0 var(--color-black), 6px 6px 0 var(--color-teal);
    margin-bottom: 1rem;
    transform: skewX(-5deg);
}

.hero-description {
    font-family: var(--font-narrative);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* About Section */
.about-section {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
}
.about-section .section-title {
    background-color: var(--color-red);
    color: var(--color-white);
    box-shadow: 7px 7px 0px var(--color-teal);
}
.about-section .section-title::after {
    background-color: var(--color-yellow);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image-overlay {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    box-shadow: 10px 10px 0px var(--color-teal);
    border: 3px solid var(--color-red);
}
.about-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.7) grayscale(0.2);
    transition: transform 0.5s ease, filter 0.5s ease;
}
.about-image-overlay:hover img {
    transform: scale(1.05);
    filter: brightness(0.9) grayscale(0);
}

.about-image-overlay .overlay-text {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    color: var(--color-white);
    transform: translateY(0);
    transition: transform 0.4s ease-out;
    border-top: 2px solid var(--color-yellow);
}
.about-image-overlay:hover .overlay-text {
    transform: translateY(-10px);
}
.about-image-overlay .overlay-text h3 {
    font-family: var(--font-sans);
    color: var(--color-yellow);
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}
.about-image-overlay .overlay-text p {
    font-family: var(--font-narrative);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.about-content {
    padding: 2rem;
    background-color: rgba(0, 128, 128, 0.1);
    border: 1px dashed var(--color-red);
    transform: rotate(1deg);
    position: relative;
    z-index: 2;
    margin-top: -2rem; /* Overlap with previous element */
    margin-bottom: 2rem;
    box-shadow: -5px -5px 0px var(--color-yellow);
}
.about-content p {
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.8;
}
.about-content h3 {
    font-family: var(--font-display);
    color: var(--color-yellow);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: skewX(-5deg);
    display: inline-block;
    background-color: var(--color-red);
    padding: 0.3em 0.8em;
    box-shadow: 4px 4px 0 var(--color-black);
}
.about-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
    transform: translateX(10px) rotate(2deg);
    border-left: 5px solid var(--color-yellow);
    padding-left: 1.5rem;
    background-color: rgba(255, 255, 0, 0.1);
}
.about-content ul li {
    font-family: var(--font-sans);
    color: var(--color-white);
    margin-bottom: 0.8rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    position: relative;
}
.about-content ul li::before {
    content: "⚡ "; /* Non-icon symbol */
    color: var(--color-red);
    font-weight: bold;
    margin-right: 0.5em;
}

/* Features Section */
.features-section {
    background-color: var(--color-white);
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
}
.features-section .section-title {
    background-color: var(--color-yellow);
    color: var(--color-black);
    box-shadow: 7px 7px 0px var(--color-red);
}
.features-section .section-title::after {
    background-color: var(--color-teal);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 8px 8px 0px var(--color-teal);
    border: 2px solid var(--color-red);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    transform: rotate(var(--feature-rotate, 0deg));
}
.feature-card:hover {
    transform: rotate(var(--feature-rotate-hover, 0deg)) translateY(-10px);
    box-shadow: 12px 12px 0px var(--color-yellow);
    background-color: var(--color-black);
}

.feature-card:nth-child(1) { --feature-rotate: -3deg; --feature-rotate-hover: -5deg; }
.feature-card:nth-child(2) { --feature-rotate: 2deg; --feature-rotate-hover: 4deg; margin-top: 2rem; }
.feature-card:nth-child(3) { --feature-rotate: -1deg; --feature-rotate-hover: -3deg; }


.feature-card img {
    width: calc(100% + 4rem); /* To bleed outside padding */
    height: 200px;
    object-fit: cover;
    margin: -2rem -2rem 1.5rem -2rem; /* Pull image to edges of card */
    filter: brightness(0.8) grayscale(0.1);
    transition: filter 0.3s ease, transform 0.3s ease;
    transform: rotateZ(var(--img-rotate, 0deg)) scale(1.0);
    border-bottom: 2px solid var(--color-red);
}
.feature-card:hover img {
    filter: brightness(1) grayscale(0);
    transform: rotateZ(var(--img-rotate-hover, 0deg)) scale(1.05);
}
.feature-card:nth-child(1) img { --img-rotate: 2deg; --img-rotate-hover: 0deg; }
.feature-card:nth-child(2) img { --img-rotate: -1deg; --img-rotate-hover: 1deg; }
.feature-card:nth-child(3) img { --img-rotate: 3deg; --img-rotate-hover: 1deg; }

.feature-card h3 {
    font-family: var(--font-display);
    color: var(--color-yellow);
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 0.05em;
    transform: skewX(-5deg);
}

.feature-card p {
    font-family: var(--font-narrative);
    color: var(--color-white);
    line-height: 1.7;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* Gallery Section - Masonry Layout */
.gallery-section {
    background-color: var(--color-black);
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
}
.gallery-section .section-title {
    background-color: var(--color-teal);
    color: var(--color-yellow);
    box-shadow: 7px 7px 0px var(--color-red);
}
.gallery-section .section-title::after {
    background-color: var(--color-black);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: minmax(200px, auto); /* Allow images to define row height */
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.masonry-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8) grayscale(0.2);
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--color-teal);
    box-shadow: 5px 5px 0px var(--color-red);
    transform: rotate(var(--img-gallery-rotate, 0deg));
}
.masonry-grid img:hover {
    filter: brightness(1) grayscale(0);
    transform: rotate(var(--img-gallery-rotate-hover, 0deg)) scale(1.03);
    box-shadow: 8px 8px 0px var(--color-yellow);
    z-index: 2;
}

/* Random rotations for masonry items */
.masonry-grid img:nth-child(even) { --img-gallery-rotate: 1deg; --img-gallery-rotate-hover: -1deg; }
.masonry-grid img:nth-child(odd) { --img-gallery-rotate: -1deg; --img-gallery-rotate-hover: 1deg; }
.masonry-grid img:nth-child(3n+1) { --img-gallery-rotate: 0deg; --img-gallery-rotate-hover: 2deg; }
.masonry-grid img:nth-child(4n) { --img-gallery-rotate: 2deg; --img-gallery-rotate-hover: 0deg; }


/* Team Section */
.team-section {
    background-color: var(--color-yellow);
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
    color: var(--color-black);
}
.team-section .section-title {
    background-color: var(--color-black);
    color: var(--color-yellow);
    box-shadow: 7px 7px 0px var(--color-red);
}
.team-section .section-title::after {
    background-color: var(--color-teal);
}
.team-section .section-description {
    color: var(--color-dark-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    box-shadow: 8px 8px 0px var(--color-teal);
    border: 2px solid var(--color-red);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease, background-color 0.2s ease;
    position: relative;
    overflow: hidden;
    transform: rotate(var(--team-rotate, 0deg));
}
.team-member:hover {
    transform: rotate(var(--team-rotate-hover, 0deg)) translateY(-10px);
    box-shadow: 12px 12px 0px var(--color-red);
    background-color: var(--color-yellow);
    z-index: 10;
}
.team-member:nth-child(1) { --team-rotate: -2deg; --team-rotate-hover: -4deg; }
.team-member:nth-child(2) { --team-rotate: 1deg; --team-rotate-hover: 3deg; margin-top: 1rem; }
.team-member:nth-child(3) { --team-rotate: -3deg; --team-rotate-hover: -5deg; }


.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--color-teal);
    box-shadow: 0 0 0 5px var(--color-red);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.team-member:hover img {
    border-color: var(--color-yellow);
    box-shadow: 0 0 0 5px var(--color-black);
    transform: scale(1.05);
}

.team-member h3 {
    font-family: var(--font-display);
    color: var(--color-black);
    margin-bottom: 0.5rem;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.team-member p {
    font-family: var(--font-sans);
    color: var(--color-dark-gray);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 400;
}
.team-member .member-snippet {
    font-family: var(--font-narrative);
    font-size: 0.9em;
    margin-top: 1rem;
    font-style: italic;
}

/* Team Modal */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.team-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 3rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--color-teal);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.team-modal.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    border: 5px solid var(--color-red);
    box-shadow: 0 0 0 7px var(--color-yellow);
}

.modal-content h3 {
    font-family: var(--font-display);
    color: var(--color-yellow);
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 4.5vw, 3rem);
    letter-spacing: 0.08em;
}
.modal-content h4 {
    font-family: var(--font-sans);
    color: var(--color-teal);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 400;
}
.modal-content p {
    font-family: var(--font-narrative);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-red);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}
.close-button:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--color-yellow);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-teal);
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
    color: var(--color-white);
}
.testimonials-section .section-title {
    background-color: var(--color-red);
    color: var(--color-yellow);
    box-shadow: 7px 7px 0px var(--color-black);
}
.testimonials-section .section-title::after {
    background-color: var(--color-teal);
}

.testimonial-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding-bottom: 4rem; /* Space for dots */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%; /* Each card takes full width */
    padding: 3rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 10px 10px 0px var(--color-yellow);
    border: 2px solid var(--color-red);
    transform: rotate(var(--testimonial-rotate, 0deg));
    margin: 0 1.5rem; /* Space between cards */
}
.testimonial-card:nth-child(1) { --testimonial-rotate: -2deg; }
.testimonial-card:nth-child(2) { --testimonial-rotate: 1deg; }
.testimonial-card:nth-child(3) { --testimonial-rotate: -3deg; }


.testimonial-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--color-teal);
    box-shadow: 0 0 0 5px var(--color-yellow);
}

.testimonial-card blockquote {
    font-family: var(--font-narrative);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    position: relative;
    padding: 0 2rem;
}
.testimonial-card blockquote::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 5rem;
    color: var(--color-red);
    opacity: 1;.7;
    line-height: 1;
    font-family: var(--font-serif);
}
.testimonial-card blockquote::after {
    content: "”";
    position: absolute;
    bottom: -30px;
    right: 0;
    font-size: 5rem;
    color: var(--color-yellow);
    opacity: 1;.7;
    line-height: 1;
    font-family: var(--font-serif);
}

.testimonial-card .customer-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--color-yellow);
}

.carousel-dots {
    text-align: center;
    margin-top: 2rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(5deg);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    box-shadow: 3px 3px 0 var(--color-red);
}

.dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, border 0.2s ease;
    border: 2px solid transparent;
}
.dot.active {
    background-color: var(--color-yellow);
    transform: scale(1.2);
    border-color: var(--color-red);
}
.dot:hover {
    background-color: var(--color-red);
    transform: scale(1.1);
}

/* Showcase Section */
.showcase-section {
    background-color: var(--color-red);
    color: var(--color-white);
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
}
.showcase-section .section-title {
    background-color: var(--color-yellow);
    color: var(--color-black);
    box-shadow: 7px 7px 0px var(--color-teal);
}
.showcase-section .section-title::after {
    background-color: var(--color-black);
}
.showcase-section .section-description {
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 10px 10px 0px var(--color-yellow);
    border: 3px solid var(--color-teal);
    transform: rotate(var(--stat-rotate, 0deg));
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.stat-item:hover {
    transform: rotate(var(--stat-rotate-hover, 0deg)) translateY(-10px);
    box-shadow: 15px 15px 0px var(--color-red);
    background-color: rgba(0, 0, 0, 0.9);
}
.stat-item:nth-child(1) { --stat-rotate: -2deg; --stat-rotate-hover: -4deg; }
.stat-item:nth-child(2) { --stat-rotate: 1deg; --stat-rotate-hover: 3deg; margin-top: 1.5rem; }
.stat-item:nth-child(3) { --stat-rotate: -3deg; --stat-rotate-hover: -5deg; }


.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--color-yellow);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 4px 4px 0px var(--color-red);
    letter-spacing: 0.05em;
    transform: skewX(-5deg);
}

.stat-label {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: 1rem;
    text-transform: none;
    transform: rotate(1deg);
}

.stat-detail {
    font-family: var(--font-narrative);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}


/* Newsletter Section */
.newsletter-section {
    background-color: var(--color-black);
    color: var(--color-white);
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
}
.newsletter-section .section-title {
    background-color: var(--color-teal);
    color: var(--color-yellow);
    box-shadow: 7px 7px 0px var(--color-red);
}
.newsletter-section .section-title::after {
    background-color: var(--color-black);
}
.newsletter-section .section-description {
    color: var(--color-white);
}

.newsletter-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.incentive-card {
    background-color: rgba(255, 255, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 2px dashed var(--color-yellow);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: -8px -8px 0px var(--color-red);
    transform: rotate(-3deg);
}
.incentive-card h3 {
    font-family: var(--font-display);
    color: var(--color-yellow);
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: skewX(-5deg);
}
.incentive-card ul {
    list-style: none;
    padding-left: 0;
}
.incentive-card ul li {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-white);
}
.incentive-card ul li::before {
    content: "☆ "; /* Non-icon symbol */
    color: var(--color-red);
    position: absolute;
    left: 0;
    top: 0;
}

.signup-placeholder {
    background-color: rgba(0, 128, 128, 0.7);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 8px 8px 0px var(--color-red);
    border: 2px solid var(--color-yellow);
    text-align: center;
    transform: rotate(2deg);
    position: relative;
    z-index: 2;
}
.signup-placeholder p {
    font-family: var(--font-narrative);
    color: var(--color-white);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.signup-placeholder .cta-button {
    margin-top: 1.5rem;
    box-shadow: 5px 5px 0px var(--color-black);
}
.signup-placeholder .cta-button:hover {
    box-shadow: 8px 8px 0px var(--color-teal);
}

/* Contact Section (Re-interpreted due to restrictions) */
.contact-section {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
}
.contact-section .section-title {
    background-color: var(--color-red);
    color: var(--color-white);
    box-shadow: 7px 7px 0px var(--color-yellow);
}
.contact-section .section-title::after {
    background-color: var(--color-teal);
}
.contact-section .section-description {
    color: var(--color-white);
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 12px 12px 0px var(--color-teal);
    border: 3px solid var(--color-yellow);
    transform: rotate(-1deg);
}
.contact-info h3 {
    font-family: var(--font-display);
    color: var(--color-yellow);
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: skewX(-5deg);
}
.contact-info p {
    font-family: var(--font-narrative);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-white);
}
.placeholder-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.placeholder-actions .cta-button {
    box-shadow: 5px 5px 0px var(--color-black);
}
.placeholder-actions .cta-button:hover {
    box-shadow: 8px 8px 0px var(--color-teal);
}

/* FAQ Section */
.faq-section {
    background-color: var(--color-white);
    padding-top: clamp(6rem, 10vw, 10rem);
    padding-bottom: clamp(6rem, 10vw, 10rem);
}
.faq-section .section-title {
    background-color: var(--color-yellow);
    color: var(--color-black);
    box-shadow: 7px 7px 0px var(--color-red);
}
.faq-section .section-title::after {
    background-color: var(--color-teal);
}

.faq-search-container {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    transform: rotate(2deg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
#faq-search {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 3px solid var(--color-teal);
    border-radius: 5px;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2vw, 1.1rem);
    outline: none;
    box-shadow: 5px 5px 0px var(--color-red);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    background-color: var(--color-white);
    color: var(--color-black);
}
#faq-search:focus {
    border-color: var(--color-yellow);
    box-shadow: 8px 8px 0px var(--color-black);
    transform: translateY(-3px);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 2px solid var(--color-dark-gray);
    background-color: var(--color-white);
    box-shadow: 8px 8px 0px var(--color-teal);
    transform: rotate(var(--faq-rotate, 0deg));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:nth-child(1) { --faq-rotate: -1deg; }
.faq-item:nth-child(2) { --faq-rotate: 2deg; }
.faq-item:nth-child(3) { --faq-rotate: -3deg; }

.faq-question {
    width: 100%;
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 1.2rem 2rem;
    text-align: left;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    position: relative;
    transition: background-color 0.2s ease;
    outline: none;
}
.faq-question h3 {
    color: var(--color-white);
    margin: 0;
    font-family: var(--font-sans);
    font-size: inherit;
    text-transform: none;
}
.faq-question:hover {
    background-color: var(--color-black);
    color: var(--color-yellow);
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    color: var(--color-yellow);
}
.faq-question[aria-expanded="true"]::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
    padding: 1.5rem 2rem;
    background-color: var(--color-white);
    color: var(--color-dark-gray);
    border-top: 1px solid var(--color-teal);
    display: none; /* Controlled by JS */
    font-family: var(--font-narrative);
    line-height: 1.7;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.faq-answer.active {
    display: block;
}

/* Footer */
.main-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: 3rem clamp(1rem, 5vw, 3rem);
    border-top: 5px solid var(--color-red);
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.main-footer p {
    font-family: var(--font-sans);
    margin-bottom: 1.5rem;
    color: var(--color-white);
    transform: rotate(-1deg);
    text-shadow: 2px 2px 0 var(--color-teal);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    transform: rotate(2deg);
    margin-top: 1rem;
}

.footer-links a {
    color: var(--color-yellow);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-teal);
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: translateY(-5px);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .main-nav {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        transform: skewX(0deg); /* Reset skew for mobile */
    }
    .nav-links li a {
        transform: skewX(0deg); /* Reset skew for mobile */
        padding: 0.5rem 0.5rem;
        font-size: 0.9rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }
    .hero-content .card {
        grid-column: auto !important;
        grid-row: auto !important;
        transform: rotate(0deg) translateY(0px) !important;
    }
    .hero-content .card:hover {
        transform: rotate(0deg) translateY(0px) scale(1.02) !important;
    }

    .about-grid, .features-grid, .team-grid, .stats-grid, .newsletter-content {
        grid-template-columns: 1fr;
    }
    
    .about-image-overlay {
        margin-bottom: 2rem;
    }

    .feature-card, .team-member, .stat-item, .newsletter-content > div {
        transform: rotate(0deg) !important;
        margin-top: 0 !important;
        margin-left: auto;
        margin-right: auto;
        max-width: 450px; /* Constrain width on single column */
    }
    .feature-card:hover, .team-member:hover, .stat-item:hover {
        transform: translateY(-5px) !important;
    }

    .testimonial-card {
        margin: 0;
        padding: 2rem 1rem;
    }

    .carousel-dots {
        transform: translateX(-50%) rotate(0deg);
    }

    .footer-links {
        flex-direction: column;
        transform: rotate(0deg);
        gap: 0.8rem;
    }
}

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: Team grid stabilization */
+ .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
+ @media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
+ @media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* Enhanced: Missing animation classes from JS */
.animate-on-scroll {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.animate-on-scroll.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;
}
