/* ======================================================================== */
/* RESET AND BASE STYLES - Foundation styles (DON'T CHANGE) */
/* ======================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Custom Properties for easier theming */
:root {
    --color-primary: #f39c12;
    --color-primary-dark: #ff6b35;
    --color-secondary: #3498db;
    --color-secondary-dark: #2980b9;
    --color-text: #2c3e50;
    --color-text-light: #5a6c7d;
    --color-bg: #fafbfc;
    --color-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    --font-primary: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-fast: 0.3s ease;
    --transition-normal: 0.6s ease;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
}


/* Accessibility: Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #000;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.skip-link:focus {
    top: 20px;
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility: Screen Reader Only */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Email display hidden state */
.email-display-hidden {
    display: none;
}

/* Noscript warning */
.noscript-warning {
    background: #e74c3c;
    color: white;
    padding: 15px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

/* Footer link */
.footer-link {
    color: #ecf0f1;
    text-decoration: none;
}

/* Creative email hidden state */
.creative-email-hidden {
    display: none;
    margin-top: 1.5rem;
}

/* Focus Visible for Keyboard Navigation */
/* Fallback for older browsers */
*:focus {
    outline: 2px solid #f39c12;
    outline-offset: 2px;
}

/* Enhanced for modern browsers */
*:focus-visible {
    outline: 3px solid #f39c12;
    outline-offset: 2px;
}

/* Remove focus for mouse users in modern browsers */
*:focus:not(:focus-visible) {
    outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #f39c12;
    outline-offset: 2px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    width: 100%;
}

/* ======================================================================== */
/* TYPOGRAPHY - Text sizes and fonts (SAFE TO CUSTOMIZE) */
/* ======================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

.section-title {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #f39c12 0%, #ff6b35 100%);
    border-radius: 2px;
}

/* ======================================================================== */
/* BUTTONS - Call-to-action button styles (COLORS CAN BE CUSTOMIZED) */
/* ======================================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f39c12 0%, #ff6b35 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.3);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ======================================================================== */
/* HEADER/NAVIGATION - Top navigation bar (LOGO SIZE/COLORS CUSTOMIZABLE) */
/* ======================================================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    /* Fallback for browsers without backdrop-filter */
    background: rgba(255, 255, 255, 0.95);
    /* Modern browsers with backdrop support */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(236, 240, 241, 0.8);
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(20px)) {
    .header {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo/Brand Styling */
.nav-brand {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-brand:hover {
    transform: translateY(-1px);
}

.brand-e26 {
    color: var(--color-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-creative {
    color: var(--color-text);
    font-weight: 300;
    margin-left: 2px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #f39c12 0%, #ff6b35 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Active page indicator - match hover state exactly */
.nav-menu a.active {
    color: #f39c12 !important;
    font-weight: 600 !important;
}

/* Active page indicator with ::after */
.nav-menu li a.active::after {
    content: '' !important;
    position: absolute !important;
    width: 100% !important;
    height: 2px !important;
    bottom: -5px !important;
    left: 50% !important;
    background: linear-gradient(135deg, #f39c12 0%, #ff6b35 100%) !important;
    transition: all 0.3s ease !important;
    transform: translateX(-50%) !important;
    border-radius: 2px !important;
    opacity: 1 !important;
    display: block !important;
}

/* Special styling for Contact CTA button */
.nav-menu .nav-contact-cta {
    background: linear-gradient(135deg, #f39c12 0%, #ff6b35 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.nav-menu .nav-contact-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    color: white;
}

.nav-menu .nav-contact-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ======================================================================== */
/* HERO SECTION - Main banner with video background (CUSTOMIZABLE) */
/* ======================================================================== */
.hero {
    height: 85vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

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

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CRITICAL: Fallback background when video doesn't load */
.hero-video {
    /* Primary fallback - always loads */
    background: linear-gradient(135deg,
        var(--color-text) 0%,
        #34495e 25%,
        var(--color-secondary) 50%,
        var(--color-secondary-dark) 75%,
        var(--color-primary) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-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(243, 156, 18, 0.3) 100%
    );
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(243, 156, 18, 0.15);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 50px;
    color: #f39c12;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title-main {
    display: block;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.hero-title-sub {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0;
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle-callout {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #f39c12;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.hero-subtitle-first-line {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.1);
    will-change: transform;
    transform: translateZ(0);
}

.hero-subtitle-second-line {
    display: inline-block;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both, glow 2s ease-in-out infinite alternate;
    white-space: normal;
}

@keyframes glow {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(243, 156, 18, 0.3);
    }
    to {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(243, 156, 18, 0.5);
    }
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f39c12;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Scroll Down Text */
.scroll-down-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease-out 1.2s both;
    z-index: 1000;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.scroll-down-arrow {
    margin-top: 0.5rem;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    animation: bounceDown 2s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    40% {
        transform: translateY(8px);
        opacity: 1;
    }
    60% {
        transform: translateY(4px);
        opacity: 1;
    }
}

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

/* ======================================================================== */
/* PORTFOLIO SECTION - Video showcase grid (SAFE TO MODIFY) */
/* ======================================================================== */
.portfolio {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #ffffff;
}

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

.btn-gradient-animated {
    background: linear-gradient(135deg, #f39c12 0%, #ff6b35 50%, #f39c12 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
}

/* ======================================================================== */
/* COMPANY INTRODUCTION - Your story section (SAFE TO MODIFY) */
/* ======================================================================== */
.company-intro {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
}

.company-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #f39c12 0%, #ff6b35 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.company-content h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.company-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.company-content p {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.company-highlights {
    margin-top: 3rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.06);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.1);
}

.highlight-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight-content p {
    color: #5a6c7d;
    margin: 0;
    font-size: 0.95rem;
}

.company-visual {
    position: relative;
}

.company-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
}

/* Portfolio grid with IE11 fallback */
.portfolio-grid {
    /* Fallback for IE11 - uses flexbox */
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: -1rem;
}

.portfolio-grid .portfolio-item {
    /* IE11 fallback sizing */
    -ms-flex: 1 1 300px;
    flex: 1 1 300px;
    margin: 1rem;
    max-width: calc(33.333% - 2rem);
}

/* Modern grid for supported browsers */
@supports (display: grid) {
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin: 0;
    }
    
    .portfolio-grid .portfolio-item {
        margin: 0;
        max-width: none;
    }
}

.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 240, 241, 0.5);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.portfolio-video {
    position: relative;
    width: 100%;
    height: 200px;
    background: #eee;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid #333;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.portfolio-item h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.25rem;
}

.portfolio-item p {
    padding: 0 1rem 1.5rem;
    color: #5a6c7d;
}

/* ======================================================================== */
/* SERVICES SECTION - What you offer (COLORS CUSTOMIZABLE) */
/* ======================================================================== */
.services {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #f8fafb;
}

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

.service-item {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 240, 241, 0.5);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    transition: all 0.4s ease;
}

.service-item:hover::before {
    left: 0;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f39c12 0%, #ff6b35 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(243, 156, 18, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-item:hover .service-icon::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.service-icon svg {
    color: white;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.3);
}

.service-item h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.service-item p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* ======================================================================== */
/* CLIENTS SECTION - Client logos display (SAFE TO MODIFY) */
/* ======================================================================== */
.clients {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #ffffff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.client-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 240, 241, 0.5);
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

img.client-logo {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.client-item:hover img.client-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5a6c7d;
    text-align: center;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.client-item:hover .client-logo-text {
    color: #f39c12;
    transform: scale(1.05);
}

/* ======================================================================== */
/* ABOUT SECTION - Personal story and photo (SAFE TO MODIFY) */
/* ======================================================================== */
.about {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #f8fafb;
}

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

.about-text p {
    margin-bottom: 1rem;
    color: #5a6c7d;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-intro {
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    margin-bottom: 2rem !important;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.about-quote {
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    border-left: 4px solid #f39c12;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.06);
}

.about-quote p {
    font-style: italic;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-quote cite {
    color: #f39c12;
    font-weight: 600;
    font-style: normal;
}

.about-image {
    text-align: center;
}

.about-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
}

/* ======================================================================== */
/* CONTACT SECTION - Contact form and info (SAFE TO MODIFY) */
/* ======================================================================== */
.contact {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-item {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
    font-family: 'Lato', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.1);
}

.form-group select {
    cursor: pointer;
}

/* Email protection styling */
.email-reveal-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.email-reveal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

.copy-btn {
    background: linear-gradient(135deg, #f39c12 0%, #ff6b35 100%);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 8px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.1);
}

.contact-note {
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-left: 4px solid #f39c12;
    border-radius: 8px;
}

.contact-note p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* ======================================================================== */
/* FOOTER - Bottom of page (SAFE TO MODIFY) */
/* ======================================================================== */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 0;
}

/* ======================================================================== */
/* MOBILE RESPONSIVE - Makes site work on phones (DON'T CHANGE) */
/* ======================================================================== */

/* CRITICAL: Fix viewport height issues on mobile */
.hero {
    /* Fix for mobile browsers with dynamic viewport */
    min-height: 100dvh; /* Dynamic viewport height - newest CSS */
    min-height: 100vh; /* Fallback for older browsers */
}

/* iOS Safari viewport fix */
@supports (-webkit-touch-callout: none) {
    .hero {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
}

/* Support for environment variables (iPhone notch) */
@supports (padding: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
    }

    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* Tablet adjustments */
@media (max-width: 992px) {
    .hero-subtitle {
        white-space: normal;
    }

    .hero-subtitle-callout {
        line-height: 1.4;
    }

    .container {
        padding: 0 30px;
    }
}

/* Landscape tablets and small laptops */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
    }

    .hero-content {
        max-width: 500px;
    }

    .hero-title-main {
        font-size: clamp(3rem, 7vw, 5rem);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Support for container queries (future-proof) */
@supports (container-type: inline-size) {
    .portfolio-grid {
        container-type: inline-size;
    }

    @container (max-width: 600px) {
        .portfolio-item {
            grid-column: span 1;
        }
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    /* Mobile Hero */
    /* Consolidated padding for mobile */
    .hero-container,
    .container,
    .company-content {
        padding: 0 20px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-title-sub {
        margin-left: 0;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary, .btn-outline {
        width: 100%;
        max-width: min(280px, 90vw);
        justify-content: center;
    }


    .about-content,
    .contact-content,
    .company-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .company-image-placeholder {
        height: 250px;
    }

    .expertise-tags {
        justify-content: center;
    }

    .image-placeholder,
    .about-photo {
        width: min(200px, 80vw);
        height: min(200px, 80vw);
    }

    .portfolio-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-subtitle {
        white-space: normal;
        text-align: center;
    }
    
    .hero-subtitle-callout {
        font-size: clamp(1.2rem, 6vw, 2rem);
        line-height: 1.3;
        text-align: center;
    }
    
    /* Portfolio video mobile optimization */
    .portfolio-video {
        height: 180px;
    }
    
    .portfolio-video iframe {
        width: 100%;
        height: 100%;
    }
    
    /* Company highlights mobile layout */
    .company-highlights {
        flex-direction: column;
        gap: 2rem;
    }
    
    .highlight-item {
        text-align: center;
    }
    
    /* About section mobile optimization */
    .about-content {
        text-align: center;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    /* Contact section mobile optimization */
    .contact-content {
        gap: 3rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    /* Scroll down text mobile optimization */
    .scroll-down-text {
        bottom: -10px !important;
        font-size: clamp(0.75rem, 3vw, 0.9rem);
    }
    
    .scroll-down-text span {
        display: block !important;
    }
    
    .scroll-down-arrow {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }
}

/* Very small mobile phones (iPhone SE, etc) */
@media (max-width: 375px) {
    .hero-title-main {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }

    .portfolio-item,
    .service-item {
        padding: 1.5rem 1rem;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .hero-subtitle-callout {
        font-size: clamp(1.1rem, 7vw, 1.8rem);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        gap: 1.5rem;
    }
    
    .btn-primary, .btn-outline {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    
    /* Small mobile portfolio optimization */
    .portfolio-video {
        height: 160px;
    }
    
    /* Small mobile text adjustments */
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 2rem;
    }
    
    /* Service items mobile spacing */
    .service-item {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 1rem auto;
    }
    
    /* Contact form mobile optimization */
    .contact-form {
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 12px;
    }
    
    /* Company highlights small mobile */
    .highlight-item {
        padding: 1.5rem;
    }
    
    .highlight-icon {
        margin: 0 auto 1rem auto;
    }
    
    /* Small mobile scroll down text */
    .scroll-down-text {
        bottom: -15px !important;
        font-size: clamp(0.7rem, 4vw, 0.85rem);
    }
    
    .scroll-down-text span {
        display: block !important;
    }
    
    .scroll-down-arrow {
        font-size: clamp(0.9rem, 5vw, 1.2rem);
        margin-top: 0.3rem;
    }
}

/* ======================================================================== */
/* ACCESSIBILITY - Reduced Motion & Print Styles */
/* ======================================================================== */

/* Respect user's motion preferences */
@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;
    }

    .hero-video video {
        display: none;
    }
}


/* Print styles */
@media print {
    /* Hide non-essential elements */
    .nav-toggle,
    .hero-video,
    .scroll-down-text,
    .contact-form,
    video,
    iframe {
        display: none !important;
    }

    /* Ensure text is black on white */
    body {
        color: #000 !important;
        background: #fff !important;
    }

    /* Break pages smartly */
    section {
        page-break-inside: avoid;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    /* Show URLs for links */
    a[href]:after {
        content: " (" attr(href) ")";
    }

    /* Expand abbreviated content */
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
}