/* DESIGN SYSTEM */
:root {
    --primary: #E67E22; /* Industrial Orange */
    --primary-dark: #D35400;
    --secondary: #1A1A1A; /* Deep Charcoal */
    --accent: #3498DB; /* Electric Blue */
    --bg-dark: #0F0F0F;
    --bg-card: rgba(30, 30, 30, 0.7);
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(15, 15, 15, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(230, 126, 34, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    animation: cnc-spin 1s infinite linear;
}

.loader-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--primary);
}

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

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 5px;
    color: #fff;
    animation: pulse 1.5s infinite ease-in-out;
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

h1, h2, h3, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

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

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 2.2rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.brand-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    background: #fff; /* Logo has white background, matching it */
    box-shadow: 0 0 30px rgba(230, 126, 34, 0.4);
    position: relative;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.05) brightness(1.05) saturate(1.1);
}

.logo:hover .logo-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 0 40px rgba(230, 126, 34, 0.7);
    border-color: #fff;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary);
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-5px); /* Jumping/Rising effect */
    text-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

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

/* SCROLL PROGRESS BAR */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    z-index: 9999;
    box-shadow: 0 0 15px var(--primary);
    transition: width 0.1s ease;
}

/* HERO PARALLAX */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden; /* Important for parallax */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Taller for parallax room */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url("p1.jpg (Wood Carving).jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translateY(0);
    will-change: transform;
}

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

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--primary);
    display: block;
    font-size: 2.5rem;
    letter-spacing: 8px;
    margin-top: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* BUTTONS */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.5), 0 0 15px rgba(230, 126, 34, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* SERVICES */
.services {
    padding: 8rem 0;
    background: var(--bg-dark);
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

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

.service-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(230, 126, 34, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* OUR PROCESS */
.process {
    padding: 8rem 0;
    background: #080808;
    position: relative;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 4rem;
}

.step-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    text-align: center;
    flex: 1;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(230, 126, 34, 0.05);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.step-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(230, 126, 34, 0.4));
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 5rem;
    opacity: 0.5;
    animation: arrow-move 2s infinite ease-in-out;
}

@keyframes arrow-move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@media (max-width: 992px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 4rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin-top: 0;
        margin-bottom: 0;
    }
    
    @keyframes arrow-move {
        0%, 100% { transform: translateY(0) rotate(90deg); }
        50% { transform: translateY(10px) rotate(90deg); }
    }
}

/* FEATURED TECH SLIDER */
.featured-tech {
    padding: 6rem 0;
    background: #050505;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 2rem;
    opacity: 0.2;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

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

.slide-text h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.slide-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.slide-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-weight: 600;
}

.slide-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.slide-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

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

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    width: 30px;
    background: var(--primary);
    border-radius: 10px;
}

/* GALLERY */
.gallery {
    padding: 8rem 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: #fff;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    background: #1a1a1a;
    background-image: linear-gradient(90deg, #1a1a1a 0px, #222 40px, #1a1a1a 80px);
    background-size: 600px;
    animation: skeleton-pulse 2s infinite linear;
}

@keyframes skeleton-pulse {
    0% { background-position: -100px; }
    100% { background-position: 500px; }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 126, 34, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* WHY US */
.why-us {
    padding: 8rem 0;
    background: #151515;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
}

.features {
    list-style: none;
    margin-top: 2.5rem;
}

.features li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.image-box {
    position: relative;
}

.image-box img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.box-outline {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 20px;
    z-index: 1;
}

/* OWNER BADGE */
.owner-badge {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--primary);
    border-radius: 0 15px 15px 0;
    display: inline-block;
}

.owner-info .label {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.owner-name {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}

.owner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(230, 126, 34, 0.15);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(230, 126, 34, 0.3);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* FEATURED PORTFOLIO */
.featured-portfolio {
    padding: 10rem 0 5rem;
    background: linear-gradient(to bottom, #0a0a0a, #080808);
}

.portfolio-banner {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1) 0%, rgba(15, 15, 15, 0.9) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.portfolio-banner::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
}

.portfolio-text .badge {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 2rem;
}

.portfolio-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.portfolio-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.portfolio-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.preview-stack {
    position: relative;
    width: 300px;
    height: 350px;
}

.preview-item {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.preview-item.p1 {
    background-image: url('p3.jpg (Laser Engraving).jpg');
    transform: rotate(-10deg) translateX(-40px);
    z-index: 1;
}

.preview-item.p2 {
    background-image: url('p4.jpg (Laser Engraving).jpg');
    transform: rotate(5deg) translateY(20px);
    z-index: 3;
}

.preview-item.p3 {
    background-image: url('p5.jpg (Laser Engraving).jpg');
    transform: rotate(15deg) translateX(40px);
    z-index: 2;
}

.portfolio-banner:hover .preview-item.p1 { transform: rotate(-15deg) translateX(-80px); }
.portfolio-banner:hover .preview-item.p2 { transform: rotate(0deg) translateY(-20px); }
.portfolio-banner:hover .preview-item.p3 { transform: rotate(20deg) translateX(80px); }

@media (max-width: 992px) {
    .portfolio-banner {
        grid-template-columns: 1fr;
        padding: 4rem 2rem;
        text-align: center;
    }
    
    .portfolio-text p {
        margin: 0 auto 3rem;
    }
    
    .portfolio-preview {
        height: 300px;
    }
    
    .preview-stack {
        width: 200px;
        height: 250px;
    }
}

/* RESOURCES SECTION */
.resources-section {
    padding: 8rem 0;
    background: #0d0d0d;
}

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

.resource-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    border-color: var(--primary);
    background: rgba(230, 126, 34, 0.05);
}

.resource-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.resource-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.resource-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.btn-sm {
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
}

/* LOCATION SECTION */
.location-section {
    padding: 8rem 0;
    background: #080808;
}

.map-container {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    filter: grayscale(1) invert(1) hue-rotate(180deg); /* Modern Dark Map effect */
    transition: var(--transition);
}

.map-container:hover {
    filter: grayscale(0) invert(0) hue-rotate(0);
    border-color: var(--primary);
    transform: translateY(-10px);
}

/* CONTACT */
.contact {
    padding: 8rem 0;
    background: var(--bg-dark);
}

.contact-card {
    background: var(--bg-card);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.contact-info {
    padding: 4rem;
    background: var(--primary);
    color: #fff;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    padding: 4rem;
}

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

input, select, textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* FOOTER */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dev-credit {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.dev-credit span {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(230, 126, 34, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 5px;
    color: #fff;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* CUSTOM CURSOR */
#cursor {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
    display: none; /* Hidden on mobile */
}

@media (min-width: 992px) {
    #cursor { display: block; }
}

/* TESTIMONIALS */
.testimonials {
    padding: 8rem 0;
    background: #0c0c0c;
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.stars {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.client-info strong {
    display: block;
    color: #fff;
}

.client-info span {
    color: var(--primary);
    font-size: 0.8rem;
}

/* SOCIAL LINKS */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--glass-border);
    border-radius: 12px; /* Cute rounded squares */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon svg {
    transition: transform 0.4s ease;
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: transparent;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.social-icon.fb:hover {
    background: linear-gradient(135deg, #1877F2, #3b5998);
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.4);
}

.social-icon.insta:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.4);
}

.social-icon.yt:hover {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4);
}

/* FORM GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.reveal-left {
    transform: translateX(-100px);
}

.reveal.reveal-right {
    transform: translateX(100px);
}

.reveal.reveal-scale {
    transform: scale(0.8) translateY(50px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Delay reveals for grid items */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.float {
    animation: float 4s ease-in-out infinite;
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* WHATSAPP STYLES */
.whatsapp-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-link:hover {
    color: #25D366; /* WhatsApp Green */
    text-decoration: underline;
}

.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background: #128C7E;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .grid-2, .contact-card { grid-template-columns: 1fr; }
    .contact-info { padding: 3rem; }
    .why-us-image { margin-top: 3rem; }
    
    .portfolio-banner {
        grid-template-columns: 1fr;
        padding: 4rem 2rem;
        text-align: center;
    }
    
    .portfolio-text h2 { font-size: 2.5rem; }
    .portfolio-text p { margin: 0 auto 3rem; }
    
    .preview-stack {
        width: 200px;
        height: 250px;
        margin: 0 auto;
    }
}

/* MOBILE REFINEMENTS (ONLY 768px and below) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 1.5rem;
        width: 100%;
        overflow: hidden;
    }

    /* NAVIGATION MOBILE */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s ease;
        z-index: 2000;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    /* LOGO & SITE NAME MOBILE */
    .logo {
        font-size: 1.3rem !important;
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
    }

    .logo span {
        display: block; /* Moves 'works' to its own line on mobile if needed */
        font-size: 0.8rem;
        margin-top: -5px;
        text-transform: lowercase;
        opacity: 0.8;
    }

    /* FLOATING BUTTONS MOBILE */
    .back-to-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }

    .whatsapp-float {
        bottom: 75px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
    }

    /* GLOBAL SCREEN FIX */
    html, body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden !important;
        position: relative;
        touch-action: pan-y; /* Prevents accidental horizontal gestures */
    }

    section, .container, .navbar, footer {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Wrap text container to allow vertical stack of brand name parts */
    .brand-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-icon {
        width: 45px !important; /* Smaller logo for mobile */
        height: 45px !important;
    }

    .logo-icon img {
        width: 100%;
        height: 100%;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    /* HAMBURGER */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 2100;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background: #fff;
        margin: 6px 0;
        transition: 0.4s;
        border-radius: 3px;
    }

    .hamburger.active span:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(45deg) translate(-7px, -7px); }

    /* HERO MOBILE */
    .hero {
        padding: 10rem 0 5rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .stat-item h3 { font-size: 1.5rem; }

    /* SERVICES & GALLERY GRIDS */
    .services-grid, .gallery-grid, .resources-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* PORTFOLIO STACK MOBILE */
    .portfolio-banner {
        padding: 3rem 1rem;
    }

    .preview-stack {
        width: 180px;
        height: 220px;
        margin: 2rem auto;
    }

    .preview-item {
        width: 100%;
        height: 100%;
    }

    /* PROCESS STEPS */
    .process-steps {
        padding: 0 1rem;
    }

    .step-card {
        width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
        font-size: 1.5rem;
    }

    /* WHY US MOBILE */
    .why-us-content {
        padding: 0;
        text-align: center;
    }

    .features {
        text-align: left;
    }

    /* CONTACT FORM */
    .contact-card {
        border-radius: 0;
    }

    .contact-info {
        padding: 2.5rem 1.5rem;
    }

    .contact-form {
        padding: 2.5rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* SUCCESS MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

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

.modal-content {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    text-align: center;
    max-width: 500px;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 2px solid #2ecc71;
}

.success-icon svg {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw-check 0.8s ease forwards 0.5s;
}

@keyframes draw-check {
    to { stroke-dashoffset: 0; }
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
}

/* FAQ SECTION */
.faq-section {
    padding: 8rem 0;
    background: #0a0a0a;
}

.faq-grid {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.02);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* FOOTER SOCIAL ICONS */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Inherits from .social-icon but can be slightly smaller for footer if needed */
.footer-social .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

/* STATS COUNTER ENHANCEMENT */
.stat-num.counter {
    font-weight: 800;
    color: var(--primary);
}
/* TESTIMONIALS SECTION */
.testimonials {
    padding: 8rem 0;
    background: #080808;
}

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

.testi-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(230, 126, 34, 0.05);
}

.stars {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testi-card p {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.client-info strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.client-info span {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* MAP OVERLAY BUTTON */
.map-container {
    position: relative;
}

/* RESPONSIVE TESTIMONIALS */
/* LIGHTBOX STYLES */
.lightbox {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(230, 126, 34, 0.3);
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active {
    display: flex;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

#lightboxCaption {
    position: absolute;
    bottom: 40px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    letter-spacing: 1px;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .footer-logo, .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
