/*
Theme Name: iTechCNC
Theme URI: https://itechcnc.ba
Author: iTechCNC
Author URI: https://itechcnc.ba
Description: Moderna tema za iTechCNC - Laserska i CNC obrada
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: itechcnc
*/

:root {
    --primary: #0a0a0a;
    --primary-dark: #050508;
    --accent: #ff6b35;
    --accent-hover: #ff8555;
    --accent-glow: rgba(255, 107, 53, 0.5);
    --cyber-blue: #00d4ff;
    --cyber-purple: #7c3aed;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --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;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
}

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

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--white);
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition-slow);
    box-shadow: 0 5px 20px var(--accent-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px var(--accent-glow);
}

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

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a0a15 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,107,53,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'),
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    opacity: 0.8;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--primary-dark), transparent);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 40px 20px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 0 60px rgba(255, 107, 53, 0.3);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent), #ff9500, var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 20px var(--accent-glow)); }
    50% { filter: drop-shadow(0 0 40px var(--accent-glow)); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-300);
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-slow);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ff4500 50%, var(--accent-hover) 100%);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: 0 4px 15px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.2);
    animation: gradientShift 3s ease infinite;
}

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

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px var(--accent-glow), 0 0 60px rgba(255, 107, 53, 0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    position: relative;
}

.btn-outline::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--cyber-blue), var(--accent));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.btn-outline:hover::after {
    opacity: 1;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, #0d0d15 50%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-header h2 {
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--cyber-blue), transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.section-header p {
    color: var(--gray-300);
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 45px 35px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-slow);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cyber-blue), var(--accent));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, transparent 50%, rgba(0, 212, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.15), 0 0 100px rgba(255, 107, 53, 0.05);
    border-color: rgba(255, 107, 53, 0.3);
}

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

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

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    position: relative;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: var(--transition-slow);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px var(--accent-glow);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--primary) 0%, #0f0f18 100%);
    position: relative;
}

.gallery .section-header h2 {
    color: var(--white);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: 0 20px;
}

.gallery-tab {
    padding: 14px 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-slow);
    font-size: 0.95rem;
    color: var(--gray-300);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.gallery-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.gallery-tab:hover {
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

.gallery-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.gallery-tab.active::before {
    opacity: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: var(--transition-slow);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent 40%, var(--accent) 50%, var(--cyber-blue) 60%, transparent 70%);
    background-size: 400% 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
    animation: borderGlow 3s linear infinite paused;
}

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

.gallery-item:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 107, 53, 0.1);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 10, 0.95) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    color: var(--white);
    z-index: 2;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition-slow);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay span {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

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

/* View icon on hover */
.gallery-item .view-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition-slow);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.gallery-item:hover .view-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
    animation: lightboxFadeIn 0.3s ease;
}

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

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5), 0 0 100px rgba(255, 107, 53, 0.1);
    animation: lightboxImageIn 0.4s ease;
}

@keyframes lightboxImageIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-slow);
}

.lightbox-close:hover {
    background: var(--accent);
    border-color: transparent;
    transform: rotate(90deg);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    cursor: pointer;
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition-slow);
}

.lightbox-nav:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: transparent;
    box-shadow: 0 10px 30px var(--accent-glow);
}

.lightbox-prev { left: 30px; }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-5px); }
.lightbox-next { right: 30px; }
.lightbox-next:hover { transform: translateY(-50%) translateX(5px); }

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f0f18 0%, var(--primary) 50%, #0d0d15 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about h2 {
    color: var(--white);
    margin-bottom: 25px;
}

.about h2 span {
    background: linear-gradient(135deg, var(--accent), var(--cyber-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about p {
    color: var(--gray-300);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 35px 25px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray-300);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 100px rgba(255, 107, 53, 0.1);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), transparent 50%, var(--cyber-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
}

.about-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 24px;
    transition: transform 0.7s ease;
}

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

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f0f18 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact .section-header h2 {
    color: var(--white);
}

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

.contact .section-header h2 {
    color: var(--white);
}

.contact .section-header p {
    color: var(--gray-300);
}

.contact-info h2 {
    margin-bottom: 30px;
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition-slow);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px var(--accent-glow);
    transition: var(--transition-slow);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--white);
}

.contact-text p,
.contact-text a {
    color: var(--gray-300);
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    width: 55px;
    height: 55px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    transition: var(--transition-slow);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: transparent;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px var(--accent-glow);
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cyber-blue), var(--accent));
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition-slow);
    font-family: inherit;
    color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 107, 53, 0.05);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff4500 50%, var(--accent-hover) 100%);
    background-size: 200% 200%;
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-slow);
    box-shadow: 0 10px 30px var(--accent-glow);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px var(--accent-glow), 0 0 60px rgba(255, 107, 53, 0.3);
}

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

.submit-btn svg {
    display: inline-block;
    vertical-align: middle;
}

.form-message {
    margin-top: 25px;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
}

.form-message p {
    margin: 0;
    font-weight: 600;
}

.form-message p[style*="color: #28a745"] {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    padding: 15px 20px;
    border-radius: 12px;
    color: #4ade80 !important;
}

.form-message p[style*="color: #dc3545"] {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    padding: 15px 20px;
    border-radius: 12px;
    color: #f87171 !important;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #050508 100%);
    color: var(--white);
    padding: 100px 0 30px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--cyber-blue), var(--accent), transparent);
}

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

.footer-brand .logo {
    margin-bottom: 25px;
    display: inline-block;
    font-size: 2rem;
}

.footer-brand p {
    color: var(--gray-300);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

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

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--gray-300);
    position: relative;
    transition: var(--transition);
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 15px;
}

.footer-links a:hover::before {
    width: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--gray-300);
    font-size: 0.9rem;
}

.designed-by {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,107,53,0.3);
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.designed-by:hover {
    background: rgba(255,107,53,0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.2);
}

.designed-by span {
    color: var(--gray-300);
    font-size: 0.85rem;
}

.designed-by:hover span {
    color: var(--white);
}

.cnt-logo {
    transition: transform 0.3s ease;
}

.designed-by:hover .cnt-logo {
    transform: scale(1.1);
}

/* ==================== */
/* INTRO LOADER STYLES  */
/* ==================== */
.intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #050508 0%, #0a0a15 30%, #1a1a2e 60%, #0f0f18 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    animation: introGlowPulse 4s ease-in-out infinite;
}

@keyframes introGlowPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Intro Particles */
.intro-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.intro-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: introParticleFloat 6s ease-in-out infinite;
    filter: blur(1px);
}

.intro-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.intro-particle:nth-child(2) { left: 25%; animation-delay: 1s; }
.intro-particle:nth-child(3) { left: 45%; animation-delay: 2s; background: var(--cyber-blue); }
.intro-particle:nth-child(4) { left: 65%; animation-delay: 0.5s; }
.intro-particle:nth-child(5) { left: 80%; animation-delay: 1.5s; background: var(--cyber-blue); }
.intro-particle:nth-child(6) { left: 90%; animation-delay: 2.5s; }

@keyframes introParticleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0.5);
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(1);
    }
}

/* Intro decorative circles */
.intro-deco-circle {
    animation: introDecoRotate 20s linear infinite;
    transform-origin: center;
}

@keyframes introDecoRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.intro-loader.fade-out {
    animation: introFadeOut 1s ease forwards;
}

.intro-loader.hidden {
    display: none;
}

@keyframes introFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.intro-content {
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

.intro-svg {
    width: 100%;
    max-width: 700px;
    height: auto;
}

.intro-grid {
    opacity: 0;
    animation: gridFadeIn 1s ease 0.2s forwards;
}

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

/* Laser head movement */
.laser-head {
    animation: laserHeadMove 3.8s ease-in-out forwards;
}

@keyframes laserHeadMove {
    0% { transform: translateX(-130px); }
    10% { transform: translateX(-130px); }
    15% { transform: translateX(-80px); }
    20% { transform: translateX(-80px); }
    27% { transform: translateX(-25px); }
    33% { transform: translateX(-25px); }
    40% { transform: translateX(20px); }
    45% { transform: translateX(20px); }
    52% { transform: translateX(55px); }
    57% { transform: translateX(55px); }
    65% { transform: translateX(130px); }
    72% { transform: translateX(130px); }
    80% { transform: translateX(158px); }
    87% { transform: translateX(158px); }
    95% { transform: translateX(240px); }
    100% { transform: translateX(240px); }
}

/* Laser beam pulsing */
.laser-beam-main {
    animation: beamPulse 0.1s ease infinite;
    opacity: 0;
    animation: beamPulse 0.1s ease infinite, beamShow 4s ease forwards;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.8; stroke-width: 3; }
    50% { opacity: 1; stroke-width: 4; }
}

@keyframes beamShow {
    0%, 5% { opacity: 0; }
    10%, 95% { opacity: 1; }
    100% { opacity: 0; }
}

/* Letter paths drawing */
.intro-path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
}

.intro-path-1 { animation: drawPath 0.35s ease 0.4s forwards; }
.intro-path-2 { animation: drawPath 0.4s ease 0.75s forwards; }
.intro-path-3 { animation: drawPath 0.45s ease 1.1s forwards; }
.intro-path-4 { animation: drawPath 0.35s ease 1.45s forwards; }
.intro-path-5 { animation: drawPath 0.4s ease 1.8s forwards; }
.intro-path-6 { animation: drawPath 0.45s ease 2.2s forwards; }
.intro-path-7 { animation: drawPath 0.4s ease 2.6s forwards; }
.intro-path-8 { animation: drawPath 0.45s ease 3s forwards; }

.intro-dot {
    fill: var(--accent);
    opacity: 0;
    filter: drop-shadow(0 0 8px var(--accent)) drop-shadow(0 0 15px rgba(255, 107, 53, 0.5));
}

.intro-dot-1 { animation: dotAppear 0.3s ease 0.6s forwards; }

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dotAppear {
    0% { opacity: 0; transform: scale(0); }
    50% { transform: scale(1.5); }
    100% { opacity: 1; transform: scale(1); }
}

/* Sparks animation */
.intro-sparks {
    opacity: 0;
    animation: sparksFlicker 0.15s ease infinite;
}

.intro-spark {
    animation: sparkMove 0.2s ease infinite alternate;
}

@keyframes sparksFlicker {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes sparkMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(2px, -2px) scale(0.8); }
}

/* Smoke animation */
.intro-smoke circle {
    animation: smokeRise 1s ease infinite;
}

.intro-smoke circle:nth-child(1) { animation-delay: 0s; }
.intro-smoke circle:nth-child(2) { animation-delay: 0.3s; }
.intro-smoke circle:nth-child(3) { animation-delay: 0.6s; }

@keyframes smokeRise {
    0% {
        opacity: 0.4;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(2);
    }
}

/* Intro text */
.intro-text {
    margin-top: 40px;
    opacity: 0;
    animation: textFadeIn 0.8s ease 3.2s forwards;
}

.intro-tagline {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5), 0 0 60px rgba(255, 107, 53, 0.3);
    background: linear-gradient(90deg, var(--white), var(--accent), var(--white));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: taglineShimmer 3s ease-in-out infinite;
}

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

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress bar */
.intro-progress {
    width: 220px;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    margin: 35px auto 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.intro-progress::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 5px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--cyber-blue), transparent);
    opacity: 0.5;
}

.intro-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--cyber-blue), var(--accent-hover), var(--accent));
    background-size: 300% 100%;
    border-radius: 4px;
    animation: progressFill 4s ease forwards, progressShine 1.5s ease infinite;
    box-shadow: 0 0 15px var(--accent-glow), 0 0 30px rgba(255, 107, 53, 0.3);
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes progressShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mobile responsive for intro */
@media (max-width: 768px) {
    .intro-svg {
        max-width: 100%;
    }

    .intro-tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .intro-progress {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .intro-content {
        padding: 15px;
    }

    .intro-tagline {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .designed-by {
        flex-direction: column;
        gap: 5px;
        padding: 10px 20px;
    }

    .intro-svg {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 180px;
    }

    .intro-text {
        margin-top: 30px;
    }

    .intro-progress {
        width: 140px;
        margin-top: 25px;
    }

    .intro-particle {
        width: 3px;
        height: 3px;
    }

    .intro-path {
        stroke-width: 2.5;
    }

    .intro-dot {
        r: 5;
    }

    .intro-content {
        padding: 20px 15px;
    }
}

/* Laser Animation */
.laser-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    z-index: 1;
    opacity: 0.8;
}

.laser-svg {
    width: 100%;
    height: 100%;
}

.laser-path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: laserDraw 4s ease forwards;
    filter: drop-shadow(0 0 10px var(--accent)) drop-shadow(0 0 20px var(--accent)) drop-shadow(0 0 40px rgba(255, 107, 53, 0.5));
}

.laser-path-2 {
    animation-delay: 0.5s;
}

.laser-path-3 {
    animation-delay: 1s;
}

.laser-dot {
    fill: #fff;
    filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 20px var(--accent));
    opacity: 0;
    animation: laserDot 4s ease forwards;
}

.laser-beam {
    fill: none;
    stroke: url(#laserGradient);
    stroke-width: 3;
    stroke-linecap: round;
    opacity: 0;
    animation: laserBeam 4s ease infinite;
}

.laser-sparks {
    opacity: 0;
    animation: sparks 0.3s ease infinite;
    animation-delay: 0.5s;
}

.spark {
    fill: var(--accent);
    filter: drop-shadow(0 0 5px var(--accent));
}

@keyframes laserDraw {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes laserDot {
    0%, 10% {
        opacity: 0;
    }
    15%, 95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes laserBeam {
    0%, 100% {
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.8;
    }
}

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

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

.glow-circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1;
    opacity: 0;
    animation: glowPulse 2s ease infinite;
}

.glow-circle:nth-child(2) {
    animation-delay: 0.5s;
}

.glow-circle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes glowPulse {
    0% {
        opacity: 0.8;
        r: 5;
    }
    100% {
        opacity: 0;
        r: 30;
    }
}

/* Floating particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
    filter: blur(1px);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 0.5s; }
.particle:nth-child(5) { left: 50%; animation-delay: 1.5s; }
.particle:nth-child(6) { left: 60%; animation-delay: 2.5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.3s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.3s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2.3s; }
.particle:nth-child(10) { left: 15%; animation-delay: 0.8s; }

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* Hero content delay for laser animation */
.hero-content {
    text-align: center;
    z-index: 2;
    padding: 40px 20px;
    animation: contentFadeIn 1s ease 2.5s backwards;
}

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

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 15, 25, 0.98) 100%);
        backdrop-filter: blur(20px);
        padding: 30px 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid var(--accent);
        box-shadow: 0 20px 50px rgba(255, 107, 53, 0.1);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav a {
        display: block;
        padding: 12px 20px;
        background: var(--glass-bg);
        border-radius: 12px;
        border: 1px solid var(--glass-border);
        text-align: center;
        font-size: 1rem;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: linear-gradient(135deg, var(--accent), var(--accent-hover));
        border-color: transparent;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-contact .phone-btn {
        display: none;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 10px;
    }

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

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .laser-animation {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 200px;
        opacity: 0.5;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.25;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 0 5px;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .laser-animation {
        width: 90%;
        max-width: 350px;
        height: auto;
        min-height: 220px;
        opacity: 0.6;
        top: 45%;
    }

    /* Services Mobile - Futuristic Cards */
    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .service-card {
        padding: 35px 25px;
        border-radius: 20px;
        background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,107,53,0.02) 100%);
    }

    .service-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 50px;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 1.9rem;
        margin-bottom: 15px;
    }

    .section-header h2::after {
        width: 80px;
        height: 3px;
    }

    .section-header p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Gallery Mobile */
    .gallery {
        padding: 80px 0;
    }

    .gallery-tabs {
        gap: 8px;
        padding: 0 15px;
        margin-bottom: 40px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .gallery-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
        border-radius: 10px;
        flex: 0 0 auto;
    }

    .gallery-grid {
        gap: 15px;
        padding: 0 15px;
    }

    .gallery-item {
        border-radius: 16px;
        aspect-ratio: 1;
    }

    .gallery-item .view-icon {
        width: 50px;
        height: 50px;
    }

    .gallery-overlay {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .gallery-overlay h4 {
        font-size: 1rem;
    }

    /* About Section Mobile */
    .about {
        padding: 80px 0;
    }

    .about-text h2 {
        font-size: 1.9rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 30px;
    }

    .stat-item {
        padding: 25px 15px;
        border-radius: 16px;
    }

    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 80px 0;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        align-items: center;
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 15px;
    }

    .contact-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        border-radius: 14px;
    }

    .contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-text h4 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .contact-text p,
    .contact-text a {
        font-size: 0.95rem;
    }

    .contact-info {
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 35px 25px;
        border-radius: 20px;
    }

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

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        padding: 15px 18px;
        font-size: 16px;
        border-radius: 12px;
    }

    .submit-btn {
        padding: 16px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .social-links {
        justify-content: center;
        margin-top: 30px;
    }

    .social-link {
        width: 55px;
        height: 55px;
        border-radius: 14px;
    }

    /* Intro Animation Mobile */
    .intro-tagline {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }

    .intro-progress {
        width: 160px;
    }
}

/* ========================= */
/* FLOATING CALL BUTTON      */
/* ========================= */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff4500 50%, var(--accent-hover) 100%);
    background-size: 200% 200%;
    color: var(--white);
    padding: 18px 30px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 40px var(--accent-glow), 0 0 80px rgba(255, 107, 53, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatPulse 3s ease-in-out infinite, gradientShift 3s ease infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.floating-call-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.floating-call-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 60px var(--accent-glow), 0 0 100px rgba(255, 107, 53, 0.4);
}

.floating-call-btn svg {
    animation: phoneRing 2s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.floating-call-btn .call-text {
    display: inline;
}

@keyframes floatPulse {
    0%, 100% {
        box-shadow: 0 10px 40px var(--accent-glow), 0 0 80px rgba(255, 107, 53, 0.2);
    }
    50% {
        box-shadow: 0 15px 50px var(--accent-glow), 0 0 120px rgba(255, 107, 53, 0.4);
    }
}

@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    10%, 30% {
        transform: rotate(-12deg) scale(1.1);
    }
    20%, 40% {
        transform: rotate(12deg) scale(1.1);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
}

/* Mobile floating button */
@media (max-width: 768px) {
    .floating-call-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        padding: 18px;
        border-radius: 50%;
        width: 65px;
        height: 65px;
        justify-content: center;
        z-index: 9998;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .floating-call-btn .call-text {
        display: none;
    }

    .floating-call-btn svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .floating-call-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 62px;
        height: 62px;
        border-radius: 50%;
        box-shadow: 0 8px 30px var(--accent-glow), 0 0 60px rgba(255, 107, 53, 0.3);
        z-index: 9998;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    /* ========================= */
    /* FUTURISTIC MOBILE HERO    */
    /* ========================= */
    .hero {
        padding-top: 80px;
        min-height: 100vh;
        min-height: 100dvh;
        padding-bottom: 40px;
        display: flex;
        align-items: center;
    }

    .hero::before {
        opacity: 1;
        background:
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,107,53,0.12)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'),
            radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    }

    .hero-content {
        padding: 20px 20px 30px;
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 18px;
        text-shadow: 0 0 40px rgba(255, 107, 53, 0.4);
    }

    .hero h1 span {
        display: inline;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 35px;
        line-height: 1.65;
        color: var(--gray-200);
    }

    .btn {
        padding: 16px 28px;
        font-size: 0.9rem;
        border-radius: 14px;
        letter-spacing: 0.5px;
    }

    .btn-primary {
        box-shadow: 0 6px 25px var(--accent-glow);
    }

    /* ========================= */
    /* FUTURISTIC MOBILE SERVICES */
    /* ========================= */
    .services {
        padding: 70px 0;
    }

    .services::before {
        opacity: 1;
    }

    .services-grid {
        gap: 18px;
        padding: 0 15px;
    }

    .service-card {
        padding: 30px 22px;
        border-radius: 18px;
        background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,107,53,0.03) 50%, rgba(0,212,255,0.02) 100%);
        border: 1px solid rgba(255,107,53,0.15);
        position: relative;
    }

    .service-card::before {
        height: 2px;
        background: linear-gradient(90deg, var(--accent), var(--cyber-blue));
        transform: scaleX(1);
    }

    .service-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
        margin-bottom: 18px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    /* ========================= */
    /* FUTURISTIC MOBILE GALLERY */
    /* ========================= */
    .gallery {
        padding: 70px 0;
    }

    .gallery-tabs {
        gap: 8px;
        padding: 0 10px;
        margin-bottom: 35px;
    }

    .gallery-tab {
        padding: 10px 14px;
        font-size: 0.75rem;
        border-radius: 10px;
        backdrop-filter: blur(10px);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 15px;
    }

    .gallery-item {
        border-radius: 16px;
        aspect-ratio: 4/3;
        border: 1px solid rgba(255,107,53,0.2);
    }

    .gallery-item::before {
        border-radius: 16px;
    }

    .gallery-overlay {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    /* ========================= */
    /* FUTURISTIC MOBILE ABOUT   */
    /* ========================= */
    .about {
        padding: 70px 0;
    }

    .about h2 {
        font-size: 1.8rem;
    }

    .about p {
        font-size: 0.95rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-item {
        border-radius: 16px;
        padding: 22px 12px;
        background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,107,53,0.03) 100%);
        border: 1px solid rgba(255,107,53,0.2);
    }

    .stat-number {
        font-size: 1.9rem;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .about-image-wrapper {
        border-radius: 18px;
        margin-top: 30px;
    }

    /* ========================= */
    /* FUTURISTIC MOBILE CONTACT */
    /* ========================= */
    .contact {
        padding: 70px 0;
    }

    .contact-item {
        border-radius: 16px;
        padding: 18px 16px;
        margin-bottom: 12px;
        background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,107,53,0.02) 100%);
        border: 1px solid rgba(255,107,53,0.15);
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 12px;
    }

    .contact-text h4 {
        font-size: 0.95rem;
    }

    .contact-text p,
    .contact-text a {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 28px 20px;
        border-radius: 18px;
        background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,107,53,0.02) 100%);
    }

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

    .form-group label {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.02);
    }

    .submit-btn {
        padding: 16px;
        font-size: 0.95rem;
        border-radius: 14px;
    }

    .social-links {
        margin-top: 25px;
        gap: 12px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    /* ========================= */
    /* FUTURISTIC MOBILE FOOTER  */
    /* ========================= */
    .site-footer {
        padding: 60px 0 110px;
    }

    .footer-content {
        gap: 35px;
    }

    .footer-brand .logo {
        font-size: 1.8rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .footer-title {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .designed-by {
        flex-direction: column;
        gap: 8px;
        padding: 14px 24px;
        border-radius: 16px;
    }

    /* ========================= */
    /* LIGHTBOX MOBILE           */
    /* ========================= */
    .lightbox {
        padding: 15px;
    }

    .lightbox img {
        max-width: 100%;
        border-radius: 12px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    /* ========================= */
    /* SECTION HEADERS MOBILE    */
    /* ========================= */
    .section-header {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .section-header h2::after {
        width: 70px;
        height: 3px;
        bottom: -12px;
    }

    .section-header p {
        font-size: 0.95rem;
        margin-top: 18px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 25px 18px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-item {
        padding: 18px 10px;
    }

    .gallery-tab {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .contact-form {
        padding: 22px 16px;
    }

    .intro-tagline {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    .intro-progress {
        width: 140px;
    }

    .btn {
        padding: 14px 22px;
        font-size: 0.85rem;
    }

    .floating-call-btn {
        position: fixed;
        bottom: 15px;
        right: 15px;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        z-index: 9998;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 90px 0 40px;
    }

    .hero-content {
        padding: 15px 30px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .intro-loader {
        padding: 15px;
    }

    .intro-svg {
        max-width: 350px;
        height: auto;
    }

    .intro-text {
        margin-top: 15px;
    }

    .intro-tagline {
        font-size: 0.85rem;
    }

    .intro-progress {
        margin-top: 15px;
        width: 150px;
    }

    .laser-animation {
        opacity: 0.4;
        max-width: 300px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }

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

    .btn:hover {
        transform: none;
    }

    .gallery-item:active {
        transform: scale(0.98);
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.96);
    }

    /* Always show gallery overlay on touch */
    .gallery-item .gallery-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .gallery-item .view-icon {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .floating-call-btn {
        position: fixed !important;
        bottom: max(20px, env(safe-area-inset-bottom)) !important;
        right: max(20px, env(safe-area-inset-right)) !important;
        z-index: 9998 !important;
    }

    .site-footer {
        padding-bottom: max(100px, calc(30px + env(safe-area-inset-bottom)));
    }

    .hero {
        padding-top: max(80px, calc(70px + env(safe-area-inset-top)));
    }

    .site-header {
        padding-top: max(15px, env(safe-area-inset-top));
    }
}

/* ========================= */
/* MOBILE FUTURISTIC GLOW    */
/* ========================= */
@media (max-width: 768px) {
    /* Add subtle glow effects on mobile */
    .services::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
        pointer-events: none;
    }

    .gallery::after {
        content: '';
        position: absolute;
        bottom: 20%;
        right: -10%;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
        pointer-events: none;
    }

    .about::after {
        content: '';
        position: absolute;
        top: 30%;
        left: -10%;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
        pointer-events: none;
    }

    /* Mobile particles visibility */
    .particles {
        opacity: 0.6;
    }

    .particle {
        width: 3px;
        height: 3px;
    }
}

/* ========================= */
/* MOBILE SCROLLBAR STYLING  */
/* ========================= */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 4px;
    }

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

    ::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 4px;
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    .site-main,
    .site-footer,
    .site-header {
        overflow-x: hidden;
        max-width: 100vw;
    }
}
