/* ==========================================================================
   PETROWAY Corporate Theme - Modern Dark-Industrial Style Sheet
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-darker: #080a0c;
    --bg-dark: #0f1217;
    --bg-card: rgba(22, 28, 36, 0.65);
    --bg-card-hover: rgba(28, 36, 47, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 210, 255, 0.2);
    
    --primary: #00d2ff;
    --primary-rgb: 0, 210, 255;
    --secondary: #ffaa00;
    --secondary-rgb: 255, 170, 0;
    --accent: #e01a4f;
    --text-main: #f0f3f6;
    --text-muted: #9ba7b6;
    --text-dim: #647385;
    --white: #ffffff;
    
    --bg-header: rgba(8, 10, 12, 0.7);
    --bg-header-scrolled: rgba(8, 10, 12, 0.9);
    --bg-mobile-nav: rgba(8, 10, 12, 0.95);
    --logo-grad-start: var(--white);
    --logo-grad-end: #a2b0c2;
    
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.25);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

body.light-theme {
    --bg-darker: #f4f6f8;
    --bg-dark: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(9, 12, 17, 0.08);
    --border-glow: rgba(0, 168, 204, 0.25);
    
    --primary: #008cb3;
    --primary-rgb: 0, 140, 179;
    --secondary: #d48800;
    --secondary-rgb: 212, 136, 0;
    --text-main: #1e293b;
    --text-muted: #475569;
    --text-dim: #64748b;
    --white: #0f172a;
    
    --bg-header: rgba(255, 255, 255, 0.75);
    --bg-header-scrolled: rgba(255, 255, 255, 0.9);
    --bg-mobile-nav: rgba(255, 255, 255, 0.96);
    --logo-grad-start: #008cb3;
    --logo-grad-end: #ffaa00;
    
    --shadow-glow: 0 0 20px rgba(0, 140, 179, 0.15);
    --shadow-card: 0 10px 35px rgba(9, 12, 17, 0.06);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.menu-open {
    overflow: hidden;
}

/* Grain Overlay (Premium tactile layer) */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Scroll Offset Helper */
.scroll-offset {
    scroll-margin-top: 90px;
}

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

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

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

/* Custom Grid/Container system */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-medium);
    outline: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00a8cc);
    color: #080a0c;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45), 0 0 10px rgba(0, 210, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header Section */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(16px) saturate(120%);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-medium);
}

.main-header.scrolled {
    background: var(--bg-header-scrolled);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-medium);
}

.main-header.scrolled .header-container {
    height: 70px;
}

/* Logo Area */
.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.3));
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--logo-grad-start), var(--logo-grad-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Desktop Nav */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header Actions & Language Switcher */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 2px;
    border-radius: var(--radius-full);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--text-muted);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-medium);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.4;
    transform: scale(1.02);
    transition: transform 6s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.hero-slide.active .hero-bg-img {
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(8, 10, 12, 1) 0%, 
        rgba(8, 10, 12, 0.92) 40%, 
        rgba(8, 10, 12, 0.4) 80%,
        rgba(8, 10, 12, 0.1) 100%);
    z-index: 3;
}

/* Hero Slider Dots */
.hero-slider-nav {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

@media (max-width: 768px) {
    .hero-slider-nav {
        right: 50%;
        transform: translateX(50%);
        bottom: 5.5rem;
    }
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
    outline: none;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transform: scale(1.25);
}

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

.hero-content {
    max-width: 680px;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.05);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Scroll down indicator */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.scroll-down:hover {
    color: var(--white);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: var(--white);
    animation: scrollDot 2s infinite ease-in-out;
}

@keyframes scrollDot {
    0% { transform: translateY(-100%); }
    80% { transform: translateY(350%); }
    100% { transform: translateY(350%); }
}

/* Stats Section */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-medium), border-color var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--border-glow);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--white), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* Common Section Header */
.section-header {
    margin-bottom: 3.5rem;
    max-width: 650px;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin-top: 1rem;
    border-radius: var(--radius-full);
}

.section-header.center-align .section-title::after {
    margin: 1rem auto 0 auto;
}

.section-subtitle {
    margin-top: 1.5rem;
    font-size: 1.05rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.03) 0%, transparent 40%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-text-content .lead-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text-content p:not(:last-child) {
    margin-bottom: 1.25rem;
}

.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-medium);
}

.value-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 170, 0, 0.25);
    transform: translateY(-3px);
}

.value-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 170, 0, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    transition: var(--transition-medium);
}

.value-card:hover .value-icon {
    background: var(--secondary);
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.3);
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-desc {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: rgba(0, 210, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--border-glow);
}

.product-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
    width: 100%;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(15, 18, 23, 0.3) 50%, transparent 100%);
}

.product-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.product-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.product-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--primary);
    width: fit-content;
}

.product-cta-btn:hover {
    color: var(--white);
}

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

.product-cta-btn:hover .arrow-icon {
    transform: translateX(5px);
}

/* Corporate Section */
.corporate-section {
    padding: 80px 0;
    background: radial-gradient(circle at 90% 80%, rgba(255, 170, 0, 0.02) 0%, transparent 40%);
}

.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.corp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.corp-info-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    align-items: flex-start;
    transition: all var(--transition-medium);
}

.corp-info-card:hover {
    border-color: rgba(255, 170, 0, 0.2);
    transform: translateY(-2px);
}

.corp-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 210, 255, 0.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.corp-info-card:hover .corp-icon {
    color: var(--secondary);
    background: rgba(255, 170, 0, 0.08);
}

.corp-icon svg {
    width: 26px;
    height: 26px;
}

.corp-details h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.corp-details p {
    color: var(--white);
    font-weight: 500;
}

.corp-details .highlight-info {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.corp-info-card.full-width {
    grid-column: span 3;
}

/* Contact Section */
.contact-section {
    padding: 80px 0 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.item-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 210, 255, 0.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.item-icon svg {
    width: 20px;
    height: 20px;
}

.item-text h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 0.25rem;
}

.item-text p, .contact-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Stylized Map Mockup */
.map-mockup {
    overflow: hidden;
    height: 250px;
    display: flex;
    flex-direction: column;
}

.map-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    animation: flash 1.5s infinite alternate;
}

@keyframes flash {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.map-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.map-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    position: relative;
    padding: 1rem;
}

.world-map-svg {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

/* SVG Line Animation */
.world-map-svg path[stroke-dasharray] {
    stroke-dashoffset: 100;
    animation: flowRoutes 8s infinite linear;
}

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

.pulse-dot {
    animation: markerPulse 3s infinite;
    transform-origin: center;
}

@keyframes markerPulse {
    0% { r: 3px; fill-opacity: 0.8; }
    50% { r: 7px; fill-opacity: 0.3; }
    100% { r: 3px; fill-opacity: 0.8; }
}

/* Contact Form */
.contact-form-container {
    padding: 3rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 580px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
}

select {
    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='%239ba7b6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

select option {
    background-color: var(--bg-dark);
    color: var(--text-main);
}

textarea {
    resize: none;
}

/* Error Messages */
.error-msg {
    display: none;
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 0.35rem;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(224, 26, 79, 0.15);
}

.form-group.has-error .error-msg {
    display: block;
}

/* Submit Button & Loader Spinner */
#submit-btn .spinner {
    display: none;
    width: 20px;
    height: 20px;
    animation: rotate 2s linear infinite;
}

#submit-btn .spinner .path {
    stroke: var(--bg-darker);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

#submit-btn.loading .btn-text {
    display: none;
}

#submit-btn.loading .spinner {
    display: block;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Form Success State Alert */
.success-alert {
    display: none;
    margin-top: 1.5rem;
    background: rgba(0, 230, 118, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.2);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    align-items: center;
    gap: 1rem;
    animation: slideUp 0.4s ease-out forwards;
}

.success-alert.show {
    display: flex;
}

.alert-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.1);
    color: #00e676;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-icon svg {
    width: 16px;
    height: 16px;
}

.alert-text {
    font-size: 0.9rem;
    color: #00e676;
    font-weight: 500;
}

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

/* Footer Styling */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0 0;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4, .footer-legal h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
}

.footer-links h4::after, .footer-legal h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary);
    margin-top: 0.5rem;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.footer-legal span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

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

.copyright, .legal-links a, .developer-credit {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.developer-credit .dev-link {
    color: var(--text-muted);
    font-weight: 500;
}

.developer-credit .dev-link:hover, .legal-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 5px rgba(0, 210, 255, 0.3);
}

/* Mobile Nav Overlay & Hamburger */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-mobile-nav);
    backdrop-filter: blur(20px);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform var(--transition-medium);
}

.mobile-nav-overlay.open {
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--primary);
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin: 0 auto;
    }
    .corp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .corp-info-card.full-width {
        grid-column: span 2;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        max-width: 680px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav, #nav-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hamburger Active state */
    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stats-section {
        margin-top: -30px;
    }
    .corp-grid {
        grid-template-columns: 1fr;
    }
    .corp-info-card.full-width {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    z-index: 10001;
    transition: width 0.1s ease-out;
}

/* Hero Mesh Pattern Overlay */
.mesh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(0, 210, 255, 0.04) 1.5px, transparent 1.5px),
        radial-gradient(rgba(0, 210, 255, 0.04) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 3;
}

/* Premium Primary Button Shine Animation */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    transition: none;
}

.btn-primary:hover::after {
    left: 150%;
    transition: all 0.75s ease-in-out;
}

/* Product Card Overlay & Badges */
.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 10, 12, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
    cursor: pointer;
    z-index: 2;
}

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

.view-details-btn {
    background: var(--white);
    color: var(--bg-darker);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(10px);
    transition: all var(--transition-medium);
}

.product-card:hover .view-details-btn {
    transform: translateY(0);
}

.view-details-btn:hover {
    background: var(--primary);
    color: var(--bg-darker);
    box-shadow: 0 0 15px var(--primary);
}

/* Supply Chain Timeline */
.journey-section {
    padding: 80px 0;
    background: var(--bg-darker);
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.timeline-container {
    position: relative;
    margin-top: 4rem;
}

.timeline-line {
    position: absolute;
    top: 50px;
    left: 12%;
    right: 12%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 1;
    opacity: 0.15;
}

@media (max-width: 768px) {
    .timeline-line {
        display: none;
    }
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 450px;
        margin: 0 auto;
    }
}

.timeline-step {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    transition: all var(--transition-medium);
}

.timeline-step:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.step-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-medium);
}

.timeline-step:hover .step-icon-wrapper {
    background: var(--primary);
    color: var(--bg-darker);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.3);
}

.step-icon {
    width: 32px;
    height: 32px;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary);
    color: var(--bg-darker);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.step-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    border: 1px solid var(--border-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 5rem;
    font-family: var(--font-display);
    color: rgba(0, 210, 255, 0.08);
    line-height: 1;
}

.rating-stars {
    color: var(--secondary);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
}

.client-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.client-role {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* FAQ Accordion */
.faq-section {
    padding: 100px 0;
    background: radial-gradient(circle at 10% 80%, rgba(255, 170, 0, 0.02) 0%, transparent 50%);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item:hover {
    border-color: rgba(0, 210, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
    text-align: left;
}

.faq-question {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.faq-icon-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1;
    transition: transform var(--transition-medium);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(45deg);
    color: var(--secondary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium) ease-out;
}

.faq-content-inner {
    padding: 0 2rem 1.5rem 2rem;
}

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

/* Modal Overlay & Transitions */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 10, 12, 0.65);
    backdrop-filter: blur(12px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-container {
    width: 90%;
    max-width: 820px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-medium);
    z-index: 10003;
    padding: 0;
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
}

.modal-body-content {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
}

@media (max-width: 768px) {
    .modal-body-content {
        grid-template-columns: 1fr;
    }
    .modal-image-wrapper {
        height: 180px;
    }
}

.modal-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 320px;
    position: relative;
}

#modal-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-text-wrapper {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 580px) {
    .modal-text-wrapper {
        padding: 1.5rem;
    }
}

.modal-badge {
    align-self: flex-start;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

#modal-product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

#modal-product-desc-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.modal-specs-list {
    list-style: none;
    margin: 1rem 0 2rem 0;
    padding: 0;
}

.modal-specs-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(0, 210, 255, 0.1);
    padding-bottom: 0.35rem;
}

.modal-specs-list li strong {
    color: var(--white);
}

/* ==========================================================================
   Theme Switcher & Light Theme Overrides
   ========================================================================== */

/* Theme Switcher Button */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all var(--transition-fast);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.2);
}

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

/* Toggle icon display based on active theme */
body.light-theme .theme-toggle-btn .moon-icon {
    display: block;
    transform: rotate(0);
}
body.light-theme .theme-toggle-btn .sun-icon {
    display: none;
    transform: rotate(90deg);
}
body:not(.light-theme) .theme-toggle-btn .moon-icon {
    display: none;
    transform: rotate(-90deg);
}
body:not(.light-theme) .theme-toggle-btn .sun-icon {
    display: block;
    transform: rotate(0);
}

/* Hero Overlay Light Mode Blend */
body.light-theme .hero-overlay {
    background: linear-gradient(90deg, 
        rgba(244, 246, 248, 1) 0%, 
        rgba(244, 246, 248, 0.92) 40%, 
        rgba(244, 246, 248, 0.4) 80%,
        rgba(244, 246, 248, 0.15) 100%);
}

body.light-theme .hero-slide .hero-bg-img {
    opacity: 0.15;
}

/* Map Light Theme Overrides */
body.light-theme .world-map-svg path[stroke="#ffffff"] {
    stroke: var(--text-main);
    stroke-opacity: 0.1;
}

body.light-theme .world-map-svg path[stroke="url(#logoGrad)"] {
    stroke: var(--primary);
    stroke-opacity: 0.4;
}

body.light-theme .world-map-svg text {
    fill: var(--text-main) !important;
}

body.light-theme .world-map-svg text[fill="#ffffff"] {
    fill: var(--text-main) !important;
}

/* General Light Theme Adjustments for Shadows and Glows */
body.light-theme .value-card:hover,
body.light-theme .timeline-step:hover,
body.light-theme .faq-item:hover,
body.light-theme .testimonial-card:hover {
    box-shadow: 0 15px 35px rgba(9, 12, 17, 0.08), var(--shadow-glow);
}

body.light-theme .product-card:hover {
    box-shadow: 0 20px 40px rgba(9, 12, 17, 0.08), var(--shadow-glow);
}

body.light-theme .lang-switcher {
    background: rgba(0, 0, 0, 0.03);
}

body.light-theme .lang-btn.active {
    background: var(--bg-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.light-theme .slider-dot {
    background: rgba(9, 12, 17, 0.2);
}

body.light-theme .slider-dot:hover {
    background: rgba(9, 12, 17, 0.4);
}
