/* 
    =========================================
    SwiftCargo Solutions - Premium Design System
    =========================================
*/

:root {
    /* Color Palette */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-glow: rgba(37, 99, 235, 0.4);

    --accent: #10b981;
    --accent-dark: #059669;

    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --bg-navy: #1e293b;

    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================= BUTTONS ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-secondary {
    background: var(--bg-navy);
    color: white;
}

.btn-secondary:hover {
    background: var(--bg-dark);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--bg-dark);
}

.btn-white:hover {
    background: #f1f5f9;
}

.btn.lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* ================= UTILITY BAR ================= */
.top-utility-bar {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.utility-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.utility-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.utility-link:hover,
.utility-link.active {
    color: white;
}

.utility-link.active {
    color: var(--primary);
}

.user-greeting {
    margin-right: 10px;
}

.top-utility-bar .sep {
    opacity: 0.3;
}

/* ================= HEADER ================= */
.header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 38px;
    /* Offset for utility bar */
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    top: 0;
    height: 70px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-dark);
}

.logo span {
    color: var(--primary);
}

.logo-icon {
    background: var(--primary);
    color: white;
    padding: 5px;
    border-radius: 8px;
    display: flex;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--bg-dark);
    border-radius: 5px;
    transition: var(--transition);
}

/* ================= HERO ================= */
.hero {
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.trust-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-dark);
}

.trust-lab {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--text-light);
    opacity: 0.3;
}

.hero-visual {
    position: relative;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1000&q=80') center/cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-card-floating {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ================= STATS BAR ================= */
.stats-bar {
    background: var(--bg-dark);
    padding: 4rem 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* ================= SERVICES ================= */
.services {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.sub-title {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 3.5rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-glow);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.service-features li {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: "→";
    color: var(--primary);
}

/* ================= TRACKING ================= */
.tracking {
    padding: 8rem 0;
    background: var(--bg-dark);
    color: white;
}

.tracking-container {
    max-width: 900px;
    margin: 0 auto;
}

.tracking-content {
    text-align: center;
    margin-bottom: 4rem;
}

.tracking-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tracking-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 999px;
    display: flex;
    max-width: 600px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tracking-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

.tracking-form button {
    border-radius: 999px;
}

.tracking-error {
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

/* Tracking Results */
.tracking-result-panel {
    background: var(--bg-navy);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge {
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.status-badge.in-transit {
    background: var(--primary);
    color: white;
}

.status-badge.delivered {
    background: var(--accent);
    color: white;
}

.tracking-id {
    font-weight: 700;
    opacity: 0.6;
}

.result-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.detail-box label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.detail-box span {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Modern Timeline */
.modern-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 20px;
}

.modern-timeline::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-node {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.node-dot {
    width: 24px;
    height: 24px;
    background: var(--bg-navy);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.timeline-node.completed .node-dot {
    background: var(--accent);
    border-color: var(--accent);
}

.timeline-node.completed .node-label {
    color: var(--accent);
}

.timeline-node.active .node-dot {
    background: var(--primary);
    border-color: white;
    box-shadow: 0 0 20px var(--primary);
    transform: scale(1.2);
}

.timeline-node.active .node-label {
    color: white;
    font-weight: 800;
}

/* ================= WHY CHOOSE US ================= */
.why-us {
    padding: 10rem 0;
}

.why-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.advantage-list {
    margin-top: 3rem;
}

.adv-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.adv-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.adv-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.adv-body p {
    color: var(--text-muted);
}

/* ================= FINAL CTA ================= */
.final-cta {
    padding-bottom: 8rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 6rem 4rem;
    border-radius: var(--radius-xl);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-inner h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-inner p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* ================= FOOTER ================= */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 8rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.footer-meta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    gap: 10px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    display: block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

/* ================= QUOTE SECTION ================= */
.quote-section {
    padding: 10rem 0;
    background: white;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.benefit-check {
    margin-top: 3rem;
}

.benefit-check li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.benefit-check li svg {
    color: var(--accent);
}

.quote-form-card {
    background: var(--bg-main);
    padding: 4rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-form .form-group {
    margin-bottom: 1.5rem;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modern-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-form input,
.modern-form select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.modern-form input:focus,
.modern-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.w-100 {
    width: 100%;
}

/* ================= PDF TEMPLATE STYLES ================= */
.pdf-template {
    width: 750px;
    padding: 60px;
    background: white;
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    line-height: 1.5;
}

.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 3px solid #0f172a;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.pdf-logo {
    font-size: 24px;
    font-weight: 800;
    flex: 1;
}

.pdf-logo span {
    color: #2563eb;
}

.pdf-meta {
    text-align: right;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.pdf-status-banner {
    background: #f1f5f9;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}

.pdf-status-banner h2 {
    font-size: 18px;
    letter-spacing: 2px;
}

.pdf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.pdf-info-box h4 {
    font-size: 12px;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.pdf-info-box p {
    font-size: 14px;
    margin-bottom: 5px;
}

.pdf-details-table {
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 100%;
}

.pdf-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.pdf-table-row:last-child {
    border-bottom: none;
}

.pdf-table-row span {
    color: #64748b;
    font-size: 14px;
}

.pdf-table-row strong {
    font-size: 14px;
}

.history-pdf-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.history-pdf-table th,
.history-pdf-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
}

.history-pdf-table th {
    background: #f8fafc;
    color: #64748b;
}

.pdf-footer {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.pdf-stamp {
    width: 120px;
    height: 120px;
    border: 4px solid #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg);
    opacity: 0.8;
}

.stamp-inner {
    text-align: center;
    color: #10b981;
    line-height: 1;
}

.stamp-inner span {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.stamp-inner strong {
    display: block;
    font-size: 18px;
    margin: 5px 0;
}

.stamp-inner small {
    font-size: 9px;
}

.pdf-disclaimer {
    max-width: 400px;
    text-align: right;
    font-size: 10px;
    color: #94a3b8;
}

/* ================= ROUTE VISUALIZATION ================= */
.route-visualization {
    background: #fdfdfd;
    padding: 3rem;
    border-radius: var(--radius-lg);
    margin-bottom: 4rem;
    border: 1px solid #edf2f7;
}

.journey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.journey-header h3 {
    font-size: 1.4rem;
    color: var(--bg-dark);
}

.journey-percentage {
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 5px 15px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.svg-map-container {
    width: 100%;
    padding: 2rem 0;
}

.journey-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.route-path-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 4;
    stroke-linecap: round;
}

.route-path-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s ease-in-out;
}

.point-outer {
    fill: white;
    stroke: #cbd5e1;
    stroke-width: 2;
}

.point-inner {
    fill: var(--bg-dark);
}

.point.destination .point-inner {
    fill: var(--primary);
}

.point-label {
    font-size: 14px;
    font-weight: 700;
    fill: var(--text-muted);
}

.vehicle-marker {
    transition: transform 1s ease-in-out;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.vehicle-bg {
    fill: white;
}

@keyframes vehicleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.vehicle-marker text {
    animation: vehicleFloat 3s ease-in-out infinite;
}

.point.origin .point-outer {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        stroke-width: 2;
        stroke-opacity: 1;
        r: 8;
    }

    100% {
        stroke-width: 20;
        stroke-opacity: 0;
        r: 20;
    }
}

.success-message-container {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: white;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px var(--accent-dark);
}

.success-message-container h3 {
    font-size: 1.8rem;
    color: var(--bg-dark);
    margin-bottom: 1rem;
}

.success-message-container p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= CONTACT SECTION ================= */
.contact-section {
    padding: 10rem 0;
    background: var(--bg-main);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.contact-card {
    background: white;
    padding: 3.5rem;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .quote-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero p,
    .hero-actions,
    .hero-trust {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-card-floating {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }

    .why-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .desktop-nav,
    .desktop-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .result-details {
        grid-template-columns: 1fr;
    }

    .modern-timeline {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .modern-timeline::before {
        width: 4px;
        height: 100%;
        left: 10px;
        top: 0;
    }

    .timeline-node {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .node-dot {
        margin: 0;
    }

    .cta-btns {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Logic */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background: white;
    overflow: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    height: calc(100vh - var(--header-height));
}

.mobile-menu-inner {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
}