/* ========================================
   Alftek Technology Services - Modern Website
   Brand Color: #44a7de
   ======================================== */

/* CSS Variables */
:root {
    --brand-primary: #44a7de;
    --brand-primary-dark: #2d8bc4;
    --brand-primary-light: #6bbce8;
    --brand-primary-10: rgba(68, 167, 222, 0.1);
    --brand-primary-20: rgba(68, 167, 222, 0.2);
    --brand-primary-30: rgba(68, 167, 222, 0.3);
    
    --dark-bg: #000000;
    --dark-surface: #0a0a0a;
    --dark-elevated: #141414;
    
    --text-primary: #0f0f1a;
    --text-secondary: #4a4a5a;
    --text-muted: #6b6b7b;
    --text-light: #ffffff;
    --text-light-muted: rgba(255, 255, 255, 0.7);
    
    --white: #ffffff;
    --white-10: rgba(255, 255, 255, 0.1);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-50: rgba(255, 255, 255, 0.5);
    
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(68, 167, 222, 0.3);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    color: var(--white);
    background-color: #000000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 64px;
    }
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

p {
    color: var(--text-light-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(68, 167, 222, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(68, 167, 222, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-2px);
}

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

.btn-outline-white:hover {
    background: var(--white-10);
    border-color: var(--white);
}

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 60px;
        max-width: 280px;
    }
}

.logo-img-footer {
    height: 120px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    display: block;
}

/* Logo shimmer effect - header */
.navbar .logo {
    position: relative;
    display: flex;
    align-items: center;
    height: 100px;
}

@media (max-width: 768px) {
    .navbar .logo {
        height: 60px;
    }
}

.navbar .logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    mix-blend-mode: overlay;
    animation: shimmerLogo 3s infinite;
    pointer-events: none;
    -webkit-mask-image: url('images/Logo_Horizontal_3d_2.png');
    mask-image: url('images/Logo_Horizontal_3d_2.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Logo shimmer effect - footer */
.footer-brand .logo {
    position: relative;
    display: flex;
    align-items: center;
    height: 120px;
}

.footer-brand .logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    mix-blend-mode: overlay;
    animation: shimmerLogo 3s infinite;
    pointer-events: none;
    -webkit-mask-image: url('images/Logo_Horizontal_3d.png');
    mask-image: url('images/Logo_Horizontal_3d.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

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

/* Logo hover pause */
.navbar .logo:hover::after,
.footer-brand .logo:hover::after {
    animation-play-state: paused;
}

/* Hero Title Shimmer */
.hero-title-massive {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #44a7de 50%, #ffffff 60%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s ease-in-out infinite;
}

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

/* Scroll Text Animation */
.scroll-text-section {
    padding: 30px 0;
    overflow: hidden;
    background: var(--dark-bg);
    position: relative;
}

.scroll-text-blob {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(200, 200, 200, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(58, 192, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(160, 160, 160, 0.05) 0%, transparent 50%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    animation: patternMove 10s ease-in-out infinite;
    z-index: 0;
}

@keyframes patternMove {
    0%, 100% {
        background-position: 0% 50%, 100% 50%, 50% 50%;
    }
    50% {
        background-position: 30% 50%, 70% 50%, 50% 50%;
    }
}

.scroll-text-wrapper {
    display: flex;
    animation: scrollText 10s linear infinite;
}

.scroll-text {
    display: flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
    padding-right: 60px;
}

.scroll-text-item {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(45deg, #ffffff 25%, #44a7de 50%, #ffffff 75%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 3s infinite;
    padding-right: 60px;
    transition: opacity 0.3s ease;
}

.scroll-text-item:hover {
    opacity: 1;
}

.scroll-text-item.accent {
    background: linear-gradient(45deg, #44a7de 25%, #ffffff 50%, #44a7de 75%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 3s infinite;
    opacity: 1;
}

.scroll-text-dot {
    width: 12px;
    height: 12px;
    background: var(--brand-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

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

/* Services Accordion */
.services-accordion {
    background: var(--dark-bg);
    padding: 100px 0;
}

.services-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    padding-top: 40px;
}

.services-header-tag {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-primary);
    padding: 12px 8px;
    border-left: 2px solid var(--brand-primary);
}

.services-header-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-header-content .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-light);
    text-align: left;
    margin: 0;
}

.services-header-line {
    width: 80px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: 2px;
}

.services-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-light-muted);
}

.services-count::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ff6b35;
    border-radius: 50%;
}

.services-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-accordion-item {
    border-bottom: 1px solid var(--dark-elevated);
    overflow: hidden;
}

.service-accordion-header {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    gap: 20px;
    padding: 32px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-accordion-item.active .service-accordion-header {
    padding-bottom: 24px;
}

.service-number {
    font-size: 0.875rem;
    color: var(--text-light-muted);
    font-family: monospace;
}

.service-name {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--white);
    margin: 0;
    transition: color 0.3s ease;
}

.service-accordion-header:hover .service-name {
    color: var(--brand-primary);
}

.service-toggle {
    width: 48px;
    height: 48px;
    border: 2px solid var(--dark-elevated);
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
}

.service-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.service-accordion-item.active .service-toggle {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: rotate(45deg);
}

.service-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.service-accordion-item.active .service-accordion-content {
    max-height: 500px;
    padding-bottom: 32px;
}

.service-text-content {
    padding-left: 80px;
}

.service-title-wrap {
    margin-bottom: 24px;
}

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

.service-content-wrap {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    padding: 24px;
    min-height: 280px;
}

.service-content-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(20, 25, 40, 0.2) 0%, rgba(20, 25, 40, 0.6) 50%, rgba(20, 25, 40, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.service-content-wrap > * {
    position: relative;
    z-index: 2;
}

.service-image-wrap {
    display: none;
}

.service-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-icon-wrap {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.list-icon {
    width: 100%;
    height: 100%;
}

.service-list-text {
    font-size: 0.9375rem;
    color: var(--white);
    font-weight: 500;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .service-text-content {
        padding-left: 0;
        position: relative;
    }
    
    .service-content-wrap {
        flex-direction: column;
        gap: 0;
    }
    
    .service-image-wrap {
        display: none;
    }
    
    .service-content-wrap {
        position: relative;
        background-size: cover;
        background-position: center;
        border-radius: var(--border-radius-lg);
        overflow: hidden;
        padding: 20px;
        min-height: 300px;
    }
    
    .service-content-wrap::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(ellipse at 30% 20%, rgba(20, 25, 40, 0.2) 0%, rgba(20, 25, 40, 0.6) 50%, rgba(20, 25, 40, 0.9) 100%);
        z-index: 1;
        pointer-events: none;
    }
    
    .service-content-wrap > * {
        position: relative;
        z-index: 2;
    }
    
    .service-subtitle {
        font-size: 1.1rem;
    }
    
    .service-intro-text {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
    
    .service-description-text {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .service-list-text {
        font-size: 0.85rem;
    }
    
    .service-accordion-header {
        grid-template-columns: 40px 1fr 40px;
        gap: 12px;
        padding: 24px 0;
    }
    
    .service-name {
        font-size: 1rem;
    }
    
    .service-toggle {
        width: 36px;
        height: 36px;
    }
    
    .service-number {
        font-size: 0.75rem;
    }
    
    .service-accordion-item.active .service-accordion-content {
        max-height: none;
    }
}

/* Fade right animation for accordion items */
[data-animate="fade-right"] {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light-muted);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--brand-primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* Mobile Menu */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark-surface);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
}

/* ========================================
   Hero Section with Video Background
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    position: relative;
    padding-top: 80px;
    padding-bottom: 40px;
    overflow: hidden;
    background: #000000;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh;
    padding: 60px 0 40px;
}

.hero-logo {
    position: absolute;
    bottom: 40px;
    right: 40px;
    text-align: right;
    margin-bottom: 0;
    z-index: 3;
}

.logo-text {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin: 0;
    background: linear-gradient(45deg, #ffffff 25%, #44a7de 50%, #ffffff 75%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    animation: shimmer-text 3s infinite;
}

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

.hero-headline {
    max-width: 600px;
    text-align: left;
    align-self: flex-start;
    margin-left: 40px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: var(--text-light-muted);
    max-width: 500px;
}

.btn-neon {
    position: relative;
    padding: 18px 40px;
    font-size: 1.13125rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 50%, #a0a0a0 100%);
    border: 2px solid var(--brand-primary);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    margin-bottom: 24px;
    align-self: center;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(68, 167, 222, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

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

.btn-neon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: var(--border-radius-full);
    padding: 3px;
    background: linear-gradient(45deg, var(--brand-primary), #000000, var(--brand-primary), #44a7de);
    background-size: 300% 300%;
    animation: neon-glow 3s ease infinite;
    z-index: -2;
    opacity: 1;
}

.btn-neon:hover {
    box-shadow: 0 0 20px rgba(68, 167, 222, 0.5), 0 0 40px rgba(68, 167, 222, 0.3);
    transform: translateY(-2px);
}

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

.hero-cta-button {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    margin-bottom: 0;
}

@media (max-width: 968px) {
    .hero-cta-button {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-cta-button {
        display: none;
    }
}

/* Video Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #000000;
}

.bg-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

/* Products Section with Video Background */
.products {
    position: relative;
    overflow: hidden;
}

.products-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.products-bg .bg-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.products-bg .background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.products-container {
    position: relative;
    z-index: 2;
}

/* Hero Top Row */
.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px;
    position: relative;
    z-index: 2;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px #22c55e;
}

.hero-tagline-top {
    max-width: 300px;
    text-align: right;
}

.hero-tagline-top p {
    font-size: 0.875rem;
    color: var(--text-light-muted);
    line-height: 1.6;
}

.hero-tagline-top strong {
    color: var(--white);
    font-weight: 600;
}

/* Hero Bottom Row */
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.hero-brand {
    max-width: 600px;
}

.brand-intro {
    font-size: 0.9375rem;
    color: var(--text-light-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.brand-highlight {
    color: #44a7de;
    font-weight: 600;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.btn-brand {
    background: #44a7de;
    color: var(--white);
    padding: 16px 40px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(68, 167, 222, 0.4);
    transition: all 0.3s ease;
}

.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(68, 167, 222, 0.6);
    background: #3d96c8;
}

/* Services Card */
.services-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.services-list {
    display: flex;
    flex-direction: column;
}

.services-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li:hover {
    background: rgba(68, 167, 222, 0.1);
    border-radius: 8px;
}

.services-list span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
}

.services-list svg {
    width: 16px;
    height: 16px;
    color: #666;
    transition: all 0.2s ease;
}

.services-list li:hover svg {
    color: #44a7de;
    transform: translateX(4px);
}

/* Hero Responsive */
@media (max-width: 968px) {
    .hero-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .hero-tagline-top {
        text-align: left;
        max-width: 100%;
    }
    
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .hero-actions {
        align-items: flex-start;
        width: 100%;
    }
    
    .services-card {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .hero-title-massive {
        font-size: 3rem;
    }
    
    .hero-top {
        padding-top: 20px;
    }
    
    .hero-bottom {
        padding-bottom: 40px;
    }
}

/* ========================================
   Section Styles
   ======================================== */
.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.section-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--brand-primary-10);
    color: var(--brand-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light-muted);
}

.section-subtitle.light {
    color: var(--text-light-muted);
}

.bg-dark {
    background: var(--dark-bg);
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: visible;
}

.about-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 200px;
    border-radius: 24px;
    line-height: 1.6;
    border: 1px solid var(--dark-elevated);
    transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    background: var(--dark-surface);
    isolation: isolate;
}

.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--brand-primary);
    border-radius: inherit;
    height: 100%;
    width: 100%;
    opacity: 0;
    transform: skew(-24deg);
    clip-path: circle(0% at 50% 50%);
    transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.about-card:hover::before {
    opacity: 1;
    transform: skew(0deg);
    clip-path: circle(140.9% at 0 0);
}

.about-card .about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px;
    background: transparent;
    color: var(--text-light);
    z-index: 1;
    transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-card:hover .about-content {
    color: var(--dark-bg);
}

.about-card:hover .about-content h3,
.about-card:hover .about-content p {
    color: var(--dark-bg);
}

.about-card .about-icon {
    z-index: 1;
    transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-card:hover .about-icon svg path,
.about-card:hover .about-icon svg circle,
.about-card:hover .about-icon svg rect {
    stroke: var(--dark-bg);
}

.about-card h3 {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    z-index: 1;
    transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-card p {
    z-index: 1;
    opacity: 0.8;
    font-size: 0.9375rem;
    line-height: 1.7;
    transition: all 0.64s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
}

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

.about-carousel-dots {
    display: none;
}

.about-vision {
    position: relative;
    text-align: center;
    margin: 60px 0;
    padding: 60px 40px;
    border-radius: 24px;
    overflow: hidden;
    background: url('images/bk1.jpg') center/cover no-repeat;
}

.about-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(68, 167, 222, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 0% 0%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 100% 0%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 0% 100%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 100% 100%, rgba(68, 167, 222, 0.12) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
    background-repeat: repeat;
    z-index: 1;
    pointer-events: none;
}

.about-vision::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(20, 25, 40, 0.3) 0%, rgba(20, 25, 40, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.vision-halftone {
    display: none;
}

.vision-content {
    position: relative;
    z-index: 3;
}

.vision-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff 25%, #44a7de 50%, #ffffff 75%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: shimmer-text 3s infinite;
}

/* Industries We Serve Card */
.industries-card {
    background: linear-gradient(145deg, var(--dark-surface) 0%, var(--dark-elevated) 100%);
    border: 1px solid var(--dark-elevated);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    margin: 40px auto 60px;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.industries-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.industries-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    -webkit-mask-image: radial-gradient(ellipse 140% 100% at 0% 50%, rgba(0,0,0,0.5) 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 140% 100% at 0% 50%, rgba(0,0,0,0.5) 0%, transparent 80%);
    filter: blur(1px) brightness(1.2);
}

.industries-slide.active {
    opacity: 1;
}

.industries-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 25, 40, 0.7) 0%, rgba(30, 35, 55, 0.5) 100%);
    z-index: 1;
}

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

.industries-halftone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 0% 0%, rgba(68, 167, 222, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 100% 0%, rgba(68, 167, 222, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 0% 100%, rgba(68, 167, 222, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 100% 100%, rgba(68, 167, 222, 0.08) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
    background-repeat: repeat;
    z-index: 3;
    border-radius: var(--border-radius-xl);
    pointer-events: none;
}

.industries-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), transparent);
}

.industries-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.industries-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    background: linear-gradient(45deg, #ffffff 25%, #44a7de 50%, #ffffff 75%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 3s infinite;
}

.industries-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.industries-list li {
    color: var(--text-light-muted);
    font-size: 0.9375rem;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.industries-list li.parallax-in {
    opacity: 1;
    transform: translateX(0);
}

.industries-list li[data-parallax-delay="0"] { transition-delay: 0ms; }
.industries-list li[data-parallax-delay="100"] { transition-delay: 100ms; }
.industries-list li[data-parallax-delay="200"] { transition-delay: 200ms; }
.industries-list li[data-parallax-delay="300"] { transition-delay: 300ms; }
.industries-list li[data-parallax-delay="400"] { transition-delay: 400ms; }
.industries-list li[data-parallax-delay="500"] { transition-delay: 500ms; }
.industries-list li[data-parallax-delay="600"] { transition-delay: 600ms; }
.industries-list li[data-parallax-delay="700"] { transition-delay: 700ms; }

.industries-list li::before {
    content: '•';
    color: var(--brand-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .industries-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .industries-card {
        padding: 32px 24px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: var(--dark-surface);
    border: 1px solid var(--dark-elevated);
    border-radius: var(--border-radius-xl);
    width: 90%;
    max-width: 500px;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    border-bottom: 1px solid var(--dark-elevated);
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light-muted);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--dark-elevated);
    color: var(--white);
}

.consultation-form {
    padding: 24px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    margin-bottom: 0;
}

.form-group:last-of-type {
    margin-bottom: 8px;
}

.form-group label {
    display: block;
    color: var(--text-light);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--dark-elevated);
    border: 1px solid var(--gray-700);
    border-radius: var(--border-radius-md);
    color: var(--text-light);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(68, 167, 222, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group select option {
    background: var(--dark-surface);
    color: var(--text-light);
}

.form-group textarea {
    resize: none;
    min-height: 60px;
    height: 60px;
}

/* About section with video placeholder */
.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text-content {
    max-width: 540px;
}

.about-text-content .section-header {
    text-align: left;
    margin-bottom: 24px;
}

.about-text-content .section-header .section-title {
    text-align: left;
}

.about-text-content .services-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    padding-top: 40px;
}

.services-header-tag {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-primary);
    padding: 12px 8px;
    border-left: 2px solid var(--brand-primary);
}

.services-header-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-header-content .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-light);
    text-align: left;
    margin: 0;
}

.services-header-line {
    width: 80px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: 2px;
}

/* Services Intro Section */
.services-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 80px 40px;
    position: relative;
    background: url('images/Services/07.jpg') center/cover no-repeat;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

.services-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(68, 167, 222, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 0% 0%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 100% 0%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 0% 100%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 100% 100%, rgba(68, 167, 222, 0.12) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
    background-repeat: repeat;
    z-index: 1;
    pointer-events: none;
}

.services-intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('images/halftone.png') center/cover no-repeat, 
        radial-gradient(ellipse at center, rgba(20, 25, 40, 0.3) 0%, rgba(20, 25, 40, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

.services-intro > * {
    position: relative;
    z-index: 3;
}

.services-main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.services-description {
    font-size: 1.125rem;
    color: var(--text-light-muted);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Content Text Styles */
.service-intro-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.5;
    background: linear-gradient(90deg, rgba(68, 167, 222, 0.15) 0%, transparent 100%);
    padding: 8px 16px;
    border-left: 3px solid var(--brand-primary);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.service-description-text {
    font-size: 0.9375rem;
    color: var(--text-light-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Service Subsections (for Additional Enterprise Services) */
.service-subsection {
    margin-bottom: 24px;
}

.service-subsection:last-child {
    margin-bottom: 0;
}

.service-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Why Alftek Section */
.why-alftek {
    margin-top: 80px;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-alftek::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(68, 167, 222, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 0% 0%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 100% 0%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 0% 100%, rgba(68, 167, 222, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 100% 100%, rgba(68, 167, 222, 0.12) 1px, transparent 1px);
    background-size: 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
    background-repeat: repeat;
    z-index: 0;
    pointer-events: none;
}

.why-alftek::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(20, 25, 40, 0.3) 0%, rgba(20, 25, 40, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

.why-alftek > * {
    position: relative;
    z-index: 2;
}

.why-alftek-orbit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    border: 1px solid var(--dark-elevated);
    border-radius: var(--border-radius-xl);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.why-alftek-orbit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), transparent);
}

.why-alftek-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
}

.why-alftek-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.why-alftek-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--dark-elevated);
    border: 2px solid var(--dark-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    color: var(--text-light-muted);
}

.why-alftek-icon-circle svg {
    width: 28px;
    height: 28px;
}

.why-alftek-card.active .why-alftek-icon-circle,
.why-alftek-card:hover .why-alftek-icon-circle {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--white);
    box-shadow: 0 0 30px rgba(68, 167, 222, 0.4);
    transform: scale(1.1);
}

.why-alftek-card.active .why-alftek-icon-circle {
    width: 80px;
    height: 80px;
}

.why-alftek-card.active .why-alftek-icon-circle svg {
    width: 36px;
    height: 36px;
}

.why-alftek-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light-muted);
    transition: color 0.3s ease;
}

.why-alftek-card.active .why-alftek-label,
.why-alftek-card:hover .why-alftek-label {
    color: var(--text-light);
}

.why-alftek-card.active .why-alftek-label {
    font-weight: 600;
}

.why-alftek-footer {
    font-size: 1rem;
    color: var(--text-light-muted);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 50px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .why-alftek {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .why-alftek-title {
        font-size: 1.5rem;
    }
    
    .why-alftek-orbit {
        gap: 12px;
    }
    
    .why-alftek-icon-circle {
        width: 56px;
        height: 56px;
    }
    
    .why-alftek-icon-circle svg {
        width: 24px;
        height: 24px;
    }
    
    .why-alftek-card.active .why-alftek-icon-circle {
        width: 68px;
        height: 68px;
    }
    
    .why-alftek-label {
        font-size: 0.75rem;
    }
    
    .why-alftek-footer {
        white-space: normal;
        padding: 0 20px;
    }
}

/* Industries Masonry Section */
.industries-section {
    margin: 60px 0;
}

.industries-header-main {
    text-align: center;
    margin-bottom: 40px;
}

.industries-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.industries-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 200px);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    background: var(--dark-surface);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 1px solid var(--dark-elevated);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.industry-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover {
    border-color: var(--brand-primary-30);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.industry-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-video {
    transform: scale(1.08);
}

/* Card 1 - Oil & Gas: row 1-2, col 1 */
.industry-card:nth-child(1) {
    grid-row: 1 / 3;
    grid-column: 1;
}

/* Card 2 - Tech Startups: row 1-4, col 2 */
.industry-card:nth-child(2) {
    grid-row: 1 / 5;
    grid-column: 2;
}

/* Card 3 - Banking: row 1, col 3 */
.industry-card:nth-child(3) {
    grid-row: 1 / 2;
    grid-column: 3;
}

/* Card 4 - Government: row 1, col 4 */
.industry-card:nth-child(4) {
    grid-row: 1 / 2;
    grid-column: 4;
}

/* Card 5 - Healthcare: row 2-3, col 1 */
.industry-card:nth-child(5) {
    grid-row: 3 / 5;
    grid-column: 1;
}

/* Card 6 - Education: row 2-4, col 3 */
.industry-card:nth-child(6) {
    grid-row: 2 / 5;
    grid-column: 3;
}

/* Card 7 - E-Commerce: row 2, col 4 */
.industry-card:nth-child(7) {
    grid-row: 2 / 3;
    grid-column: 4;
}

/* Card 8 - Manufacturing: row 3-4, col 4 */
.industry-card:nth-child(8) {
    grid-row: 3 / 5;
    grid-column: 4;
}

.industry-card:nth-child(2) .industry-video-wrap,
.industry-card:nth-child(6) .industry-video-wrap,
.industry-card:nth-child(8) .industry-video-wrap {
    flex: 1;
    min-height: 120px;
}

.industry-video-wrap {
    flex: 1;
    min-height: 100px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

/* Ensure video fills entire card on tall cards */
.industry-card:nth-child(2) .industry-video,
.industry-card:nth-child(6) .industry-video,
.industry-card:nth-child(8) .industry-video {
    height: 100%;
    min-height: 100%;
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 25, 40, 0.7) 100%);
    pointer-events: none;
}

.industry-content {
    padding: 16px;
    background: var(--dark-surface);
    border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
}

.industry-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.industry-desc {
    font-size: 0.8rem;
    color: var(--text-light-muted);
}

/* Scroll Animation for Industry Cards */
.industry-card:nth-child(1) { transition-delay: 0ms; }
.industry-card:nth-child(2) { transition-delay: 80ms; }
.industry-card:nth-child(3) { transition-delay: 160ms; }
.industry-card:nth-child(4) { transition-delay: 240ms; }
.industry-card:nth-child(5) { transition-delay: 320ms; }
.industry-card:nth-child(6) { transition-delay: 400ms; }
.industry-card:nth-child(7) { transition-delay: 480ms; }
.industry-card:nth-child(8) { transition-delay: 560ms; }

@media (max-width: 1024px) {
    .industries-masonry {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 200px);
        gap: 14px;
    }
    
    /* Reset grid positions for tablet */
    .industry-card:nth-child(1),
    .industry-card:nth-child(2),
    .industry-card:nth-child(3),
    .industry-card:nth-child(4),
    .industry-card:nth-child(5),
    .industry-card:nth-child(6),
    .industry-card:nth-child(7),
    .industry-card:nth-child(8) {
        grid-row: auto;
        grid-column: auto;
    }
    
    /* Tall cards on tablet */
    .industry-card:nth-child(2),
    .industry-card:nth-child(6) {
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .industries-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 200px);
        gap: 12px;
    }
    
    /* Reset all grid positions for mobile */
    .industry-card:nth-child(1),
    .industry-card:nth-child(2),
    .industry-card:nth-child(3),
    .industry-card:nth-child(4),
    .industry-card:nth-child(5),
    .industry-card:nth-child(6),
    .industry-card:nth-child(7),
    .industry-card:nth-child(8) {
        grid-row: auto;
        grid-column: auto;
    }
    
    /* Tall cards on mobile */
    .industry-card:nth-child(2),
    .industry-card:nth-child(6) {
        grid-row: span 2;
    }
    
    .industries-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .industries-masonry {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 220px);
        gap: 12px;
    }
    
    /* Reset all spans for single column */
    .industry-card:nth-child(1),
    .industry-card:nth-child(2),
    .industry-card:nth-child(3),
    .industry-card:nth-child(4),
    .industry-card:nth-child(5),
    .industry-card:nth-child(6),
    .industry-card:nth-child(7),
    .industry-card:nth-child(8) {
        grid-row: auto;
        grid-column: auto;
    }
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    border-radius: var(--border-radius-lg);
}

@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
    }
}

.video-placeholder {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-elevated) 100%);
    border-radius: var(--border-radius-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border: 2px solid var(--dark-elevated);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.video-placeholder:hover {
    border-color: var(--brand-primary-30);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(68, 167, 222, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-placeholder:hover::before {
    opacity: 1;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
    box-shadow: 0 0 30px rgba(68, 167, 222, 0.4);
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(68, 167, 222, 0.6);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    color: var(--white);
    margin-left: 4px;
}

.video-text {
    font-size: 0.875rem;
    color: var(--text-light-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .about-content-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text-content {
        max-width: 100%;
    }
    
    .about-text-content .section-header,
    .about-text-content .section-header .section-title {
        text-align: center;
    }
    
    .video-placeholder {
        max-width: 100%;
    }
}

/* ========================================
   Products Section
   ======================================== */
.products {
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.product-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-elevated);
    border-radius: var(--border-radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-base);
    overflow: hidden;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
}

.product-blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/bk2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: 0;
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

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

.product-header {
    margin-bottom: 16px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-primary-30);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

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

.product-card.featured {
    background: linear-gradient(145deg, var(--dark-surface) 0%, var(--dark-elevated) 100%);
    border-color: var(--brand-primary-30);
}

.product-card.erp360-gray {
    background: linear-gradient(145deg, var(--dark-surface) 0%, var(--dark-elevated) 100%);
    border-color: var(--brand-primary-30);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--brand-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-full);
}

.product-header {
    margin-top: 24px;
    margin-bottom: 24px;
}

.product-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

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

.product-name {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #ffffff 25%, #44a7de 50%, #ffffff 75%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 3s infinite;
}

.product-tagline {
    color: var(--brand-primary);
    font-size: 0.9375rem;
    font-weight: 500;
}

.product-content {
    flex: 1;
    margin-bottom: 24px;
}

.product-description {
    color: var(--text-light-muted);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light-muted);
    font-size: 0.875rem;
}

.product-features svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.product-footer {
    margin-top: auto;
}

/* ========================================
   Solutions Section
   ======================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.solution-card {
    background: var(--dark-surface);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 1px solid var(--dark-elevated);
    transition: all var(--transition-base);
}

.solution-content h3 {
    color: var(--white);
}

.solution-content p {
    color: var(--text-light-muted);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary-20);
}

.solution-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--brand-primary-10) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.solution-placeholder {
    width: 60%;
    height: 60%;
    opacity: 0.8;
    transition: transform var(--transition-slow);
}

.solution-card:hover .solution-placeholder {
    transform: scale(1.1);
}

.solution-placeholder svg {
    width: 100%;
    height: 100%;
}

.solution-content {
    padding: 24px;
}

.solution-content h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.solution-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    position: relative;
}

.link-arrow::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2344a7de' stroke-width='2'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform var(--transition-base);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta-card {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        text-align: center;
    }
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-buttons {
        justify-content: center;
    }
}

.cta-logo-placeholder {
    width: 200px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    filter: grayscale(100%) brightness(1.2);
}

.cta-logo-mono {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .cta-visual {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .cta-logo-placeholder {
        width: 150px;
        height: 100px;
        margin: 24px auto 0;
        order: 2;
    }
}

.cta-illustration svg {
    width: 100%;
    height: 100%;
    animation: rotate 60s linear infinite;
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-bg);
    padding: 80px 0 40px;
}

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

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

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

.footer-address-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qatar-flag {
    width: 80px;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.qatar-flag img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-address h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer-address p {
    color: var(--text-light-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-address a {
    color: var(--text-light-muted);
    transition: color var(--transition-fast);
}

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-tagline {
    color: var(--text-light-muted);
    font-size: 0.9375rem;
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-surface);
    border-radius: var(--border-radius-md);
    color: var(--text-light-muted);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--brand-primary);
    color: var(--white);
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--text-light-muted);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--dark-elevated);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========================================
   Animation Classes
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-up"] {
    transform: translateY(24px);
}

[data-animate="fade-up"].animated {
    transform: translateY(0);
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        flex-direction: column;
        gap: 12px;
    }
    
    .about-card {
        flex: none;
        min-width: auto;
        opacity: 1;
        position: relative;
    }
    
    .about-card.active {
        opacity: 1;
    }
    
    .about-card .about-content {
        padding: 20px 24px;
    }
    
    .about-card h3 {
        font-size: 1.1rem;
    }
    
    .about-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .about-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }
    
    .about-carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--dark-elevated);
        cursor: pointer;
        transition: background 0.3s ease;
    }
    
    .about-carousel-dot.active {
        background: var(--brand-primary);
    }
    
    .about-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-bg,
    .hero-scroll,
    .cta-visual {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
}
