/* ============================================
   IKAIA MEDIA - Premium Marketing Website
   Production-Ready CSS
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors */
    --bg-cream: #F5EFE6;
    --bg-cream-dark: #EAE0D5;
    --brown-dark: #4A3728;
    --brown-darker: #3A2A1E;
    --brown-med: #6B4F3A;
    --brown-light: #8B7355;
    --brown-gradient-start: #5C4033;
    --brown-gradient-end: #3E2723;
    --text-dark: #2D2013;
    --text-muted: #6B5B4D;
    --text-light: #9A8B7C;
    --white: #FFFFFF;
    --accent-orange: #D4A574;
    --shadow-soft: rgba(74, 55, 40, 0.08);
    --shadow-medium: rgba(74, 55, 40, 0.15);

    /* Typography */
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
}

.btn-primary {
    background-color: var(--brown-dark);
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-primary:hover {
    background-color: var(--brown-darker);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(245, 239, 230, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 55, 40, 0.08);
    box-shadow: 0 2px 20px rgba(74, 55, 40, 0.05);
    transform: none !important;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--brown-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--brown-dark);
}

.logo-tagline {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-light .logo-img {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brown-dark);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--brown-dark);
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 5rem 0 2rem;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    bottom: -100px;
    background-image: url('assets/pattern.svg');
    background-size: 600px;
    background-repeat: repeat;
    opacity: 0.15;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
    font-style: italic;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--accent-orange), var(--brown-light));
    border-radius: 4px;
    opacity: 0.5;
    z-index: -1;
}

.hero-title .emoji {
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    max-width: 300px;
    margin: 0 auto 0;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* Floating Cards - Scaled Down */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px var(--shadow-soft);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.floating-card-left {
    left: -20px;
    bottom: 15%;
    animation-delay: 0s;
}

.floating-card-right {
    right: -20px;
    top: 15%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.floating-card-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--brown-med), var(--brown-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card-icon svg {
    width: 14px;
    height: 14px;
    color: var(--white);
}

.floating-card-content {
    display: flex;
    flex-direction: column;
}

.floating-card-title {
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.floating-card-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--brown-dark);
}

/* ============================================
   STRATEGY SECTION - Enhanced with life
   ============================================ */
.strategy {
    padding: var(--space-3xl) 0;
    background:
        linear-gradient(135deg, rgba(92, 64, 51, 0.75) 0%, rgba(62, 39, 35, 0.85) 100%),
        url('assets/strategy-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Animated gradient overlay */
.strategy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    animation: strategyGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Floating particles effect */
.strategy::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(212, 165, 116, 0.1) 1px, transparent 1px);
    background-size: 60px 60px, 90px 90px;
    background-position: 0 0, 30px 30px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes strategyGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-100px) translateX(50px);
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.highlight-script {
    font-style: italic;
    position: relative;
    color: var(--accent-orange);
}

.highlight-script::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), rgba(212, 165, 116, 0.3));
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite alternate;
}

@keyframes underlineGlow {
    0% {
        opacity: 0.7;
        width: 100%;
    }

    100% {
        opacity: 1;
        width: 100%;
        box-shadow: 0 0 15px var(--accent-orange);
    }
}

.section-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.strategy-card {
    background: linear-gradient(145deg, var(--bg-cream) 0%, rgba(245, 239, 230, 0.95) 100%);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid var(--brown-dark);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on hover */
.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.6s ease;
}

.strategy-card:hover::before {
    left: 100%;
}

/* Glow border on hover */
.strategy-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 2px transparent;
    transition: box-shadow 0.4s ease;
    pointer-events: none;
}

.strategy-card:hover::after {
    box-shadow: inset 0 0 0 2px var(--accent-orange);
}

.strategy-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(212, 165, 116, 0.2);
    border-left-color: var(--accent-orange);
}

.strategy-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-orange), var(--brown-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(74, 55, 40, 0.3);
}

.strategy-card:hover .strategy-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.strategy-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
    transition: transform 0.3s ease;
}

.strategy-card:hover .strategy-icon svg {
    transform: scale(1.15);
}

.strategy-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.strategy-card:hover h3 {
    color: var(--brown-darker);
}

.strategy-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.strategy-card:hover p {
    color: var(--text-dark);
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.results-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: var(--space-2xl);
}

.highlight-underline {
    font-style: italic;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brown-dark);
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    color: var(--brown-dark);
    font-style: italic;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

.results-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ============================================
   SERVICES SECTION - Vibrant Cards
   ============================================ */
.services {
    padding: var(--space-xl) 0 var(--space-3xl);
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream-dark) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: linear-gradient(145deg, rgba(74, 55, 40, 0.95), rgba(58, 42, 30, 0.98));
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animated gradient border */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(212, 165, 116, 0.1) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Shimmer sweep effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    left: 150%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 165, 116, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 165, 116, 0.4);
}

/* Stagger animation on load */
.service-card:nth-child(1) {
    transition-delay: 0s;
}

.service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card:nth-child(3) {
    transition-delay: 0.2s;
}

.service-card:nth-child(4) {
    transition-delay: 0.3s;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange), rgba(212, 165, 116, 0.6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 8px 20px rgba(212, 165, 116, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow:
            0 8px 20px rgba(212, 165, 116, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow:
            0 8px 30px rgba(212, 165, 116, 0.5),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-10deg);
    box-shadow:
        0 10px 30px rgba(212, 165, 116, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: none;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
    transition: transform 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-card:hover h3 {
    color: var(--accent-orange);
    text-shadow: 0 2px 15px rgba(212, 165, 116, 0.4);
}

.service-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust {
    padding: var(--space-2xl) 0 var(--space-3xl);
    text-align: center;
}

.trust-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: var(--space-lg);
}

.highlight-bold {
    font-weight: 700;
    font-style: italic;
}

.industry-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: var(--space-2xl);
}

.pill {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid var(--brown-light);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.pill:hover {
    background: var(--brown-dark);
    color: var(--white);
    border-color: var(--brown-dark);
}

/* Logo Marquee - Infinite Horizontal Scroll */
.logo-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.logo-marquee {
    display: flex;
    width: fit-content;
    animation: marqueeScroll 20s linear infinite;
}

.logo-marquee:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-marquee-content {
    display: flex;
    gap: var(--space-md);
    padding: 0 var(--space-sm);
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-placeholder {
    width: 140px;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    transition: var(--transition-medium);
    cursor: pointer;
}

.logo-placeholder.brown {
    background: var(--brown-dark);
    color: var(--white);
}

.logo-placeholder.beige {
    background: var(--bg-cream-dark);
    color: var(--brown-dark);
}

.logo-placeholder:hover {
    transform: scale(1.05);
}

.logo-placeholder .brand-name {
    font-size: 0.9rem;
    line-height: 1.2;
}

.logo-placeholder .brand-sub {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-cream);
    padding: var(--space-2xl) 0 var(--space-md);
    color: var(--brown-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo-light .logo-icon {
    background: var(--brown-dark);
    color: var(--white);
}

.footer-brand .logo-light .logo-name {
    color: var(--brown-dark);
}

.footer-brand .logo-light .logo-tagline {
    color: var(--text-muted);
}

.footer-contact-info {
    margin-top: var(--space-md);
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--brown-dark);
    margin-bottom: 0.25rem;
}

.contact-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--brown-dark);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(74, 55, 40, 0.1);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Footer Map */
.footer-map {
    grid-column: span 2;
}

.footer-map h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--brown-dark);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 55, 40, 0.1);
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 80px;
    background: transparent;
    pointer-events: all;
    z-index: 10;
}

.map-container iframe {
    display: block;
    filter: saturate(0.8) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: saturate(1) contrast(1);
}

.map-address {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 239, 230, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brown-dark);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-card-left {
        left: -20px;
    }

    .floating-card-right {
        right: -20px;
    }
}

/* Tablet Small */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .floating-card {
        display: none;
    }

    .strategy-cards {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .logo-marquee {
        animation-duration: 15s;
    }

    .logo-placeholder {
        width: 120px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-info {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .industry-pills {
        gap: 0.5rem;
    }

    .pill {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .logo-marquee {
        animation-duration: 12s;
    }

    .logo-placeholder {
        width: 100px;
        min-height: 70px;
        padding: var(--space-sm);
    }
}

/* Animations on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Print Styles */
@media print {

    .header,
    .mobile-menu-overlay,
    .btn {
        display: none;
    }

    .hero {
        padding-top: 0;
    }
}

/* ============================================
   PREMIUM INTERACTION ENHANCEMENTS
   ============================================ */

/* Gradient text animation for hero */
.hero-title .highlight {
    background: linear-gradient(135deg,
            var(--brown-dark) 0%,
            var(--accent-orange) 50%,
            var(--brown-dark) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease-in-out infinite;
    display: inline-block;
}

/* Text Rotator - Auto-cycling words */
.text-rotator {
    display: inline-block;
    position: relative;
    width: 180px;
    height: 1.2em;
    vertical-align: bottom;
}

.text-rotator-word {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .text-rotator {
        width: 130px;
    }
}

@media (max-width: 480px) {
    .text-rotator {
        width: 100px;
    }
}

.text-rotator-word.text-rotate-out {
    opacity: 0;
    transform: translateY(-20px);
    filter: blur(4px);
}

.text-rotator-word.text-rotate-in {
    animation: textRotateIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes textRotateIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

/* Glass morphism enhancement */
.floating-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Enhanced button transitions */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Card glow effect on hover */
.strategy-card::after,
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(212, 165, 116, 0.1) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.strategy-card:hover::after,
.service-card:hover::after {
    opacity: 1;
}

/* Smooth underline animation for links */
.nav-links a::after {
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pill hover glow */
.pill {
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 55, 40, 0.2);
}

/* Logo placeholder pulse on hover */
.logo-placeholder {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-placeholder:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 35px rgba(74, 55, 40, 0.2);
}

/* Stat number glow */
.stat-number {
    text-shadow: 0 0 40px rgba(74, 55, 40, 0.1);
    transition: text-shadow 0.3s ease;
}

.stat-item:hover .stat-number {
    text-shadow: 0 0 60px rgba(74, 55, 40, 0.2);
}

/* Section divider lines */
.strategy::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    border-radius: 3px;
}

/* Smooth image loading */
.hero-image {
    opacity: 0;
    animation: imageReveal 1s ease forwards 0.3s;
}

@keyframes imageReveal {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-orange);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Selection styling */
::selection {
    background: var(--brown-dark);
    color: var(--white);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--brown-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brown-dark);
}

/* Loading animation for elements */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Breathing animation for floating cards */
.floating-card {
    animation: breathe 4s ease-in-out infinite;
}

.floating-card-left {
    animation-delay: 0s;
}

.floating-card-right {
    animation-delay: 2s;
}

@keyframes breathe {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 30px var(--shadow-soft);
    }

    50% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 40px var(--shadow-medium);
    }
}

/* Enhanced mobile menu */
.mobile-menu-overlay {
    background: linear-gradient(135deg,
            rgba(245, 239, 230, 0.98) 0%,
            rgba(234, 224, 213, 0.98) 100%);
}

/* Stagger animation for strategy cards */
.strategy-card:nth-child(1) {
    transition-delay: 0s;
}

.strategy-card:nth-child(2) {
    transition-delay: 0.1s;
}

.strategy-card:nth-child(3) {
    transition-delay: 0.2s;
}

.strategy-card:nth-child(4) {
    transition-delay: 0.3s;
}

.strategy-card:nth-child(5) {
    transition-delay: 0.4s;
}

/* Service card stagger */
.service-card:nth-child(1) {
    transition-delay: 0s;
}

.service-card:nth-child(2) {
    transition-delay: 0.08s;
}

.service-card:nth-child(3) {
    transition-delay: 0.16s;
}

.service-card:nth-child(4) {
    transition-delay: 0.24s;
}

/* Logo icon rotation on hover */
.logo:hover .logo-icon {
    animation: logoWiggle 0.5s ease;
}

@keyframes logoWiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg) scale(1.05);
    }

    75% {
        transform: rotate(5deg) scale(1.05);
    }
}

/* Footer description styling */
.footer-description {
    color: var(--text-muted);
    opacity: 0.8;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
    max-width: 350px;
}

/* Footer link hover effect */
.footer-links a {
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -12px;
}

.footer-links a:hover {
    padding-left: 8px;
    color: var(--accent-orange);
}

/* Page load animation */
body {
    animation: pageLoad 0.6s ease;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* About page team image */
.about-hero-image {
    margin: 0;
    max-width: 800px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.team-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-hero-image:hover .team-img {
    transform: scale(1.02);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-card {
        animation: none;
    }

    .hero-title .emoji {
        animation: none;
    }
}