/* =========================================================
   OEIOE Homepage Styles
   File: assets/css/homepage.css
   ========================================================= */


/* =========================================================
   Shared homepage elements
   ========================================================= */

.home-section {
    padding: 95px 0;
}

.home-section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.home-section-label,
.home-eyebrow {
    display: inline-block;
    color: #c79512;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-section-heading h2,
.home-fleet-content h2 {
    color: #102b45;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin: 13px 0 18px;
}

.home-section-heading p,
.home-fleet-content > p {
    color: #63707d;
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}

.home-section-action {
    margin-top: 42px;
    text-align: center;
}


/* =========================================================
   Homepage buttons
   ========================================================= */

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 27px;
    border: 2px solid transparent;
    border-radius: 9px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.home-btn:hover {
    transform: translateY(-2px);
}

.home-btn-primary {
    background: #d9ac2b;
    border-color: #d9ac2b;
    color: #111820;
}

.home-btn-primary:hover {
    background: #efc64e;
    border-color: #efc64e;
    color: #111820;
}

.home-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.68);
    color: #ffffff;
}

.home-btn-outline:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #102b45;
}

.home-btn-dark {
    background: #102b45;
    border-color: #102b45;
    color: #ffffff;
}

.home-btn-dark:hover {
    background: #19466d;
    border-color: #19466d;
    color: #ffffff;
}

.home-btn-light-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.home-btn-light-outline:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #102b45;
}


/* =========================================================
   Hero
   ========================================================= */

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 105px;
    background:
        radial-gradient(
            circle at 78% 25%,
            rgba(38, 112, 165, 0.35),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #06182c 0%,
            #0b2c49 52%,
            #123d62 100%
        );
    color: #ffffff;
}

.home-hero::before {
    position: absolute;
    top: -170px;
    right: -160px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
}

.home-hero::after {
    position: absolute;
    bottom: -260px;
    left: -190px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: "";
}

.home-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 68px;
}

.home-hero-content h1 {
    max-width: 690px;
    color: #ffffff;
    font-size: clamp(3rem, 5.5vw, 5.25rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    margin: 17px 0 25px;
}

.home-hero-content h1 span {
    color: #e3b633;
}

.home-hero-content > p {
    max-width: 630px;
    color: #d7e1ea;
    font-size: 1.1rem;
    line-height: 1.78;
    margin: 0 0 33px;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 610px;
    margin-top: 47px;
    padding-top: 29px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.home-hero-trust div {
    padding-right: 18px;
}

.home-hero-trust div + div {
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.home-hero-trust strong,
.home-hero-trust span {
    display: block;
}

.home-hero-trust strong {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.home-hero-trust span {
    color: #aebfce;
    font-size: 0.79rem;
    line-height: 1.45;
}

.home-hero-visual {
    position: relative;
}

.home-hero-image-wrap {
    position: relative;
    padding: 22px 17px 30px;
}

.home-hero-image-wrap::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 84%;
    height: 88%;
    border: 1px solid rgba(225, 181, 50, 0.44);
    border-radius: 24px;
    content: "";
}

.home-hero-image-wrap img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 405px;
    object-fit: cover;
    border-radius: 21px;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.38);
}

.home-floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 18px;
    background: #ffffff;
    border: 1px solid rgba(16, 43, 69, 0.08);
    border-radius: 13px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.home-floating-card strong,
.home-floating-card small {
    display: block;
}

.home-floating-card strong {
    color: #102b45;
    font-size: 1rem;
    line-height: 1.2;
}

.home-floating-card small {
    color: #65717d;
    font-size: 0.76rem;
    line-height: 1.4;
    margin-top: 4px;
}

.home-floating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    background: #e3b633;
    color: #102b45;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 900;
}

.home-floating-card-top {
    top: -5px;
    left: -23px;
}

.home-floating-card-bottom {
    right: -15px;
    bottom: 0;
    display: block;
    min-width: 155px;
    text-align: center;
}

.home-floating-card-bottom strong {
    color: #c79512;
    font-size: 1.8rem;
}


/* =========================================================
   Features
   ========================================================= */

.home-features {
    position: relative;
    z-index: 5;
    margin-top: -38px;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #ffffff;
    border: 1px solid #e4e8ec;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(21, 39, 55, 0.12);
}

.home-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 29px 31px;
}

.home-feature-card + .home-feature-card {
    border-left: 1px solid #e5e9ed;
}

.home-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: #f8efcf;
    color: #a77b08;
    border-radius: 11px;
    font-size: 1rem;
    font-weight: 900;
}

.home-feature-card h3 {
    color: #102b45;
    font-size: 1.05rem;
    margin: 1px 0 7px;
}

.home-feature-card p {
    color: #6a7580;
    font-size: 0.87rem;
    line-height: 1.65;
    margin: 0;
}


/* =========================================================
   Services
   ========================================================= */

.home-services {
    background: #ffffff;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-service-card {
    position: relative;
    overflow: hidden;
    padding: 31px 27px;
    background: #f8fafc;
    border: 1px solid #e5e9ed;
    border-radius: 15px;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.home-service-card::after {
    position: absolute;
    right: -28px;
    bottom: -33px;
    width: 95px;
    height: 95px;
    background: rgba(217, 172, 43, 0.08);
    border-radius: 50%;
    content: "";
}

.home-service-card:hover {
    border-color: rgba(201, 149, 18, 0.5);
    box-shadow: 0 18px 38px rgba(22, 45, 66, 0.11);
    transform: translateY(-6px);
}

.home-service-number {
    color: #d1a322;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    margin-bottom: 28px;
}

.home-service-card h3 {
    color: #102b45;
    font-size: 1.22rem;
    margin: 0 0 14px;
}

.home-service-card p {
    color: #687480;
    font-size: 0.91rem;
    line-height: 1.72;
    margin: 0 0 23px;
}

.home-service-card a {
    position: relative;
    z-index: 2;
    color: #ad7f08;
    font-size: 0.87rem;
    font-weight: 800;
    text-decoration: none;
}

.home-service-card a span {
    margin-left: 5px;
}


/* =========================================================
   Fleet
   ========================================================= */

.home-fleet {
    background: #f3f6f8;
}

.home-fleet-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 65px;
}

.home-fleet-content > p {
    margin-bottom: 27px;
}

.home-check-list {
    padding: 0;
    margin: 0 0 33px;
    list-style: none;
}

.home-check-list li {
    position: relative;
    color: #52606d;
    font-size: 0.94rem;
    line-height: 1.55;
    padding-left: 30px;
    margin-bottom: 14px;
}

.home-check-list li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    background: #e4b632;
    color: #102b45;
    border-radius: 50%;
    content: "✓";
    font-size: 0.7rem;
    font-weight: 900;
}

.home-fleet-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-vehicle-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e1e6ea;
    border-radius: 16px;
    box-shadow: 0 15px 36px rgba(28, 48, 66, 0.09);
}

.home-vehicle-image {
    overflow: hidden;
    height: 225px;
    background: #dfe5e9;
}

.home-vehicle-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-vehicle-card:hover .home-vehicle-image img {
    transform: scale(1.045);
}

.home-vehicle-info {
    padding: 24px;
}

.home-vehicle-info > span {
    display: block;
    color: #b2850d;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.home-vehicle-info h3 {
    color: #102b45;
    font-size: 1.25rem;
    margin: 0 0 11px;
}

.home-vehicle-info p {
    color: #697580;
    font-size: 0.87rem;
    line-height: 1.66;
    margin: 0;
}


/* =========================================================
   How it works
   ========================================================= */

.home-process {
    background: #ffffff;
}

.home-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.home-process-grid::before {
    position: absolute;
    top: 29px;
    right: 17%;
    left: 17%;
    height: 1px;
    background: #dfe4e8;
    content: "";
}

.home-process-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.home-process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 59px;
    height: 59px;
    margin-bottom: 23px;
    background: #102b45;
    color: #ffffff;
    border: 7px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #dfe4e8;
    font-size: 1rem;
    font-weight: 900;
}

.home-process-step h3 {
    color: #102b45;
    font-size: 1.15rem;
    margin: 0 0 11px;
}

.home-process-step p {
    max-width: 320px;
    color: #697580;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 auto;
}


/* =========================================================
   Testimonials
   ========================================================= */

.home-testimonials {
    background: #f3f6f8;
}

.home-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-testimonial-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e1e6ea;
    border-radius: 15px;
    box-shadow: 0 13px 32px rgba(26, 45, 62, 0.07);
}

.home-stars {
    color: #d7a824;
    font-size: 0.88rem;
    letter-spacing: 0.11em;
    margin-bottom: 20px;
}

.home-testimonial-card blockquote {
    color: #475561;
    font-size: 0.94rem;
    font-style: normal;
    line-height: 1.75;
    margin: 0 0 25px;
}

.home-customer {
    display: flex;
    align-items: center;
    gap: 13px;
}

.home-customer-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    background: #102b45;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 800;
}

.home-customer strong,
.home-customer span {
    display: block;
}

.home-customer strong {
    color: #102b45;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.home-customer span {
    color: #7a858f;
    font-size: 0.76rem;
}


/* =========================================================
   Final call to action
   ========================================================= */

.home-cta {
    padding: 80px 0;
    background: #ffffff;
}

.home-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 52px 58px;
    background:
        linear-gradient(
            130deg,
            #071a2e 0%,
            #0d3557 55%,
            #174c75 100%
        );
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(19, 45, 68, 0.22);
}

.home-cta-content {
    max-width: 680px;
}

.home-cta-content > span {
    display: block;
    color: #dfb330;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-cta-content h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin: 11px 0 14px;
}

.home-cta-content p {
    color: #c6d3de;
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

.home-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 13px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {

    .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-fleet-layout {
        grid-template-columns: 1fr;
    }

    .home-fleet-content {
        max-width: 760px;
    }

}


@media (max-width: 900px) {

    .home-section {
        padding: 78px 0;
    }

    .home-hero {
        padding: 75px 0 90px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .home-hero-content {
        max-width: 740px;
        text-align: center;
        margin: 0 auto;
    }

    .home-hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .home-hero-actions {
        justify-content: center;
    }

    .home-hero-trust {
        margin-right: auto;
        margin-left: auto;
    }

    .home-hero-visual {
        width: min(760px, 100%);
        margin: 0 auto;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature-card + .home-feature-card {
        border-top: 1px solid #e5e9ed;
        border-left: 0;
    }

    .home-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .home-testimonial-card {
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }

    .home-cta-box {
        display: block;
        padding: 45px;
        text-align: center;
    }

    .home-cta-content {
        margin: 0 auto;
    }

    .home-cta-actions {
        justify-content: center;
        margin-top: 28px;
    }

}


@media (max-width: 700px) {

    .home-section {
        padding: 65px 0;
    }

    .home-section-heading {
        margin-bottom: 36px;
    }

    .home-hero {
        padding: 62px 0 75px;
    }

    .home-hero-content h1 {
        font-size: 3rem;
    }

    .home-hero-trust {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .home-hero-trust div {
        padding: 0;
    }

    .home-hero-trust div + div {
        padding: 17px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        border-left: 0;
    }

    .home-hero-image-wrap {
        padding: 14px 8px 24px;
    }

    .home-hero-image-wrap img {
        min-height: 280px;
    }

    .home-floating-card {
        position: static;
        margin-top: 13px;
    }

    .home-floating-card-bottom {
        display: block;
        width: 100%;
    }

    .home-features {
        margin-top: -25px;
    }

    .home-services-grid,
    .home-fleet-cards,
    .home-process-grid {
        grid-template-columns: 1fr;
    }

    .home-process-grid::before {
        display: none;
    }

    .home-process-step {
        padding: 22px;
        background: #f8fafc;
        border: 1px solid #e4e8ec;
        border-radius: 13px;
    }

    .home-vehicle-image {
        height: 245px;
    }

    .home-cta {
        padding: 60px 0;
    }

    .home-cta-box {
        padding: 38px 24px;
    }

}


@media (max-width: 520px) {

    .home-hero-content h1 {
        font-size: 2.55rem;
    }

    .home-hero-actions,
    .home-cta-actions {
        flex-direction: column;
    }

    .home-btn {
        width: 100%;
    }

    .home-feature-card {
        padding: 25px 22px;
    }

    .home-service-card,
    .home-testimonial-card {
        padding: 25px 22px;
    }

}