/* Custom Properties for Design Style */
:root {
    --primary-red: #FF0000;
    --primary-blue: #0000FF;
    --primary-yellow: #FFFF00;
    --outline-black: #000000;
    --text-white: #FFFFFF;
    --background-light: #F0F0F0; /* Used for sections needing a lighter background to contrast with pop art elements */
    --accent-green: #00FF00; /* Additional pop for certain elements */

    --font-heading: 'Bangers', cursive;
    --font-body: 'Comic Neue', sans-serif;

    --border-thickness: 5px; /* Thick outlines */
    --shadow-offset: 10px; /* Comic-style shadows */
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--outline-black);
    background-color: var(--background-light); /* Base background, halftone overlay via pseudo-element */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll due to comic elements */
}

/* Halftone texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone texture */
    opacity: 1;.3;
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red); /* Comic shadow */
    margin-bottom: 1rem;
    line-height: 1.2;
    -webkit-text-stroke: 2px var(--outline-black); /* Text outline */
    color: var(--text-white); /* Fill color for outlined text */
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--primary-red);
    transform: scale(1.02);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 4rem; /* For scroll offset */
    font-size: 3rem;
    letter-spacing: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem; /* Adjusted for multiple paragraphs */
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-yellow);
    color: var(--outline-black);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    text-shadow: 2px 2px 0 var(--primary-red);
    -webkit-text-stroke: 1px var(--outline-black);
    color: var(--text-white);
}

.btn:hover {
    background-color: var(--primary-red);
    color: var(--text-white);
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    text-shadow: 2px 2px 0 var(--outline-black);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-yellow);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.btn-secondary {
    background-color: var(--primary-blue);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-yellow);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--outline-black);
}

/* Header & Navigation */
.main-header {
    background-color: var(--primary-blue);
    padding: 1.5rem 0;
    border-bottom: var(--border-thickness) solid var(--outline-black);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-yellow);
    text-shadow: 3px 3px 0 var(--outline-black);
    -webkit-text-stroke: 1px var(--primary-red);
    position: relative;
    z-index: 10;
}

.site-logo:hover {
    transform: scale(1.05) rotate(-3deg);
    color: var(--primary-red);
    text-shadow: 3px 3px 0 var(--primary-yellow);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-list a {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-white);
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 3px;
    background-color: var(--primary-yellow);
    transition: all 0.3s ease-in-out;
}

.nav-list a:hover {
    color: var(--primary-yellow);
    transform: translateY(-3px);
}

.nav-list a:hover::after {
    width: 100%;
    transform: translateX(-50%) scaleX(1);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 2rem;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7) grayscale(0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: var(--text-white);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 15px;
    border: var(--border-thickness) solid var(--primary-yellow);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    animation: popIn 1s ease-out forwards;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    -webkit-text-stroke: 3px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    color: var(--primary-yellow);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-white);
    font-weight: 700;
    text-shadow: 2px 2px 0 var(--outline-black);
}

/* STORY SECTION */
.story-section {
    padding: 8rem 0;
    background-color: var(--primary-blue);
    position: relative;
    overflow: hidden;
    border-top: var(--border-thickness) solid var(--outline-black);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone */
}

.story-section .section-title {
    color: var(--primary-yellow);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    margin-bottom: 2rem;
}

.story-section .section-description {
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--outline-black);
    margin-bottom: 1.5rem;
}

.story-panel {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
    position: relative;
    padding: 2rem;
    background-color: var(--text-white);
    border: var(--border-thickness) solid var(--outline-black);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    margin-bottom: 4rem;
    z-index: 1;
}

.story-panel.left {
    margin-right: 10%; /* Exaggerated spacing */
    transform: rotate(-2deg);
}

.story-panel.right {
    margin-left: 10%; /* Exaggerated spacing */
    transform: rotate(3deg);
}

.story-panel:nth-child(odd) { /* 1st, 3rd, etc. */
    background-color: var(--primary-yellow);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    transform: rotate(2deg);
}

.story-panel.right:nth-child(odd) { /* Apply specifically if it's right AND odd-positioned (should be even in this case based on structure) */
    transform: rotate(-3deg);
    background-color: var(--primary-red);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-yellow);
}


.story-image {
    width: 50%;
    object-fit: cover;
    border: var(--border-thickness) solid var(--outline-black);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    filter: saturate(1.2);
}

.story-panel.left .story-image {
    margin-right: -5%; /* Overlapping effect */
    z-index: 2;
}
.story-panel.right .story-image {
    order: 2; /* Image on right */
    margin-left: -5%; /* Overlapping effect */
    z-index: 2;
}

.story-text-overlay {
    flex-grow: 1;
    padding: 2rem;
    position: relative;
    z-index: 3;
    background-color: var(--text-white);
    border: var(--border-thickness) solid var(--outline-black);
    transform: translateZ(0); /* Create new stacking context */
}
.story-panel.left .story-text-overlay {
    margin-left: -5%; /* Overlap */
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
}
.story-panel.right .story-text-overlay {
    margin-right: -5%; /* Overlap */
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-yellow);
}
.story-panel:nth-child(odd) .story-text-overlay {
    background-color: var(--primary-red);
    color: var(--text-white);
    text-shadow: 2px 2px 0 var(--outline-black);
}
.story-panel:nth-child(odd) .story-text-overlay h3 {
    color: var(--primary-yellow);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--outline-black);
}

.story-text-overlay h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    color: var(--primary-red);
    -webkit-text-stroke: 1px var(--outline-black);
}
.story-text-overlay p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Highlights Section */
.highlights-section {
    padding: 8rem 2rem;
    background-color: var(--primary-yellow);
    border-top: var(--border-thickness) solid var(--outline-black);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone */
}

.highlights-section .section-title {
    color: var(--primary-blue);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.highlights-section .section-description {
    color: var(--outline-black);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.7);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.highlight-card {
    background-color: var(--text-white);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-red);
}

.highlight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    filter: saturate(1.5) brightness(0.9);
}

.highlight-card h4 { /* Changed to h4 */
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    -webkit-text-stroke: 1px var(--outline-black);
    text-shadow: 3px 3px 0 var(--primary-yellow);
}

.highlight-card p {
    font-size: 1rem;
    color: var(--outline-black);
}

/* Features Section */
.features-section {
    padding: 8rem 2rem;
    background-color: var(--primary-red);
    border-top: var(--border-thickness) solid var(--outline-black);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone */
}

.features-section .section-title {
    color: var(--primary-yellow);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
}

.features-section .section-description {
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--outline-black);
}

.features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.feature-item {
    background-color: var(--text-white);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: rotate(-3deg) scale(1.03);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-yellow);
}

.feature-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    filter: contrast(1.1) brightness(0.9);
}

.feature-item h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    -webkit-text-stroke: 1px var(--outline-black);
    text-shadow: 4px 4px 0 var(--primary-red);
}

.feature-item p {
    font-size: 1.1rem;
    color: var(--outline-black);
}

/* Products/Packages Section */
.packages-section {
    padding: 8rem 2rem;
    background-color: var(--primary-blue);
    border-top: var(--border-thickness) solid var(--outline-black);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone */
}

.packages-section .section-title {
    color: var(--primary-yellow);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.packages-section .section-description {
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--outline-black);
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    align-items: flex-start;
}

.package-card {
    background-color: var(--text-white);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-card:hover {
    transform: translateY(-15px) scale(1.03) rotate(1deg);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-blue);
}

.package-card.featured {
    background-color: var(--primary-yellow);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    transform: scale(1.05) rotate(-2deg);
    z-index: 5;
}

.package-card.featured:hover {
    transform: translateY(-20px) scale(1.08) rotate(0deg);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--outline-black);
}

.package-card h4 { /* Changed to h4 */
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: 5px 5px 0 var(--primary-yellow);
}

.package-card.featured h4 {
    color: var(--primary-red);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: 5px 5px 0 var(--primary-blue);
}

.package-card .price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--outline-black);
    margin-bottom: 2rem;
    -webkit-text-stroke: 1px var(--primary-red);
    text-shadow: 3px 3px 0 var(--primary-yellow);
    color: var(--text-white);
}

.package-card .price span {
    display: block;
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--outline-black);
    text-shadow: none;
    -webkit-text-stroke: 0;
}

.package-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.package-features li {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
    position: relative;
    padding-left: 30px; /* Space for custom check/cross */
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    font-family: var(--font-body); /* Using regular font for text 'Yes'/'No' */
    font-weight: 700;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    font-size: 0.9em;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid var(--outline-black);
}

.package-features li:nth-last-of-type(2)::before {
    content: "Y";
    background-color: var(--accent-green);
    color: var(--text-white);
}
.package-features li:nth-last-of-type(1)::before {
    content: "N";
    background-color: var(--primary-red);
    color: var(--text-white);
}


/* Team Section */
.team-section {
    padding: 8rem 2rem;
    background-color: var(--background-light);
    border-top: var(--border-thickness) solid var(--outline-black);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone */
}

.team-section .section-title {
    color: var(--primary-blue);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: var(--border-thickness) solid var(--outline-black);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-red);
}

.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    filter: grayscale(0.5);
    transition: filter 0.3s ease;
}

.team-member:hover img {
    filter: grayscale(0);
}

.team-member .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--text-white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    border-top: var(--border-thickness) solid var(--outline-black);
    text-align: center;
}

.team-member:hover .overlay {
    transform: translateY(0);
}

.team-member .overlay h4 { /* Changed to h4 */
    font-size: 1.8rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
    -webkit-text-stroke: 1px var(--outline-black);
    text-shadow: 2px 2px 0 var(--primary-blue);
}

.team-member .overlay p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-weight: 700;
}

.team-member .overlay .details {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    line-height: 1.5;
}

/* Gallery Section */
.gallery-section {
    padding: 8rem 2rem;
    background-color: var(--primary-yellow);
    border-top: var(--border-thickness) solid var(--outline-black);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone */
}

.gallery-section .section-title { /* H3 for this section */
    color: var(--primary-blue);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.gallery-item {
    display: block;
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-blue);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    filter: saturate(1.2) brightness(0.9);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: saturate(1.5) brightness(1.05);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    background-color: var(--text-white);
    border: var(--border-thickness) solid var(--primary-yellow);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: var(--border-thickness) solid var(--outline-black);
    margin-bottom: 1rem;
}

.lightbox-caption {
    color: var(--outline-black);
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 700;
    padding: 0.5rem 1rem;
    background-color: var(--background-light);
    border: var(--border-thickness) solid var(--outline-black);
    margin-top: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--primary-red);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--primary-yellow);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    text-shadow: 2px 2px 0 var(--outline-black);
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--outline-black);
    background-color: var(--primary-red);
}

.no-scroll {
    overflow: hidden;
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 2rem;
    background-color: var(--primary-red);
    border-top: var(--border-thickness) solid var(--outline-black);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone */
}

.testimonials-section .section-title {
    color: var(--primary-yellow);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
}

.testimonials-section .section-description {
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--outline-black);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.testimonial-card {
    background-color: var(--text-white);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: rotate(2deg) scale(1.02);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-yellow);
}

.avatar-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.avatar-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: var(--border-thickness) solid var(--primary-red);
    object-fit: cover;
    margin-right: 1rem;
    flex-shrink: 0;
}

.user-info h4 { /* Changed to h4 */
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-blue);
    -webkit-text-stroke: 0;
    text-shadow: none;
    margin-bottom: 0.2rem;
}

.user-info .handle {
    font-size: 0.9rem;
    color: #666;
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
}

.user-info .date {
    font-size: 0.8rem;
    color: #999;
    display: block;
    margin-top: 0.3rem;
    font-family: var(--font-body);
    font-weight: 400;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--outline-black);
}

/* FAQ Section */
.faq-section {
    padding: 8rem 2rem;
    background-color: var(--primary-blue);
    border-top: var(--border-thickness) solid var(--outline-black);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone */
}

.faq-section .section-title { /* H3 for this section */
    color: var(--primary-yellow);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.faq-section .section-description {
    color: var(--text-white);
    text-shadow: 1px 1px 0 var(--outline-black);
}

.faq-container {
    max-width: 900px;
    margin: 4rem auto;
    background-color: var(--text-white);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 20px;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    overflow: hidden; /* For rounded corners */
}

.tab-buttons {
    display: flex;
    justify-content: space-around;
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-color: var(--primary-yellow);
}

.tab-button {
    flex-grow: 1;
    padding: 1.5rem 1rem;
    background-color: var(--primary-yellow);
    color: var(--outline-black);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
    border: none;
    border-right: var(--border-thickness) solid var(--outline-black);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-shadow: 2px 2px 0 var(--primary-red);
    -webkit-text-stroke: 1px var(--outline-black);
    color: var(--text-white);
}

.tab-button:last-child {
    border-right: none;
}

.tab-button:hover {
    background-color: var(--primary-blue);
    color: var(--text-white);
    transform: scale(1.02);
    text-shadow: 2px 2px 0 var(--outline-black);
}

.tab-button.active {
    background-color: var(--primary-red);
    color: var(--text-white);
    transform: scale(1.05);
    border-color: var(--outline-black);
    text-shadow: 3px 3px 0 var(--primary-blue);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.tab-pane {
    padding: 2rem;
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

.faq-item {
    margin-bottom: 1.5rem;
    background-color: var(--background-light);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 10px;
    box-shadow: 5px 5px 0 var(--primary-blue);
    overflow: hidden;
}

.faq-question { /* Changed to h4 */
    font-family: var(--font-heading);
    font-size: 1.5rem;
    padding: 1.2rem 2rem;
    cursor: pointer;
    background-color: var(--text-white);
    color: var(--primary-red);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
    -webkit-text-stroke: 1px var(--outline-black);
    text-shadow: 3px 3px 0 var(--primary-yellow);
    color: var(--primary-blue);
}

.faq-question:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-red);
}

.faq-question[aria-expanded="true"] {
    background-color: var(--primary-red);
    color: var(--text-white);
    text-shadow: 3px 3px 0 var(--outline-black);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    -webkit-text-stroke: 1px var(--outline-black);
    text-shadow: 2px 2px 0 var(--primary-yellow);
}

.faq-question[aria-expanded="true"]::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary-yellow);
    text-shadow: 2px 2px 0 var(--outline-black);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 2rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    background-color: var(--background-light);
}

.faq-answer p {
    padding: 1.5rem 0;
    margin-bottom: 0;
}

/* Location/Connect Section */
.connect-section {
    padding: 8rem 2rem;
    background-color: var(--primary-yellow);
    border-top: var(--border-thickness) solid var(--outline-black);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-image: radial-gradient(circle, var(--background-light) 1px, transparent 1px);
    background-size: 8px 8px; /* Halftone */
}

.connect-section .section-title { /* H4 for this section */
    color: var(--primary-blue);
    -webkit-text-stroke: 2px var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.connect-section .section-description {
    color: var(--outline-black);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.7);
}

.connect-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.connect-column {
    background-color: var(--text-white);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.connect-column:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-blue);
}

.connect-column h4 { /* Changed to h4 */
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    -webkit-text-stroke: 1px var(--outline-black);
    text-shadow: 4px 4px 0 var(--primary-yellow);
}

.connect-column p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--outline-black);
}

/* Footer */
.main-footer {
    background-color: var(--outline-black);
    color: var(--text-white);
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 1.1rem;
    border-top: var(--border-thickness) solid var(--primary-red);
    font-family: var(--font-body);
    font-weight: 700;
}

.main-footer p {
    margin-bottom: 0;
    text-shadow: 2px 2px 0 var(--primary-blue);
    color: var(--text-white);
}

.footer-note {
    font-family: var(--font-heading);
    font-size: 1.2em;
    color: var(--primary-yellow);
    margin-left: 1rem;
    -webkit-text-stroke: 1px var(--primary-red);
    text-shadow: 2px 2px 0 var(--outline-black);
}

/* Keyframe Animations */
@keyframes popIn {
    0% {
        opacity: 1;
        transform: scale(0.8) translateY(20px);
    }
    70% {
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 1; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .main-nav {
        flex-direction: column;
        padding: 1rem;
    }
    .nav-list {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .nav-list li a {
        font-size: 1rem;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .story-panel {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
        transform: none !important; /* Remove rotation for smaller screens */
        box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red); /* Reset shadow */
        background-color: var(--text-white); /* Reset background */
    }
    .story-panel.left .story-image,
    .story-panel.right .story-image {
        margin-right: 0;
        margin-left: 0;
        order: initial;
        width: 100%;
    }
    .story-panel.left .story-text-overlay,
    .story-panel.right .story-text-overlay {
        margin-left: 0;
        margin-right: 0;
        box-shadow: none; /* Remove overlap shadow */
        border: none;
        background-color: transparent;
    }

    .story-panel:nth-child(odd) { /* Reset specific odd panel styling */
        transform: none !important;
        background-color: var(--text-white); /* Reset to default */
        box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    }
    .story-panel.right:nth-child(odd) { /* Reset specific odd panel styling */
        transform: none !important;
        background-color: var(--text-white); /* Reset to default */
        box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    }

    .story-panel:nth-child(odd) .story-text-overlay {
        background-color: transparent; /* Reset */
    }

    .story-text-overlay h3 {
        color: var(--primary-red); /* Reset to default */
        text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue); /* Reset */
    }

    .pricing-table,
    .highlights-grid,
    .features-showcase,
    .team-grid,
    .gallery-grid,
    .testimonials-grid,
    .connect-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .package-card {
        min-height: auto; /* Allow height to adjust */
    }

    .package-card.featured {
        transform: scale(1.02) rotate(0deg);
    }
    .package-card.featured:hover {
        transform: scale(1.05) rotate(0deg);
    }

    .tab-buttons {
        flex-wrap: wrap;
        border-bottom: none; /* Adjust for wrapping */
    }
    .tab-button {
        border-right: none;
        border-bottom: var(--border-thickness) solid var(--outline-black);
        font-size: 1.2rem;
    }
    .tab-button:last-child {
        border-bottom: var(--border-thickness) solid var(--outline-black);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.8rem; -webkit-text-stroke: 2px var(--outline-black); }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.5rem; } /* Adjusted */

    .hero-content {
        padding: 2rem;
        border-width: 3px;
        box-shadow: 5px 5px 0 var(--primary-red);
    }
    .hero-content h1 {
        font-size: 3rem;
        -webkit-text-stroke: 2px var(--outline-black);
        text-shadow: 5px 5px 0 var(--primary-blue);
    }
    .hero-content p {
        font-size: 1rem;
    }
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1.3rem;
        border-width: 3px;
    }
    .section-title {
        font-size: 2rem;
        padding-top: 3rem;
    }
    .story-panel {
        padding: 1.5rem;
    }
    .story-image {
        height: 250px;
    }
    .story-text-overlay {
        padding: 1.5rem;
    }
    .story-text-overlay h3 {
        font-size: 2rem;
    }
    .story-text-overlay p {
        font-size: 1rem;
    }
    .package-card, .highlight-card, .feature-item, .team-member, .testimonial-card, .connect-column {
        padding: 2rem;
        border-width: 3px;
        box-shadow: 5px 5px 0 var(--primary-blue);
    }
    .tab-button {
        padding: 1rem 0.5rem;
        font-size: 1.1rem;
        border-width: 3px;
    }
    .faq-question {
        font-size: 1.3rem;
        padding: 1rem 1.5rem;
    }
    .faq-answer {
        padding: 0 1.5rem;
    }
    .faq-answer p {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 1rem 0.5rem;
    }
    .site-logo {
        font-size: 2rem;
    }
    .nav-list {
        gap: 0.8rem;
    }
    .nav-list a {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; } /* Adjusted */

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    .story-image {
        height: 200px;
    }
    .story-text-overlay h3 {
        font-size: 1.8rem;
    }
    .story-text-overlay p {
        font-size: 0.9rem;
    }
    .package-card h4 {
        font-size: 2rem;
    }
    .package-card .price {
        font-size: 1.5rem;
    }
    .package-features li {
        font-size: 1rem;
    }
    .team-member img {
        height: 300px;
    }
    .team-member .overlay h4 {
        font-size: 1.5rem;
    }
    .team-member .overlay p {
        font-size: 1rem;
    }
    .gallery-item img {
        height: 200px;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
    .avatar-header img {
        width: 60px;
        height: 60px;
    }
    .user-info h4 {
        font-size: 1.1rem;
    }
    .testimonial-text {
        font-size: 1rem;
    }
    .tab-button {
        font-size: 1rem;
        padding: 0.8rem;
    }
    .faq-question {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }
    .faq-answer p {
        font-size: 0.95rem;
    }
    .connect-column h4 {
        font-size: 1.8rem;
    }
    .connect-column p {
        font-size: 1rem;
    }
    .main-footer {
        padding: 2rem 1rem;
        font-size: 0.9rem;
    }
}

/* 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; } }

/* 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;}
