/*
Theme Name: AdConnects 
Version: 2.0
Author: AdConnects Agency
*/

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

:root {
    /* Editorial Color Palette */
    --primary-color: #2C3E50;
    --secondary-color: #3498DB;
    --accent-color: #E74C3C;
    --soft-purple: #A8B2FF;
    --soft-pink: #FFB2E6;
    --soft-orange: #FFD4B3;
    --soft-green: #B3FFD4;
    --cream: #FFFCF7;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #495057;
    --text-dark: #212529;
    --text-light: #6C757D;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-editorial: 'Crimson Pro', Georgia, serif;
    
    /* Spacing & Layout */
    --container-max: 1400px;
    --grid-gap: clamp(1rem, 3vw, 2rem);
    --section-padding: clamp(3rem, 8vw, 8rem);
    --card-radius: 24px;
    --soft-radius: 16px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Crimson+Pro:wght@300;400;500;600&display=swap');

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.2rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.lead-text {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.editorial-text {
    font-family: var(--font-editorial);
    font-size: clamp(1.125rem, 2.2vw, 1.25rem);
    line-height: 1.8;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.editorial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(2rem, 6vw, 4rem);
}

.narrow-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 2rem);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 252, 247, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
    height: 80px;
}

/* Page Content Offset for Fixed Header */
.about-hero,
.contact-hero-section {
    padding-top: 100px;
}

/* Mobile specific header spacing */
@media (max-width: 768px) {
    .about-hero,
    .contact-hero-section {
        padding-top: 120px !important;
        margin-top: 0;
    }
    
    .contact-hero-title,
    .about-hero-title {
        margin-top: 0;
        padding-top: 0;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.main-navigation a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
    position: relative;
}

.main-navigation a:hover {
    color: var(--secondary-color);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--soft-purple));
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-navigation {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.mobile-close-btn {
    position: absolute;
    top: -10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin: 20px 0;
}

.mobile-menu-list a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    display: block;
    padding: 10px;
    transition: color 0.3s ease;
}

.mobile-menu-list a:hover {
    color: var(--primary-color);
}

.mobile-cta {
    margin-top: 30px;
}

.mobile-cta-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease;
}

.mobile-cta-btn:hover {
    background: var(--secondary-color);
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        var(--cream) 0%, 
        rgba(255, 178, 230, 0.08) 30%, 
        rgba(168, 178, 255, 0.06) 70%, 
        var(--cream) 100%);
    overflow: hidden;
    padding: var(--section-padding) 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.floating-shape {
    position: absolute;
    background: linear-gradient(45deg, 
        rgba(168, 178, 255, 0.3), 
        rgba(255, 178, 230, 0.2));
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Floating Elements Container */
.floating-elements-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
}

.floating-image {
    width: 80px;
    height: auto;
    opacity: 0.7;
}

.left-1 {
    top: 20%;
    left: -120px;
    animation: randomFloat1 15s ease-in-out infinite;
}

.left-2 {
    top: 60%;
    left: -80px;
    animation: randomFloat2 18s ease-in-out infinite 3s;
}

.right-1 {
    top: 30%;
    right: -100px;
    animation: randomFloat3 20s ease-in-out infinite 6s;
}

.right-2 {
    top: 70%;
    right: -130px;
    animation: randomFloat4 16s ease-in-out infinite 9s;
}

@keyframes randomFloat1 {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% { 
        transform: translateY(-80px) translateX(120px) rotate(15deg);
    }
    50% { 
        transform: translateY(60px) translateX(200px) rotate(-12deg);
    }
    75% { 
        transform: translateY(-60px) translateX(80px) rotate(20deg);
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
}

@keyframes randomFloat2 {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    33% { 
        transform: translateY(-100px) translateX(-80px) rotate(-15deg);
    }
    66% { 
        transform: translateY(80px) translateX(160px) rotate(18deg);
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
}

@keyframes randomFloat3 {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    50% { 
        transform: translateY(100px) translateX(-140px) rotate(25deg);
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
}

@keyframes randomFloat4 {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% { 
        transform: translateY(-140px) translateX(-100px) rotate(-20deg);
    }
    75% { 
        transform: translateY(80px) translateX(-160px) rotate(12deg);
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 160px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--soft-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--soft-purple));
    color: white;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--medium-gray);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ===== MODULAR GRID SYSTEM ===== */
.modular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
    margin: var(--section-padding) 0;
}

.grid-masonry {
    columns: clamp(2, 4vw, 4);
    column-gap: var(--grid-gap);
}

.grid-item {
    display: inline-block;
    width: 100%;
    margin-bottom: var(--grid-gap);
    break-inside: avoid;
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.card-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, 
        var(--light-gray) 0%, 
        rgba(255, 212, 179, 0.1) 50%, 
        var(--light-gray) 100%);
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--card-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--secondary-color), 
        var(--soft-purple), 
        var(--soft-pink));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--soft-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-img {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

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

.about-text {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.about-description {
    font-family: var(--font-editorial);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image {
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--card-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
}

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

.portfolio-item {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    group: cursor-pointer;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
    background-color: #f0f0f0;
    border: 2px solid #ddd;
}

.portfolio-image:not([src]),
.portfolio-image[src=""],
.portfolio-image[src*="placeholder"] {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
    text-align: center;
}

.portfolio-image:not([src])::after,
.portfolio-image[src=""]::after,
.portfolio-image[src*="placeholder"]::after {
    content: "📷 Image Loading...";
    font-size: 1.2rem;
}

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

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.portfolio-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Work Gallery Styles for Front Page */
.work-section {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.work-section .work-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.work-section .work-cta {
    text-align: center;
    margin-top: 3rem;
}

.work-section .work-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-section .work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.work-section .work-item .work-image-container {
    background: #f8f9fa;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    overflow: hidden;
}

.work-section .work-item .work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.work-section .work-item .work-content {
    padding: 1.5rem;
}

.work-section .work-item .work-category {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.work-section .work-item .work-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.work-section .work-item .work-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== IMAGE FLOW SECTION - FLOWERS MAGAZINE INSPIRED ===== */
.image-flow-section {
    padding: calc(var(--section-padding) * 1.5) 0;
    background: linear-gradient(135deg, 
        var(--cream) 0%, 
        rgba(255, 178, 230, 0.08) 30%, 
        rgba(168, 178, 255, 0.06) 70%, 
        var(--cream) 100%);
    overflow: hidden;
    position: relative;
}

.flow-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.flow-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--soft-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flow-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-light);
    font-style: italic;
}

.image-flow-container {
    position: relative;
    min-height: 800px;
    margin: 0 auto;
    max-width: 1400px;
}

/* Organic Background Shapes */
.organic-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.organic-shape {
    position: absolute;
    border-radius: 50% 30% 60% 40%;
    opacity: 0.4;
    animation: organicFloat 20s infinite ease-in-out;
}

.organic-shape.shape-1 {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, 
        rgba(255, 178, 230, 0.3), 
        rgba(168, 178, 255, 0.2));
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.organic-shape.shape-2 {
    width: 250px;
    height: 350px;
    background: linear-gradient(135deg, 
        rgba(255, 212, 179, 0.3), 
        rgba(179, 255, 212, 0.2));
    top: 30%;
    right: 8%;
    animation-delay: 5s;
}

.organic-shape.shape-3 {
    width: 200px;
    height: 280px;
    background: linear-gradient(135deg, 
        rgba(168, 178, 255, 0.3), 
        rgba(255, 178, 230, 0.2));
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.organic-shape.shape-4 {
    width: 180px;
    height: 240px;
    background: linear-gradient(135deg, 
        rgba(179, 255, 212, 0.3), 
        rgba(255, 212, 179, 0.2));
    bottom: 5%;
    right: 25%;
    animation-delay: 15s;
}

@keyframes organicFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 50% 30% 60% 40%;
    }
    25% { 
        transform: translate(20px, -30px) rotate(5deg) scale(1.05);
        border-radius: 40% 60% 30% 50%;
    }
    50% { 
        transform: translate(-15px, -20px) rotate(-3deg) scale(0.95);
        border-radius: 60% 40% 50% 30%;
    }
    75% { 
        transform: translate(25px, 15px) rotate(7deg) scale(1.1);
        border-radius: 30% 50% 40% 60%;
    }
}

/* Flowing Images */
.flowing-images {
    position: relative;
    z-index: 5;
    height: 800px;
}

.flow-image-item {
    position: absolute;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.flow-image-item::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    background: rgba(52, 152, 219, 0.8);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 5;
}

.flow-image-item:hover::after {
    opacity: 0;
}

.flow-image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.flow-image-item:hover .flow-image-wrapper {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.flow-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-smooth);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
}

.flow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.9));
    color: white;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
    border-radius: 15px;
}

.flow-image-item:hover .flow-overlay {
    opacity: 1;
    transform: scale(1);
}

.flow-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    display: inline-block;
}

.flow-project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: white;
    line-height: 1.3;
}

.flow-project-description {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.flow-arrow-indicator {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.flow-image-item:hover .flow-arrow-indicator {
    opacity: 1;
    transform: translateX(0);
}

.flow-arrow-icon {
    color: white;
    font-size: 1.2rem;
    transform: rotate(-45deg);
}

/* Individual Image Positioning - Magazine Style */
.flow-image-item.item-1 {
    top: 0;
    left: 5%;
    width: 280px;
    height: 350px;
    transform: rotate(-3deg);
    z-index: 6;
}

.flow-image-item.item-2 {
    top: 50px;
    right: 15%;
    width: 220px;
    height: 280px;
    transform: rotate(5deg);
    z-index: 7;
}

.flow-image-item.item-3 {
    top: 150px;
    left: 25%;
    width: 300px;
    height: 200px;
    transform: rotate(-2deg);
    z-index: 8;
}

.flow-image-item.item-4 {
    top: 100px;
    right: 35%;
    width: 180px;
    height: 240px;
    transform: rotate(7deg);
    z-index: 5;
}

.flow-image-item.item-5 {
    top: 400px;
    left: 8%;
    width: 250px;
    height: 180px;
    transform: rotate(4deg);
    z-index: 6;
}

.flow-image-item.item-6 {
    top: 350px;
    right: 10%;
    width: 280px;
    height: 320px;
    transform: rotate(-6deg);
    z-index: 7;
}

.flow-image-item.item-7 {
    top: 500px;
    left: 35%;
    width: 200px;
    height: 260px;
    transform: rotate(3deg);
    z-index: 5;
}

.flow-image-item.item-8 {
    top: 600px;
    right: 30%;
    width: 240px;
    height: 160px;
    transform: rotate(-4deg);
    z-index: 6;
}

/* Decorative Text Elements */
.flow-text-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.flow-text {
    position: absolute;
    font-family: var(--font-heading);
    font-weight: 700;
    opacity: 0.03;
    user-select: none;
}

.creative-text {
    font-size: clamp(4rem, 12vw, 8rem);
    top: 10%;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
}

.strategy-text {
    font-size: clamp(3rem, 8vw, 6rem);
    top: 40%;
    right: 5%;
    transform: rotate(20deg);
}

.impact-text {
    font-size: clamp(3.5rem, 10vw, 7rem);
    bottom: 10%;
    left: 10%;
    transform: rotate(-10deg);
}

/* Responsive Design for Image Flow */
@media (max-width: 1200px) {
    .image-flow-container {
        max-width: 1000px;
    }
    
    .flow-image-item.item-1 { width: 240px; height: 300px; }
    .flow-image-item.item-2 { width: 180px; height: 240px; }
    .flow-image-item.item-3 { width: 260px; height: 180px; }
    .flow-image-item.item-4 { width: 160px; height: 200px; }
    .flow-image-item.item-5 { width: 220px; height: 160px; }
    .flow-image-item.item-6 { width: 240px; height: 280px; }
    .flow-image-item.item-7 { width: 180px; height: 220px; }
    .flow-image-item.item-8 { width: 200px; height: 140px; }
}

@media (max-width: 768px) {
    .image-flow-section {
        padding: calc(var(--section-padding) * 0.8) 0;
    }
    
    .flowing-images {
        height: 600px;
    }
    
    .flow-image-item {
        transform: none !important;
    }
    
    .flow-image-item.item-1 { 
        top: 0; left: 5%; width: 45%; height: 200px; 
    }
    .flow-image-item.item-2 { 
        top: 0; right: 5%; width: 40%; height: 180px; 
    }
    .flow-image-item.item-3 { 
        top: 150px; left: 10%; width: 50%; height: 160px; 
    }
    .flow-image-item.item-4 { 
        top: 150px; right: 8%; width: 35%; height: 180px; 
    }
    .flow-image-item.item-5 { 
        top: 300px; left: 5%; width: 42%; height: 140px; 
    }
    .flow-image-item.item-6 { 
        top: 300px; right: 5%; width: 45%; height: 200px; 
    }
    .flow-image-item.item-7 { 
        top: 450px; left: 15%; width: 35%; height: 160px; 
    }
    .flow-image-item.item-8 { 
        top: 450px; right: 10%; width: 40%; height: 120px; 
    }
    
    .organic-shapes {
        display: none;
    }
    
    .flow-text-elements {
        display: none;
    }
}

@media (max-width: 480px) {
    .flowing-images {
        height: 500px;
    }
    
    .flow-image-item.item-1 { 
        top: 0; left: 5%; width: 90%; height: 120px; 
    }
    .flow-image-item.item-2 { 
        top: 130px; left: 5%; width: 90%; height: 100px; 
    }
    .flow-image-item.item-3 { 
        top: 240px; left: 5%; width: 90%; height: 110px; 
    }
    .flow-image-item.item-4 { 
        top: 360px; left: 5%; width: 90%; height: 100px; 
    }
    .flow-image-item.item-5,
    .flow-image-item.item-6,
    .flow-image-item.item-7,
    .flow-image-item.item-8 {
        display: none;
    }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.contact-info h2 {
    color: white;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--card-radius);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--soft-radius);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: white;
}

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

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

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

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

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 var(--soft-radius) var(--soft-radius);
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
        .work-section .work-gallery {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .work-section .work-item .work-image-container {
        padding: 0.8rem;
    }
    
    .work-section .work-item .work-content {
        padding: 1.25rem;
    }
    
    .work-section .work-item .work-title {
        font-size: 1.1rem;
    }
    
    .work-section .work-item .work-overlay {
        padding: 1.5rem !important;
    }
    
    .work-section .work-item .work-title {
        font-size: 1.2rem !important;
    }
    
    .work-section .work-item .work-metrics {
        gap: 1rem !important;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-content,
    .service-card {
        padding: 1.5rem;
    }
    
    .floating-shapes {
        display: none;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ===== WORK PAGE STYLES ===== */

/* Work Hero Section */
.work-hero-section {
    padding: calc(var(--section-padding) * 1.2) 0;
    background: linear-gradient(135deg, 
        var(--cream) 0%, 
        rgba(255, 178, 230, 0.05) 30%, 
        rgba(168, 178, 255, 0.04) 70%, 
        var(--cream) 100%);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.work-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.work-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.work-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.work-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating Phone in Hero */
.work-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-phone {
    position: relative;
    animation: floatPhone 6s ease-in-out infinite;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: #34495e;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.scrolling-content {
    height: 100%;
    position: relative;
}

.scroll-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.8s ease-in-out;
}

.scroll-item.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-project {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.scroll-project h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.scroll-project p {
    opacity: 0.8;
    font-size: 1rem;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

/* Work Decorative Elements */
.work-decorative {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.work-shape {
    position: absolute;
    border-radius: 50% 30% 60% 40%;
    opacity: 0.1;
    animation: workShapeFloat 15s infinite ease-in-out;
}

.work-shape.shape-1 {
    width: 200px;
    height: 250px;
    background: var(--secondary-color);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.work-shape.shape-2 {
    width: 150px;
    height: 200px;
    background: var(--soft-purple);
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
}

.work-shape.shape-3 {
    width: 100px;
    height: 150px;
    background: var(--soft-orange);
    top: 50%;
    left: 80%;
    animation-delay: 10s;
}

@keyframes workShapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(5deg); }
    66% { transform: translate(-15px, 20px) rotate(-3deg); }
}

/* Phone Scroll Showcase Section */
.phone-scroll-section {
    padding: calc(var(--section-padding) * 1.5) 0;
    background: var(--light-gray);
}

.phone-scroll-header {
    text-align: center;
    margin-bottom: 5rem;
}

.phone-showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.phone-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.phone-showcase-item.reverse {
    direction: rtl;
}

.phone-showcase-item.reverse > * {
    direction: ltr;
}

/* Phone Mockup Styles */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-device {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 50px;
    padding: 25px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.phone-showcase-item:hover .phone-device {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-notch {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-radius: 15px;
    z-index: 10;
}

.phone-display {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.project-screens {
    height: 100%;
    position: relative;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1s ease-in-out;
}

.screen.active {
    opacity: 1;
    transform: translateX(0);
}

.screen-content {
    height: 100%;
    padding: 2rem 1.5rem;
    color: white;
    display: flex;
    flex-direction: column;
}

/* Screen Content Styles */
.project-logo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.screen-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.screen-content p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.screen-elements {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.element-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    width: 80%;
}

.element-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    align-self: flex-end;
}

.element-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    width: 60%;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex: 1;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-height: 80px;
}

/* E-commerce Elements */
.ecommerce-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.search-bar {
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    flex: 1;
    margin-right: 1rem;
}

.cart-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex: 1;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    min-height: 120px;
}

/* Checkout Form */
.checkout-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.form-field.short {
    height: 35px;
}

.checkout-button {
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    margin-top: auto;
}

/* App Interface Elements */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
}

.notification-dot {
    width: 12px;
    height: 12px;
    background: #ff4757;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
}

.dashboard-widgets {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.widget {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.widget.large {
    height: 120px;
}

.widget.small {
    height: 80px;
}

.widget-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Analytics Elements */
.analytics-charts {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-header {
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.line-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    position: relative;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.stat-box {
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Project Details */
.project-details {
    padding: 2rem 0;
}

.project-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: block;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.project-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.project-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Work CTA Section */
.work-cta-section {
    padding: calc(var(--section-padding) * 1.2) 0;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.work-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 3rem;
}

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

/* Responsive Design for Work Page */
@media (max-width: 1200px) {
    .phone-device {
        width: 280px;
        height: 560px;
    }
    
    .project-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .work-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .work-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
        padding: 15px;
    }
    
    .phone-device {
        width: 260px;
        height: 520px;
        padding: 20px;
    }
    
    .phone-showcase-item {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .phone-showcase-item.reverse {
        direction: ltr;
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .project-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 200px;
        height: 400px;
        padding: 12px;
    }
    
    .phone-device {
        width: 220px;
        height: 440px;
        padding: 15px;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .work-hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Responsive Design for Hero */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: calc(var(--section-padding) * 0.8) 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
    }
    
    .cta-button {
        display: inline-block !important;
        width: 100%;
        max-width: 280px;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        text-align: center;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition-smooth);
        border: none;
        cursor: pointer;
        min-width: 160px;
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box;
    }
    
    .cta-button.primary {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
        color: white !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .cta-button.secondary {
        background: transparent !important;
        color: var(--primary-color) !important;
        border: 2px solid var(--primary-color) !important;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .cta-button {
        max-width: 250px;
        padding: 1rem 1.5rem;
    }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Hero Section */
.contact-hero-section {
    padding: calc(var(--section-padding) * 1.2) 0;
    background: linear-gradient(135deg, 
        var(--cream) 0%, 
        rgba(255, 178, 230, 0.05) 30%, 
        rgba(168, 178, 255, 0.04) 70%, 
        var(--cream) 100%);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.contact-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-quick-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.quick-info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
}

/* Contact Illustration */
.contact-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.floating-card.card-1 {
    top: 0;
    left: 0;
    animation: floatCard1 6s ease-in-out infinite;
}

.floating-card.card-2 {
    top: 0;
    right: 0;
    animation: floatCard2 6s ease-in-out infinite 2s;
}

.floating-card.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: floatCard3 6s ease-in-out infinite 4s;
}

.card-content {
    text-align: center;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.floating-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

@keyframes floatCard1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -20px) rotate(5deg); }
    66% { transform: translate(-5px, -10px) rotate(-3deg); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-15px, -15px) rotate(-5deg); }
    66% { transform: translate(10px, -25px) rotate(7deg); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translateX(-50%) translate(0, 0) rotate(0deg); }
    33% { transform: translateX(-50%) translate(15px, -10px) rotate(3deg); }
    66% { transform: translateX(-50%) translate(-10px, -20px) rotate(-5deg); }
}

/* Contact Decorative Elements */
.contact-decorative {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.contact-shape {
    position: absolute;
    border-radius: 50% 30% 60% 40%;
    opacity: 0.1;
    animation: contactShapeFloat 20s infinite ease-in-out;
}

.contact-shape.shape-1 {
    width: 200px;
    height: 250px;
    background: var(--secondary-color);
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.contact-shape.shape-2 {
    width: 150px;
    height: 200px;
    background: var(--soft-purple);
    bottom: 20%;
    left: 5%;
    animation-delay: 7s;
}

.contact-shape.shape-3 {
    width: 100px;
    height: 150px;
    background: var(--soft-orange);
    top: 60%;
    left: 75%;
    animation-delay: 14s;
}

@keyframes contactShapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(5deg); }
    66% { transform: translate(-15px, 20px) rotate(-3deg); }
}

/* Contact Main Section */
.contact-main-section {
    padding: calc(var(--section-padding) * 1.5) 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-subtitle {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    background: white;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 73, 94, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

.form-submit-btn {
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.form-submit-btn i {
    transition: var(--transition-smooth);
}

.form-submit-btn:hover i {
    transform: translateX(5px);
}

/* Contact Info Container */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.info-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.info-card-subtitle {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(52, 73, 94, 0.03);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.contact-method:hover {
    background: rgba(52, 73, 94, 0.06);
    transform: translateX(5px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.method-content p {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.method-content small {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Social Connect */
.social-connect h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.contact-faq {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.contact-faq h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: calc(var(--section-padding) * 1.2) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Design for Contact Page */
@media (max-width: 1200px) {
    .contact-grid {
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        flex-direction: column;
    }
    
    .contact-hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .contact-quick-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .quick-info-item {
        min-width: auto;
        flex: 1 1 auto;
        margin: 0 5px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-input, .form-select, .form-textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }
    
    .form-submit-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .contact-illustration {
        height: 300px;
    }
    
    .floating-card {
        width: 100px;
        height: 100px;
    }
    
    .card-icon {
        font-size: 1.5rem;
    }
    
    .contact-methods {
        gap: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .method-icon {
        margin-bottom: 10px;
        margin-right: 0;
        align-self: center;
    }

    .method-content {
        text-align: center;
        width: 100%;
    }
    
    .contact-faq {
        margin-top: 30px;
    }
    
    .faq-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .cta-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        text-align: center;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .contact-hero-section {
        min-height: 70vh;
    }
    
    .contact-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-info-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-faq {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .quick-info-item {
        padding: 0.8rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Portfolio CTA Button */
.portfolio-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    position: relative;
    overflow: hidden;
}

.btn-arrow {
    margin-left: 0.8rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-large:hover .btn-arrow {
    transform: translateX(5px);
}

/* Single Team Member Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-member {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.team-member:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(52, 152, 219, 0.2);
}

.member-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(155, 89, 182, 0.05));
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: grayscale(20%) brightness(1.1);
}

.team-member:hover .member-image img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1.2);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.team-member:hover .member-overlay {
    transform: translateY(0);
}

.member-quote {
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.4;
}

.member-info {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.8rem;
}

.member-role::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--soft-purple));
    border-radius: 2px;
}

.member-bio {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 400;
}

.team-member-featured {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.team-member-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--soft-purple));
}

.member-image-large {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(168, 178, 255, 0.1), rgba(255, 178, 230, 0.1));
}

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

.member-image-large:hover img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.member-image-large:hover .member-overlay {
    opacity: 1;
    transform: translateY(0);
}

.member-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}

.member-info-large {
    padding: 1rem 0;
}

.member-name-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-role-large {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-bio-large {
    margin-bottom: 3rem;
}

.member-bio-large p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.member-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 2px solid #f1f3f4;
    padding-top: 2rem;
}

.achievement {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(168, 178, 255, 0.05), rgba(255, 178, 230, 0.03));
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.achievement:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.achievement-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.achievement-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Design for Team Section */
@media (max-width: 1024px) {
    .team-member-featured {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
        text-align: center;
    }
    
    .member-achievements {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .team-member-featured {
        padding: 2rem;
        gap: 2rem;
        margin: 0 1rem;
    }
    
    .member-name-large {
        font-size: 2rem;
    }
    
    .member-role-large {
        font-size: 1.1rem;
    }
    
    .member-bio-large p {
        font-size: 1rem;
    }
    
    .member-achievements {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .achievement {
        padding: 1rem;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    .portfolio-cta {
        margin-top: 3rem;
        padding: 1.5rem 0;
    }
    
    .btn-large {
        font-size: 1.1rem;
        padding: 1rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .team-member-featured {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .member-name-large {
        font-size: 1.8rem;
    }
    
    .member-role-large {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .member-bio-large {
        margin-bottom: 2rem;
    }
    
    .member-bio-large p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .member-achievements {
        padding-top: 1.5rem;
    }
    
    .achievement-number {
        font-size: 1.8rem;
    }
    
    .achievement-label {
        font-size: 0.85rem;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }
}

/* Video Background Showcase Section */
.video-showcase-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.8) 0%,
        rgba(52, 152, 219, 0.6) 50%,
        rgba(155, 89, 182, 0.7) 100%
    );
    z-index: 2;
}

.video-showcase-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 4rem 0;
}

.showcase-header {
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.showcase-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Floating Work Gallery */
.floating-work-gallery {
    position: relative;
    height: 600px;
    margin: 4rem 0;
}

.floating-work-item {
    position: absolute;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: floatWorkItem 20s infinite ease-in-out;
}

.floating-work-item:hover {
    transform: scale(1.05) translateY(-10px);
    z-index: 10;
}

.work-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 0.5rem;
}

.work-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition-smooth);
}

.work-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition-smooth);
    border-radius: 15px;
}

.floating-work-item:hover .work-hover-overlay {
    opacity: 1;
}

.work-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.work-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.work-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.work-stats {
    display: flex;
    gap: 1rem;
}

.work-stats .stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Floating Work Item Positions */
.floating-work-item.item-1 {
    top: 10%;
    left: 5%;
    width: 280px;
    height: 200px;
    animation-delay: 0s;
}

.floating-work-item.item-2 {
    top: 5%;
    right: 15%;
    width: 240px;
    height: 180px;
    animation-delay: -3s;
}

.floating-work-item.item-3 {
    top: 35%;
    left: 15%;
    width: 200px;
    height: 160px;
    animation-delay: -6s;
}

.floating-work-item.item-4 {
    top: 25%;
    right: 5%;
    width: 260px;
    height: 190px;
    animation-delay: -9s;
}

.floating-work-item.item-5 {
    bottom: 20%;
    left: 10%;
    width: 220px;
    height: 170px;
    animation-delay: -12s;
}

.floating-work-item.item-6 {
    bottom: 15%;
    right: 20%;
    width: 250px;
    height: 180px;
    animation-delay: -15s;
}

@keyframes floatWorkItem {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(1deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(0.5deg); }
}

/* Process Indicators */
.process-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.process-step.active,
.process-step:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.process-step.active .step-icon,
.process-step:hover .step-icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.step-label {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Showcase Decoratives */
.showcase-decoratives {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.showcase-decoratives .floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    animation: showcaseFloat 25s infinite ease-in-out;
}

.showcase-decoratives .shape-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 20%;
    left: 80%;
    animation-delay: -5s;
}

.showcase-decoratives .shape-triangle {
    width: 60px;
    height: 60px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 60%;
    left: 5%;
    animation-delay: -10s;
}

.showcase-decoratives .shape-square {
    width: 50px;
    height: 50px;
    top: 80%;
    right: 10%;
    animation-delay: -15s;
    transform: rotate(45deg);
}

@keyframes showcaseFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    25% { transform: translateY(-30px) rotate(90deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.4; }
    75% { transform: translateY(-40px) rotate(270deg); opacity: 0.5; }
}

/* Responsive Design for Video Showcase */
@media (max-width: 1200px) {
    .floating-work-gallery {
        height: 500px;
    }
    
    .floating-work-item.item-1 { width: 240px; height: 170px; }
    .floating-work-item.item-2 { width: 200px; height: 150px; }
    .floating-work-item.item-3 { width: 180px; height: 140px; }
    .floating-work-item.item-4 { width: 220px; height: 160px; }
    .floating-work-item.item-5 { width: 190px; height: 150px; }
    .floating-work-item.item-6 { width: 210px; height: 160px; }
    
    .process-indicators {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .video-showcase-section {
        min-height: 80vh;
    }
    
    .floating-work-gallery {
        height: 400px;
    }
    
    .floating-work-item {
        animation: none;
    }
    
    .floating-work-item.item-1 { 
        top: 5%; left: 5%; 
        width: 150px; height: 120px; 
    }
    .floating-work-item.item-2 { 
        top: 5%; right: 5%; 
        width: 130px; height: 100px; 
    }
    .floating-work-item.item-3 { 
        top: 35%; left: 10%; 
        width: 120px; height: 100px; 
    }
    .floating-work-item.item-4 { 
        top: 35%; right: 10%; 
        width: 140px; height: 110px; 
    }
    .floating-work-item.item-5 { 
        bottom: 15%; left: 5%; 
        width: 130px; height: 110px; 
    }
    .floating-work-item.item-6 { 
        bottom: 15%; right: 5%; 
        width: 140px; height: 120px; 
    }
    
    .process-indicators {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .floating-work-gallery {
        height: 300px;
        margin: 2rem 0;
    }
    
    .floating-work-item {
        width: 100px !important;
        height: 80px !important;
    }
    
    .work-hover-overlay {
        padding: 1rem;
    }
    
    .work-title {
        font-size: 1rem;
    }
    
    .work-description {
        font-size: 0.8rem;
    }
    
    .process-indicators {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 1rem;
    }
}

/* Enhanced Video Showcase Animations */
.video-showcase-section.showcase-visible .showcase-title {
    animation: titleFadeIn 1s ease-out;
}

.video-showcase-section.showcase-visible .showcase-subtitle {
    animation: subtitleSlideUp 1s ease-out 0.3s both;
}

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

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

.floating-work-item.item-visible {
    animation: itemFadeIn 0.8s ease-out both;
}

@keyframes itemFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Step Highlighting */
.floating-work-item.step-highlight {
    animation: pulseHighlight 2s ease-in-out;
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.6);
    transform: scale(1.1);
}

@keyframes pulseHighlight {
    0%, 100% {
        box-shadow: 0 0 30px rgba(52, 152, 219, 0.6);
    }
    50% {
        box-shadow: 0 0 50px rgba(52, 152, 219, 0.8);
    }
}

/* Process Step Active State Enhancement */
.process-step.active .step-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(52, 152, 219, 0.5);
    }
}

/* Video Background Fallback Styling */
.video-background.fallback {
    background: 
        linear-gradient(135deg, 
            rgba(44, 62, 80, 0.9) 0%,
            rgba(52, 152, 219, 0.7) 50%,
            rgba(155, 89, 182, 0.8) 100%
        ),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') #2c3e50;
    background-size: cover, 50px 50px, cover;
}

/* Enhanced Floating Work Item Interactions */
.floating-work-item:hover .work-image-container {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.floating-work-item:hover .work-image-container img {
    transform: scale(1.05);
}

/* Smooth transitions for work items */
.floating-work-item * {
    transition: var(--transition-smooth);
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    .floating-work-item.step-highlight {
        animation: mobileHighlight 1.5s ease-in-out;
        transform: scale(1.05);
    }
    
    @keyframes mobileHighlight {
        0%, 100% {
            box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
        }
        50% {
            box-shadow: 0 15px 35px rgba(52, 152, 219, 0.6);
        }
    }
}

/* Loading States to Prevent Glitching */
.theme-loading {
    overflow: hidden;
}

.theme-loading * {
    animation-play-state: paused !important;
    transition: none !important;
}

.theme-loaded .floating-work-item,
.theme-loaded .floating-shape,
.theme-loaded .organic-shape {
    animation-play-state: running;
}

/* Improved Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Prevent Layout Shift During Loading */
.portfolio-item img,
.work-image-container img,
.member-image-large img {
    min-height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    object-fit: cover;
}

/* Smooth Transitions for All Interactive Elements */
.btn,
.card,
.service-card,
.portfolio-item,
.floating-work-item,
.team-member-featured {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    will-change: transform;
}

/* Optimize Animations for Better Performance */
.floating-work-item {
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden;
}

.video-background video {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduce Motion for Users Who Prefer It */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-work-item,
    .floating-shape,
    .organic-shape {
        animation: none !important;
    }
}

/* Fix for Mobile Glitches */
@media (max-width: 768px) {
    .video-showcase-section {
        overflow: hidden;
    }
    
    .floating-work-item {
        transform: translateZ(0);
        will-change: auto;
    }
    
    /* Disable complex animations on mobile for better performance */
    .floating-work-item {
        animation: none;
    }
    
    .process-step.active .step-icon {
        animation: none;
    }
}

/* Intersection Observer Fallback */
.no-js .animate-fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Spinner for Images */
.image-loading {
    position: relative;
}

.image-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error State for Missing Images */
img[src=""],
img:not([src]),
img[src*="placeholder"] {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

img[src=""]::after,
img:not([src])::after {
    content: "📷";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.3;
}

/* Contact Form Messages */
.contact-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
}

.contact-message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 4px solid #28a745;
}

.contact-message.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.contact-message ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.contact-message li {
    margin-bottom: 4px;
}

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

/* Hero Section Updates */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Enhanced Video Section Styles */
.video-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.aesthetic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 178, 255, 0.05), rgba(255, 178, 230, 0.05));
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.orb-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

.orb-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 40%;
    animation-delay: 9s;
}

@keyframes orbFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1); 
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-40px) translateX(30px) scale(1.1); 
        opacity: 0.2;
    }
}

.title-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

.video-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 27px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.video-item:hover .video-glow {
    opacity: 0.3;
}

.modern-play .play-icon-wrapper {
    position: relative;
    z-index: 2;
}

.button-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.play-button:hover .button-ripple {
    width: 100px;
    height: 100px;
}

.featured-video {
    transform: scale(1.05);
}

.featured-video .video-glow {
    opacity: 0.2;
}

.placeholder-content {
    text-align: center;
    color: white;
}

.placeholder-content h4 {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* About Section Connection Visual */
.about-content {
    display: flex;
    gap: 4rem;
    align-items: stretch;
    min-height: 500px;
}

.about-text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-media-container {
    flex: 0 0 400px;
    position: relative;
}

.media-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.media-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.about-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-media-image:hover {
    transform: scale(1.05);
}

.connection-visual {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.connection-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connection-heart {
    font-size: 2.5rem;
    z-index: 2;
    animation: heartBeat 2s ease-in-out infinite;
}

.connection-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.wave {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    animation: waveExpand 3s ease-out infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 1s;
}

.wave-3 {
    animation-delay: 2s;
}

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

@keyframes waveExpand {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Aesthetic Video Section */
.aesthetic-video-section {
    padding: calc(var(--section-padding) * 1.5) 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    position: relative;
    overflow: hidden;
}

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

.video-title {
    font-size: clamp(3.5rem, 6vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.video-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-style: italic;
}

.video-showcase-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

/* Aesthetic Background */
.aesthetic-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 178, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 178, 230, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    filter: blur(40px);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.particle-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 4s;
}

.particle-4 {
    top: 40%;
    right: 40%;
    animation-delay: 6s;
}

.particle-5 {
    bottom: 20%;
    right: 15%;
    animation-delay: 1s;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-30px) translateX(20px); 
        opacity: 1;
    }
}

/* Video Grid - Reel Style Containers */
.video-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.main-video {
    /* Equal sizing for both videos */
}

.video-item {
    position: relative;
    width: 280px;
    height: 500px; /* 9:16 aspect ratio for reel style */
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    cursor: pointer;
    background: #000;
    flex: 0 0 auto;
}

.video-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.video-preview {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
}

.video-preview video.playing {
    opacity: 1;
}

.video-preview video:not(.playing) {
    opacity: 0;
}

.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease;
}

.video-preview video.playing + .video-cover {
    opacity: 0;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    min-height: 200px;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

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

.video-overlay {
    
    display: none !important;
}

.video-preview video.playing + .video-cover + .video-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 70%);
}

.play-button {
    display: none !important;
}


.play-button:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.play-button.playing {
    background: rgba(0, 0, 0, 0.7);
}

.play-button.playing:hover {
    background: rgba(0, 0, 0, 0.8);
}

.play-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-left: 3px;
    transition: var(--transition-smooth);
}

.play-button.playing .play-icon {
    color: white;
    margin-left: 0;
}

.pause-icon {
    font-size: 1.3rem;
    color: white;
    display: none;
}

.play-button.playing .pause-icon {
    display: block;
}

.play-button.playing .play-icon {
    display: none;
}

.video-info {
    text-align: center;
    color: white;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    pointer-events: none;
}

.video-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.5rem;
    background: rgba(52, 152, 219, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    width: fit-content;
    margin: 0 auto 0.5rem;
}

.video-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.secondary-video .video-info {
    position: static;
    margin-top: 1rem;
}

.secondary-video .video-category {
    color: rgba(255, 255, 255, 0.8);
}

.secondary-video .video-title {
    color: white;
    font-size: 1.3rem;
}

/* Aesthetic Text Elements */
.aesthetic-text-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.aesthetic-text {
    position: absolute;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(52, 73, 94, 0.03);
    font-family: var(--font-heading);
    user-select: none;
    animation: aestheticTextFloat 10s ease-in-out infinite;
}

.vision-text {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.craft-text {
    top: 50%;
    right: -10%;
    animation-delay: 3s;
}

.beauty-text {
    bottom: 5%;
    left: 20%;
    animation-delay: 6s;
}

@keyframes aestheticTextFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.03;
    }
    50% { 
        transform: translateY(-20px) translateX(10px) rotate(2deg); 
        opacity: 0.05;
    }
}

/* Mobile Updates for New Elements */
@media (max-width: 1024px) {
    .corner-image-element {
        width: 120px;
    }
    
    .corner-image.top-left {
        top: 3%;
        left: 1%;
    }
    
    .corner-image.bottom-right {
        bottom: 3%;
        right: 1%;
    }
    
    /* Mobile corner images use static positioning - no animations */
    
    .about-content {
        flex-direction: column;
        gap: 3rem;
        min-height: auto;
    }
    
    .about-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .about-media-container {
        flex: none;
        width: 100%;
        height: 300px;
    }
    
        .video-grid {
        flex-direction: column;
        gap: 3rem;
        max-width: 320px;
        padding: 1rem 0;
    }

    .video-item {
        width: 260px;
        height: 460px;
        margin: 0 auto;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-icon, .pause-icon {
        font-size: 1.1rem;
    }
    
    .video-info {
        bottom: 1.5rem;
        width: calc(100% - 3rem);
    }
    
    .video-category {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .video-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .connection-visual {
        width: 60px;
        height: 60px;
    }
    
    .connection-heart {
        font-size: 2rem;
    }
    
    .video-title {
        font-size: 2.5rem;
    }
    
    .video-subtitle {
        font-size: 1.1rem;
    }
    
    .animated-brand-element {
        width: 200px;
        height: 200px;
    }
    
    .brand-circle {
        width: 80px;
        height: 80px;
    }
    
    .brand-emoji {
        font-size: 2rem;
    }
    
    .sparkle {
        font-size: 1.2rem;
    }
    
    .aesthetic-text {
        font-size: 4rem;
    }
    
    .video-item {
        min-height: 250px;
    }
    
    .placeholder-icon {
        font-size: 3rem;
    }
}

/* ===== COMPANY LOGOS SCROLLER ===== */
.companies-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, rgba(52, 152, 219, 0.05) 100%);
    overflow: hidden;
}

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

.companies-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.companies-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.companies-scroller {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.companies-track {
    display: flex;
    animation: scrollLogos 40s linear infinite;
    width: calc(400px * 16); /* 8 logos × 2 sets × 400px each */
}

.company-logo {
    flex: 0 0 400px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 3rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.company-logo:hover {
    opacity: 1;
}

.company-logo img {
    max-width: 350px;
    max-height: 175px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    min-width: 200px;
    min-height: 100px;
}

.company-logo:hover img {
    filter: grayscale(0%);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 8 - 6rem * 8)); /* Move by width of 8 logos + margins */
    }
}

/* Pause animation on hover for desktop only */
@media (hover: hover) and (pointer: fine) {
    .companies-scroller:hover .companies-track {
        animation-play-state: paused;
    }
}

@media (max-width: 768px) {
    .companies-section {
        padding: 3rem 0;
    }
    
    .companies-header {
        margin-bottom: 3rem;
    }
    
    .company-logo {
        flex: 0 0 180px;
        height: 90px;
        margin: 0 1rem;
    }
    
    .company-logo img {
        max-width: 150px;
        max-height: 75px;
        min-width: 100px;
        min-height: 50px;
    }
    
    .companies-track {
        width: calc(180px * 16);
        animation: scrollLogosMobile 30s linear infinite;
    }
    
    @keyframes scrollLogosMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 8 - 2rem * 8));
        }
    }
}

@media (max-width: 480px) {
    .companies-section {
        padding: 2rem 0;
    }
    
    .companies-header {
        margin-bottom: 2rem;
    }
    
    .company-logo {
        flex: 0 0 140px;
        height: 70px;
        margin: 0 0.5rem;
    }
    
    .company-logo img {
        max-width: 120px;
        max-height: 60px;
        min-width: 80px;
        min-height: 40px;
    }
    
    .companies-track {
        width: calc(140px * 16);
        animation: scrollLogosSmall 25s linear infinite;
    }
    
    @keyframes scrollLogosSmall {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-140px * 8 - 1rem * 8));
        }
    }
}

.video-item.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-navigation {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.mobile-close-btn {
    position: absolute;
    top: -10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin: 20px 0;
}

.mobile-menu-list a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    display: block;
    padding: 10px;
    transition: color 0.3s ease;
}

.mobile-menu-list a:hover {
    color: var(--primary-color);
}

.mobile-cta {
    margin-top: 30px;
}

.mobile-cta-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease;
}

.mobile-cta-btn:hover {
    background: var(--secondary-color);
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    /* Improved mobile hero section */
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .corner-image-element {
        width: 80px;
    }
    
    .corner-image.top-left {
        top: 2%;
        left: 1%;
    }
    
    .corner-image.bottom-right {
        bottom: 2%;
        right: 1%;
    }
    
    /* Better mobile video section */
    .video-grid {
        flex-direction: column;
        gap: 2rem;
        max-width: 400px;
    }
    
    .video-item {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-icon, .pause-icon {
        font-size: 1.1rem;
    }
    
    /* Mobile-optimized services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* Mobile work section */
    .work-section .work-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Mobile contact improvements */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile optimizations */
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
    
    .cta-button {
        max-width: 250px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Very small mobile corner images */
    .corner-image-element {
        width: 60px;
    }
    
    .corner-image.top-left {
        top: 1.5%;
        left: 0.5%;
    }
    
    .corner-image.bottom-right {
        bottom: 1.5%;
        right: 0.5%;
    }
    
    .video-item {
        max-width: 300px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-icon, .pause-icon {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
    .cta-button {
        -webkit-appearance: none;
        -webkit-border-radius: 50px;
    }
    
    .video-preview video {
        -webkit-playsinline: true;
    }
    
    .hero-buttons {
        -webkit-transform: translateZ(0);
    }
}

/* iOS Safari specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
    .cta-button {
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
    
    .hero-buttons {
        will-change: transform;
    }
}