/* ==========================================================================
   CSS Variables / Design System
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-darker: #050505;
    --bg-dark: #0f0f11;
    --bg-card: #16161a;
    --bg-card-hover: #1e1e24;

    /* Vibrant Red Theme */
    --accent-red: #e62323;
    --accent-red-hover: #ff2a2a;
    --accent-red-glow: rgba(230, 35, 35, 0.4);

    /* Text Colors */
    --text-primary: #f8f9fa;
    --text-secondary: #a0a0ab;
    --text-muted: #6c707d;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease-in-out;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* ==========================================================================
   Global Resets & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.accent-color {
    color: var(--accent-red);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-family: var(--font-main);
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
    box-shadow: 0 4px 15px var(--accent-red-glow);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 42, 42, 0.5);
}

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

.btn-outline:hover {
    background: var(--accent-red);
    box-shadow: 0 4px 15px var(--accent-red-glow);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color var(--transition-normal), padding var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--accent-red);
}

.logo-sub {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    position: relative;
}

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

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

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    padding: var(--space-xl) 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: var(--space-md);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

.footer-links a:hover {
    color: var(--accent-red);
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    background-color: var(--bg-darker);
    text-align: center;
    padding: var(--space-md) 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Utility Classes & Sections
   ========================================================================== */
.section-padding {
    padding: var(--space-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-inline: auto;
}

.section-subtitle {
    display: block;
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* offset for header */
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.7) 50%, rgba(5, 5, 5, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(230, 35, 35, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(230, 35, 35, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-buttons .btn i {
    margin-left: 0.5rem;
}

.trust-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-md);
    width: 100%;
    margin-top: var(--space-xxl);
    background: linear-gradient(90deg, rgba(230, 35, 35, 0.05) 0%, rgba(20, 20, 25, 0.6) 20%, rgba(20, 20, 25, 0.6) 80%, rgba(230, 35, 35, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.trust-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 var(--space-sm);
}

.trust-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.trust-item strong {
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 800;
    display: block;
    margin-bottom: 0.2rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background-color: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(230, 35, 35, 0.2);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 35, 35, 0.1);
    color: var(--accent-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--accent-red);
    color: white;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Equipment Section
   ========================================================================== */
.equipment {
    background-color: var(--bg-darker);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.equipment-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.equipment-image {
    height: 180px;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Tranzivo Logistics Branding Overlay for Images */
.equipment-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(230, 35, 35, 0.2); /* Brand red tint overlay */
    mix-blend-mode: color;
    /* Blends the red into the image */
    z-index: 1;
}

.equipment-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%); */
    z-index: 2;
}

.dry-van {
    background-image: url('assets/dry_van.png');
}

.reefer {
    background-image: url('assets/reefer.png');
}

.flatbed {
    background-image: url('assets/flatbed.png');
}

.car-hauler {
    background-image: url('assets/car_hauler.png');
}


/* Placeholder gradient since quota was exhausted */

.equipment-content {
    padding: var(--space-lg);
}

.equipment-content h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
    color: var(--accent-red);
}

.equipment-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Benefits / Why Us Section
   ========================================================================== */
.benefits {
    background-color: var(--bg-dark);
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: stretch;
}

.benefits-img-wrapper {
    position: relative;
    height: 100%;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a24 0%, #0d0d12 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(230, 35, 35, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefits-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--accent-red);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(230, 35, 35, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}

.benefits-text-col .section-subtitle,
.benefits-text-col .section-title {
    text-align: left;
    margin-bottom: var(--space-sm);
}

.benefits-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefits-list i {
    color: var(--accent-red);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.benefits-list h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.benefits-list p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing {
    background-color: var(--bg-darker);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured {
    background: linear-gradient(145deg, var(--bg-card) 0%, #1a1515 100%);
    border-color: rgba(230, 35, 35, 0.3);
    position: relative;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 40px rgba(230, 35, 35, 0.15);
}


.pricing-card .btn {
    width: 100%;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-grid {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Form Styles */
.contact-form-container {
    background: transparent;
    padding: 0;
    width: 100%;
    max-width: 750px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group.hidden {
    display: none;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-red);
    box-shadow: 0 4px 15px rgba(230, 35, 35, 0.1);
}

.btn-submit {
    margin-top: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Highlighted Contact Info Styles */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    background-color: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform var(--transition-normal), border-color var(--transition-fast);
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 35, 35, 0.3);
}

.info-icon {
    background-color: rgba(230, 35, 35, 0.1);
    color: var(--accent-red);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.info-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.highlight-contact {
    display: inline-block;
    font-size: 1.8rem;
    /* Highly visible */
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.highlight-contact.text-sm {
    font-size: 1.2rem;
}

.highlight-contact:hover {
    color: var(--accent-red);
}

.setup-requirements {
    background: linear-gradient(145deg, var(--bg-card) 0%, #1a1515 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-red);
}

.setup-requirements h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.setup-requirements p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.setup-requirements ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.setup-requirements li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.setup-requirements li i {
    color: var(--accent-red);
    margin-top: 0.2rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(230, 35, 35, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    padding-right: var(--space-md);
}

.faq-question i {
    color: var(--accent-red);
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    padding: 0 var(--space-lg);
    /* Only horizontal padding when closed */
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    padding-bottom: var(--space-lg);
    /* Buffer at the bottom of the text */
}

/* Active State */
.faq-item.active {
    border-color: var(--accent-red);
    box-shadow: 0 4px 20px rgba(230, 35, 35, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(135deg);
    /* Turns the plus into an X */
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large value to allow expansion */
    opacity: 1;
    /* padding handles itself based on the p tag and horizontal padding rule */
}

/* ==========================================================================
   Responsive Design Optimizations
   ========================================================================== */

/* Large Desktop Adjustments */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Tablet & Smaller Desktop Adjustments */
@media (max-width: 1024px) {
    :root {
        --space-xl: 3rem;
        --space-xxl: 4.5rem;
        /* Reduce massive gaps on smaller screens */
    }

    .hero-content {
        padding-top: 2rem;
    }

    .benefits-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .benefits-img-wrapper {
        max-width: 500px;
        margin: 0 auto;
        order: -1;
        /* Push image to top of stack */
    }

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

    .benefits-text-col .section-subtitle,
    .benefits-text-col .section-title {
        text-align: center;
    }

    .benefits-list {
        width: fit-content;
        margin-inline: auto;
    }

    .benefits-list li {
        text-align: left;
        margin-inline: 0;
        max-width: 600px;
    }

    .pricing-grid {
        grid-template-columns: minmax(320px, 450px);
        /* Constrain width on tablet */
        justify-content: center;
    }

    .pricing-card.featured {
        transform: scale(1);
        /* Prevent scale overlap issues on smaller screens */
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .contact-grid {
        display: flex;
    }
}

/* Mobile & Tablet Portrait Adjustments */
@media (max-width: 768px) {
    :root {
        --space-xl: 2.5rem;
        --space-xxl: 3.5rem;
        --space-lg: 1.5rem;
        --space-md: 1rem;
    }

    /* Header tweaks */
    .nav-menu {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-container {
        padding: 0 var(--space-md);
    }

    /* Fix hero gap on mobile - start content near top instead of centering */
    .hero {
        align-items: flex-start;
        padding-top: 100px;
        /* header height + small breathing room */
        min-height: auto;
        /* Don't force full viewport height on mobile */
        background-attachment: scroll;
        /* Fix: background-attachment: fixed is not supported on iOS/mobile
           and causes the hero image to jump/jitter when scrolling */
    }

    /* Typography scale down */
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    /* Layout stacking */
    .trust-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg) var(--space-md);
        padding: var(--space-lg);
        margin-top: var(--space-xl);
        background: rgba(20, 20, 25, 0.8);
    }

    .trust-item:not(:last-child) {
        border-right: none;
    }

    .trust-item {
        border: none;
        padding: 0;
    }

    .trust-item i {
        font-size: 2rem;
    }

    .trust-item strong {
        font-size: 1.1rem;
    }

    .trust-item p {
        font-size: 0.85rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Form Adjustments */
    .contact-form-container {
        padding: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Grid layout flattening for pure mobile */
    .services-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .equipment-image {
        height: 200px;
        /* Give images slightly more presence on tiny screens stacked */
    }

    .floating-badge {
        bottom: -15px;
        right: 15px;
        padding: 1rem;
        flex-direction: column;
        gap: 0.2rem;
        text-align: center;
    }

    .badge-number {
        font-size: 2rem;
    }

    .pricing-card {
        padding: var(--space-lg);
    }

    .price {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.hidden {
    display: none !important;
}

/* ==========================================================================
   Form Result Feedback (Web3Forms)
   ========================================================================== */
.form-result {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInMsg 0.4s ease;
}

.form-result.form-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    /* Soft green */
}

.form-result.form-error {
    background-color: rgba(230, 35, 35, 0.1);
    border: 1px solid rgba(230, 35, 35, 0.3);
    color: #fca5a5;
    /* Soft red */
}

@keyframes fadeInMsg {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Floating Call Button
   ========================================================================== */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-red);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(230, 35, 35, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 35, 35, 0.6);
    color: white;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    z-index: -1;
    animation: pulsate 2s ease-out infinite;
    opacity: 0;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Adjust button position on smaller screens */
@media (max-width: 768px) {
    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process {
    background-color: var(--bg-darker);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    position: relative;
    padding-top: var(--space-md);
}

.process-grid::before {
    content: '';
    position: absolute;
    top: calc(var(--space-md) + 35px);
    /* Centers with step-number */
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, rgba(230, 35, 35, 0) 0%, rgba(230, 35, 35, 0.5) 50%, rgba(230, 35, 35, 0) 100%);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    transition: transform var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--bg-card);
    border: 2px solid var(--accent-red);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto var(--space-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
    position: relative;
}

.process-step:hover .step-number {
    background-color: var(--accent-red);
    color: white;
    box-shadow: 0 0 20px rgba(230, 35, 35, 0.4);
    transform: scale(1.05);
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .process-grid::before {
        display: none;
    }
}

/* ==========================================================================
   Static Pages (About, Privacy, Terms)
   ========================================================================== */
.header.static {
    background-color: rgba(5, 5, 5, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header {
    padding: 150px 0 80px;
    background-color: var(--bg-dark);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--accent-red);
}

.page-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.page-content p, .page-content ul {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-content ul {
    padding-left: 20px;
    list-style: disc;
}