body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #fff;
    color: #222;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
    padding-top: 120px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../../images/hero-bg.jpg) center center/cover no-repeat;
    opacity: 0.5;
    z-index: 1;
    transition: opacity 0.3s;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0;
}

.hero-left {
    flex: 1.2;
    color: #fff;
    padding-right: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-left h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 22px;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-left p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
}

.btn {
    padding: 15px 36px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-red {
    background: #b10f2e;
    color: #fff;
}

.btn-red:hover {
    background: #8a0c23;
    transform: translateY(-2px) scale(1.04);
}

.btn-blue {
    background: #0a2342;
    color: #fff;
}

.btn-blue:hover {
    background: #06172a;
    transform: translateY(-2px) scale(1.04);
}

.hero-trust {
    display: flex;
}

.hero-trust img {
    margin-right: 10px;
    vertical-align: middle;
    height: 48px;
}

.hero-right {
    flex: 1;
    background: #b10f2e;
    border-radius: 12px;
    padding: 38px 34px 34px 34px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    min-width: 340px;
    max-width: 400px;
}

.hero-form h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.amazon-logo {
    font-weight: 700;
    color: #fff;
    font-size: 1.1em;
}

.hero-form input,
.hero-form textarea {
    width: 100%;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.hero-form textarea {
    min-height: 70px;
}

.hero-form button {
    width: 100%;
    margin-top: 8px;
}

.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 36px 0;
    position: relative;
    overflow: hidden;
}

.partnersSwiper {
    width: 90%;
    max-width: 1100px;
}

.partnersSwiper .swiper-wrapper {
    align-items: center;
}

.partnersSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.partnersSwiper .swiper-slide img {
    height: 120px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(0.2) brightness(0.98);
    transition: filter 0.2s, transform 0.2s;
}

.partnersSwiper .swiper-slide img:hover {
    filter: grayscale(0) brightness(1.1);
    transform: scale(1.07);
}

@media (max-width: 900px) {
    .partnersSwiper {
        width: 100%;
    }

    .partnersSwiper .swiper-slide img {
        height: 120px;
        max-width: 180px;
    }
}

/* Add more styles for each section */

/* --- Voice to Book Section --- */
.voice-to-book {
    background: #f7f8fa;
    padding: 60px 0;
}

.voice-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 48px;
}

.voice-text {
    flex: 1.2;
}

.voice-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #0a2342;
}

.voice-text p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    color: #333;
}

.voice-buttons {
    display: flex;
    gap: 16px;

}

.voice-imgs {
    flex: 1;
    display: flex;
    justify-content: center;
}

.voice-imgs img {
    max-width: 320px;
    border-radius: 12px;
    /* box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); */
}

/* --- Publishing Process Section --- */
.publishing-process {
    background: #0a2342;
    color: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}

.publishing-process h2 {
    font-size: 2rem;
    margin-bottom: 36px;
    font-weight: 700;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.process-step {
    background: #fff;
    color: #0a2342;
    border-radius: 10px;
    padding: 28px 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step img {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.process-step span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- Process Steps Boxes --- */
.process-steps-boxes {
    background: #f7f8fa;
    padding: 60px 0 40px 0;
    text-align: center;
}

.steps-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a2342;
    margin-bottom: 36px;
    letter-spacing: -1px;
}

.steps-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 36px 32px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: stretch;
    align-items: stretch;
}

/* Remove special grid placement for 4th and 5th cards to allow natural flow */
.steps-boxes-grid .step-box:nth-child(4),
.steps-boxes-grid .step-box:nth-child(5) {
    grid-column: auto !important;
    grid-row: auto !important;
}

.step-box {
    background: #F4F6F8;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    padding: 38px 32px 32px 32px;
    min-width: 0;
    max-width: none;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
}

.step-box:hover {
    /* box-shadow: 0 8px 32px rgba(177,15,46,0.13); */
    /* transform: translateY(-6px) scale(1.03); */
    z-index: 2;
}

.step-icon {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}

.step-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 14px;
    margin-top: 0;
    text-align: center;
}

.step-box p {
    font-size: 1rem;
    color: #222;
    margin: 0;
    text-align: center;
}

@media (max-width: 1100px) {
    .steps-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 28px 20px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .voice-text {
        padding-left: 10px;
    }

    .quote-left strong {
        padding: 10px;
    }

    .steps-boxes-grid .step-box:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .steps-boxes-grid .step-box:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .step-box {
        padding: 28px 18px 24px 18px;
    }

    .step-box h3 {
        font-size: 1rem;
    }

    .step-icon {
        height: 48px;
    }

    .voice-buttons {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {
    .steps-boxes-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 16px 0;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
    }

    .step-box {
        min-width: 0;
        max-width: 100vw;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 6px 14px 6px;
        margin: 0 auto;
    }

    .step-box h3 {
        font-size: 1rem;
    }

    .step-icon {
        height: 32px;
    }
}

/* --- Recent Works Section --- */
.recent-works {
    position: relative;
    padding: 64px 0 48px 0;
    background: linear-gradient(135deg, #b31217 0%, #2d3a5a 100%);
    overflow: hidden;
    min-height: 480px;
}

.recent-works h2,
.recent-works .text-white,
.recent-works .heading-white {
    color: #fff !important;
    font-size: 2.3rem;
    margin-bottom: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 4;
    text-align: center;
}

.recent-works-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.americanlegacypublishers.com/wp-content/uploads/2025/06/bg-dashed-lines.png') center no-repeat;
    z-index: 1;
}

.recent-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(177, 15, 46, 0.92) 0%, rgba(10, 35, 66, 0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

.recent-works h2,
.recent-works .swiper,
.recent-works .swiper-pagination,
.recent-works .swiper-button-next,
.recent-works .swiper-button-prev {
    position: relative;
    z-index: 4;
}

.myRecentWorksSwiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 0 0 0;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.myRecentWorksSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.myRecentWorksSwiper .swiper-slide img {
    width: 370px;
    height: 595px;
    max-width: 100%;
    max-height: 80vw;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.18);
    background: #fff;
    object-fit: cover;
    transition: transform 0.2s, box-shadow 0.2s;
}

.myRecentWorksSwiper .swiper-slide img:focus {
    outline: 2px solid #b31217;
    outline-offset: 2px;
}

.myRecentWorksSwiper .swiper-slide img:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.myRecentWorksSwiper .swiper-pagination {
    margin-top: 18px;
}

.myRecentWorksSwiper .swiper-button-next,
.myRecentWorksSwiper .swiper-button-prev {
    color: #0a2342;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    opacity: 1;
}

.myRecentWorksSwiper .swiper-button-next {
    right: -64px;
    left: auto;
}

.myRecentWorksSwiper .swiper-button-prev {
    left: -64px;
    right: auto;
}

@media (max-width: 1200px) {
    .myRecentWorksSwiper {
        max-width: 900px;
        min-height: 520px;
    }

    .myRecentWorksSwiper .swiper-button-next {
        right: -32px;
    }

    .myRecentWorksSwiper .swiper-button-prev {
        left: -32px;
    }
}

@media (max-width: 900px) {
    .myRecentWorksSwiper {
        max-width: 100vw;
        min-height: 400px;
    }

    .myRecentWorksSwiper .swiper-slide img {
        width: 260px;
        height: 550px;
    }

    .myRecentWorksSwiper .swiper-button-next,
    .myRecentWorksSwiper .swiper-button-prev {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        right: 0;
        left: 0;
    }

    .myRecentWorksSwiper .swiper-button-next {
        right: 0;
    }

    .myRecentWorksSwiper .swiper-button-prev {
        left: 0;
    }
}

@media (max-width: 600px) {
    .myRecentWorksSwiper {
        min-height: 220px;
    }

    .myRecentWorksSwiper .swiper-slide img {
        width: 90vw;
        max-width: 226px;
        height: 387px;
    }

    .myRecentWorksSwiper .swiper-button-next,
    .myRecentWorksSwiper .swiper-button-prev {
        display: none !important;
    }
}

/* --- Testimonials Section --- */
.testimonials {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a2342;
    margin-bottom: 36px;
    letter-spacing: -1px;
}

.testimonials-flex {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-video {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-video video {
    width: 100%;
    max-width: 340px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    background: #f4f6f8;
    min-height: 640px;
}

.testimonial-center {
    flex: 1.1;
    background: #fff;
    border-radius: 18px;
    /* box-shadow: 0 4px 24px rgba(0,0,0,0.10); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 38px 32px 32px 32px;
    min-width: 260px;
    max-width: 380px;
}

.testimonial-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.testimonial-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: #222;
    margin: 0;
}

@media (max-width: 1100px) {
    .testimonials-flex {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .testimonial-video video {
        max-width: 98vw;
    }
    .testimonial-video{
        padding: 15px;
    }

    .testimonial-center {
        max-width: 98vw;
    }
}

/* --- Contact Section --- */
.contact-section {
    position: relative;
    background: #0a2342;
    color: #fff;
    padding: 70px 0 60px 0;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.americanlegacypublishers.com/wp-content/uploads/2025/06/cta-footer-1.jpg') center center/cover no-repeat;
    opacity: 0.95;
    z-index: 1;
}

.contact-bg-shade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55); /* adjust opacity as needed */
    z-index: 2;
    pointer-events: none;
}

.contact-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    color: #fff;
    border-radius: 12px;
    padding: 36px 32px 32px 32px;
    min-width: 420px;
    max-width: 420px;
    margin-bottom: 32px;
}

.contact-info h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 28px;
    font-family: 'Georgia', serif;
    color: #fff;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    font-size: 1.18rem;
    margin-bottom: 18px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 10px;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list i {
    font-size: 1.3em;
    margin-right: 16px;
    color: #B10F2E;
    min-width: 28px;
    text-align: center;
}

.contact-list .contact-note {
    font-size: 0.98em;
    color: #b0c4d4;
    margin-left: 6px;
    font-weight: 400;
}

.contact-phone {
    color: #ff4d4d;
    font-weight: 600;
    text-decoration: underline;
}

.contact-form {
    flex: 1;
    background: rgba(10, 35, 66, 0.98);
    color: #fff;
    border-radius: 16px;
    padding: 38px 34px 34px 34px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    min-width: 340px;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 400;
    text-align: center;
}

.contact-form h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 18px;
    font-weight: 700;
    text-align: center;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-bottom: 14px;
    padding: 13px 14px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    background: #fff;
    color: #0a2342;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.contact-form textarea {
    min-height: 90px;
}

.contact-form button {
    width: 100%;
    margin-top: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
}

.contact-row {
    display: flex;
    gap: 12px;
}

.contact-row input {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    .contact-info h2{
        font-size: 1.6rem;
        padding-left: 34px;

    }

    .contact-form {
        min-width: 0;
        max-width: 98vw;
    }
}

/* --- Quote Section --- */
.quote-section {
    background: #F4F6F8;
    padding: 60px 0 40px 0;
    width: 100%;
}

.quote-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 48px;
}

.quote-left {
    flex: 1.5;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-section blockquote {
    font-size: 2.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 18px;
    line-height: 1.18;
    border: none;
    background: none;
    padding: 0;
}

.quote-section blockquote span {
    font-size: 1.1rem;
    font-weight: 400;
    color: #222;
}

.quote-section blockquote strong {
    font-weight: 800;
    color: #111;
}

.quote-subtext {
    font-size: 1rem;
    color: #444;
    margin-bottom: 24px;
}

.quote-buttons {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}

.quote-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

@media (max-width: 900px) {
    .quote-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .quote-left {
        align-items: center;
        text-align: center;
    }

    .contact-info {
        padding: 14px;
    }

    .contact-list li {
        padding-left: 34px;
        padding-right: 10px;
    }

    .quote-img {
        max-width: 160px;
    }

    .quote-buttons {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    .hero-buttons{
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    .hero-trust{
        justify-content: center;
        align-items: center;
    }
}

/* --- Navigation --- */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 18px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #b10f2e;
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
    }

    .hero-left,
    .hero-right,
    .hero-right.hero-form-card {
        padding-right: 0;
        max-width: 100%;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-left {
        margin-bottom: 32px;
        text-align: center;
        align-items: center;
    }

    .hero-right.hero-form-card {
        margin-top: 0;
        padding: 28px 10px 24px 10px;
        min-width: 0;
        max-width: 98vw;
    }

    .hero-form-header h2 {
        font-size: 1.3rem;
    }

    .hero-form-logo {
        max-width: 120px;
    }

    .hero-section {
        min-height: 0;
        padding: 30px 0;
    }

    .voice-container,
    .process-steps,
    .steps-boxes,
    .contact-container,
    .testimonial-cards {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .process-step,
    .step-box,
    .testimonial-card,
    .contact-form {
        width: 90%;
        max-width: 400px;
    }

    .swiper {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding-top: 100px;
    }

    .hero-left h1 {
        font-size: 30px;
    }

    .hero-form-header h2 {
        font-size: 1.1rem;
    }

    .hero-form-logo {
        max-width: 90px;
    }

    .hero-form input,
    .hero-form textarea {
        font-size: 0.95rem;
        padding: 10px 8px;
    }
}

/* --- Modern Publishing Process Grid --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.process-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    min-height: 340px;
    cursor: pointer;
    background: #fff;
    transition: box-shadow 0.3s;
}

.process-card img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(.4, 2, .6, 1);
    display: block;
}

.process-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 24px 24px 24px;
    color: #fff;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
}

.process-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.process-card p {
    font-size: 1.05rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.process-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(10, 35, 66, 0.88) 60%, rgba(10, 35, 66, 0.2) 100%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s;
}

.process-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.process-card:hover img {
    transform: scale(1.08);
}

.process-card:hover::before {
    opacity: 1;
}

.process-card:hover .process-card-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card img {
        min-height: 420px;
    }
}

/* --- Custom Flex Grid for Publishing Process --- */
.process-flex-grid {
    display: flex;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}

.process-col-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.process-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: stretch;
}

.process-card.large {
    height: 92%;
    min-height: 460px;
}

.process-col-left .process-card.large img {
    min-height: 460px;
}

.process-card {
    min-height: 220px;
    flex: 1;
    max-width: 500px;
}

@media (max-width: 1100px) {
    .process-flex-grid {
        flex-direction: column;
        gap: 24px;
        padding: 10px;
    }

    .process-col-left,
    .process-col-right {
        width: 100%;
    }

    .process-card.large,
    .process-col-left .process-card.large img {
        min-height: 320px;
    }
}

.hero-right.hero-form-card {
    background: #b10f2e;
    border-radius: 16px;
    padding: 44px 38px 38px 38px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    min-width: 340px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.hero-form-header {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-form-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.hero-form-logo {
    max-width: 180px;
    width: 100%;
    margin-bottom: 0;
    display: block;
}

.hero-form input,
.hero-form textarea {
    width: 100%;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    resize: none;
    background: #fff;
    color: #0a2342;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.hero-form textarea {
    min-height: 80px;
}

.hero-form button {
    width: 100%;
    margin-top: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .hero-right.hero-form-card {
        min-width: 0;
        max-width: 98vw;
        padding: 32px 10px 28px 10px;
    }

    .hero-form-header h2 {
        font-size: 1.3rem;
    }

    .hero-form-logo {
        max-width: 120px;
    }
}

/* Header for Terms & Conditions and Main Site */
.main-page-header.hero-header {
  background: transparent !important;
  box-shadow: none;
}

.hero-header {
  background: #15313b;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 0;
  width: 100%;
  transition: transform 0.3s ease-in-out;
}

.hero-header.hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 12px 32px;
  box-sizing: border-box;
}
.hero-header-left img {
  height: 80px;
  max-width: 260px;
  width: auto;
}
.hero-header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.hero-header-phone {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-right: 8px;
  transition: color 0.2s;
}
.hero-header-phone:hover {
  color: #ffa53b;
}
.hero-header-livechat-btn {
  background: #B10F2E;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-header-livechat-btn:hover {
  background: #8a0c23;
}
@media (max-width: 700px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    padding: 10px 8px 8px 8px;
  }
  .hero-header-left img {
    height: 38px;
    max-width: 160px;
  }
  .hero-header-right {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
  }
  .hero-header-phone, .hero-header-livechat-btn {
    width: 90%;
    text-align: center;
    justify-content: center;
  }
  .hero-header-livechat-btn {
    padding: 10px 0;
    font-size: 0.95rem;
  }
}

/* Add top padding to main for fixed header */
.legal-section {
  margin-top: 110px;
}

/* Fixed left social bar */
.fixed-social-bar, .fixed-action-bar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: transparent;
  align-items: center;
}

.fixed-social-bar { left: 0; }
.fixed-action-bar { right: 0; }

.fixed-social-bar a,
.fixed-action-bar a,
.fixed-action-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f7fafc;
  color: #15313b;
  border-radius: 0px;
  border-radius:  6px 0 0 6px;
  /* box-shadow: 0 2px 12px rgba(0,0,0,0.10); */
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.18s;
  margin: 0;
  outline: none;
}

.fixed-social-bar a:hover,
.fixed-action-bar a:hover,
.fixed-action-bar button:hover {
  background: #b10f2e;
  color: #fff;
  transform: scale(1.08);
}

.fixed-action-bar .get-quote-btn {
  background: #f7fafc;
  color: #15313b;
  font-size: 1.1rem;
  font-weight: 700;
  /* border-radius: 14px 0 0 14px; */
  border-radius:  6px 0 0 6px;
  width: 48px;
  height: 170px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: background 0.22s, color 0.22s, transform 0.18s;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.fixed-action-bar .get-quote-btn:hover {
  background: #b10f2e;
  color: #fff;
  transform: scale(1.04);
}

.fixed-action-bar .get-quote-btn .vertical-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  transform: rotate(-90deg);
  gap: 7px;
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
  transition: color 0.22s;
  height: auto;
  width: auto;
}

.fixed-action-bar .get-quote-btn .fa-file-signature {
  font-size: 1.3em;
  margin-bottom: 6px;
  display: block;
}

@media (max-width: 900px) {
  .fixed-social-bar, .fixed-action-bar { display: none; }
}

/* Hero Highlights */
.hero-highlight {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
  background: #ffa53b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.hero-highlight-main {
  background: #B10F2E;
  color: #fff;
  margin-bottom: 8px;
}
.hero-highlight-sub {
  color: #fff;
  margin-bottom: 18px;
}

/* Hero Feature List */
.hero-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}
.hero-feature-item {
  /* background: #15313b; */
  color: #fff;
  border-radius: 7px;
  margin-bottom: 2px;
  /* padding: 8px 18px 8px 18px; */
  font-size: 1.08rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.08); */
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
}
.hero-feature-item:before {
  content: '\2022';
  color: #ffa53b;
  font-size: 1.5em;
  margin-right: 12px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.contact-footer-separator {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 32px 0 0 0;
}

.contact-footer {
  text-align: center;
  padding: 18px 0 10px 0;
  font-size: 1rem;
  color: #fff;
  background: #15313b;
}

.contact-footer .footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 6px;
  font-weight: 600;
}

.contact-footer .footer-links a:hover {
  text-decoration: underline;
}