:root {
    --graphite-base: #1A1A2E;
    --midnight-base: #0F0F23;
    --deep-navy-base: #0A0A1F;
    --teal-accent: #00FFFF; /* Holographic teal */
    --rose-accent: #FF00BF; /* Holographic rose */
    --text-light: #E0E0E0;
    --text-muted: #B0B0B0;
    --button-bg-primary: linear-gradient(45deg, var(--teal-accent), var(--violet-accent));
    --button-bg-secondary: linear-gradient(45deg, var(--rose-accent), var(--teal-accent));
    --border-gradient: linear-gradient(90deg, var(--teal-accent), var(--violet-accent), var(--rose-accent));
    --section-gradient-edge: linear-gradient(90deg, rgba(0,255,255,0.1), rgba(0,255,255,0) 10%, rgba(0,0,0,0), rgba(255,0,191,0) 90%, rgba(255,0,191,0.1));

    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --max-width: 1200px;
    --spacing-lg: 120px;
    --spacing-md: 80px;
    --spacing-sm: 40px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--deep-navy-base);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a {
    color: var(--teal-accent);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--rose-accent);
    transform: translateY(-2px);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-weight: 700;
    margin-top: 0;
}

h1 { font-size: 3.2em; line-height: 1.2; }
h2 { font-size: 2.5em; line-height: 1.3; }
h3 { font-size: 1.8em; line-height: 1.4; }
h4 { font-size: 1.4em; line-height: 1.5; }

p {
    margin-bottom: 1em;
}

section {
    padding: var(--spacing-lg) 0;
    position: relative;
    background-color: var(--midnight-base); /* Default section background */
    border-bottom: 1px solid rgba(0, 255, 255, 0.1); /* Thin glowing divider */
}

section:not(#hero) {
    border-top: 1px solid rgba(255, 0, 191, 0.1);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--border-gradient);
    border-radius: 5px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    color: var(--text-muted);
    font-size: 1.1em;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    color: var(--text-light);
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: 1;
}

.button:hover::before {
    left: 100%;
}

.button.primary-button {
    background: var(--button-bg-primary);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.button.primary-button:hover {
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
    transform: translateY(-3px);
}

.button.secondary-button {
    background: var(--button-bg-secondary);
    box-shadow: 0 5px 20px rgba(255, 0, 191, 0.3);
}

.button.secondary-button:hover {
    box-shadow: 0 8px 25px rgba(255, 0, 191, 0.5);
    transform: translateY(-3px);
}

/* Header & Navigation */
.site-header {
    background-color: var(--graphite-base);
    padding: 20px var(--spacing-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0,255,255,0.2);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--teal-accent);
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
}

.logo:hover::before {
    transform: scaleX(1);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--border-gradient);
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--teal-accent);
    font-size: 2em;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero-section {
    background-image: url('images/image_25.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 80vh; /* Full viewport height */
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 31, 0.8) 0%, rgba(15, 15, 35, 0.7) 50%, rgba(26, 26, 46, 0.8) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hero-grid-content {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Asymmetrical positioning */
    gap: var(--spacing-md);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-sm);
    position: relative;
    z-index: 2;
    align-items: center;
    width: 100%;
}

.hero-text-block {
    grid-column: 1 / 2;
    padding: var(--spacing-md);
    background: rgba(26, 26, 46, 0.7); /* Dark glossy base with transparency */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-gradient);
    overflow: hidden;
    position: relative;
}

.hero-text-block::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-image: var(--border-gradient) 1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-text-block h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--teal-accent);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.hero-text-block p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.hero-image-block {
    grid-column: 2 / 3;
    height: 100%;
    min-height: 300px;
    background: transparent;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* About Section - Timeline Layout */
.about-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--graphite-base);
    text-align: center;
    position: relative;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 var(--spacing-sm);
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--border-gradient);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    box-shadow: 0 0 15px var(--teal-accent);
}

.timeline-item {
    padding: 10px 0;
    position: relative;
    width: 50%;
    margin-bottom: var(--spacing-md);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: var(--spacing-md);
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: var(--spacing-md);
    text-align: left;
}

.timeline-date {
    background: var(--button-bg-primary);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.timeline-item:nth-child(odd) .timeline-date {
    margin-right: -75px; /* Adjust to position date closer to line */
}

.timeline-item:nth-child(even) .timeline-date {
    margin-left: -75px; /* Adjust to position date closer to line */
}


.timeline-content {
    background-color: rgba(15, 15, 35, 0.9); /* Dark glossy base */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 0, 191, 0.2);
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--violet-accent);
    border-radius: 50%;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 10px var(--violet-accent);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

.timeline-content:hover::before {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 20px var(--violet-accent);
}

.timeline-content h4 {
    color: var(--rose-accent);
    margin-bottom: 10px;
    font-size: 1.6em;
}

.timeline-content p {
    font-size: 1em;
    color: var(--text-muted);
}

/* Services Section - Process Steps */
.services-section {
    background-color: var(--deep-navy-base);
    position: relative;
}

.process-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.process-step {
    background-color: var(--midnight-base);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--teal-accent);
}

.process-step::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-image: var(--border-gradient) 1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.process-step:hover::before {
    opacity: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: var(--button-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: var(--text-light);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

/* Visual flow (line between steps) */
.process-steps-container::after {
    content: '';
    position: absolute;
    width: 80%; /* Adjust width to span across steps */
    height: 3px;
    background: var(--border-gradient);
    bottom: calc(var(--spacing-md) * 2); /* Position between sections */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    box-shadow: 0 0 15px var(--rose-accent);
    z-index: 0; /* Ensure it's behind content */
}

.process-step h3 {
    color: var(--violet-accent);
    margin-bottom: 15px;
    font-size: 1.9em;
}

.process-step p {
    font-size: 1.05em;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.process-step .button {
    margin-top: auto; /* Push button to bottom */
}


/* Portfolio/Gallery Section - Filterable Gallery */
.portfolio-section {
    background-color: var(--graphite-base);
}

.filter-buttons {
    text-align: center;
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tab-button {
    background-color: var(--midnight-base);
    color: var(--text-light);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--button-bg-primary);
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.tab-button:hover::before {
    opacity: 1;.2;
}

.tab-button.active {
    background: var(--button-bg-primary);
    border-color: var(--teal-accent);
    color: var(--text-light);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.tab-button.active::before {
    opacity: 1;.5;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-sm);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 0, 191, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--rose-accent);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    color: var(--text-light);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.3em;
    text-align: center;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.tab-pane {
    display: none;
    /* When active, JavaScript will apply `display: grid;` */
}

.tab-pane.active {
    display: grid;
}

/* Masonry Gallery Section */
.gallery-section {
    background-color: var(--deep-navy-base);
    position: relative;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: var(--spacing-sm);
    grid-auto-rows: minmax(150px, auto); /* Allows images to define row height */
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.masonry-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Important for masonry layout */
}

.masonry-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--teal-accent);
}

/* Team Section - Slider Carousel */
.team-section {
    background-color: var(--graphite-base);
    position: relative;
    overflow: hidden; /* Hide overflowing slider items */
}

.team-slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 var(--spacing-sm);
}

.team-slider {
    display: flex;
    overflow: hidden; /* Hide scrollbar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: var(--spacing-sm);
    transition: transform 0.5s ease-in-out;
}

.team-member {
    flex: 0 0 33.33%; /* Show 3 items */
    min-width: 0; /* Allow shrinking below content size */
    background-color: var(--midnight-base);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 0, 191, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--violet-accent);
}

.team-member::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-image: var(--border-gradient) 1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.team-member:hover::before {
    opacity: 1;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--violet-accent);
    box-shadow: 0 0 15px rgba(255, 0, 191, 0.5);
}

.team-member h3 {
    color: var(--teal-accent);
    margin-bottom: 5px;
    font-size: 1.8em;
}

.team-member .role {
    color: var(--rose-accent);
    font-weight: 500;
    margin-bottom: 15px;
    font-style: italic;
}

.team-member p {
    font-size: 0.95em;
    color: var(--text-muted);
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(26, 26, 46, 0.8);
    color: var(--teal-accent);
    border: 1px solid var(--teal-accent);
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    outline: none;
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.slider-prev:hover, .slider-next:hover {
    background-color: var(--teal-accent);
    color: var(--midnight-base);
    box-shadow: 0 0 25px var(--teal-accent);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev::before { content: '<'; }
.slider-next::before { content: '>'; }


/* Testimonials Section - Card Grid */
.testimonials-section {
    background-color: var(--deep-navy-base);
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Exactly 3 cards per row */
    gap: var(--spacing-sm);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.testimonial-card {
    background-color: var(--midnight-base);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--teal-accent);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--teal-accent);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1em;
}

.testimonial-author {
    font-weight: 600;
    color: var(--rose-accent);
    font-family: var(--font-heading);
    font-size: 1.05em;
}

/* Newsletter Section - Incentive Focus (NO FORM) */
.newsletter-section {
    background-color: var(--graphite-base);
    position: relative;
}

.incentive-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    gap: var(--spacing-sm);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    text-align: center;
}

.incentive-item {
    background-color: var(--midnight-base);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 0, 191, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.incentive-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--violet-accent);
}

.incentive-item h4 {
    color: var(--violet-accent);
    margin-bottom: 10px;
    font-size: 1.6em;
}

.incentive-item p {
    color: var(--text-muted);
    font-size: 1em;
}

/* FAQ Section - Accordion Style */
.faq-section {
    background-color: var(--deep-navy-base);
    position: relative;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.accordion-item {
    background-color: var(--midnight-base);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.accordion-question {
    background-color: var(--graphite-base);
    color: var(--teal-accent);
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.3em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.accordion-question:hover {
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--text-light);
}

.accordion-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--rose-accent);
    transition: transform 0.3s ease;
}

.accordion-question[aria-expanded="true"]::after {
    content: '-';
    transform: rotate(180deg);
}

.accordion-answer {
    padding: 0 25px;
    background-color: var(--midnight-base);
    color: var(--text-muted);
    font-size: 1.05em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-answer.active {
    max-height: 500px; /* Large enough value to show content */
    padding: 20px 25px;
}
.accordion-answer p {
    margin-bottom: 0;
}

/* Contact Section - Social Focus (Generic contact text, no actual social links) */
.contact-section {
    background-color: var(--graphite-base);
    text-align: center;
    position: relative;
}

.contact-placeholder {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--midnight-base);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 0, 191, 0.2);
}

.contact-placeholder p {
    font-size: 1.15em;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background-color: var(--deep-navy-base);
    color: var(--text-muted);
    text-align: center;
    padding: 40px var(--spacing-sm);
    font-size: 0.9em;
    border-top: 1px solid rgba(0,255,255,0.2);
}

.site-footer p {
    margin: 5px 0;
}


/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }
    h4 { font-size: 1.3em; }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--graphite-base);
        padding: 20px 0;
        border-top: 1px solid rgba(0, 255, 255, 0.2);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-grid-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--spacing-md); /* Adjust padding */
    }

    .hero-text-block {
        grid-column: 1 / -1;
        padding: var(--spacing-sm);
    }

    .hero-text-block h1 {
        font-size: 2.5em;
    }

    .hero-image-block {
        display: none; /* Hide image block on smaller screens for cleaner layout */
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: var(--spacing-md) !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        margin-left: -40px; /* Adjust for single column */
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        right: auto;
    }

    .process-steps-container {
        grid-template-columns: 1fr;
    }
    .process-steps-container::after {
        display: none; /* Hide visual flow line on mobile */
    }

    .team-slider-container {
        max-width: 600px; /* Adjust for fewer items visible */
    }
    .team-member {
        flex: 0 0 50%; /* Show 2 items on medium screens */
    }

    .testimonial-grid,
    .incentive-focus-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.3em; }
    h4 { font-size: 1.1em; }

    .site-header {
        padding: 15px var(--spacing-sm);
    }

    .nav-links {
        padding-top: 15px;
    }

    .hero-section {
        height: auto;
        min-height: 60vh;
        padding: var(--spacing-md) 0;
    }
    .hero-text-block {
        padding: var(--spacing-sm);
    }
    .hero-text-block h1 {
        font-size: 2.2em;
    }
    .hero-text-block p {
        font-size: 1em;
    }

    section {
        padding: var(--spacing-md) 0;
    }
    .section-description {
        margin-bottom: var(--spacing-sm);
    }

    .button {
        padding: 12px 24px;
        font-size: 0.9em;
    }

    .portfolio-grid, .masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member {
        flex: 0 0 100%; /* Show 1 item on small screens */
    }
    .slider-prev, .slider-next {
        font-size: 1.2em;
        padding: 8px 12px;
    }

    .accordion-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .accordion-answer.active {
        padding: 15px 20px;
    }
}


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;}
