@import 'variables.css';

/* Reset & Normalize */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.text-highlight {
    color: var(--color-primary);
}

.text-gradient {
    /* Transitions from Gecko Green to a slightly deeper Green to match icons */
    background: linear-gradient(135deg, #00FF9D, #00CC7D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.15));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #000 !important;
    /* Force high contrast */
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--font-sans);
    text-decoration: none;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-secondary) !important;
}

.btn i {
    font-size: 0.9em;
}

.btn-outline {
    background-color: transparent !important;
    color: var(--color-primary) !important;
}

.btn-outline:hover {
    background-color: var(--color-primary) !important;
    color: #000 !important;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* =================== */
/*       HEADER        */
/* =================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md) 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo {
    text-decoration: none;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
    background: #000;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-gold {
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-white {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.logo-text small {
    color: var(--color-text-muted);
    font-size: 0.65rem;
    letter-spacing: 3px;
    margin-top: 2px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
        width: 35px;
    }

    .logo-gold,
    .logo-white {
        font-size: 1.1rem;
    }
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Ensure the CTA button in the nav stands out with black text */
.nav-links a.btn {
    color: #000 !important;
    background-color: var(--color-primary);
    padding: 0.6rem 1.2rem;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a.btn:hover {
    color: var(--color-secondary) !important;
    background-color: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-text);
}

/* =================== */
/*     HERO SECTION    */
/* =================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)),
        url('../Images/web/hero-bg.jpg?v=1.1') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    text-align: left;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin: 0 0 var(--spacing-lg);
    line-height: 1.7;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2000px;
    height: 500px;
    position: relative;
}

/* Swatch Deck Styles */
.swatch-deck {
    position: relative;
    width: 300px;
    height: 450px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: grab;
}

.swatch-deck:active {
    cursor: grabbing;
}

.swatch-leaf {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 380px;
    margin-left: -60px;
    margin-top: -300px;
    /* Pivot from the bottom */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform-origin: center bottom;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swatch-color {
    height: 70%;
    width: 100%;
}

.swatch-info {
    flex: 1;
    padding: 15px 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #1e293b;
}

.swatch-code {
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.swatch-name {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* Fan Angles */
.swatch-leaf:nth-child(1) {
    transform: rotate(-45deg) translateZ(0px);
}

.swatch-leaf:nth-child(2) {
    transform: rotate(-30deg) translateZ(10px);
}

.swatch-leaf:nth-child(3) {
    transform: rotate(-15deg) translateZ(20px);
}

.swatch-leaf:nth-child(4) {
    transform: rotate(0deg) translateZ(30px);
}

.swatch-leaf:nth-child(5) {
    transform: rotate(15deg) translateZ(40px);
}

.swatch-leaf:nth-child(6) {
    transform: rotate(30deg) translateZ(50px);
}

.swatch-leaf:nth-child(7) {
    transform: rotate(45deg) translateZ(60px);
}

.hero-btns {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 70%, var(--color-bg) 100%);
}

/* =================== */
/*   SERVICES SECTION  */
/* =================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(0, 255, 157, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.15), rgba(255, 215, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.4rem;
    color: var(--color-primary);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =================== */
/*    ABOUT SECTION    */
/* =================== */
.about {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(30, 41, 59, 0.5) 100%);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.gecko-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.image-before {
    width: 50%;
    z-index: 1;
}

/* This is the magic part: the inner image must maintain the full slider width 
   regardless of the container's width */
.image-before img {
    width: calc(100% * (1 / 0.5));
    /* Initial state (50%) */
    object-fit: cover;
}

.slider-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    z-index: 4;
    cursor: ew-resize;
    appearance: none;
    -webkit-appearance: none;
}

.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--color-primary);
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.5);
    font-size: 0.9rem;
}

.slider-label {
    position: absolute;
    bottom: 15px;
    padding: 5px 12px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.before-label {
    left: 15px;
}

.mascot-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #000;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.mascot-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-title {
    text-align: left;
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(0, 255, 157, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* =================== */
/* SERVICE AREAS SECTION*/
/* =================== */
.service-areas {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, var(--color-bg) 100%);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.area-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.area-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.area-card i {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

.area-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.area-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =================== */
/*  PORTFOLIO SECTION  */
/* =================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* =================== */
/* TESTIMONIALS SECTION */
/* =================== */
.testimonials {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.3) 0%, var(--color-bg) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.stars {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    display: flex;
    gap: 3px;
}

.testimonial-card>p {
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* =================== */
/*   CONTACT SECTION   */
/* =================== */
.contact {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(30, 41, 59, 0.6) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info>p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.info-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(0, 255, 157, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1rem;
    margin-top: 2px;
}

.info-item h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--color-text);
}

.info-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Form */
/* Multi-Step Lead Funnel */
.contact-form-wrapper {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-md);
}

.progress-step {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.progress-step.active {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 12px;
}

.form-step {
    display: none;
    animation: funnelSlide 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

@keyframes funnelSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: var(--color-text);
}

.service-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.service-option input {
    display: none;
}

.option-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
}

.service-option input:checked+.option-card {
    border-color: var(--color-primary);
    background: rgba(255, 215, 0, 0.08);
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.05);
}

.option-card i {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.option-card span {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.form-group select option {
    background-color: #1e293b;
    /* Deeper slate for contrast */
    color: #ffffff;
    padding: 10px;
}

.form-btns {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.form-btns .btn {
    flex: 1;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

/* =================== */
/*       FOOTER        */
/* =================== */
footer {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    background: var(--color-primary);
    color: #000;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-areas {
    text-align: center;
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-areas strong {
    color: var(--color-text);
}

/* =================== */
/*     ANIMATIONS      */
/* =================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================== */
/*   RESPONSIVE DESIGN */
/* =================== */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content p {
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info>p {
        text-align: center;
    }

    .info-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.97);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-lg);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin-bottom: var(--spacing-xl);
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        height: 400px;
    }

    .swatch-deck {
        width: 250px;
        height: 350px;
    }

    .swatch-leaf {
        width: 100px;
        height: 320px;
        margin-left: -50px;
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .hero {
        padding: 100px var(--spacing-md) var(--spacing-lg);
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* =================== */
/*   GECKO SLIDERS      */
/* =================== */
.portfolio-page {
    padding-top: var(--spacing-xxl);
}

.portfolio-slider-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.portfolio-slider-container h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    font-size: 2rem;
}

.portfolio-slider-container p {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.gecko-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    background: #000;
}

@media (max-width: 768px) {
    .gecko-slider {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .gecko-slider {
        height: 250px;
    }
}

.image-after {
    width: 100%;
    height: 100%;
    background-position: center;
}

.image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: left center;
    border-right: 4px solid var(--color-primary);
    z-index: 2;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: ew-resize;
    z-index: 3;
    margin: 0;
}

.slider-handle:focus {
    outline: none;
}

.slider-handle::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: ew-resize;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--color-white);
}