/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --dark-bg: #1a1a1a;
    --white-bg: #ffffff;
    --gray-bg: #f8f9fa;
    --text-dark: #000000;
    --text-light: #ffffff;
    --text-gray: #666666;
    --accent-teal: #00d4aa;
    --accent-blue: #0066cc;
    --border-light: #e5e5e5;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Floating Elements */
.floating-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    animation: logoFloat 6s ease-in-out infinite;
}

.fofo-labs-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.fofo-labs-image:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.floating-contact {
    position: absolute;
    top: -40px;
    right: -50px;
    z-index: 5;
    animation: contactFloat 4s ease-in-out infinite;
}

.floating-contact-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.floating-contact-btn:hover {
    background: #1e293b;
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(30, 41, 59, 0.3);
}

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

@keyframes contactFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Responsive Floating Elements */
@media (max-width: 768px) {
    .floating-logo {
        top: 15px;
        left: 15px;
    }
    
    .fofo-labs-image {
        width: 60px;
        height: 60px;
    }
    
    .floating-contact {
        top: -30px;
        right: -30px;
    }
    
    .floating-contact-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Base responsive typography and spacing */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

/* Ensure proper viewport handling */
* {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scrolling */
body {
    font-family: var(--font-family);
    background-color: var(--white-bg);
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

/* Flexible grid system */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Enhanced button responsiveness */
.btn-primary,
.btn-secondary {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary {
        white-space: normal;
        word-wrap: break-word;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo span {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    font-style: italic;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover {
    color: var(--text-dark);
}

.contact-btn {
    background: var(--text-dark);
    color: var(--text-light) !important;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.2s ease;
}

/* Hero Section with Flowing Background */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    width: 100%;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.flow-shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(1px);
    animation: organicFlow 25s infinite ease-in-out;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.flow-1 {
    width: 600px;
    height: 450px;
    top: -10%;
    left: -5%;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(129, 140, 248, 0.1), rgba(99, 102, 241, 0.05));
}

.flow-2 {
    width: 500px;
    height: 650px;
    top: 20%;
    right: -8%;
    animation-delay: 8s;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(124, 58, 237, 0.04));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.flow-3 {
    width: 550px;
    height: 400px;
    bottom: -5%;
    left: 15%;
    animation-delay: 16s;
    background: linear-gradient(225deg, rgba(236, 72, 153, 0.06), rgba(219, 39, 119, 0.03));
    border-radius: 80% 20% 50% 50% / 20% 80% 20% 80%;
}

.flow-4 {
    width: 350px;
    height: 500px;
    top: 5%;
    left: 55%;
    animation-delay: 12s;
    background: linear-gradient(315deg, rgba(34, 197, 94, 0.05), rgba(21, 128, 61, 0.02));
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
}

.flow-5 {
    width: 400px;
    height: 320px;
    bottom: 35%;
    right: 25%;
    animation-delay: 20s;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.04), rgba(217, 119, 6, 0.02));
    border-radius: 70% 30% 30% 70% / 30% 70% 70% 30%;
}

@keyframes organicFlow {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        opacity: 0.4;
    }
    25% {
        transform: translateY(-20px) translateX(15px) rotate(3deg) scale(1.03);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) translateX(-12px) rotate(-2deg) scale(0.97);
        border-radius: 80% 20% 50% 50% / 20% 80% 20% 80%;
        opacity: 0.5;
    }
    75% {
        transform: translateY(15px) translateX(10px) rotate(4deg) scale(1.05);
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
        opacity: 0.7;
    }
}

/* Responsive adjustments for flowing shapes */
@media (max-width: 768px) {
    .flow-1 {
        width: 400px;
        height: 300px;
        top: -5%;
        left: -10%;
    }
    
    .flow-2 {
        width: 350px;
        height: 450px;
        top: 15%;
        right: -12%;
    }
    
    .flow-3 {
        width: 380px;
        height: 280px;
        bottom: -3%;
        left: 10%;
    }
    
    .flow-4 {
        width: 250px;
        height: 350px;
        top: 3%;
        left: 50%;
    }
    
    .flow-5 {
        width: 300px;
        height: 240px;
        bottom: 30%;
        right: 20%;
    }
    
    @keyframes organicFlow {
        0%, 100% {
            transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            opacity: 0.4;
        }
        25% {
            transform: translateY(-10px) translateX(8px) rotate(2deg) scale(1.02);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            opacity: 0.6;
        }
        50% {
            transform: translateY(-5px) translateX(-6px) rotate(-1deg) scale(0.98);
            border-radius: 80% 20% 50% 50% / 20% 80% 20% 80%;
            opacity: 0.5;
        }
        75% {
            transform: translateY(8px) translateX(5px) rotate(2deg) scale(1.03);
            border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
            opacity: 0.7;
        }
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1400px;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(48px, 12vw, 140px);
    font-weight: 200;
    margin-bottom: 80px;
    letter-spacing: -0.03em;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1),
        0 0 100px rgba(255, 255, 255, 0.05),
        0 20px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 0.8;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
    animation: heroGlow 4s ease-in-out infinite alternate;
    white-space: nowrap;
    overflow: hidden;
}

/* Compact hero variant for landing pages */
.hero-compact .hero-title {
    font-size: clamp(40px, 10vw, 100px);
    margin-bottom: 40px;
}
.hero-compact .hero-services { margin-bottom: 60px; }
.hero-compact .hero-subtitle { margin: -10px auto 40px; max-width: 800px; }

/* Audit page: bolder hero text and 50% smaller hero height */
.audit-page .hero-compact { min-height: 55vh; }
.audit-page .hero-compact .hero-container { min-height: 44vh; }
.audit-page .hero-title { font-weight: 800; }
.audit-page .hero-subtitle { font-weight: 600; }

@media (max-width: 768px) {
  .audit-page .hero-compact { min-height: 50vh; }
  .audit-page .hero-compact .hero-container { min-height: 42vh; }
}@keyframes heroGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.2));
        transform: scale(1.01);
    }
}

/* Font Cycling Styles - Optimized for single line */
.hero-title.font-cycle-1 {
    font-family: 'Abril Fatface', Impact, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.75;
    font-size: clamp(70px, 13vw, 200px);
}

.hero-title.font-cycle-2 {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 0.9;
    font-size: clamp(85px, 16vw, 240px);
}

.hero-title.font-cycle-3 {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 0.8;
    font-size: clamp(65px, 12vw, 180px);
}

.hero-title.font-cycle-4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.03em;
    line-height: 0.85;
    font-size: clamp(75px, 14vw, 210px);
}

.hero-title.font-cycle-5 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 0.75;
    font-size: clamp(70px, 13vw, 195px);
}

.hero-title.font-cycle-6 {
    font-family: 'Crimson Text', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 0.85;
    font-size: clamp(78px, 14.5vw, 215px);
}

.hero-title.font-cycle-7 {
    font-family: 'Fjalla One', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.8;
    font-size: clamp(72px, 13.5vw, 200px);
}

.hero-title.font-cycle-8 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: -0.01em;
    line-height: 0.85;
    font-size: clamp(80px, 15vw, 225px);
}

.hero-title.font-cycle-9 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.01em;
    line-height: 0.85;
    font-size: clamp(75px, 14vw, 210px);
}

.hero-title.font-cycle-10 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    line-height: 0.8;
    font-size: clamp(72px, 13.5vw, 200px);
}

/* Mobile font cycle adjustments for single line */
@media (max-width: 768px) {
    .hero-title.font-cycle-1 { font-size: clamp(22px, 7vw, 45px) !important; }
    .hero-title.font-cycle-2 { font-size: clamp(26px, 8.5vw, 55px) !important; }
    .hero-title.font-cycle-3 { font-size: clamp(20px, 6.5vw, 40px) !important; }
    .hero-title.font-cycle-4 { font-size: clamp(24px, 7.5vw, 48px) !important; }
    .hero-title.font-cycle-5 { font-size: clamp(22px, 7vw, 45px) !important; }
    .hero-title.font-cycle-6 { font-size: clamp(25px, 8vw, 50px) !important; }
    .hero-title.font-cycle-7 { font-size: clamp(23px, 7.2vw, 46px) !important; }
    .hero-title.font-cycle-8 { font-size: clamp(26px, 8.2vw, 52px) !important; }
    .hero-title.font-cycle-9 { font-size: clamp(24px, 7.8vw, 49px) !important; }
    .hero-title.font-cycle-10 { font-size: clamp(23px, 7.2vw, 46px) !important; }
}

@media (max-width: 480px) {
    .hero-title.font-cycle-1 { font-size: clamp(18px, 6vw, 35px) !important; }
    .hero-title.font-cycle-2 { font-size: clamp(22px, 7.5vw, 42px) !important; }
    .hero-title.font-cycle-3 { font-size: clamp(16px, 5.5vw, 30px) !important; }
    .hero-title.font-cycle-4 { font-size: clamp(20px, 6.5vw, 38px) !important; }
    .hero-title.font-cycle-5 { font-size: clamp(18px, 6vw, 35px) !important; }
    .hero-title.font-cycle-6 { font-size: clamp(21px, 7vw, 40px) !important; }
    .hero-title.font-cycle-7 { font-size: clamp(19px, 6.2vw, 36px) !important; }
    .hero-title.font-cycle-8 { font-size: clamp(22px, 7.2vw, 42px) !important; }
    .hero-title.font-cycle-9 { font-size: clamp(20px, 6.8vw, 39px) !important; }
    .hero-title.font-cycle-10 { font-size: clamp(19px, 6.2vw, 36px) !important; }
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.hero-service-pill {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 16px 32px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 180px;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.hero-service-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.service-desc {
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
    opacity: 0.8;
}

/* Client Strip */
.client-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    padding: 24px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.client-names {
    display: flex;
    animation: clientScroll 60s linear infinite;
    white-space: nowrap;
}

.client-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    margin-right: 80px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.client-name:hover {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

/* Professional Font Styles */
.font-serif {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 400;
    font-style: italic;
}

.font-modern {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
}

.font-script {
    font-family: 'Dancing Script', 'Brush Script MT', cursive;
    font-weight: 600;
    font-size: 18px;
}

.font-tech {
    font-family: 'Orbitron', 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}

.font-elegant {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
}

.font-minimal {
    font-family: 'Work Sans', 'Arial', sans-serif;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: lowercase;
    font-size: 14px;
}

.font-bold {
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
}

.font-classic {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
}

.font-display {
    font-family: 'Abril Fatface', 'Impact', sans-serif;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 17px;
}

.font-geometric {
    font-family: 'Nunito Sans', 'Trebuchet MS', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
}

.font-rounded {
    font-family: 'Quicksand', 'Verdana', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.font-condensed {
    font-family: 'Fjalla One', 'Arial Narrow', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
}

@keyframes clientScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Social Media Protection Visual */

.protection-visual {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Optimized Rain Animation */
.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
}

.text-rain-drop {
    position: absolute;
    top: -30px;
    font-size: 11px;
    font-weight: 600;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 3px 6px;
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    white-space: nowrap;
    animation: textRainFall 6s linear infinite;
    opacity: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Optimized rain drop variations */
.text-rain-drop:nth-child(2n) {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
    animation-duration: 6.5s;
}

.text-rain-drop:nth-child(3n) {
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.1);
    border-color: rgba(185, 28, 28, 0.2);
    font-size: 10px;
    animation-duration: 5.5s;
}

.text-rain-drop:nth-child(4n) {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
    animation-duration: 7s;
}

.text-rain-drop:nth-child(5n) {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    font-weight: 700;
    animation-duration: 5.8s;
}

/* Simplified and optimized keyframes */
@keyframes textRainFall {
    0% {
        transform: translate3d(0, -30px, 0) rotate(-2deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate3d(0, 450px, 0) rotate(-1deg);
        opacity: 0;
    }
}

/* Optimized slide animations for umbrella hits */
.slide-left {
    animation: slideOffLeft 6s linear infinite;
}

.slide-right {
    animation: slideOffRight 6s linear infinite;
}

@keyframes slideOffLeft {
    0% {
        transform: translate3d(0, -30px, 0) rotate(-2deg);
        opacity: 0;
    }
    8% {
        opacity: 0.8;
    }
    30% {
        transform: translate3d(0, 120px, 0) rotate(1deg);
        opacity: 0.9;
    }
    45% {
        transform: translate3d(-40px, 200px, 0) rotate(-10deg);
        opacity: 0.6;
    }
    75% {
        transform: translate3d(-100px, 320px, 0) rotate(-20deg);
        opacity: 0.3;
    }
    100% {
        transform: translate3d(-180px, 450px, 0) rotate(-30deg);
        opacity: 0;
    }
}

@keyframes slideOffRight {
    0% {
        transform: translate3d(0, -30px, 0) rotate(-2deg);
        opacity: 0;
    }
    8% {
        opacity: 0.8;
    }
    30% {
        transform: translate3d(0, 120px, 0) rotate(1deg);
        opacity: 0.9;
    }
    45% {
        transform: translate3d(40px, 200px, 0) rotate(10deg);
        opacity: 0.6;
    }
    75% {
        transform: translate3d(100px, 320px, 0) rotate(20deg);
        opacity: 0.3;
    }
    100% {
        transform: translate3d(180px, 450px, 0) rotate(30deg);
        opacity: 0;
    }
}

/* Optimized Umbrella */
.umbrella {
    position: relative;
    z-index: 3;
    will-change: auto;
    transform: translateZ(0);
}

.umbrella-top {
    width: 280px;
    height: 140px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 140px 140px 0 0;
    position: relative;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
    z-index: 10;
    will-change: auto;
    backface-visibility: hidden;
}

.umbrella-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 20px;
    background: #1e293b;
    border-radius: 4px;
}

.umbrella-top::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 142px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 140px 140px 0 0;
}

.umbrella-handle {
    width: 4px;
    height: 80px;
    background: #8b5cf6;
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
    will-change: auto;
}

.umbrella-handle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -6px;
    width: 16px;
    height: 16px;
    border: 3px solid #8b5cf6;
    border-top: none;
    border-radius: 0 0 16px 16px;
    background: transparent;
}

/* Optimized Protected Social Media Logos */
.protected-logos {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 4;
    will-change: auto;
}

.social-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoFloat 4s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.social-logo:nth-child(2) {
    animation-delay: 2s;
}

.social-logo:nth-child(3) {
    animation-delay: 4s;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
}

.tiktok-logo {
    background: linear-gradient(135deg, #ff0050 0%, #000000 100%);
    color: white;
}

.instagram-logo {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
}

.facebook-logo {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
}

.social-logo svg {
    width: 32px;
    height: 32px;
}

.social-logo:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}



/* Mobile optimizations for umbrella animation */
@media (max-width: 768px) {
    .protection-visual {
        height: 280px;
    }
    
    /* Reduce animation complexity on mobile */
    .text-rain-drop {
        animation-duration: 8s;
        font-size: 10px;
    }
    
    .text-rain-drop:nth-child(2n) { animation-duration: 8.5s; }
    .text-rain-drop:nth-child(3n) { animation-duration: 7.5s; }
    .text-rain-drop:nth-child(4n) { animation-duration: 9s; }
    .text-rain-drop:nth-child(5n) { animation-duration: 8.2s; }
    
    .slide-left { animation-duration: 8s; }
    .slide-right { animation-duration: 8s; }
    
    .umbrella-top {
        width: 200px;
        height: 100px;
        border-radius: 100px 100px 0 0;
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    }
    
    .umbrella-top::after {
        height: 102px;
        border-radius: 100px 100px 0 0;
    }
    
    .umbrella-handle {
        height: 60px;
    }
    
    .protected-logos {
        gap: 16px;
        bottom: 30px;
    }
    
    .social-logo {
        width: 45px;
        height: 45px;
        animation-duration: 5s;
    }
    
    .social-logo svg {
        width: 22px;
        height: 22px;
    }
}

/* Performance optimization for very small devices */
@media (max-width: 480px) and (orientation: portrait) {
    /* Further reduce complexity on small screens */
    .text-rain-drop:nth-child(n+11) {
        display: none;
    }
    
    .rain-container {
        transform: scale(0.9);
    }
}

/* Footer */
.main-footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 16px;
}

.footer-social h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(6px) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link.tiktok:hover {
    background: rgba(255, 0, 80, 0.1);
    color: #ff0050;
}

.social-link.instagram:hover {
    background: rgba(131, 58, 180, 0.1);
    color: #833ab4;
}

.social-link.facebook:hover {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.footer-contact a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.footer-contact a:hover::before {
    left: 100%;
}

.footer-contact a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(6px) translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Footer contact icons */
.footer-contact a[href^="mailto"] {
    position: relative;
}

.footer-contact a[href^="mailto"]::after {
    content: '✉️';
    font-size: 16px;
    margin-right: 8px;
}

.footer-contact a[href^="tel"]::after {
    content: '📞';
    font-size: 16px;
    margin-right: 8px;
}

.footer-contact p:not(:has(a)) {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.footer-contact p:not(:has(a))::before {
    content: '📍';
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 14px;
}

/* Mobile contact info styles */
@media (max-width: 768px) {
    .contact-info {
        gap: 16px;
    }
    
    .contact-info a {
        font-size: 16px;
        padding: 14px 20px;
        border-radius: 12px;
    }
    
    .contact-info a:hover {
        transform: translateY(-2px) scale(1.01);
    }
    
    .contact-info p:last-child {
        font-size: 16px;
        padding: 14px 20px;
        border-radius: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .social-links {
        align-items: center;
    }
    
    .footer-contact-links {
        gap: 10px;
    }
    
    .footer-contact a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .footer-contact a:hover {
        transform: translateX(4px) translateY(-1px);
    }
}

/* Content Sections */
.content-section {
    padding: 120px 0;
    position: relative;
}

.white-bg {
    background: var(--white-bg);
}

.gray-bg {
    background: var(--gray-bg);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-text h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.section-text p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Landing: subtle subtitle in hero */
.hero-subtitle {
    max-width: 900px;
    margin: -60px auto 80px;
    text-align: center;
    font-size: clamp(16px, 2.5vw, 22px);
    color: rgba(255,255,255,0.9);
}

/* Landing: checklist bullets */
.check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    color: var(--text-dark);
}
.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-gray);
}
.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: 700;
}

/* Landing: simple form card */
.form-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.input-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}
.input-group .req { color: #ef4444; margin-left: 4px; }
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 14px;
    background: #f8fafc;
}
.helper-text {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .hero-subtitle { margin: -20px auto 50px; }
}

.section-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 16px 32px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    padding: 16px 32px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    color: var(--accent-blue);
}

/* Visual Elements */
.section-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* Brand Showcase */
.brand-showcase {
    display: flex;
    gap: 30px;
    align-items: center;
}

.brand-element {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    animation: brandFloat 6s ease-in-out infinite;
}

.brand-logo {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    animation-delay: 0s;
}

.brand-colors {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    animation-delay: 2s;
}

.brand-typography {
    background: linear-gradient(135deg, #45b7d1, #96c93d);
    color: white;
    animation-delay: 4s;
}

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

/* Code Window */
.code-window {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.window-header {
    background: #2d2d2d;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #28ca42; }

.code-content {
    padding: 20px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.code-line {
    color: #e6e6e6;
    margin-bottom: 4px;
}

/* Team Diagram */
.team-diagram {
    position: relative;
    width: 400px;
    height: 400px;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.service-node {
    position: absolute;
    background: var(--text-dark);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    animation: nodeFloat 8s ease-in-out infinite;
}

.service-node:nth-child(2) { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.service-node:nth-child(3) { top: 25%; right: 10%; animation-delay: 1.3s; }
.service-node:nth-child(4) { bottom: 25%; right: 10%; animation-delay: 2.6s; }
.service-node:nth-child(5) { bottom: 10%; left: 50%; transform: translateX(-50%); animation-delay: 3.9s; }
.service-node:nth-child(6) { bottom: 25%; left: 10%; animation-delay: 5.2s; }
.service-node:nth-child(7) { top: 25%; left: 10%; animation-delay: 6.5s; }

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

/* Services 3D */
.services-3d {
    position: relative;
    perspective: 1000px;
}

.service-cube {
    position: relative;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    animation: cubeRotate 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent-teal);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.front { transform: rotateY(0deg) translateZ(75px); }
.back { transform: rotateY(180deg) translateZ(75px); }
.right { transform: rotateY(90deg) translateZ(75px); }
.left { transform: rotateY(-90deg) translateZ(75px); }
.top { transform: rotateX(90deg) translateZ(75px); }
.bottom { transform: rotateX(-90deg) translateZ(75px); }

@keyframes cubeRotate {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 24px;
    animation: elementFloat 6s ease-in-out infinite;
}

.float-element:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.float-element:nth-child(2) { top: 20%; right: 20%; animation-delay: 1.5s; }
.float-element:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 3s; }
.float-element:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 4.5s; }

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

/* Case Studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.case-study-card {
    background: var(--white-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.case-study-preview {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-mockup {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.case-study-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 20px 10px;
}

.case-study-card p {
    color: var(--text-gray);
    margin: 0 20px 20px;
    line-height: 1.5;
}

/* Contact Section Enhancement */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 2px;
}

.contact-content h2 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 600;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1e293b 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    align-items: center;
}

.contact-info p {
    margin: 0;
}

.contact-info a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Keep phone number on a single line in Get in Touch sections */
.contact-info a[href^="tel"] {
    white-space: nowrap;
}

.contact-info a::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;
    z-index: 1;
}

.contact-info a:hover::before {
    left: 100%;
}

.contact-info a:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.contact-info a:active {
    transform: translateY(-2px) scale(1.01);
}

/* Contact link icons */
.contact-info a[href^="mailto"]::before {
    content: '✉️';
    position: static;
    font-size: 20px;
    margin-right: 0;
    z-index: 2;
}

.contact-info a[href^="tel"]::before {
    content: '📞';
    position: static;
    font-size: 20px;
    margin-right: 0;
    z-index: 2;
}

.contact-info p:last-child {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 16px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info p:last-child::before {
    content: '📍';
    font-size: 20px;
}

/* Enhanced Responsive Design */

/* Large screens optimization */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        padding: 0 50px;
    }
    
    .hero-title {
        font-size: min(20vw, 320px);
    }
}

/* Tablets and small laptops */
@media (max-width: 1024px) {
    .container,
    .nav-container {
        padding: 0 30px;
    }
    
    .hero-container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: clamp(60px, 15vw, 120px);
        margin-bottom: 60px;
    }
    
    .section-content {
        gap: 50px;
    }
    
    .team-diagram {
        width: 300px;
        height: 300px;
    }
    
    .code-window {
        width: 300px;
    }
    
    .service-cube {
        width: 120px;
        height: 120px;
    }
    
    .cube-face {
        width: 120px;
        height: 120px;
        font-size: 14px;
    }
}

/* Tablet portrait and mobile landscape */
@media (max-width: 768px) {
    .container,
    .nav-container,
    .hero-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: clamp(28px, 10vw, 65px);
        margin-bottom: 40px;
        white-space: nowrap;
        overflow: hidden;
    }
    
    .hero-services {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 50px;
        width: 100%;
    }
    
    .hero-service-pill {
        min-width: auto;
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
    }
    
    .service-name {
        font-size: 14px;
    }
    
    .service-desc {
        font-size: 12px;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .section-text h2 {
        font-size: clamp(24px, 6vw, 36px);
    }
    
    .section-text p {
        font-size: 16px;
    }
    
    .section-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .team-diagram {
        width: 250px;
        height: 250px;
    }
    
    .center-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .service-node {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .code-window {
        width: 280px;
        font-size: 12px;
    }
    
    .services-3d {
        transform: scale(0.8);
    }
    
    .protected-logos {
        gap: 20px;
    }
    
    .social-logo {
        width: 50px;
        height: 50px;
    }
    
    .social-logo svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile phones and small devices */
@media (max-width: 480px) {
    .container,
    .nav-container,
    .hero-container {
        padding: 0 16px;
    }
    
    .floating-logo {
        top: 10px;
        left: 10px;
    }
    
    .fofo-labs-image {
        width: 50px;
        height: 50px;
    }
    
    .floating-contact {
        top: -25px;
        right: -25px;
    }
    
    .floating-contact-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-container {
        min-height: calc(100vh - 80px);
    }
    
    .hero-title {
        font-size: clamp(24px, 8vw, 50px);
        margin-bottom: 30px;
        line-height: 0.9;
        white-space: nowrap;
        overflow: hidden;
    }
    
    .hero-services {
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .hero-service-pill {
        padding: 10px 20px;
        min-width: auto;
        width: 100%;
    }
    
    .service-name {
        font-size: 13px;
    }
    
    .service-desc {
        font-size: 11px;
    }
    
    .client-strip {
        padding: 16px 0;
    }
    
    .client-name {
        font-size: 14px;
        margin-right: 40px;
    }
    
    .content-section {
        padding: 50px 0;
    }
    
    .section-text h2 {
        font-size: clamp(20px, 5vw, 28px);
        margin-bottom: 16px;
    }
    
    .section-text h3 {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .section-text p {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .section-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .section-visual {
        min-height: 250px;
    }
    
    .protection-visual {
        height: 200px;
    }
    
    .umbrella-top {
        width: 150px;
        height: 75px;
        border-radius: 75px 75px 0 0;
    }
    
    .umbrella-top::after {
        height: 77px;
        border-radius: 75px 75px 0 0;
    }
    
    .umbrella-handle {
        height: 40px;
    }
    
    .protected-logos {
        gap: 12px;
        bottom: 20px;
    }
    
    .social-logo {
        width: 35px;
        height: 35px;
        border-radius: 8px;
    }
    
    .social-logo svg {
        width: 18px;
        height: 18px;
    }
    
    .team-diagram {
        width: 200px;
        height: 200px;
    }
    
    .center-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .service-node {
        font-size: 9px;
        padding: 4px 8px;
    }
    
    .code-window {
        width: 100%;
        max-width: 250px;
    }
    
    .code-content {
        padding: 15px;
        font-size: 11px;
    }
    
    .services-3d {
        transform: scale(0.6);
    }
    
    .service-cube {
        width: 100px;
        height: 100px;
    }
    
    .cube-face {
        width: 100px;
        height: 100px;
        font-size: 12px;
    }
    
    .float-element {
        font-size: 16px;
    }
    
    .trusted-clients-section {
        padding: 50px 0;
    }
    
    .trusted-clients-section h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .underline {
        width: 40px;
        height: 3px;
        margin-bottom: 40px;
    }
    
    .client-logo-item {
        flex: 0 0 100px;
        padding: 0 10px;
    }
    
    .client-logo-img {
        width: 60px;
        height: 60px;
        padding: 4px;
    }
    
    .clients-track {
        width: calc(100px * 24);
    }
}

/* Ultra-wide screens optimization */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .hero-title {
        font-size: min(18vw, 400px);
    }
    
    .section-content {
        gap: 120px;
    }
}

/* Landscape mobile phones */
@media (max-width: 667px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-container {
        padding: 20px;
    }
    
    .hero-title {
        font-size: clamp(30px, 8vw, 50px);
        margin-bottom: 20px;
    }
    
    .hero-services {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .hero-service-pill {
        min-width: 140px;
        width: auto;
        padding: 8px 16px;
    }
    
    .service-name {
        font-size: 12px;
    }
    
    .service-desc {
        font-size: 10px;
    }
}

/* Enhanced Mobile Menu and Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid var(--border-light);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        font-size: 18px;
        margin: 15px 0;
        padding: 12px 24px;
        border-radius: 25px;
        transition: all 0.3s ease;
        width: 200px;
        text-align: center;
    }
    
    .nav-menu .nav-link:hover {
        background: var(--text-dark);
        color: white;
        transform: translateY(-2px);
    }
    
    .nav-menu .contact-btn {
        margin-top: 20px;
        font-size: 16px;
        padding: 12px 32px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-4px, 4px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-4px, -4px);
    }
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .social-link,
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .floating-contact-btn {
        min-height: 40px;
    }
}

/* Fix overflow issues on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .hero {
        overflow-x: hidden;
    }
    
    .clients-carousel {
        overflow-x: hidden;
    }
}

/* Trusted Clients Section */
.trusted-clients-section {
    padding: 80px 0;
    background: var(--gray-bg);
    overflow: hidden;
}

.trusted-clients-section h2 {
    text-align: center;
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57);
    margin: 0 auto 60px;
    border-radius: 2px;
}

.clients-carousel {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.clients-track {
    display: flex;
    animation: clientsScroll 30s linear infinite;
    width: calc(200px * 24); /* 12 logos × 2 sets */
    will-change: transform;
}

.client-logo-item {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.client-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.client-logo-img:hover {
    transform: scale(1.05);
}



@keyframes clientsScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hover effects */
.client-logo-item:hover .client-logo-img {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .trusted-clients-section h2 {
        font-size: 32px;
    }
    
    .client-logo-item {
        flex: 0 0 150px;
    }
    
    .client-logo-img {
        width: 100px;
        height: 100px;
    }
    
    .clients-track {
        width: calc(150px * 24);
    }
}

@media (max-width: 480px) {
    .trusted-clients-section {
        padding: 60px 0;
    }
    
    .trusted-clients-section h2 {
        font-size: 28px;
    }
    
    .client-logo-item {
        flex: 0 0 120px;
    }
    
    .client-logo-img {
        width: 80px;
        height: 80px;
    }
    
    .clients-track {
        width: calc(120px * 24);
    }
}

/* Founders Section */
#founders {
    padding: 120px 0;
}

.founders-header {
    text-align: center;
    margin-bottom: 80px;
}

.founders-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-dark);
}

.founders-header p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.founders-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.founder-avatar {
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.founder-avatar:hover {
    transform: translateY(-5px);
}

.avatar-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.founder-info {
    text-align: center;
    background: white;
    padding: 16px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.founder-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.founder-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.founder-details {
    width: 100%;
    max-width: 300px;
}

.founder-achievements {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 10px;
}

.achievement-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.achievement-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.achievement-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.3;
}

.founder-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid var(--border-light);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 120px;
    justify-content: center;
}

.social-link:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Responsive Design for Founders Section */
@media (max-width: 1024px) {
    .founders-showcase {
        gap: 50px;
    }
    
    .avatar-image {
        width: 140px;
        height: 140px;
    }
    
    .founder-achievements {
        padding: 0 5px;
    }
    
    .achievement-number {
        font-size: 20px;
    }
    
    .achievement-label {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    #founders {
        padding: 80px 0;
    }
    
    .founders-header {
        margin-bottom: 60px;
        padding: 0 20px;
    }
    
    .founders-showcase {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }
    
    .avatar-image {
        width: 120px;
        height: 120px;
    }
    
    .founder-info {
        max-width: 180px;
        padding: 12px 20px;
    }
    
    .founder-info h3 {
        font-size: 18px;
    }
    
    .founder-role {
        font-size: 12px;
    }
    
    .founder-achievements {
        margin-bottom: 25px;
    }
    
    .achievement-number {
        font-size: 18px;
    }
    
    .achievement-label {
        font-size: 10px;
    }
    
    .founder-links {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .social-link {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .founders-showcase {
        padding: 0 15px;
    }
    
    .avatar-image {
        width: 100px;
        height: 100px;
    }
    
    .founder-info {
        max-width: 160px;
        padding: 10px 16px;
    }
    
    .founder-achievements {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .achievement-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
    }
    
    .achievement-number {
        font-size: 16px;
    }
    
    .achievement-label {
        font-size: 11px;
        text-align: right;
    }
}

/* Final responsive optimizations and utility classes */

/* Responsive visibility classes */
.hide-mobile {
    display: block;
}

.hide-desktop {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    
    .hide-desktop {
        display: block;
    }
}

/* Responsive spacing utilities */
.spacing-sm { margin: 1rem; }
.spacing-md { margin: 2rem; }
.spacing-lg { margin: 3rem; }

@media (max-width: 768px) {
    .spacing-sm { margin: 0.5rem; }
    .spacing-md { margin: 1rem; }
    .spacing-lg { margin: 1.5rem; }
}

/* Safe area handling for newer devices */
@supports (padding: max(0px)) {
    .hero-container,
    .container,
    .nav-container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .floating-logo {
        left: max(20px, env(safe-area-inset-left));
    }
    
    .floating-contact {
        right: max(-50px, calc(-50px + env(safe-area-inset-right)));
    }
}

/* Performance optimizations */
.hero-bg,
.flow-shape {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .text-rain-drop,
    .slide-left,
    .slide-right {
        animation-duration: 1s;
        animation-iteration-count: 1;
    }
    
    .social-logo {
        animation: none;
    }
    
    .umbrella-top {
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Audit page performance tweaks */
.audit-page .client-names { animation-play-state: paused; }
.audit-page .flow-2, .audit-page .flow-4, .audit-page .flow-5 { display: none; }
.audit-page .flow-shape { animation: none !important; opacity: 0.4; }
.audit-page .hero-title { animation: none; filter: none; }
.audit-page .social-logo { animation: none; }
.audit-page .floating-contact { top: -40px; right: -100px; }
.audit-page .hero-subtitle { margin-bottom: 60px; }
@media (max-width: 768px) {
    .audit-page .floating-contact { top: -30px; right: -60px; }
}
.audit-page .clients-carousel { padding: 20px 0; }

/* Calendar iframe responsive height */
#audit-form iframe { height: 700px; }
@media (max-width: 768px) {
    #audit-form iframe { height: 560px; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-light: #ffffff;
        --border-light: #000000;
    }
    
    .hero-service-pill,
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}

/* Print styles */
@media print {
    .floating-logo,
    .floating-contact,
    .navbar,
    .hamburger,
    .hero-bg,
    .flow-shape {
        display: none !important;
    }
    
    .hero-title {
        font-size: 3rem !important;
        color: black !important;
    }
    
    .section-content {
        grid-template-columns: 1fr !important;
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.2s ease;
} 