/* ============================================
   3DTiskPartner — Professional Dark Theme
   ============================================ */

/* Color Variables */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-white: #ffffff;
    --accent: #ff6b35;
    --accent-light: #ff8c5a;
    --accent-dark: #e55a2b;
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    --gradient-accent-light: linear-gradient(135deg, #ff8c5a 0%, #ff6b35 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(255, 107, 53, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    border: none;
    outline: none;
    max-width: 100%;
}

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

a:hover {
    color: var(--accent-light);
}

/* ============================================
   Top Navbar / Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.site-header.scrolled .logo-img {
    height: 40px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links .nav-link {
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-links .nav-link.active {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-cta {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    transition: right var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

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

.mobile-nav-link {
    display: block;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.mobile-nav-lang {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 0.5rem;
}

.mobile-nav-lang .language-option {
    flex: 1;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition);
}

.mobile-nav-lang .language-option:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-dropdown {
    position: relative;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition);
    font-family: inherit;
}

.language-button:hover {
    border-color: var(--accent);
    color: var(--text-white);
}

.language-button i {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1051;
    min-width: 150px;
    padding: 0.5rem 0;
    overflow: hidden;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background var(--transition);
    font-family: inherit;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.language-option.active {
    color: var(--accent);
    background: rgba(255, 107, 53, 0.1);
    font-weight: 600;
}

.language-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: none;
}

.language-overlay.show {
    display: block;
}

.flag {
    font-size: 1rem;
}

.language-name {
    font-size: 0.8rem;
}

@media (max-width: 991.98px) {
    .nav-links,
    .header-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    animation: fadeInUp 0.8s ease-out;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.printer-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.printer-image {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    animation: slideInFromRight 0.8s ease-out;
}

.printer-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.printer-photo:hover {
    transform: scale(1.03);
}

.printer-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    text-align: center;
}

.printer-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.printer-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition);
}

.btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
}

.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--gradient-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
    color: var(--text-white);
}

.btn-outline-primary {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cta-button {
    padding: 0.75rem 2rem;
}

/* ============================================
   Section Styles
   ============================================ */
.section-dark {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.section-darker {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Service Cards (with images)
   ============================================ */
.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.service-card-img {
    height: 200px;
    overflow: hidden;
}

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

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

.service-card-body {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body .feature-icon {
    margin-bottom: 1rem;
}

.service-card-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.service-card-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.model-libraries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.model-libraries a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition);
}

.model-libraries a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.model-libraries a img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

/* ============================================
   Process Cards
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.process-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.process-card-img {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.process-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-card-img .step-number {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    z-index: 2;
    box-shadow: var(--shadow-glow);
}

.process-card-body {
    padding: 1.25rem;
    text-align: center;
}

.process-card-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.process-card-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .process-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ============================================
   Gallery
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-wide img {
    height: 250px;
}

@media (max-width: 767.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

    .gallery-item img,
    .gallery-item-wide img {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .gallery-item-wide {
        grid-column: span 1;
    }

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

    .gallery-item img,
    .gallery-item-wide img {
        height: 200px;
    }
}

.gallery-item {
    cursor: pointer;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* ============================================
   Material Cards
   ============================================ */
.material-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.material-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.material-card:hover {
    transform: translateY(-3px);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

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

.material-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    color: var(--text-white);
    font-size: 0.9rem;
}

.material-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.material-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ============================================
   Benefits Cards
   ============================================ */
.benefit-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--accent);
    transition: all var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: var(--gradient-accent);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Stats Counter
   ============================================ */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-number,
.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 5rem 0;
}

.contact-form-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
}

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

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    display: block;
    font-size: 0.9rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    outline: none;
    color: var(--text-white);
}

.form-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

.form-control[type="file"] {
    padding: 0.5rem;
}

.form-control[type="file"]::file-selector-button {
    background: var(--gradient-accent);
    color: var(--text-white);
    border: none;
    border-radius: 8px;
    padding: 0.4rem 1rem;
    margin-right: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
}

.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition);
}

.form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    outline: none;
    color: var(--text-white);
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--border-subtle);
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
    border-color: var(--accent);
}

.form-check-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 0.25rem;
}

.form-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.contact-info-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    height: fit-content;
}

.contact-info-card h3 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--text-white);
    font-size: 1rem;
}

.contact-details h4 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

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

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

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--bg-primary);
    padding: 4rem 0 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.site-footer h5 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent);
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.footer-contact a {
    color: var(--text-secondary);
}

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

.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stagger children */
.row .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.row .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.row .reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* Stagger for cards inside cols */
.col-md-4:nth-child(2) .reveal {
    transition-delay: 0.15s;
}

.col-md-4:nth-child(3) .reveal {
    transition-delay: 0.3s;
}

.col-md-6:nth-child(2) .reveal,
.col-lg-3:nth-child(2) .reveal {
    transition-delay: 0.1s;
}

.col-md-6:nth-child(3) .reveal,
.col-lg-3:nth-child(3) .reveal {
    transition-delay: 0.2s;
}

.col-md-6:nth-child(4) .reveal,
.col-lg-3:nth-child(4) .reveal {
    transition-delay: 0.3s;
}

.col-md-3:nth-child(2) .reveal {
    transition-delay: 0.1s;
}

.col-md-3:nth-child(3) .reveal {
    transition-delay: 0.2s;
}

.col-md-3:nth-child(4) .reveal {
    transition-delay: 0.3s;
}

/* Process step stagger */
.process-step:nth-child(3) {
    transition-delay: 0.15s;
}

.process-step:nth-child(5) {
    transition-delay: 0.3s;
}

.process-step:nth-child(7) {
    transition-delay: 0.45s;
}

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

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 7rem 0 3rem;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-badge {
        display: inline-flex;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-dark,
    .section-darker {
        padding: 3.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .printer-image {
        animation: fadeInUp 0.8s ease-out;
    }

    .stat-number,
    .stat-value {
        font-size: 2.2rem;
    }

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

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 6rem 0 2rem;
    }

    .title-main {
        font-size: 2rem;
    }

    .title-sub {
        font-size: 1rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-dark,
    .section-darker {
        padding: 3rem 0;
    }

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

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

    .contact-item {
        align-items: center;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
        margin-right: 0.75rem;
    }

    .contact-details h4 {
        display: none;
    }
}
