/* How It Works Page Styles */

.how-it-works-page {
    font-family: Arial, sans-serif;
    margin-top: 0 !important;
}

/* Hide page title */
body .h1-nav {
    display: none !important;
}

/* Remove all top spacing for this page */
body #content {
    padding-top: 0 !important;
}

body .inside-container {
    padding-top: 0 !important;
}

body #controller_area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body #main_container {
    padding-top: 0 !important;
}

/* Hero Section */
.hiw-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-top: 0 !important;
    margin-bottom: 0;
}

.hiw-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.hiw-hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hiw-hero .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hiw-hero .btn {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    text-transform: none;
    border: none;
    background: white;
    color: #1e3a5f;
    transition: all 0.3s ease;
}

.hiw-hero .btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Our Process Section */
.hiw-process {
    padding: 30px 0;
    background-color: #f9f9f9;
    background-image: url('/templates/boats_flatty/img/watermark.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hiw-process h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #2c5f8d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.process-step p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.hiw-process .text-center {
    margin-top: 40px;
}

.hiw-process .btn {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    border: none;
    background: #2c5f8d;
    color: white;
    transition: all 0.3s ease;
}

.hiw-process .btn:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Why Use Section */
.hiw-why-use {
    padding: 60px 0;
}

.hiw-why-use h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-content .lead {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
    color: #333;
}

.why-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-top: 0;
}

.divider-icon {
    text-align: center;
    margin: 25px 0;
}

.divider-icon img {
    width: auto;
    height: 40px;
    opacity: 0.6;
}

/* Shop Nationwide Inventory */
.hiw-inventory {
    padding: 30px 60px;
    background: #f9f9f9;
}

.hiw-inventory h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.hiw-inventory > .container > p {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

.inventory-cards {
    margin-top: 40px;
    display: flex;
}

.inventory-cards .col-md-6 {
    display: flex;
}

.inventory-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.inventory-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.inventory-card .card-content {
    padding: 15px 30px 25px 30px;
    text-align: center;
}

.inventory-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.inventory-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    min-height: 40px;
}

.inventory-card .btn {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    border: none;
    background: #2c5f8d;
    color: white;
    transition: all 0.3s ease;
}

.inventory-card .btn:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Financing Section */
.hiw-financing {
    padding: 60px 0;
}

.hiw-financing h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.hiw-financing > .container > p {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

.hiw-financing .btn {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    border: none;
    background: #2c5f8d;
    color: white;
    transition: all 0.3s ease;
}

.hiw-financing .btn:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.financing-features {
    max-width: 900px;
    margin: 0 auto 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-icon img {
    width: 100%;
    height: auto;
    max-width: 20px;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.feature-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Smarter Way Section */
.hiw-smarter-way {
    padding: 60px 0;
    background: #f9f9f9;
}

.hiw-smarter-way .col-md-6 {
    padding: 5px 40px;
}

.hiw-smarter-way h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    font-size: 16px;
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: #666;
}

.benefit-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('../../img/icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hiw-smarter-way img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Recently Added Section */
.hiw-recently-added {
    padding: 60px 0;
}

.hiw-recently-added h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.recently-added-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.listing-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.listing-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.listing-card .listing-info {
    padding: 15px;
}

.listing-card h4 {
    font-size: 15px;
    margin: 0;
    color: #333;
}

.listing-card a {
    text-decoration: none;
    color: inherit;
}

/* CTA Section */
.hiw-cta {
    padding: 60px 0;
    background: #ffffff;
}

.hiw-cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.hiw-cta p {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.7;
}

.hiw-cta p a {
    color: #2c5f8d;
    font-weight: 600;
    text-decoration: underline;
}

.hiw-cta p a:hover {
    color: #1e3a5f;
    text-decoration: none;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hiw-cta .btn {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    border: none;
    background: #2c5f8d;
    color: white;
    transition: all 0.3s ease;
}

.hiw-cta .btn:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 991px) {
    .hiw-hero h1 {
        font-size: 36px;
    }

    .inventory-card img,
    .listing-card img {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .hiw-hero {
        padding: 50px 0;
    }

    .hiw-hero h1 {
        font-size: 28px;
    }

    .hiw-process,
    .hiw-why-use,
    .hiw-inventory,
    .hiw-financing,
    .hiw-smarter-way,
    .hiw-recently-added,
    .hiw-cta {
        padding: 40px 0;
    }

    .recently-added-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto 15px;
    }
}
