/* 
========================================================================
   HRL GLOBAL PREMIUM CORPORATE DESIGN SYSTEM
   Author: Senior Full-Stack UI/UX Developer
   Version: 1.0.0
   Description: Premium Dark-theme Glassmorphic Style Guide & Tokens
========================================================================
*/

/* ---------------------------------------------------------
   1. DESIGN TOKENS & CUSTOM PROPERTIES
   --------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --bg-main: #0b0f19;
    --bg-darker: #05070c;
    --bg-card: rgba(15, 23, 42, 0.45);
    --bg-card-hover: rgba(23, 37, 84, 0.35);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(14, 118, 188, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #0e76bc; /* Logo Blue */
    --primary-hover: #0b5f97;
    --primary-glow: rgba(14, 118, 188, 0.35);
    --nav-hover: #4ea8de; /* Brand-tint accessible blue */
    
    --accent: #e23c3b; /* Logo Red */
    --accent-hover: #c62828;
    --accent-glow: rgba(226, 60, 59, 0.3);
    
    --indigo: #f48120; /* Logo Orange */
    --indigo-glow: rgba(244, 129, 32, 0.3);
    
    --danger: #ef4444;
    --success: #10b981;

    /* Solid Logo Colors instead of Gradients */
    --gradient-primary: var(--primary);
    --gradient-accent: var(--accent);
    --gradient-dark: var(--bg-main);
    --gradient-glow: transparent;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout & Spacing */
    --container-max: 1280px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Override (Accessible Adaptive System) */
[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-darker: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(14, 118, 188, 0.5);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --primary: #0e76bc;
    --primary-hover: #0b5f97;
    --primary-glow: rgba(14, 118, 188, 0.15);
    --bg-glow: transparent;
    --nav-hover: #0e76bc; /* Exact Logo Blue */
}

/* ---------------------------------------------------------
   2. BASE RESET & ACCESSIBILITY
   --------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Glowing Background Blobs */
body::before, body::after {
    display: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

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

button, input, textarea, select {
    font-family: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
}

/* Accessibility Focus States */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    transition: top var(--transition-fast);
}
.skip-link:focus {
    top: 0;
}

/* ---------------------------------------------------------
   3. TYPOGRAPHY & LAYOUT UTILITIES
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

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

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Helper Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.text-gradient {
    color: var(--primary);
}

.text-gradient-accent {
    color: var(--accent);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* Grid system */
.grid {
    display: grid;
    gap: 32px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid-3-fixed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 992px) {
    .grid-3-fixed {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .grid-3-fixed {
        grid-template-columns: 1fr;
    }
}
.beliefs-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.beliefs-flex-item {
    flex: 1 1 calc(33.333% - 32px);
    min-width: 300px;
    max-width: 380px;
}

@media (max-width: 768px) {
    .beliefs-flex-item {
        flex: 1 1 calc(50% - 32px);
    }
}

@media (max-width: 576px) {
    .beliefs-flex-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

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

@media (max-width: 576px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .metrics-grid .card,
    .metrics-grid > div {
        padding: 20px 16px !important;
    }
}

/* ---------------------------------------------------------
   4. COMPONENT STYLES
   --------------------------------------------------------- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn-secondary:hover {
    background: rgba(14, 118, 188, 0.06);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    padding: 0;
    gap: 8px;
}
.btn-text:hover {
    color: var(--text-primary);
}
.btn-text svg {
    transition: transform var(--transition-fast);
}
.btn-text:hover svg {
    transform: translateX(4px);
}

/* Glass Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color var(--transition-normal), background var(--transition-normal), transform var(--transition-slow);
}
.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ---------------------------------------------------------
   5. LAYOUT: HEADER & FOOTER
   --------------------------------------------------------- */
.header {
    height: var(--header-height);
    position: fixed;
    top: 20px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 118, 188, 0.18);
    border-radius: 100px;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1025px) {
    .header {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 48px);
        max-width: var(--container-max);
    }
}

.header.scrolled {
    height: 70px;
    top: 12px;
    background: var(--bg-card-hover);
    border-color: rgba(14, 118, 188, 0.45);
    box-shadow: 0 10px 30px rgba(14, 118, 188, 0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 32px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--nav-hover);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 24px;
    cursor: pointer;
    z-index: 1100;
}
.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-normal);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}
.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(14, 118, 188, 0.06);
}
.theme-toggle .sun-icon { display: none; }
[data-theme="light"] .theme-toggle .sun-icon { display: block; }
[data-theme="light"] .theme-toggle .moon-icon { display: none; }

/* ---------------------------------------------------------
   6. PAGE-SPECIFIC STYLE BLOCKS
   --------------------------------------------------------- */

/* HERO SECTION */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.hero-sub {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-sub::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: var(--primary);
}

.hero h1 {
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

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

/* Hero Interactive Visual (Overlapping Collage Grid) */
.hero-visual {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--primary-glow);
    filter: blur(80px);
    opacity: 0.35;
    z-index: 1;
    animation: pulseGlow 8s infinite alternate;
}

.hero-img-frame-main {
    position: absolute;
    width: 360px;
    height: 270px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--bg-card);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 2;
    transform: rotate(-4deg) translateX(-30px);
    transition: transform var(--transition-slow);
}

.hero-img-frame-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-frame-accent {
    position: absolute;
    width: 250px;
    height: 190px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--bg-card);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 3;
    transform: rotate(6deg) translateX(70px) translateY(60px);
    transition: transform var(--transition-slow);
}

.hero-img-frame-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual:hover .hero-img-frame-main {
    transform: rotate(0deg) scale(1.05) translateY(-10px);
    z-index: 10;
}

.hero-visual:hover .hero-img-frame-accent {
    transform: rotate(0deg) scale(1.05) translateX(60px) translateY(50px);
    z-index: 11;
}

/* WHY CHOOSE US & STATS */
.stats-grid {
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
    margin-top: 80px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* PORTFOLIO GRID & FILTER */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

/* PROCESS SECTION (TIMELINE) */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 24px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-badge {
    position: absolute;
    top: 30px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-darker);
    border: 2px solid var(--primary);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.timeline-item:nth-child(odd) .timeline-badge {
    right: -16px;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -16px;
}

.timeline-item:hover .timeline-badge {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary);
}

/* TESTIMONIALS SLIDER */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
}

.testimonial-quote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-info h4 {
    margin-bottom: 4px;
}

.testimonial-info p {
    font-size: 0.85rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.testimonial-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.testimonial-nav-btn:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
}

/* Accordion (FAQ) */
.accordion {
    max-width: 800px;
    margin: 48px auto 0;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.accordion-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-normal);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
}

.accordion-content p {
    padding-top: 16px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.accordion-item.active .accordion-content {
    max-height: 300px; /* arbitrary height to slide down */
}

/* CONTACT FORM & INPUTS */
.contact-section-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

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

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-control {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    color: var(--text-primary);
    font-size: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-normal);
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-normal);
}

/* Floating label simulation */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-main);
    padding: 0 8px;
}

/* Form status feedback alerts */
.form-status {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    display: none;
    font-weight: 500;
}
.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
}
.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* ---------------------------------------------------------
   7. FOOTER
   --------------------------------------------------------- */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

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

.footer-logo {
    margin-bottom: 24px;
}

.footer h4 {
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

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

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex-grow: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* ---------------------------------------------------------
   8. ANIMATIONS & MICRO-INTERACTIONS
   --------------------------------------------------------- */
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.35; }
    100% { transform: scale(1.15); opacity: 0.5; }
}

/* Intersection Observer Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ---------------------------------------------------------
   9. RESPONSIVE DESIGN (MEDIA QUERIES)
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-visual {
        display: none; /* Hide visual for clean mobile layouts */
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .contact-section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .timeline::before {
        left: 24px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 64px;
        padding-right: 0;
        text-align: left !important;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-badge {
        left: 8px !important;
        right: auto !important;
    }
    .header {
        height: 70px;
        top: 16px;
        left: 12px;
        right: 12px;
    }
    .header .container {
        padding: 0 16px;
    }
    .logo-img {
        height: 38px !important;
    }
    .header.scrolled {
        height: 60px;
        top: 8px;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .nav {
        position: fixed;
        top: 96px;
        left: 12px;
        right: 12px;
        height: calc(100vh - 112px);
        background: var(--bg-main);
        flex-direction: column;
        justify-content: flex-start;
        gap: 24px;
        padding: 30px;
        transform: translateX(120%);
        transition: transform var(--transition-normal);
        z-index: 999;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    .nav.active {
        transform: translateX(0);
    }
    .nav-right {
        display: flex;
        align-items: center;
        margin-left: auto;
        margin-right: 16px;
        z-index: 1001;
    }
    .nav-right .btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    .card {
        padding: 24px;
    }
    .spec-meta {
        flex-direction: column;
        gap: 16px;
    }
}

/* ---------------------------------------------------------
   10. HERO BANNER SLIDER SYSTEM (Full-Bleed Background)
   --------------------------------------------------------- */
.hero {
    padding: 0 !important;
    display: block !important;
}
.hero-slider-container {
    width: 100%;
    overflow: hidden;
}
.hero-slider-track {
    display: flex;
    transition: transform var(--transition-slow);
    width: 300%;
}
.hero-slide-item {
    position: relative;
    width: 33.333%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-top: calc(var(--header-height) + 40px);
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.75);
    z-index: -1;
}
.hero-slide-item .hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    text-align: center;
    margin: 0 auto;
}
.hero-slide-item .hero-buttons {
    justify-content: center;
}
.hero-slide-item .hero-sub {
    justify-content: center;
}
.hero-slide-item .hero-sub::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: var(--primary);
}
.hero-slide-item h1 {
    color: #ffffff !important;
}
.hero-slide-item p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 auto 40px !important;
}
.hero-dot {
    width: 8px;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}
.hero-dot.active {
    width: 24px;
    background: var(--primary);
}

/* Dropdown Navigation Menu */
.nav-item.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card-hover);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 0;
    z-index: 1100;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-align: left;
}

.dropdown-menu a:hover {
    color: var(--nav-hover);
    background: rgba(14, 118, 188, 0.08);
}

/* Show dropdown on hover (for non-touch screens) */
@media (min-width: 1025px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile dropdown adjustment */
@media (max-width: 1024px) {
    .nav-item.dropdown {
        display: block;
        width: 100%;
        text-align: center;
    }
    .nav-item.dropdown .dropdown-menu {
        display: block;
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(14, 118, 188, 0.05);
        border: none;
        margin-top: 8px;
        padding: 0;
        border-radius: var(--radius-sm);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height var(--transition-normal), opacity var(--transition-normal), padding var(--transition-normal);
    }
    .nav-item.dropdown.active-dropdown .dropdown-menu {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        padding: 8px 0;
    }
    .dropdown-menu a {
        text-align: center;
        padding: 10px 0;
        font-size: 0.85rem;
    }
}

/* Custom Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.lang-dropdown-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    outline: none;
}

.lang-dropdown-btn:hover {
    border-color: var(--primary);
    background: rgba(14, 118, 188, 0.06);
    color: var(--primary);
}

.lang-dropdown-btn .arrow-icon {
    transition: transform var(--transition-fast);
}

.lang-dropdown:hover .lang-dropdown-btn .arrow-icon,
.lang-dropdown.active .lang-dropdown-btn .arrow-icon {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    min-width: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 4px 0;
    z-index: 1100;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    list-style: none;
}

/* Show dropdown on hover */
.lang-dropdown:hover .lang-dropdown-menu,
.lang-dropdown.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu li {
    padding: 2px 4px;
}

.lang-dropdown-menu button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
}

.lang-dropdown-menu button:hover {
    color: var(--primary);
    background: rgba(14, 118, 188, 0.08);
}

.lang-dropdown-menu button.active {
    color: #fff;
    background: var(--primary);
}

/* Hide Google Translate Top Bar Widgets */
iframe.goog-te-banner-frame, 
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
}
.goog-logo-link {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
}
#google_translate_element {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
