/* ============================================
   EKSON Technology - Light Theme Stylesheet
   ============================================ */

/* --- CSS Variables (EKSON Brand Colors) --- */
:root {
    --primary: #0891B2;
    --primary-light: #22D3EE;
    --primary-dark: #0E7490;
    --secondary: #2DD4BF;
    --accent: #FBBF24;
    --white: #FFFFFF;
    --snow: #FAFCFF;
    --ice: #F0F9FF;
    --mist: #E0F2FE;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --text: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --bg: #FFFFFF;
    --bg-alt: var(--snow);
    --bg-card: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 20px rgba(8, 145, 178, 0.06);
    --shadow-lg: 0 12px 40px rgba(8, 145, 178, 0.10);
    --border: #E8F0FE;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.25s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

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

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary);
    color: white;
}

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

a:hover { color: var(--primary-dark); }

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.4s, visibility 0.4s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: loaderSpin 1.5s linear infinite;
}

.loader-ring:nth-child(1) {
    width: 80px; height: 80px;
    border-top-color: var(--primary);
}

.loader-ring:nth-child(2) {
    width: 60px; height: 60px;
    border-right-color: var(--primary-light);
    animation-duration: 1.2s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    width: 40px; height: 40px;
    border-bottom-color: var(--secondary);
    animation-duration: 0.9s;
}

.loader-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    color: var(--primary);
    letter-spacing: 2px;
}

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    border-radius: 8px;
}

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

.nav-indicator {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.3s;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
    width: 20px;
}

.btn-nav {
    margin-left: 16px;
    padding: 8px 20px;
    font-size: 0.85rem;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.toggle-line {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}
.navbar-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 116, 144, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 116, 144, 0.3);
    color: white;
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(14, 116, 144, 0.04);
}

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

.btn-product {
    background: var(--product-color, var(--primary));
    color: white;
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-product:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
    filter: brightness(1.05);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--white);
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(8, 145, 178, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(34, 211, 238, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--ice);
    border: 1px solid var(--mist);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item { text-align: left; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.1) 0%, transparent 60%);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* --- Sections Common --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--ice);
    border: 1px solid var(--mist);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- About Section --- */
.about-section {
    background: var(--ice);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: var(--mist);
    background: linear-gradient(135deg, #FFFFFF 0%, #E0F9F4 100%);
    box-shadow: var(--shadow);
}

.highlight-icon {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.highlight-item strong {
    display: block;
    margin-bottom: 2px;
    color: var(--gray-800);
}

.highlight-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: var(--text-muted);
}

.placeholder-content i {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.placeholder-content span {
    font-size: 1.1rem;
    font-weight: 500;
}

.image-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.dec-1 {
    width: 200px; height: 200px;
    background: rgba(14, 116, 144, 0.06);
    top: -30px; right: -30px;
}

.dec-2 {
    width: 150px; height: 150px;
    background: rgba(20, 184, 166, 0.05);
    bottom: -20px; left: -20px;
}

/* --- Values --- */
.values-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--gray-800);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(145deg, #FFFFFF 0%, #F0F9FF 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-3px);
    border-color: var(--mist);
    background: linear-gradient(145deg, #FFFFFF 0%, #E0F2FE 100%);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--gradient);
    border-radius: 12px;
    font-size: 1.2rem;
    color: white;
}

.value-card h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.value-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Services Section --- */
.services-section {
    background: var(--white);
    position: relative;
}

.section-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(8, 145, 178, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--mist);
    background: linear-gradient(135deg, #FFFFFF 0%, #E0F2FE 100%);
    box-shadow: var(--shadow-lg);
}

.service-icon-wrap {
    position: relative;
    margin-bottom: 24px;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 14px;
    font-size: 1.4rem;
    color: white;
    position: relative;
    z-index: 1;
}

.service-icon-bg {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 14px;
    opacity: 0.1;
    filter: blur(8px);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover { gap: 10px; }

/* --- Products Section --- */
.products-section {
    background: var(--snow);
}

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

.product-card {
    padding: 40px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: var(--product-color);
    opacity: 0.03;
    border-radius: 50%;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--mist);
    background: linear-gradient(135deg, #FFFFFF 0%, #E0F9F4 100%);
    box-shadow: var(--shadow-lg);
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.product-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--product-color);
    border-radius: 16px;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--product-color) 25%, transparent);
}

.product-badge {
    padding: 4px 12px;
    background: rgba(20, 184, 166, 0.08);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(20, 184, 166, 0.15);
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.product-tagline {
    color: var(--product-color);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
}

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

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 100%);
    border: 1px solid var(--mist);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.feature-tag i {
    color: var(--secondary);
    font-size: 0.7rem;
}

/* --- Contact Section --- */
.contact-section {
    background: var(--white);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    padding: 28px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--mist);
    background: linear-gradient(135deg, #FFFFFF 0%, #E0F2FE 100%);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 12px;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 16px;
}

.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.contact-card p,
.contact-card a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    padding: 40px;
    background: linear-gradient(145deg, #FFFFFF 0%, #F0F9FF 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    position: relative;
    margin-bottom: 20px;
}

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

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.08);
}

.form-field label {
    position: absolute;
    top: 16px;
    left: 16px;
    color: var(--text-light);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition);
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--snow);
    padding: 0 6px;
}

.field-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
    border-radius: 0 0 var(--radius) var(--radius);
}

.form-field input:focus ~ .field-line,
.form-field textarea:focus ~ .field-line {
    width: 100%;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: loaderSpin 0.8s linear infinite;
}

.btn-submit.loading .btn-loader { display: block; }
.btn-submit.loading span,
.btn-submit.loading i { display: none; }

.cf-turnstile { margin-bottom: 20px; }

/* --- Footer --- */
.footer {
    position: relative;
    background: #1E3A4F;
    color: #CBD5E1;
    padding: 80px 0 0;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    color: var(--white);
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

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

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 0.85rem;
}

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

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(14, 116, 144, 0.25);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-2px);
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.3; height: 25px; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);
    }

    .navbar-menu.active { right: 0; }

    .navbar-nav {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .btn-nav {
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }

    .navbar-toggle { display: flex; }

    .section { padding: 70px 0; }
    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-image img { height: 300px; }

    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .form-group { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .hero-cta { flex-direction: column; align-items: center; }
    .product-card { padding: 28px; }
    .contact-form { padding: 24px; }
}

/* Overlay for mobile menu */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
