/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    /* Color Palette */
    --color-primary: #0f2b46;       /* Deep Marine/Ocean Navy */
    --color-primary-light: #1b3d60; /* Medium Blue */
    --color-secondary: #0070f3;     /* Trustworthy Blue Accent */
    --color-accent: #00a3c4;        /* Teal/Cyan Accent */
    --color-dark: #1a202c;          /* Off-Black / Charcoal */
    --color-light: #f7fafc;         /* Soft Background White */
    --color-light-alt: #edf2f7;     /* Light Grey border/bg */
    --color-white: #ffffff;         /* Pure White */
    
    /* Semantic Colors */
    --color-success: #38a169;       /* Green for standard MOQ */
    --color-warning: #dd6b20;       /* Orange for warning/MOQ terms */
    --color-danger: #e53e3e;        /* Red for error */
    --color-text-body: #4a5568;     /* Muted body text */
    --color-text-heading: #1a202c;  /* Title text color */
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects & Transitions */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(15, 43, 70, 0.15), 0 10px 10px -5px rgba(15, 43, 70, 0.04);
    --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.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   BASE STYLES & RESET
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

p {
    margin-bottom: var(--spacing-md);
}

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

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* Section Header Shared Utility */
.section-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg) auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-xs);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 112, 243, 0.3);
}

.btn-primary:hover {
    background-color: #005ce6;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 112, 243, 0.4);
}

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

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

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

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

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

.btn:active {
    transform: translateY(0);
}

/* ==========================================
   TOP BAR & HEADER NAVIGATION
   ========================================== */
.top-bar {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: flex-start;
    gap: var(--spacing-md);
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.icon {
    width: 14px;
    height: 14px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition-normal);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 400;
    color: var(--color-text-body);
}

.logo-accent {
    color: var(--color-secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-fast);
}

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

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

.nav-link.active {
    color: var(--color-secondary);
    font-weight: 600;
}

.nav-cta {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--color-secondary);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    width: 24px;
    height: 24px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0;
    color: var(--color-white);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text-block {
    max-width: 650px;
}

.badge {
    background-color: rgba(0, 112, 243, 0.2);
    border: 1px solid rgba(0, 112, 243, 0.4);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.hero h1 {
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-sm);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.stat-card {
    background-color: rgba(15, 43, 70, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 112, 243, 0.5);
    background-color: rgba(15, 43, 70, 0.85);
}

.stat-card h3 {
    font-size: 2.25rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.stat-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ==========================================
   TRUST / CERTIFICATIONS BANNER
   ========================================== */
.trust-banner {
    background-color: var(--color-white);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--color-light-alt);
}

.trust-title {
    text-align: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-body);
    margin-bottom: var(--spacing-md);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.cert-card {
    background-color: var(--color-light);
    border: 1px solid var(--color-light-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition-normal);
}

.cert-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.cert-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-sm) auto;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cert-card p {
    font-size: 0.85rem;
    color: var(--color-text-body);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================
   ABOUT & CAPABILITIES
   ========================================== */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text h2 {
    margin-bottom: var(--spacing-md);
}

.features-list {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    margin-top: 8px;
    flex-shrink: 0;
}

.about-visual {
    position: relative;
}

.about-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 180px;
    text-align: center;
}

.badge-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 4px;
}

.badge-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   PRODUCT SHOWROOM
   ========================================== */
.showroom {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-light);
}

.showroom-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--spacing-lg);
}

.filter-btn {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-alt);
    color: var(--color-text-body);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: translateY(-1px);
}

.filter-btn.active {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 112, 243, 0.25);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: var(--color-light-alt);
    overflow: hidden;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-details {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.product-details h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.product-specs {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
}

.product-specs td {
    padding: 4px 0;
    border-bottom: 1px solid var(--color-light-alt);
}

.product-specs td:first-child {
    font-weight: 600;
    color: var(--color-text-heading);
    width: 40%;
}

.btn-rfp {
    margin-top: auto;
}

/* ==========================================
   OEM/ODM PROCESS SECTION
   ========================================== */
.process {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background-color: var(--color-light-alt);
}

.process-step {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-num {
    position: absolute;
    top: 0;
    left: -40px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition-fast);
}

.process-step:hover .step-num {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(0, 112, 243, 0.2);
}

.step-content {
    background-color: var(--color-light);
    border: 1px solid var(--color-light-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.process-step:hover .step-content {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================================
   MOQ CALCULATOR / TIMELINE ESTIMATOR
   ========================================== */
.estimator {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-light);
}

.estimator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.estimator-controls {
    padding: var(--spacing-lg);
}

.estimator-results {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.estimator-results h3 {
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-heading);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-light-alt);
    background-color: var(--color-light);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-heading);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.15);
}

/* Slider Controls */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--color-light-alt);
    outline: none;
    margin: 15px 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-body);
}

/* Results Display */
.result-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.result-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.indicator-green { background-color: var(--color-success); }
.indicator-orange { background-color: var(--color-warning); }
.indicator-red { background-color: var(--color-danger); }

.status-explanation {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.milestones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.milestone-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem;
    text-align: center;
}

.milestone-lbl {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestone-val {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.milestone-val.highlighted {
    color: var(--color-accent);
}

.production-milestone-list {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.production-milestone-list h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestone-timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-step {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.t-day {
    font-weight: 700;
    color: var(--color-accent);
}

.t-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   RFP CONTACT FORM & UPLOADER
   ========================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--spacing-lg);
}

.contact-info h2 {
    margin-bottom: var(--spacing-sm);
}

.office-location {
    margin-top: var(--spacing-md);
    border-left: 3px solid var(--color-secondary);
    padding-left: var(--spacing-sm);
}

.office-location h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.office-location p {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-form-container {
    background-color: var(--color-light);
    border: 1px solid var(--color-light-alt);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

textarea.form-control {
    resize: vertical;
}

/* Drag-and-drop file uploader zone */
.file-uploader {
    position: relative;
    border: 2px dashed #cbd5e0;
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.file-uploader:hover,
.file-uploader.dragover {
    border-color: var(--color-secondary);
    background-color: rgba(0, 112, 243, 0.02);
}

.upload-icon {
    width: 32px;
    height: 32px;
    color: #a0aec0;
    margin: 0 auto 8px auto;
    transition: var(--transition-fast);
}

.file-uploader:hover .upload-icon {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.upload-text {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-body);
}

.upload-browse {
    color: var(--color-secondary);
    font-weight: 600;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-status {
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-body);
}

.file-status.file-selected {
    color: var(--color-success);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: var(--spacing-sm);
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: var(--color-white);
    padding-left: 2px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    gap: 10px;
}

.footer-legal {
    text-align: right;
}

/* ==========================================
   MODAL VIEWPORT
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 43, 70, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

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

.modal-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    width: 90%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-light);
    border: 1px solid var(--color-light-alt);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--color-danger);
    color: var(--color-white);
    border-color: var(--color-danger);
}

.modal-close svg {
    width: 16px;
    height: 16px;
}

.modal-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.modal-visual {
    background-color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: var(--spacing-lg);
    max-height: 80vh;
    overflow-y: auto;
}

.modal-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.modal-section {
    margin-bottom: var(--spacing-md);
}

.modal-section h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-light-alt);
    padding-bottom: 4px;
}

.modal-section p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.modal-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.modal-spec-table td {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-light-alt);
}

.modal-spec-table td:first-child {
    font-weight: 600;
    color: var(--color-text-heading);
    width: 40%;
}

.modal-action-row {
    margin-top: var(--spacing-md);
}

/* ==========================================
   SUCCESS TOAST
   ========================================== */
.notification-toast {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    max-width: 400px;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--color-success);
}

.notification-toast.show {
    bottom: 30px;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.toast-icon {
    width: 24px;
    height: 24px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-text h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.toast-text p {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 992px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero-stats {
        flex-direction: row;
    }
    
    .stat-card {
        flex: 1;
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-visual {
        order: -1;
    }
    
    .estimator-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal-layout {
        grid-template-columns: 1fr;
    }
    
    .modal-visual {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    
    .top-bar-content {
        justify-content: space-between;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        gap: 12px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-normal);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }
    
    .nav-cta {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .floating-badge {
        position: static;
        margin-top: var(--spacing-sm);
        max-width: 100%;
    }
}
