/* ============================================
   PASA Technologies - Premium Industrial Theme
   ============================================ */

:root {
    --primary: #0D1B2A;
    --primary-light: #1B2D45;
    --secondary: #4B5563;
    --accent: #FF6B00;
    --accent-dark: #E55D00;
    --accent-gradient: linear-gradient(135deg, #FF6B00 0%, #FF8C33 50%, #FF6B00 100%);
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --border: rgba(13, 27, 42, 0.08);
    --shadow-sm: 0 4px 20px rgba(13, 27, 42, 0.06);
    --shadow-md: 0 8px 40px rgba(13, 27, 42, 0.1);
    --shadow-lg: 0 20px 60px rgba(13, 27, 42, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 107, 0, 0.25);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

body.loaded { cursor: auto; }
body.loaded .cursor-dot,
body.loaded .cursor-outline { display: none; }

@media (hover: none) {
    body, body.loaded { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none !important; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }

/* ---- Page Loader ---- */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner { text-align: center; }

.loader-brand {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 4px;
}

.loader-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 8px;
    margin-top: 4px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin: 30px auto 16px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--accent-gradient);
    border-radius: 3px;
    animation: loaderProgress 1.8s ease forwards;
}

@keyframes loaderProgress {
    to { width: 100%; }
}

.loader-text {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* ---- Custom Cursor ---- */
.cursor-dot, .cursor-outline {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 99998;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 107, 0, 0.4);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
}

/* ---- Back to Top ---- */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover { transform: translateY(-4px); }

/* ---- Buttons ---- */
.btn-accent {
    background: var(--accent-gradient);
    background-size: 200% 200%;
    color: #fff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-accent:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: #fff;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--primary) !important;
    border-color: #fff;
    transform: translateY(-3px);
}

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent) !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-ripple { position: relative; overflow: hidden; }

/* ---- Section Utilities ---- */
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 70px 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.bg-light-section { background: var(--bg-light); }

/* ---- Header ---- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

#main-header.scrolled {
    padding: 12px 0;
    background: rgba(13, 27, 42, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

#main-header .navbar { padding: 0; }

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 2px;
}

.brand-tag {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 4px;
    font-weight: 500;
}

#main-header .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px !important;
    position: relative;
}

#main-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

#main-header .nav-link:hover::after,
#main-header .nav-link.active::after { width: 60%; }

#main-header .nav-link:hover,
#main-header .nav-link.active { color: var(--accent) !important; }

.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
}

.navbar-toggler:focus { box-shadow: none; }

.toggler-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: var(--transition);
}

/* Mega Menu */
.mega-dropdown .dropdown-menu {
    background: var(--primary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 30px 0;
    margin-top: 20px !important;
    box-shadow: var(--shadow-lg);
    min-width: 700px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    opacity: 0;
    visibility: hidden;
    display: block;
    transition: var(--transition);
}

.mega-dropdown:hover .dropdown-menu,
.mega-dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.mega-title {
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-weight: 700;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.75);
    padding: 10px 0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.mega-link i { color: var(--accent); width: 20px; }
.mega-link:hover { color: #fff; padding-left: 8px; }

.mega-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,107,0,0.2);
    border-radius: var(--radius-sm);
    padding: 24px;
    height: 100%;
}

.mega-card h6 { color: #fff; margin-bottom: 10px; }
.mega-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 16px; }

@media (max-width: 1199px) {
    #main-header { background: var(--primary); }
    #main-header .navbar-collapse {
        background: var(--primary-light);
        padding: 20px;
        border-radius: var(--radius);
        margin-top: 16px;
    }
    #main-header .navbar-collapse.show {
        max-height: calc(100dvh - 88px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    #main-header .navbar-nav {
        align-items: flex-start !important;
    }
    #main-header .nav-cta {
        width: 100%;
        margin: 12px 0 4px !important;
    }
    #main-header .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .mega-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        min-width: 100%;
        display: none;
        opacity: 1;
        visibility: visible;
        margin-top: 0 !important;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
    }
    .mega-dropdown.show .dropdown-menu,
    .mega-dropdown .dropdown-menu.show {
        display: block;
        padding: 10px 0 10px 16px;
    }
    .mega-dropdown .dropdown-menu .container {
        padding: 0;
        max-width: 100%;
    }
    .mega-dropdown .dropdown-menu .row {
        --bs-gutter-y: 1rem;
    }
}

/* ---- Hero ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.hero-section.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.75) 50%, rgba(13,27,42,0.85) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 6s infinite;
}

@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

.hero-sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.spark {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to top, var(--accent), transparent);
    opacity: 0;
    animation: sparkFly 3s infinite;
}

@keyframes sparkFly {
    0% { opacity: 0; transform: translateY(0) rotate(45deg); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-80px) translateX(30px) rotate(45deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,0,0.15);
    border: 1px solid rgba(255,107,0,0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title span {
    opacity: 1;
    visibility: visible;
}

.hero-title .typed-text { color: var(--accent); }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.75);
    max-width: 550px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    font-weight: 900;
}

.hero-stat span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    margin: 10px auto 0;
    position: relative;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--primary);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1565043666747-69f6646db940?w=1920&q=80') center/cover;
    opacity: 0.15;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.breadcrumb-nav a { color: var(--accent); }
.breadcrumb-nav a:hover { color: #fff; }

/* ---- About Section ---- */
.about-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-image-wrap .experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--accent-gradient);
    padding: 24px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.experience-badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    font-weight: 900;
    line-height: 1;
}

.experience-badge span {
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-feature:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.about-feature i {
    width: 44px;
    height: 44px;
    background: rgba(255,107,0,0.1);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature h6 { margin-bottom: 4px; font-size: 0.95rem; }
.about-feature p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(255,107,0,0.2);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 20px 24px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.timeline-content h6 { color: var(--accent); font-size: 0.8rem; margin-bottom: 6px; }
.timeline-content h5 { font-size: 1rem; margin-bottom: 8px; }
.timeline-content p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 767px) {
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; padding-left: 50px; }
    .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
    .timeline-dot { left: 20px; }
    .timeline-content { width: 100%; }
    .about-features { grid-template-columns: 1fr; }
    .about-image-wrap .experience-badge { right: 20px; bottom: 20px; }
}

/* ---- Service Cards ---- */
.service-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,107,0,0.2);
}

.service-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img { transform: scale(1.08); }

.service-card-image .service-icon {
    position: absolute;
    bottom: -24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: var(--shadow-glow);
    z-index: 1;
}

.service-card-body {
    padding: 40px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h4 { font-size: 1.15rem; margin-bottom: 12px; }
.service-card-body p { color: var(--text-muted); font-size: 0.9rem; flex: 1; margin-bottom: 20px; }

.service-card-body .learn-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card-body .learn-more:hover { gap: 12px; }

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: inset 0 0 0 2px var(--accent);
}

.service-card { position: relative; }
.service-card:hover::after { opacity: 1; }

/* ---- Industry Cards ---- */
.industry-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.industry-card:hover img { transform: scale(1.1); }

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(13,27,42,0.95) 0%, rgba(255,107,0,0.2) 100%);
}

.industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: var(--radius);
    z-index: 2;
    transition: var(--transition);
}

.industry-card:hover::before {
    border-color: var(--accent);
    inset: 8px;
}

.industry-overlay h4 { color: #fff; margin-bottom: 8px; font-size: 1.3rem; }
.industry-overlay p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }

.industry-overlay .industry-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    transform: translateY(0);
    opacity: 1;
}

/* ---- Process Timeline (Horizontal) ---- */
.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
    overflow-x: auto;
    gap: 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 68px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% 100%;
    animation: processLine 4s linear infinite;
}

@keyframes processLine {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.process-step {
    flex: 1;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 56px;
    height: 56px;
    background: #fff;
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--accent);
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.process-step:hover .process-step-number {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.process-step h5 { font-size: 0.85rem; margin-bottom: 0; line-height: 1.4; }

.process-arrow {
    position: absolute;
    top: 68px;
    right: -8px;
    color: var(--accent);
    font-size: 0.8rem;
    transform: translateY(-50%);
    z-index: 2;
}

/* ---- Why Choose Us (Glassmorphism) ---- */
.why-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,107,0,0.3);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(255,107,0,0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--accent);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent-gradient);
    color: #fff;
    transform: rotateY(180deg);
}

.why-card h5 { font-size: 1rem; margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ---- Statistics ---- */
.stats-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80') center/cover;
    opacity: 0.08;
}

.stat-item { text-align: center; position: relative; z-index: 1; }

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-item i {
    font-size: 2rem;
    color: rgba(255,107,0,0.4);
    margin-bottom: 16px;
}

/* ---- Product Development ---- */
.product-dev-image {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.product-dev-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.product-dev-image .image-reveal-overlay {
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform-origin: left;
}

.dev-feature-list { margin-top: 30px; }

.dev-feature {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.dev-feature:last-child { border-bottom: none; }

.dev-feature-num {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.dev-feature h5 { font-size: 1rem; margin-bottom: 6px; }
.dev-feature p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* ---- Gallery Grid ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.gallery-item {
    position: relative;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    min-height: 0;
}

/* Fixed 4:3 ratio — forces equal tile size in every column */
.gallery-item::before {
    content: '';
    display: block;
    padding-top: 75%;
}

.gallery-item a {
    position: absolute;
    inset: 0;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(13,27,42,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transform: scale(0);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i { transform: scale(1); }

@media (max-width: 991px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ---- Testimonials ---- */
.testimonial-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 40px;
    height: auto;
}

.testimonial-card .stars {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-card p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.testimonial-author h6 { color: #fff; margin-bottom: 2px; font-size: 1rem; }
.testimonial-author span { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

.testimonials-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-label { color: var(--accent); }

.swiper-pagination-bullet { background: rgba(255,255,255,0.4); }
.swiper-pagination-bullet-active { background: var(--accent); }

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 30px; }

.floating-shape {
    position: absolute;
    border: 1px solid rgba(255,107,0,0.15);
    border-radius: 50%;
    animation: floatShape 8s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ---- Contact ---- */
.contact-col {
    display: flex;
    flex-direction: column;
}

.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 40px;
    color: #fff;
    flex: 1;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-item .icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(255,107,0,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-item:hover .icon-wrap {
    background: var(--accent);
    color: #fff;
}

.contact-info-item h6 { color: #fff; margin-bottom: 4px; font-size: 0.9rem; }
.contact-info-item p, .contact-info-item a {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.9rem;
}

.contact-info-item a:hover { color: var(--accent); }

.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
    background: #fff;
}

.contact-form label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
    border: 1px solid var(--border);
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--primary); }

.footer-top { padding: 80px 0 50px; }

.footer-brand .brand-logo.light .brand-name { color: #fff; }

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin: 20px 0;
    line-height: 1.8;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); padding-left: 6px; }

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-contact i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.copyright, .footer-credit {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin: 0;
}

/* ---- Service Detail Page ---- */
.service-detail {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-detail-content h3 { margin-bottom: 16px; }

.service-detail-content p { color: var(--text-muted); }

.service-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.service-features-list li i { color: var(--accent); }

@media (max-width: 575px) {
    .service-features-list { grid-template-columns: 1fr; }
}

/* ---- Utilities ---- */
.text-accent { color: var(--accent) !important; }
.bg-primary-custom { background: var(--primary) !important; }

.reveal-image { overflow: hidden; border-radius: var(--radius); }

.gradient-border {
    position: relative;
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.gradient-border-inner {
    background: #fff;
    border-radius: calc(var(--radius) - 2px);
    padding: 30px;
}

/* Responsive */
@media (max-width: 991px) {
    .section-padding { padding: 70px 0; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .process-timeline { gap: 20px; padding-bottom: 20px; }
    .process-timeline::before { display: none; }
    .process-step { min-width: 100px; }
}

@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: row;
        gap: 10px;
    }
    .hero-buttons .btn {
        flex: 1;
        width: auto;
        justify-content: center;
        padding: 10px 14px;
        font-size: 0.8rem;
        gap: 6px;
    }
    .hero-buttons .btn-outline-light {
        padding: 8px 12px;
    }
    .hero-subtitle { margin-bottom: 28px; }
    .hero-stats { margin-top: 40px; }
}
