/* ========================================
   EINSTINE - MODERN PORTFOLIO CSS
   Elite design with gradients, animations, depth
   ======================================== */

:root {
    /* Colors */
    --navy: #0f172a;
    --navy-light: #1e293b;
    --navy-lighter: #334155;
    --teal: #06b6d4;
    --teal-dark: #0891b2;
    --teal-light: #22d3ee;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 8rem 0;
    --container-padding: 0 2rem;
    --max-width: 1280px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--teal);
    color: var(--white);
}

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

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

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

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

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-card);
    border: 1px solid var(--teal);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

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

.nav-link {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

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

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

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
}

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

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--teal);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--teal-light);
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--teal);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-trust {
    text-align: center;
}

.trust-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-weight: 500;
}

.trust-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.about-text p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
}

.highlight-icon {
    font-size: 2rem;
}

.highlight-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--navy);
}

.highlight-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.about-skills {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.skill-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.skill-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.skill-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

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

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

.service-card {
    padding: 3rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--teal);
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.service-card.featured {
    background: var(--gradient-card);
    border-color: var(--teal);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 3rem;
}

.service-badge {
    padding: 0.375rem 0.875rem;
    background: var(--teal);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.service-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    color: var(--teal);
    font-weight: bold;
    flex-shrink: 0;
}

.service-link {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--teal-dark);
}

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

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

.portfolio-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--teal);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-placeholder.automotive {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-placeholder.automotive2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-placeholder.accessories {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.portfolio-placeholder.gaming {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gradient-card);
    border: 1px solid var(--teal);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.portfolio-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.portfolio-link {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.portfolio-link:hover {
    gap: 0.75rem;
}

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

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

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

.testimonial-card {
    padding: 2.5rem;
    background: var(--gray-50);
    border-radius: 20px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    font-style: italic;
}

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

.author-name {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 6rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
}

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

.cta-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-title {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
}

.contact-method:hover {
    border-color: var(--teal);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.method-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.contact-note {
    padding: 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--teal);
    border-radius: 12px;
}

.contact-note p {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--navy);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--teal);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--teal);
    transform: translateY(-3px);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 5rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: left 0.3s ease;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .service-card,
    .portfolio-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

@media (min-width: 1400px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* ========================================
   PAGE HEADER (for Portfolio, Blog, etc)
   ======================================== */
.page-header {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

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

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
    font-weight: 800;
}

.page-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.portfolio-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.portfolio-stat .stat-number {
    font-size: 2.5rem;
}

/* ========================================
   PORTFOLIO FULL PAGE
   ======================================== */
.portfolio-section {
    padding: 4rem 0 8rem;
    background: var(--white);
}

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

.filter-btn {
    padding: 0.75rem 1.75rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.portfolio-full-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.portfolio-item-full {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item-full:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.portfolio-image-full {
    position: relative;
    height: 100%;
    min-height: 350px;
}

.portfolio-placeholder-full {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
}

.portfolio-placeholder-full.manufacturing {
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%);
}

.portfolio-placeholder-full.manufacturing2 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.portfolio-placeholder-full.industrial {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

.portfolio-placeholder-full.tech {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.portfolio-placeholder-full.tech2 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.portfolio-placeholder-full.pharma {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.portfolio-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.overlay-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--shadow-md);
}

.portfolio-content-full {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.portfolio-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.portfolio-category-tag {
    padding: 0.375rem 0.875rem;
    background: var(--gradient-card);
    border: 1px solid var(--teal);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-date {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.portfolio-title-full {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.portfolio-description-full {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
    flex: 1;
}

.portfolio-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

.portfolio-link-full {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-link-full:hover {
    gap: 0.75rem;
    color: var(--teal-dark);
}

.more-projects {
    grid-column: 1 / -1;
    background: var(--gradient-card);
    border-color: var(--teal);
}

.more-projects-content {
    padding: 4rem;
    text-align: center;
}

.more-projects-content h3 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.more-projects-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

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

.company-list span {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ========================================
   BLOG PAGE
   ======================================== */
.blog-section {
    padding: 4rem 0 8rem;
    background: var(--gray-50);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.featured-post {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.featured-post:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.post-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
}

.post-placeholder.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.post-placeholder.tech {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.post-placeholder.dev {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.post-placeholder.business {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.post-placeholder.content {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.post-placeholder.seo {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

.post-placeholder.tools {
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%);
}

.post-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--shadow-md);
}

.post-content {
    padding: 3rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.post-category {
    color: var(--teal);
    font-weight: 600;
}

.post-dot {
    color: var(--gray-400);
}

.post-date,
.post-read-time {
    color: var(--gray-600);
}

.post-title {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-excerpt {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-name {
    font-weight: 600;
    color: var(--navy);
}

.post-coming-soon {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.blog-card:hover {
    border-color: var(--teal);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-title {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.blog-card-excerpt {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
}

.widget-title {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.widget-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--teal);
}

.newsletter-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.categories-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.categories-list a {
    color: var(--gray-700);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.categories-list a:hover {
    color: var(--teal);
}

.categories-list span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.topics-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-tag {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.topic-tag:hover {
    background: var(--gradient-card);
    color: var(--teal);
}

.cta-widget {
    background: var(--gradient-card);
    border-color: var(--teal);
}

.newsletter-section {
    padding: 6rem 0;
    background: var(--navy);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.newsletter-text h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-inline-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-inline-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-primary);
}

.newsletter-inline-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-inline-form input:focus {
    outline: none;
    border-color: var(--teal);
    background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   RESPONSIVE FOR NEW PAGES
   ======================================== */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item-full {
        grid-template-columns: 1fr;
    }
    
    .portfolio-image-full {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .portfolio-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .portfolio-filter {
        gap: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .portfolio-content-full {
        padding: 2rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-inline-form {
        width: 100%;
        max-width: 100%;
    }
}
