/* ===== CSS VARIABLES ===== */
:root {
    /* Color Palette */
    --deep-charcoal: #1C1C1E;
    --electric-mint: #00FFC3;
    --soft-sand: #F3F2ED;
    --warm-coral: #FF6B6B;
    
    /* Gradients */
    --mint-gradient: linear-gradient(135deg, var(--electric-mint), #00d4a8);
    --coral-gradient: linear-gradient(135deg, var(--warm-coral), #ff5252);
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-padding: 0 2rem;
    --section-padding: 5rem 0;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-neon: 0 0 30px rgba(0, 255, 195, 0.3);
    --shadow-coral: 0 0 30px rgba(255, 107, 107, 0.3);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent horizontal overflow */
body, html {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--deep-charcoal);
    color: var(--soft-sand);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
    box-sizing: border-box;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: var(--mint-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(243, 242, 237, 0.8);
    margin-bottom: 3rem;
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: var(--mint-gradient);
    color: var(--deep-charcoal);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 255, 195, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--soft-sand);
    border: 2px solid var(--electric-mint);
}

.btn-secondary:hover {
    background: var(--electric-mint);
    color: var(--deep-charcoal);
    transform: translateY(-3px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(28, 28, 30, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* ===== PROFESSIONAL LOGO ===== */
.professional-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* Logo Mark - The V Symbol */
.logo-mark {
    position: relative;
    width: 56px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valley-v {
    position: relative;
    width: 44px;
    height: 38px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.v-left,
.v-right {
    position: absolute;
    width: 4px;
    height: 28px;
    background: var(--electric-mint);
    border-radius: 2px 2px 0 0;
    transition: var(--transition-smooth);
    transform-origin: bottom center;
    bottom: 0;
}

.v-left {
    left: 50%;
    transform: translateX(-2px) rotate(-20deg);
}

.v-right {
    right: 50%;
    transform: translateX(2px) rotate(20deg);
}

/* Design Dot - Represents creativity and precision */
.design-dot {
    position: absolute;
    top: 3px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--warm-coral);
    border-radius: 50%;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

/* Company Name Typography */
.company-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-primary);
}

.valley {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--soft-sand);
    letter-spacing: -0.02em;
}

.creative {
    font-size: 1rem;
    font-weight: 400;
    color: var(--electric-mint);
    letter-spacing: 0.05em;
    margin-top: -2px;
}

.designs {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(243, 242, 237, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: -1px;
}

/* Subtle Hover Effects */
.professional-logo:hover .v-left {
    transform: translateX(-2px) rotate(-25deg);
    background: var(--warm-coral);
    box-shadow: 0 0 8px rgba(0, 255, 195, 0.4);
}

.professional-logo:hover .v-right {
    transform: translateX(2px) rotate(25deg);
    background: var(--warm-coral);
    box-shadow: 0 0 8px rgba(0, 255, 195, 0.4);
}

.professional-logo:hover .design-dot {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--warm-coral);
}

.professional-logo:hover .creative {
    color: var(--warm-coral);
}

.professional-logo:hover .valley {
    color: var(--electric-mint);
}

/* Active/Click State */
.professional-logo:active {
    transform: scale(0.98);
}

.professional-logo:active .v-left,
.professional-logo:active .v-right {
    background: var(--electric-mint);
}

.professional-logo:active .design-dot {
    background: var(--electric-mint);
}

/* Responsive Design */
@media (max-width: 768px) {
    .professional-logo {
        gap: 0.7rem;
    }
    
    .logo-mark {
        width: 36px;
        height: 30px;
    }
    
    .valley-v {
        width: 28px;
        height: 24px;
    }
    
    .v-left,
    .v-right {
        width: 2.5px;
        height: 16px;
    }
    
    .design-dot {
        width: 5px;
        height: 5px;
        top: 1px;
        right: 5px;
    }
    
    .valley {
        font-size: 1.2rem;
    }
    
    .creative {
        font-size: 0.8rem;
    }
    
    .designs {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .professional-logo {
        gap: 0.5rem;
    }
    
    .company-name {
        display: none; /* Show only logo mark on very small screens */
    }
    
    .logo-mark {
        width: 32px;
        height: 28px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--soft-sand);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-mint);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(0, 255, 195, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--electric-mint);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 195, 0.1) 0%, transparent 70%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: rgba(0, 255, 195, 0.1);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 107, 107, 0.1);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 195, 0.15);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: rgba(255, 107, 107, 0.08);
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    background: var(--mint-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.title-subtitle {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--warm-coral);
    font-weight: 500;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(243, 242, 237, 0.9);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--electric-mint);
    border-radius: 25px;
    position: relative;
}

.scroll-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--electric-mint);
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll-down {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    overflow: visible;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .service-card {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
}

.service-card {
    background: rgba(243, 242, 237, 0.05);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 255, 195, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

@media (max-width: 1200px) {
    .service-card {
        padding: 2.5rem 2rem;
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 2rem 1.5rem;
        min-height: auto;
        height: auto;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 2rem 1.5rem;
        min-height: auto;
        height: auto;
        margin-bottom: 1.5rem;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 195, 0.1), transparent);
    transition: var(--transition-smooth);
    border-radius: 20px;
    z-index: 1;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-neon);
    border-color: var(--electric-mint);
}

.service-icon {
    font-size: 3rem;
    color: var(--electric-mint);
    margin-bottom: 1.5rem;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--soft-sand);
}

.service-description {
    color: rgba(243, 242, 237, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
    overflow: visible;
    word-wrap: break-word;
}

@media (max-width: 1200px) {
    .service-title {
        font-size: 1.4rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .service-title {
        font-size: 1.5rem;
    }
    
    .service-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: auto;
    overflow: visible;
    width: 100%;
}

.feature {
    background: rgba(0, 255, 195, 0.1);
    color: var(--electric-mint);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 195, 0.3);
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .feature {
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem;
    }
}

@media (max-width: 768px) {
    .feature {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .service-features {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .service-features {
        gap: 0.4rem;
    }
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: var(--section-padding);
    background: rgba(243, 242, 237, 0.02);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: var(--soft-sand);
    border: 2px solid rgba(0, 255, 195, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-primary);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--electric-mint);
    color: var(--deep-charcoal);
    border-color: var(--electric-mint);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--soft-sand);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.placeholder-image.websites {
    background: linear-gradient(135deg, rgba(0, 255, 195, 0.2), rgba(0, 255, 195, 0.1));
}

.placeholder-image.logos {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.1));
}

.placeholder-image.branding {
    background: linear-gradient(135deg, rgba(0, 255, 195, 0.15), rgba(255, 107, 107, 0.15));
}

.placeholder-image i {
    font-size: 3rem;
    opacity: 0.8;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 28, 30, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    text-align: center;
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: var(--electric-mint);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: rgba(243, 242, 237, 0.8);
    margin-bottom: 1.5rem;
}

.view-project {
    background: var(--mint-gradient);
    color: var(--deep-charcoal);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.view-project:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-neon);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--section-padding);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    display: none;
    background: rgba(243, 242, 237, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 195, 0.1);
    position: relative;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-icon {
    font-size: 2rem;
    color: var(--electric-mint);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--soft-sand);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--mint-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-charcoal);
    font-size: 1.5rem;
}

.author-name {
    color: var(--electric-mint);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-title {
    color: rgba(243, 242, 237, 0.7);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--electric-mint);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-dot.active {
    background: var(--electric-mint);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding);
    background: rgba(243, 242, 237, 0.02);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-logo-display {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 195, 0.1), rgba(255, 107, 107, 0.1));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.about-logo-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 195, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.giant-logo {
    position: relative;
    width: 200px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.giant-valley-v {
    position: relative;
    width: 160px;
    height: 140px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.giant-v-left,
.giant-v-right {
    position: absolute;
    width: 16px;
    height: 100px;
    background: var(--electric-mint);
    border-radius: 8px 8px 0 0;
    transition: var(--transition-smooth);
    transform-origin: bottom center;
    bottom: 0;
    box-shadow: 0 0 20px rgba(0, 255, 195, 0.3);
}

.giant-v-left {
    left: 50%;
    transform: translateX(-8px) rotate(-20deg);
}

.giant-v-right {
    right: 50%;
    transform: translateX(8px) rotate(20deg);
}

.giant-design-dot {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 24px;
    height: 24px;
    background: var(--warm-coral);
    border-radius: 50%;
    transition: var(--transition-smooth);
    opacity: 0.9;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
    animation: dotFloat 4s ease-in-out infinite;
}

@keyframes dotFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.giant-logo:hover .giant-v-left {
    transform: translateX(-8px) rotate(-25deg);
    background: var(--warm-coral);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

.giant-logo:hover .giant-v-right {
    transform: translateX(8px) rotate(25deg);
    background: var(--warm-coral);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

.giant-logo:hover .giant-design-dot {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 25px var(--warm-coral);
}

@media (max-width: 768px) {
    .about-logo-display {
        height: 300px;
    }
    
    .giant-logo {
        width: 150px;
        height: 130px;
    }
    
    .giant-valley-v {
        width: 120px;
        height: 100px;
    }
    
    .giant-v-left,
    .giant-v-right {
        width: 12px;
        height: 75px;
        border-radius: 6px 6px 0 0;
    }
    
    .giant-v-left {
        transform: translateX(-6px) rotate(-20deg);
    }
    
    .giant-v-right {
        transform: translateX(6px) rotate(20deg);
    }
    
    .giant-design-dot {
        width: 18px;
        height: 18px;
        top: 15px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .about-logo-display {
        height: 250px;
    }
    
    .giant-logo {
        width: 120px;
        height: 100px;
    }
    
    .giant-valley-v {
        width: 100px;
        height: 80px;
    }
    
    .giant-v-left,
    .giant-v-right {
        width: 10px;
        height: 60px;
        border-radius: 5px 5px 0 0;
    }
    
    .giant-v-left {
        transform: translateX(-5px) rotate(-20deg);
    }
    
    .giant-v-right {
        transform: translateX(5px) rotate(20deg);
    }
    
    .giant-design-dot {
        width: 15px;
        height: 15px;
        top: 12px;
        right: 15px;
    }
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-description {
    color: rgba(243, 242, 237, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--electric-mint);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(243, 242, 237, 0.7);
    font-size: 0.9rem;
}

/* ===== COMMUNITY IMPACT SECTION ===== */
.community-impact {
    padding: var(--section-padding);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(0, 255, 195, 0.1) 100%);
    text-align: center;
}

.impact-content {
    max-width: 800px;
    margin: 0 auto;
}

.impact-icon {
    font-size: 4rem;
    color: var(--warm-coral);
    margin-bottom: 2rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.impact-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--warm-coral), var(--electric-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-description {
    font-size: 1.2rem;
    color: rgba(243, 242, 237, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.impact-subtitle {
    font-size: 1rem;
    color: rgba(243, 242, 237, 0.7);
    margin-bottom: 3rem;
    font-style: italic;
}

.charity-link {
    color: var(--electric-mint);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.charity-link:hover {
    color: var(--warm-coral);
    border-bottom-color: var(--warm-coral);
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.impact-stat {
    text-align: center;
    min-width: 120px;
}

.impact-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--electric-mint);
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.impact-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(243, 242, 237, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .impact-stats {
        gap: 2rem;
    }
    
    .impact-stat {
        min-width: 100px;
    }
    
    .impact-description {
        font-size: 1.1rem;
    }
    
    .impact-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .impact-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .impact-stat {
        min-width: auto;
    }
    
    .impact-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .impact-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta {
    padding: var(--section-padding);
    background: rgba(255, 107, 107, 0.05);
    text-align: center;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--soft-sand);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.3rem;
    color: rgba(243, 242, 237, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(243, 242, 237, 0.8);
}

.contact-item i {
    color: var(--electric-mint);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--electric-mint);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(243, 242, 237, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 195, 0.1);
    border: 1px solid rgba(0, 255, 195, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-mint);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    background: var(--electric-mint);
    color: var(--deep-charcoal);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(243, 242, 237, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--electric-mint);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 255, 195, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(243, 242, 237, 0.6);
    font-size: 0.9rem;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--mint-gradient);
    color: var(--deep-charcoal);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

/* ===== ENHANCED RESPONSIVE DESIGN ===== */

/* Large screens - ensure services stay in 4 columns */
@media (min-width: 1201px) {
    .services-grid {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Tablet landscape */
@media (max-width: 1200px) and (min-width: 769px) {
    .container {
        max-width: 1000px;
    }
    
    .hero-title .title-line {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Hero section adjustments */
    .hero-title .title-line {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Button adjustments */
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* Stats adjustments */
    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Portfolio filters */
    .portfolio-filters {
        justify-content: center;
    }
    
    .filter-btn {
        min-width: auto;
        flex: 1;
        max-width: 140px;
    }
    
    /* Testimonial cards */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Contact info */
    .contact-item {
        font-size: 0.9rem;
    }
}

/* Tablet portrait and mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(28, 28, 30, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: var(--transition-smooth);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 3rem 0;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        color: var(--soft-sand);
        border-bottom: 1px solid rgba(0, 255, 195, 0.1);
        transition: var(--transition-smooth);
    }

    .nav-link:hover {
        background: rgba(0, 255, 195, 0.1);
        color: var(--electric-mint);
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
        padding: 0.5rem;
        border-radius: 4px;
        transition: var(--transition-smooth);
    }

    .nav-toggle:hover {
        background: rgba(0, 255, 195, 0.1);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero section */
    .hero {
        min-height: 90vh;
        padding-top: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    /* Portfolio */
    .portfolio {
        padding: 4rem 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .portfolio-filters {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-width: 100px;
        border-radius: 20px;
    }

    .portfolio-item {
        min-height: 250px;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .portfolio-image {
        height: 180px;
        width: 100%;
    }

    .portfolio .section-header {
        margin-bottom: 2.5rem;
    }

    .portfolio .section-title {
        font-size: 2.5rem;
    }

    .portfolio .section-subtitle {
        font-size: 1.1rem;
    }

    /* About section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-text .btn {
        margin: 0 auto;
        display: block;
        width: fit-content;
    }

    .about-stats {
        justify-content: space-around;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat {
        min-width: 120px;
    }

    /* Contact CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Section spacing */
    :root {
        --section-padding: 4rem 0;
    }
}

/* Tablet landscape */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .portfolio-item {
        min-height: 280px;
    }

    .portfolio-image {
        height: 200px;
    }

    .portfolio-filters {
        justify-content: center;
        gap: 1rem;
    }

    .filter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-title .title-line {
        font-size: clamp(3.5rem, 6vw, 5rem);
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    /* Tablet about section centering */
    .about-content {
        text-align: center;
    }
    
    .about-text .section-title {
        text-align: center;
    }
    
    .about-text .btn {
        margin: 2rem auto 0;
        display: block;
        width: fit-content;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Enhanced mobile navigation */
    .nav-container {
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 2rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    /* Mobile hero improvements */
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }

    .hero-title .title-line {
        font-size: clamp(2.5rem, 8vw, 4rem);
        line-height: 1.1;
    }

    .title-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 50px;
        touch-action: manipulation;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    /* Mobile services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .service-card {
        padding: 2rem 1.5rem;
        min-height: auto;
        height: auto;
        width: 100%;
        margin: 0 0 1.5rem 0;
        box-sizing: border-box;
        overflow: visible;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .service-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .service-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .service-features {
        gap: 0.5rem;
        margin-top: 1.5rem;
        justify-content: center;
        align-items: center;
        width: 100%;
        overflow: visible;
    }

    .feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
        overflow: visible;
        flex-shrink: 0;
    }

    /* Mobile portfolio - improved responsive design */
    .portfolio {
        padding: 3rem 0;
    }

    .portfolio-filters {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: auto;
        flex: 1;
        max-width: 80px;
        text-align: center;
        border-radius: 20px;
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .portfolio-item {
        position: relative;
        border-radius: 15px;
        overflow: hidden;
        background: rgba(243, 242, 237, 0.05);
        border: 1px solid rgba(0, 255, 195, 0.1);
        transition: var(--transition-smooth);
        height: auto;
        min-height: 200px;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .portfolio-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 255, 195, 0.15);
        border-color: rgba(0, 255, 195, 0.3);
    }

    .portfolio-image {
        position: relative;
        height: 150px;
        overflow: hidden;
        width: 100%;
    }

    .portfolio-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-smooth);
    }

    .portfolio-item:hover .portfolio-img {
        transform: scale(1.05);
    }

    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(28, 28, 30, 0.9), rgba(0, 255, 195, 0.1));
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1rem;
        opacity: 0;
        transition: var(--transition-smooth);
    }

    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }

    .portfolio-overlay h4 {
        color: var(--electric-mint);
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .portfolio-overlay p {
        color: rgba(243, 242, 237, 0.9);
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .view-project {
        background: var(--mint-gradient);
        color: var(--deep-charcoal);
        padding: 0.6rem 1.2rem;
        border-radius: 25px;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
        transition: var(--transition-smooth);
        display: inline-block;
    }

    .view-project:hover {
        transform: scale(1.05);
        box-shadow: var(--shadow-neon);
    }

    /* Mobile portfolio section header */
    .portfolio .section-header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .portfolio .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .portfolio .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center;
        padding: 0 0.5rem;
    }

    /* Ensure no horizontal overflow */
    .portfolio {
        overflow-x: hidden;
        width: 100%;
    }

    .portfolio .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Mobile testimonials */
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .author-name {
        font-size: 1rem;
    }

    .author-title {
        font-size: 0.85rem;
    }

    /* Mobile about section */
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .stat {
        min-width: auto;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    /* Mobile about section centering */
    .about-content {
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text .section-title {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .about-text .btn {
        margin: 2rem auto 0;
        display: block;
        width: fit-content;
        text-align: center;
    }

    /* Mobile contact */
    .cta-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .cta-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .contact-item {
        font-size: 0.9rem;
        justify-content: center;
    }

    /* Mobile footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-copyright {
        font-size: 0.8rem;
        text-align: center;
        padding: 0 1rem;
    }

    /* Touch improvements */
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top i {
        font-size: 1.2rem;
    }

    /* Ensure proper touch targets */
    button, .btn, .nav-link, .filter-btn, .view-project {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* Prevent horizontal overflow on mobile */
    .hero-container,
    .container,
    .nav-container,
    .services-grid,
    .portfolio-grid,
    .footer-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure all text elements wrap properly */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* ===== CUSTOM ANIMATIONS ===== */
@keyframes slideInFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ===== LOGO SPECIAL ANIMATIONS ===== */
@keyframes mountainBurst {
    0% { 
        transform: translateY(0) scale(1); 
        filter: brightness(1) drop-shadow(0 0 5px rgba(0, 255, 195, 0.3));
    }
    30% { 
        transform: translateY(-15px) scale(1.3); 
        filter: brightness(2) drop-shadow(0 0 25px rgba(0, 255, 195, 1));
    }
    70% { 
        transform: translateY(-8px) scale(1.1); 
        filter: brightness(1.5) drop-shadow(0 0 15px rgba(0, 255, 195, 0.8));
    }
    100% { 
        transform: translateY(0) scale(1); 
        filter: brightness(1) drop-shadow(0 0 5px rgba(0, 255, 195, 0.3));
    }
}

@keyframes letterBurst {
    0% { 
        transform: translateY(0) scale(1) rotate(0deg); 
        color: var(--electric-mint);
    }
    25% { 
        transform: translateY(-10px) scale(1.4) rotate(10deg); 
        color: var(--warm-coral);
        text-shadow: 0 0 20px var(--warm-coral);
    }
    50% { 
        transform: translateY(-5px) scale(1.2) rotate(-5deg); 
        color: var(--electric-mint);
        text-shadow: 0 0 15px var(--electric-mint);
    }
    75% { 
        transform: translateY(-2px) scale(1.1) rotate(2deg); 
        color: var(--warm-coral);
    }
    100% { 
        transform: translateY(0) scale(1) rotate(0deg); 
        color: var(--electric-mint);
        text-shadow: none;
    }
}

@keyframes sparkSupernova {
    0% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1;
        box-shadow: 0 0 5px var(--warm-coral);
    }
    30% { 
        transform: scale(3) rotate(180deg); 
        opacity: 0.8;
        box-shadow: 0 0 30px var(--warm-coral), 0 0 60px rgba(255, 107, 107, 0.5);
    }
    60% { 
        transform: scale(2) rotate(270deg); 
        opacity: 0.6;
        box-shadow: 0 0 20px var(--warm-coral), 0 0 40px rgba(255, 107, 107, 0.3);
    }
    100% { 
        transform: scale(1) rotate(360deg); 
        opacity: 1;
        box-shadow: 0 0 5px var(--warm-coral);
    }
}

/* Easter Egg Rainbow Animations */
@keyframes rainbowMountain {
    0% { border-bottom-color: #ff0000; }
    16.66% { border-bottom-color: #ff8800; }
    33.33% { border-bottom-color: #ffff00; }
    50% { border-bottom-color: #00ff00; }
    66.66% { border-bottom-color: #0088ff; }
    83.33% { border-bottom-color: #4400ff; }
    100% { border-bottom-color: #ff0000; }
}

@keyframes rainbowLetter {
    0% { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
    16.66% { color: #ff8800; text-shadow: 0 0 10px #ff8800; }
    33.33% { color: #ffff00; text-shadow: 0 0 10px #ffff00; }
    50% { color: #00ff00; text-shadow: 0 0 10px #00ff00; }
    66.66% { color: #0088ff; text-shadow: 0 0 10px #0088ff; }
    83.33% { color: #4400ff; text-shadow: 0 0 10px #4400ff; }
    100% { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
}

/* Rainbow mode special effects */
.rainbow-mode {
    animation: rainbowGlow 2s linear infinite;
}

@keyframes rainbowGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-shapes {
        display: none;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--electric-mint);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --soft-sand: #ffffff;
        --deep-charcoal: #000000;
    }
}

/* ===== TREASURE HUNT GAME STYLES ===== */
.treasure-reward {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 28, 30, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.treasure-modal {
    background: linear-gradient(135deg, var(--deep-charcoal), rgba(0, 255, 195, 0.1));
    border: 2px solid var(--electric-mint);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 255, 195, 0.3);
    animation: treasureAppear 0.8s ease-out;
}

@keyframes treasureAppear {
    0% {
        transform: scale(0.5) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.treasure-modal h2 {
    color: var(--electric-mint);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 195, 0.5);
    animation: treasureGlow 2s ease-in-out infinite alternate;
}

@keyframes treasureGlow {
    0% {
        text-shadow: 0 0 20px rgba(0, 255, 195, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(0, 255, 195, 0.8), 0 0 40px rgba(255, 107, 107, 0.3);
    }
}

.treasure-modal p {
    color: var(--soft-sand);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.discount-code {
    background: rgba(0, 255, 195, 0.1);
    border: 1px solid rgba(0, 255, 195, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.discount-code h3 {
    color: var(--electric-mint);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.code-display {
    background: var(--electric-mint);
    color: var(--deep-charcoal);
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 1rem 0;
    letter-spacing: 3px;
    animation: codeFlash 1.5s ease-in-out infinite alternate;
}

@keyframes codeFlash {
    0% {
        box-shadow: 0 0 10px rgba(0, 255, 195, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 195, 0.8), 0 0 30px rgba(0, 255, 195, 0.4);
    }
}

.treasure-modal .btn {
    margin-top: 1rem;
    font-size: 1.2rem;
    padding: 1rem 2rem;
}

/* Treasure hunt interactive elements */
#treasure-palette.treasure-active {
    animation: treasurePulse 0.5s ease-in-out;
    border-color: var(--warm-coral) !important;
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 3;
}

@keyframes treasurePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

#palette-icon.treasure-clicked {
    color: var(--warm-coral) !important;
    animation: iconSpin 0.3s ease-in-out;
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

#treasure-branding.treasure-discovered {
    background: linear-gradient(45deg, var(--electric-mint), var(--warm-coral));
    color: var(--deep-charcoal);
    animation: brandingGlow 1s ease-in-out;
}

@keyframes brandingGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 195, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 195, 0.8), 0 0 35px rgba(255, 107, 107, 0.5);
    }
}

#treasure-experience.treasure-unlocked {
    position: relative;
    overflow: visible;
}

#treasure-experience.treasure-unlocked::after {
    content: "🗝️";
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    animation: keyFloat 2s ease-in-out infinite;
}

@keyframes keyFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(10deg);
    }
}

/* Hidden treasure hints */
.treasure-hint {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 255, 195, 0.9);
    color: var(--deep-charcoal);
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    max-width: 250px;
    z-index: 1000;
    animation: hintSlide 0.5s ease-out;
    display: none;
}

@keyframes hintSlide {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.treasure-hint.show {
    display: block;
}

/* Mobile treasure hunt adjustments */
@media (max-width: 768px) {
    .treasure-modal {
        padding: 2rem;
        margin: 1rem;
    }
    
    .treasure-modal h2 {
        font-size: 2rem;
    }
    
    .code-display {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .treasure-hint {
        bottom: 80px;
        right: 10px;
        max-width: 200px;
        font-size: 0.8rem;
    }
} 