:root {
    --white: #ffffff;
    --navy: #082B66;
    --blue: #1565FF;
    --text: #4B5563;
    --border: #E5E7EB;
    --bg: #F7F9FC;
    --navy-70: rgba(8, 43, 102, 0.7);
    --shadow-soft: 0 18px 45px rgba(8, 43, 102, 0.12);
    --shadow-sm: 0 8px 24px rgba(8, 43, 102, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container-max: 1120px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { -webkit-appearance: none; appearance: none; border: none; background: transparent; cursor: pointer; }
input, textarea { -webkit-appearance: none; appearance: none; }
html, body { overflow-x: hidden; }
/* Container */
.container {
    width: min(var(--container-max), 100% - 40px);
    margin: 0 auto;
}

/* Typography */
h1, h2, h3 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); margin-bottom: 25px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p { color: var(--text); }
.eyebrow {
    margin-bottom: 12px; color: rgba(255,255,255,0.8);
    font-size: 0.8rem; font-weight: 800;
    letter-spacing: 0.14em; text-transform: uppercase;
}
.section-heading { max-width: 760px; margin-bottom: 55px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading > p:last-child { color: var(--text); font-size: 1.05rem; }

/* Header — Fixed Height & No Overlap */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.nav-container {
    width: min(var(--container-max), 100% - 40px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* =============================================
   LOGO RESIZE — Perfect Size
   ============================================= */
.logo img {
    width: 160px;       /* ✅ Adjust this number to make it bigger/smaller */
    height: auto;        /* Keeps original proportion — no stretching */
    max-height: 55px;   /* Never exceed header height */
    object-fit: contain;
    display: block;
}
/* Optional: Slightly smaller on mobile */
@media (max-width: 768px) {
    .logo img {
        width: 130px;
    }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.nav-link {
    position: relative;
    padding: 8px 4px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s;
    white-space: nowrap;
}
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px; background: var(--blue); border-radius: 10px;
    transition: width 0.25s;
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-quote {
    padding: 10px 18px;
    background: var(--blue); color: var(--white);
    border-radius: 999px; font-weight: 700; font-size: 0.9rem;
    transition: transform 0.25s; white-space: nowrap;
}
.nav-quote:hover { transform: translateY(-2px); }

.menu-toggle {
    display: none; font-size: 1.8rem; color: var(--navy); padding: 4px 10px;
}

/* Hero — Proper Top Padding (No Header Overlap) */
.hero {
    min-height: 650px;
    padding: 110px 0 80px;
    /* ✅ Use FULL URL for Hostinger */
    background: linear-gradient(var(--navy-70), var(--navy-70)), url("https://tradevista.biz/industrial-hero.jpg") center/cover no-repeat;
    color: var(--white);
}
.hero h1 { color: var(--white); }
.hero-description { max-width: 680px; margin-bottom: 16px; color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.hero-description.secondary { font-size: 0.95rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 14px 24px;
    border-radius: 999px; font-weight: 700; transition: transform 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-secondary { border: 1px solid var(--blue); color: var(--blue); background: var(--white); }
.hero-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero-card {
    padding: 32px; border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-lg); background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hero-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 10px; }
.hero-card p { color: rgba(255,255,255,0.85); }
.hero-card-icon {
    width: 60px; height: 60px; display: grid; place-items: center;
    margin-bottom: 20px; border-radius: 16px;
    background: var(--blue); color: var(--white); font-size: 1.8rem;
}
.hero-stats {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 15px;
    margin-top: 25px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.25);
}
.hero-stats strong { font-size: 1.2rem; color: var(--white); display: block; }
.hero-stats span { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

/* Sections Base */
.section { padding: 90px 0; background: #f8f9fa; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-content p { font-size: 1.05rem; }
.about-content p + p { margin-top: 18px; }
.mission-card {
    padding: 28px; border: 1px solid var(--border);
    border-radius: var(--radius-lg); background: var(--white);
    box-shadow: 0 10px 30px rgba(8,43,102,0.06);
}
.mission-item { display: flex; gap: 16px; }
.mission-item + .mission-item { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.mission-icon { font-size: 1.8rem; }

/* Products */
.products-section { padding: 90px 0; }
.section-label {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 12px; text-transform: uppercase;
    font-size: 14px; font-weight: 600; color: var(--navy);
}
.section-label span { width: 40px; height: 1px; background: var(--navy); }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.product-card {
    padding: 24px; border: 1px solid var(--border);
    border-radius: var(--radius-md); background: var(--white);
    transition: all 0.25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--blue); }
.product-icon {
    width: 48px; height: 48px; display: grid; place-items: center;
    margin-bottom: 16px; border-radius: 12px;
    background: rgba(21,101,255,0.08); color: var(--blue);
}
.product-card h3 { font-size: 1.05rem; }
.product-card p { margin: 8px 0 12px; font-size: 0.95rem; }
.product-link { color: var(--blue); font-weight: 600; display: inline-block; transition: margin-left 0.2s; }
.product-link:hover { margin-left: 4px; }

/* RFQ Section */
.rfq-section { padding: 90px 0; background: #FAFBFC; }
.rfq-heading-block { text-align: center; margin-bottom: 24px; }
.rfq-subtitle {
    font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--navy); font-weight: 600; margin-bottom: 8px;
}
.rfq-heading-block h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
.rfq-heading-block p { max-width: 560px; margin: 0 auto; color: #6B7280; }
.rfq-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.badge {
    font-size: 13px; padding: 6px 14px; background: #fff;
    border-radius: 20px; border: 1px solid #E5E7EB; color: #374151;
}
.badge:nth-child(1) { color: #059669; }
.badge:nth-child(2) { color: #2563EB; }
.badge:nth-child(3) { color: #D97706; }
.rfq-grid-layout { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.rfq-contact-col { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 18px; background: #fff; border: 1px solid #E5E7EB;
    border-radius: 12px; transition: all 0.2s;
}
.contact-card:hover { border-color: #D1D5DB; transform: translateY(-2px); }
.whatsapp-card { background: #ECFDF3; border-color: #BBF7D0; }
.contact-icon { font-size: 20px; line-height: 1; margin-top: 2px; }
.contact-card h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.contact-card p { font-size: 14px; color: #4B5563; }
.contact-note { font-size: 12px; color: #6B7280; }
.rfq-form-card {
    background: #fff; padding: 30px; border-radius: 16px;
    border: 1px solid #E5E7EB;
}
.rfq-form-card h3 { margin-bottom: 24px; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-field label span { color: #DC2626; }
.form-field input, .form-field textarea {
    padding: 11px 14px; border: 1px solid #D1D5DB;
    border-radius: 8px; font-size: 14px; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field textarea:focus {
    border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,255,0.08);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.rfq-submit-btn {
    width: 100%; padding: 13px; margin-top: 8px;
    background: var(--navy); color: #fff; border-radius: 8px;
    font-size: 15px; font-weight: 600; transition: background 0.2s, transform 0.2s;
}
.rfq-submit-btn:hover { background: var(--blue); transform: translateY(-2px); }
.rfq-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-footer-note { text-align: center; margin-top: 14px; font-size: 13px; color: #6B7280; }
.form-footer-note a { color: var(--blue); font-weight: 500; }
.form-message {
    margin-top: 14px; padding: 12px 16px; border-radius: 8px;
    font-size: 14px; display: none;
}
.form-message.success { display: block; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.form-message.error { display: block; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* Contact Section */
.contact-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f0f4f8, #e8edf2);
}
.contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.contact-card {
    padding: 22px; background: rgba(255,255,255,0.7);
    border: 1px solid rgba(8,43,102,0.08); border-radius: var(--radius-md);
    text-align: center; transition: all 0.25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-icon { font-size: 24px; display: block; margin-bottom: 12px; }
.address-box {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-top: 30px; padding: 18px;
    border-radius: var(--radius-md); background: rgba(255,255,255,0.6);
}

/* Footer */
.main-footer { padding: 30px 0; background: var(--navy); color: #fff; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-content p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* Success Page Styles */
.success-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F0F4F8 0%, #E6EEF8 100%);
    padding: 40px 20px;
}
.success-container {
    width: 100%;
    max-width: 540px;
}
.success-card {
    background: #ffffff;
    padding: 48px 36px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(8, 43, 102, 0.12);
    text-align: center;
    animation: successFadeIn 0.6s ease-out;
}
@keyframes successFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.success-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #fff;
}
.success-icon {
    width: 44px;
    height: 44px;
}
.success-card h1 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    color: #082B66;
    margin-bottom: 14px;
}
.success-card > p {
    font-size: 1.02rem;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 32px;
}
.success-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}
.quick-contact {
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}
.quick-contact p {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 12px;
}
.whatsapp-quick, .email-quick {
    display: block;
    padding: 10px 14px;
    margin: 8px 0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}
.whatsapp-quick {
    background: #ECFDF3;
    color: #059669;
}
.whatsapp-quick:hover { background: #D1FAE5; }
.email-quick {
    background: #EFF6FF;
    color: #2563EB;
}
.email-quick:hover { background: #DBEAFE; }

/* =============================================
   RESPONSIVE — All Devices & Browsers
   ============================================= */
@media (max-width: 960px) {
    .hero-content, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .products-grid { grid-template-columns: repeat(2,1fr); }
    .contact-grid { grid-template-columns: repeat(2,1fr); }
    .rfq-grid-layout { grid-template-columns: 1fr; gap: 30px; }
    .rfq-contact-col { flex-direction: row; flex-wrap: wrap; }
    .rfq-contact-col .contact-card { flex: 1 1 200px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        padding: 15px;
        gap: 8px;
    }
    .main-nav.open { display: flex; }
    .nav-link { padding: 12px 8px; width: 100%; }
    .nav-quote { margin-top: 8px; width: 100%; text-align: center; }
}

@media (max-width: 600px) {
    .form-two-col { grid-template-columns: 1fr; }
    .rfq-form-card { padding: 24px 18px; }
    .section { padding: 65px 0; }
    .hero { padding: 100px 0 70px; }
    .success-card { padding: 36px 22px; }
    .success-actions { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { width: calc(100% - 28px); }
    .products-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; gap: 10px; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}