/* ===================================
   NP Services LLC - Custom Styles
   Wix-Compatible Design System
   =================================== */

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Skip Link for Keyboard Navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-green);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Visually Hidden Labels (for screen readers) */
.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;
}

/* Enhanced Focus Styles for Keyboard Navigation */
*:focus {
    outline: 3px solid #00BCD4;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid #00BCD4;
    outline-offset: 2px;
}

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

/* Ensure all interactive elements meet WCAG touch target size */
.btn,
.nav-menu a,
.mobile-menu-toggle {
    min-height: 44px;
    min-width: 44px;
}

/* === CSS Variables === */
:root {
    /* Colors */
    --primary-color: #7CB342;
    --secondary-color: #00BCD4;
    --accent-color: #8BC34A;
    --primary-green: #7CB342;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --card-bg: #ffffff;
    --hero-bg: #fafbfc;
    --footer-bg: #0d0d0d;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-speed: 0.3s;
}

/* Dark Mode Variables */
body.dark-mode {
    --text-dark: #ffffff;
    --text-light: #cccccc;
    --text-white: #1a1a1a;
    --bg-light: #1a1a1a;
    --bg-white: #0d0d0d;
    --bg-gray: #1a1a1a;
    --border-color: #333333;
    --nav-bg: rgba(13, 13, 13, 0.8);
    --card-bg: #1a1a1a;
    --hero-bg: #0d0d0d;
    --footer-bg: #f8f8f8;
}

/* === Loading Screen === */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d0d0d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

/* Grid Lines Container - matches main page 40px grid spacing */
.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.grid-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 255, 255, 0.05) 39px, rgba(255, 255, 255, 0.05) 40px);
    clip-path: inset(0 0 100% 0);
    animation: drawGridVertical 3s ease-in-out forwards;
}

.grid-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255, 255, 255, 0.05) 39px, rgba(255, 255, 255, 0.05) 40px);
    clip-path: inset(0 100% 0 0);
    animation: drawGridHorizontal 3s ease-in-out 0.5s forwards;
}

@keyframes drawHorizontal {
    to {
        transform: scaleX(1);
    }
}

@keyframes drawVertical {
    to {
        transform: scaleY(1);
    }
}

@keyframes fadeInGrid {
    to {
        opacity: 1;
    }
}

@keyframes drawGridVertical {
    from {
        clip-path: inset(0 0 100% 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes drawGridHorizontal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.loading-logo {
    height: 120px;
    width: auto;
    animation: logoScale 2s ease-in-out infinite;
}

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

.tools-animation {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
}

.tool {
    animation: toolBounce 1.5s ease-in-out infinite;
}

.tool.hammer {
    animation-delay: 0s;
}

.tool.screwdriver {
    animation-delay: 0.3s;
    transform: rotate(45deg);
}

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

.tool.screwdriver {
    animation-name: screwdriverBounce;
}

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

.loading-text {
    font-size: 24px;
    font-weight: 600;
    color: #f5f5f5;
    font-family: var(--font-secondary);
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* === Global Resets === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-speed) ease;
}

body.dark-mode .navbar {
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: var(--nav-bg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

body.dark-mode .navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity var(--transition-speed) ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text-brand {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-left: auto;
}

.nav-menu li a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-dark);
    transition: width var(--transition-speed) ease;
}

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

.btn-nav {
    background-color: var(--secondary-color);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-nav svg {
    flex-shrink: 0;
    color: var(--text-white);
}

.phone-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.phone-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
}

.phone-hours {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    color: var(--text-white);
}

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

.btn-nav:hover {
    background-color: #00ACC1;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 188, 212, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all var(--transition-speed) ease;
}

body.dark-mode .mobile-menu-toggle span {
    background-color: #ffffff;
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    padding: 0;
    margin-left: 0;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.theme-toggle svg {
    color: var(--text-dark);
    transition: all var(--transition-speed) ease;
}

.theme-toggle .moon-icon {
    display: none;
}

body.dark-mode .theme-toggle .sun-icon {
    display: none;
}

body.dark-mode .theme-toggle .moon-icon {
    display: block;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--hero-bg);
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 26, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: -1px -1px;
    padding: 140px 0 80px;
}

body.dark-mode .hero {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(241, 248, 233, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.badge-icon {
    font-size: 14px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
    color: var(--text-dark);
}

.title-highlight {
    color: var(--secondary-color);
    font-weight: 400;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-secondary svg {
    margin-right: 6px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 20px;
}

.stat-item {
    flex: 0 0 auto;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-image {
    position: relative;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.hero-image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInUp 0.6s ease-out 0.5s backwards;
}

.hero-image-badge svg {
    color: #10b981;
    background-color: #d1fae5;
    padding: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.badge-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .hero-image-badge {
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .hero-image-badge .badge-title,
body.dark-mode .hero-image-badge .badge-subtitle {
    color: #ffffff;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 179, 66, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: #e0e0e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background-color: #f8f8f8;
    border-color: #d0d0d0;
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

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

/* === Why Choose Us Section === */
.why-choose {
    padding: 100px 0;
    background-color: #f8f9fa;
}

body.dark-mode .why-choose {
    background-color: #1a1a1a;
}

.why-choose-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background-color: var(--bg-white);
    padding: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

body.dark-mode .why-choose-wrapper {
    background-color: #0d0d0d;
}

.why-choose-content {
    max-width: 600px;
}

.why-choose-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.why-choose-description {
    font-size: 17px;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 35px;
}

.why-choose-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-dark {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-dark:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(124, 179, 66, 0.3);
}

body.dark-mode .btn-dark:hover {
    box-shadow: 0 4px 16px rgba(124, 179, 66, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

body.dark-mode .btn-outline {
    color: #ffffff;
    border-color: #444444;
}

body.dark-mode .btn-outline:hover {
    background-color: #2a2a2a;
    border-color: #666666;
    transform: translateY(-2px);
}

.why-choose-stats {
    display: flex;
    gap: 45px;
    padding-top: 15px;
}

.why-stat-item {
    flex: 0 0 auto;
}

.why-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1;
}

.why-stat-label {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.4;
}

.why-choose-image {
    position: relative;
    height: 550px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-image-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    padding: 14px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

body.dark-mode .why-image-badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.why-image-badge svg {
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.2);
    padding: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* === Services Showcase Section === */
.services-showcase {
    padding: 100px 0;
    background-color: var(--bg-gray);
    background-image: 
        linear-gradient(rgba(248, 249, 250, 0.95) 0%, transparent 10%, transparent 90%, rgba(248, 249, 250, 0.95) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(124, 179, 66, 0.08) 39px, rgba(124, 179, 66, 0.08) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(124, 179, 66, 0.08) 39px, rgba(124, 179, 66, 0.08) 40px);
    position: relative;
}

body.dark-mode .services-showcase {
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.95) 0%, transparent 10%, transparent 90%, rgba(26, 26, 26, 0.95) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(124, 179, 66, 0.08) 39px, rgba(124, 179, 66, 0.08) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(124, 179, 66, 0.08) 39px, rgba(124, 179, 66, 0.08) 40px);
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 40px;
}

.showcase-header-content {
    flex: 1;
}

.showcase-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.showcase-subtitle {
    font-size: 17px;
    color: #6b7280;
    line-height: 1.6;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: var(--bg-white);
    transition: all var(--transition-speed) ease;
    flex-shrink: 0;
}

.showcase-link:hover {
    border-color: var(--text-dark);
    transform: translateX(4px);
}

.showcase-link svg {
    transition: transform var(--transition-speed) ease;
}

.showcase-link:hover svg {
    transform: translateX(4px);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.showcase-card {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-speed) ease;
}

.showcase-card:hover {
    transform: translateY(-8px);
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 0 20px rgba(255, 255, 255, 0.1);
}

.badge-orange {
    background-color: rgba(234, 108, 46, 0.4);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-green {
    background-color: rgba(16, 185, 129, 0.4);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-blue {
    background-color: rgba(59, 130, 246, 0.4);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-yellow {
    background-color: rgba(234, 179, 8, 0.4);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-turquoise {
    background-color: rgba(20, 184, 166, 0.4);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-lightblue {
    background-color: rgba(125, 211, 252, 0.4);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-purple {
    background-color: rgba(139, 92, 246, 0.4);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: white;
    z-index: 2;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-description {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

.showcase-more {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
}

.more-content {
    text-align: center;
    padding: 30px;
    color: white;
}

.more-content svg {
    margin: 0 auto 20px;
    opacity: 0.8;
}

.more-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.more-description {
    font-size: 14px;
    opacity: 0.8;
    color: white;
}

/* === Services Section === */
.services {
    padding: var(--section-padding);
    background-color: var(--bg-white);
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.services .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.services-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.services-carousel-wrapper::before,
.services-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.services-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white) 0%, var(--bg-white) 10%, transparent 100%);
}

.services-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white) 0%, var(--bg-white) 10%, transparent 100%);
}

body.dark-mode .services-carousel-wrapper::before {
    background: linear-gradient(to right, var(--dark-bg-primary) 0%, var(--dark-bg-primary) 10%, transparent 100%);
}

body.dark-mode .services-carousel-wrapper::after {
    background: linear-gradient(to left, var(--dark-bg-primary) 0%, var(--dark-bg-primary) 10%, transparent 100%);
}

.services-carousel {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px;
    animation: scroll 40s linear infinite;
    width: fit-content;
    padding-left: 20px;
}

.services-carousel:hover {
    animation-play-state: paused;
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
    text-align: center;
    min-width: 288px;
    max-width: 288px;
    flex-shrink: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    color: var(--secondary-color);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* Dark mode for services */
body.dark-mode .services {
    background-color: var(--dark-bg-primary);
}

body.dark-mode .service-card {
    background-color: var(--dark-bg-secondary);
    border-color: var(--dark-border);
}

body.dark-mode .service-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-card h3 {
    color: var(--dark-text-primary);
}

body.dark-mode .service-card p {
    color: var(--dark-text-secondary);
}

/* === Process Section === */
.process {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.3);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 15px;
}

.step-content h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

/* === Projects Section === */
.projects {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

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

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.3), rgba(26, 26, 26, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: var(--text-white);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-overlay p {
    color: var(--secondary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Contact Section === */
.contact {
    padding: var(--section-padding);
    background-image: 
        linear-gradient(rgba(124, 179, 66, 0.92), rgba(124, 179, 66, 0.92)),
        url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    color: var(--text-white);
}

.contact-info h2 {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.1;
}

.contact-info > p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-item svg {
    width: 30px;
    height: 30px;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 22px;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background-color: var(--bg-white);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: all var(--transition-speed) ease;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: #444444;
}

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

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

/* === Footer === */
.footer {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 60px 0 20px;
}

body.dark-mode .footer {
    background-color: #0d0d0d;
    color: #ffffff;
}

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

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-brand-name {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 10px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

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

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-wrapper {
        gap: 60px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-description {
        font-size: 17px;
    }
    
    .hero-image {
        height: 500px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .showcase-title {
        font-size: 40px;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }
    
    .contact-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 20px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: start;
        padding: 40px 0;
        gap: 20px;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    body.dark-mode .nav-menu {
        background-color: rgba(13, 13, 13, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
        background-size: 30px 30px;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 16px;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 40px;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        text-align: center;
    }
    
    .stat-item {
        padding: 15px 10px;
        background-color: rgba(255, 255, 255, 0.6);
        border-radius: 8px;
    }
    
    .hero-image {
        height: 380px;
        order: -1;
    }
    
    .hero-image-badge {
        bottom: 16px;
        left: 16px;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* Sections */
    :root {
        --section-padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .section-header {
        text-align: center;
    }
    
    /* Services Showcase */
    .services-showcase {
        padding: 60px 0;
    }
    
    .showcase-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .showcase-title {
        font-size: 36px;
    }
    
    .showcase-link {
        width: 100%;
        justify-content: center;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .showcase-card {
        height: 280px;
    }
    
    /* Services Showcase */
    .services-showcase {
        padding: 60px 0;
    }
    
    .showcase-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .showcase-title {
        font-size: 36px;
    }
    
    .showcase-link {
        width: 100%;
        justify-content: center;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .showcase-card {
        height: 280px;
    }
    
    /* Why Choose Section */
    .why-choose {
        padding: 60px 0;
    }
    
    .why-choose-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 50px 30px;
    }
    
    .why-choose-content {
        text-align: center;
    }
    
    .why-choose-title {
        font-size: 36px;
    }
    
    .why-choose-description {
        font-size: 16px;
    }
    
    .why-choose-buttons {
        flex-direction: column;
    }
    
    .btn-dark,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .why-choose-stats {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    
    .why-choose-image {
        height: 400px;
    }
    
    .why-image-badge {
        font-size: 13px;
        padding: 12px 16px;
    }
    
    /* Services - carousel remains horizontal on mobile */
    
    /* Process */
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        gap: 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .step-content h3 {
        font-size: 22px;
    }
    
    .step-content p {
        font-size: 15px;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-image {
        height: 300px;
    }
    
    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h2 {
        font-size: 32px;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-logo-wrapper {
        justify-content: center;
    }
    
    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 38px;
    }
    
    .logo-text-brand {
        font-size: 14px;
    }
    
    .footer-logo-img {
        height: 48px;
    }
    
    .footer-brand-name {
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .hero-stats {
        gap: 20px;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .showcase-title {
        font-size: 28px;
    }
    
    .showcase-subtitle {
        font-size: 15px;
    }
    
    .showcase-card {
        height: 260px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .why-choose-wrapper {
        padding: 40px 20px;
    }
    
    .why-choose-title {
        font-size: 28px;
    }
    
    .why-stat-number {
        font-size: 30px;
    }
    
    .why-choose-image {
        height: 350px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.service-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
