*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Remove bottom gap */
}

body {
    font-family: 'Lato', sans-serif;
    /* margin: 0; */
    /* This line is now redundant due to the html, body rule above */
    padding: 0;
    color: #333;
    line-height: 1.6;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header & Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    height: 40px;
    width: auto;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    color: #333;
    font-family: 'Lato', sans-serif;
}

.logo-subtext {
    font-size: 10px;
    color: #777;
    margin: 2px 0 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-est {
    font-size: 10px;
    color: #777;
    margin: 2px 0 0;
}

.utility-icons {
    display: flex;
    gap: 20px;
    font-size: 18px;
    color: #555;
    align-items: center;
}

.utility-icons .icon {
    cursor: pointer;
    position: relative;
}

.badg {
    background-color: #F58220;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -8px;
}

/* Navigation */
.main-nav {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 0 10%;
}

.main-nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 60px;
    flex-wrap: wrap;
    /* Allow wrapping if width is constricted */
}

.main-nav li a {
    font-weight: 700;
    color: #444;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 15px;
    transition: color 0.3s;
}

.main-nav li a:hover {
    color: #F58220;
}

.nav-cta {
    background-color: #F58220;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 30px;
    font-weight: 900 !important;
}

.nav-cta:hover {
    background-color: #d96e16;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Navigation */
@media (max-width: 991px) {
    .top-bar {
        padding: 15px 5%;
    }

    .hamburger {
        display: flex;
    }

    .utility-icons {
        display: none;
        /* Hide for cleaner look on mobile */
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: right 0.3s ease;
        padding-top: 80px;
        padding-left: 5%;
        padding-right: 5%;
        display: block;
        border-bottom: none;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        height: auto;
        padding: 0;
        align-items: flex-start;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav li a {
        display: block;
        padding: 20px 30px;
        border-bottom: 1px solid #eee;
        font-size: 16px;
    }

    .submit-btn-li {
        margin: 20px 0;
    }

    .nav-cta {
        display: inline-block;
        padding: 15px 30px !important;
        width: 100%;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 10%;
    min-height: 450px;
}

@media (max-width: 768px) {
    .hero {
        display: block;
    }

    .hero-img {
        margin-top: 50px;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.hero-subtitle {
    color: #F58220;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.hero-title-light {
    font-weight: 300;
    font-size: 28px;
    color: #444;
    margin: 0;
    line-height: 1.2;
}

.hero-headline {
    font-weight: 900;
    font-size: 48px;
    color: #333;
    margin: 10px 0 30px;
    line-height: 1.1;
}

.hero-cta {
    display: inline-block;
    background-color: #F58220;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.3s;
}

.hero-cta:hover {
    background-color: #d96e16;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.15));
}

/* Info Section */
.info-section {
    display: flex;
    align-items: flex-start;
    padding: 80px 10%;
    background-color: #fff;
}

@media (max-width: 768px) {
    .info-section {
        display: block;
    }

    .info-right {
        padding-left: 0;
        padding-top: 40px;
    }
}

.info-left {
    flex: 1;
    font-size: 42px;
    font-weight: 300;
    /* Light text */
    color: #333;
    line-height: 1.1;
}

.info-left h2 {
    margin: 0;
}

.highlight-text {
    color: #F58220;
    font-weight: 900;
}

.info-right {
    flex: 1.5;
    font-size: 15px;
    line-height: 1.6;
    color: #444;

}

.info-right p {
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    padding: 60px 10%;
    background-color: #fdfdfd;
    background-image: radial-gradient(#eee 1px, transparent 1px);
    background-size: 30px 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: #F58220;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* Content Sections (Mission, Goals, Services) */
.content-section {
    display: flex;
    align-items: center;
    padding: 60px 10%;
    background-color: #f9f9f9;
    /* Light background for contrast */
}

.content-section:nth-child(even) {
    background-color: #fff;
}

.content-section.reverse {
    flex-direction: row-reverse;
}

.content-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
    font-size: 24px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
}

.content-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.content-text-container {
    flex: 1;
    padding: 0 40px;
}

.section-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 900;
}

.section-title span {
    font-weight: 300;
}

.card-box {
    background: white;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    text-align: left;
}

.content-text-container h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.content-text-container p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Service Lists */
.service-list {
    margin-top: 20px;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.service-list li::before {
    content: "›";
    /* Or use a chevron character/SVG */
    position: absolute;
    left: 0;
    color: #F58220;
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    top: 0;
}

/* Bottom CTA Section */
.bottom-cta-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.bottom-cta-text {
    text-align: left;
    border-left: 5px solid #d4df35;
    /* Lime green accent */
    padding-left: 20px;
}

.bottom-cta-title {
    font-size: 28px;
    color: #333;
    line-height: 1.2;
    margin: 0;
    font-weight: 300;
}

.bottom-cta-title strong {
    font-weight: 900;
    color: #F58220;
    display: block;
}

.bottom-cta-btn {
    background-color: #F58220;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 16px;
    transition: background-color 0.3s;
}

.bottom-cta-btn:hover {
    background-color: #d96e16;
}

/* Book Gallery Section */
.book-gallery-section {
    padding: 60px 10%;
    background-color: #fff;
    text-align: center;
}

@media (max-width: 991px) {
    .book-gallery-section {
        padding: 40px 5%;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.book-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.book-placeholder-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    /* Standard book ratio */
    background-color: #eee;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 14px;
    border: 1px solid #ddd;
}

.book-cover-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.book-cover-img:hover {
    transform: scale(1.05);
}


.book-genre {
    font-size: 12px;
    font-weight: 900;
    color: #F58220;
    text-transform: uppercase;
    margin: 0 0 5px;
    letter-spacing: 1px;
}

.book-blurb {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Responsiveness for Grid */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-section,
    .content-section.reverse {
        flex-direction: column;
        text-align: center;
    }

    .content-image-container {
        margin-bottom: 30px;
    }

    .content-text-container {
        padding: 0;
    }

    .bottom-cta-section {
        flex-direction: column;
        gap: 20px;
    }

    .bottom-cta-text {
        border-left: none;
        border-top: 5px solid #d4df35;
        padding-left: 0;
        padding-top: 20px;
        text-align: center;
    }

}


/* Contact Us Page Styles */

/* Contact Hero */
.contact-hero {
    background-color: #f4f4f4;
    padding: 40px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-hero-text h1 {
    font-size: 36px;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.contact-hero-text h1 span {
    display: block;
    border-bottom: 3px solid #F58220;
    width: fit-content;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.contact-hero-text h2 {
    font-size: 32px;
    color: #444;
    font-weight: 300;
    margin: 0;
}

.contact-hero-img {
    width: 250px;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Main Content */
.contact-main {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form-container {
    flex: 1;
    background-color: #fff9f0;
    /* Light beige similar to reference */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: sans-serif;
    font-size: 14px;
    color: #555;
    background-color: #fff;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.captcha-placeholder {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    width: fit-content;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-checkbox {
    width: 20px;
    height: 20px;
}

.contact-submit-btn {
    background-color: #F58220;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-submit-btn:hover {
    background-color: #d96e16;
}

/* Office Info */
.contact-info-container {
    flex: 1;
    padding-top: 20px;
}

.office-section {
    margin-bottom: 50px;
}

.office-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.office-title.uk {
    color: #7BB661;
    /* Greenish */
}

.office-title.usa {
    color: #800080;
    /* Purple */
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.info-icon {
    color: #F58220;
    margin-right: 15px;
    font-weight: 900;
    min-width: 20px;
}

.divider-line {
    border-top: 1px dashed #ccc;
    margin: 40px 0;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-hero-text h1 span {
        margin: 0 auto 10px;
    }

    .contact-main {
        flex-direction: column;
        padding: 20px;
    }
}

/* Submit Your Book Page Styles */

/* Submit Hero */
.submit-hero {
    background-color: #f0f0f0;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    /* Subtle texture effect */
    padding: 80px 10%;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    overflow: hidden;
    /* Prevent child overflow */
}

.submit-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.submit-hero h1 {
    font-size: 48px;
    color: #333;
    margin: 0;
    font-weight: 900;
}

.submit-hero h1 span {
    border-bottom: 4px solid #F58220;
}

.submit-hero p {
    max-width: 800px;
    margin: 30px auto 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* What To Include Section */
.what-to-include {
    padding: 60px 10%;
    background-color: #fff;
    overflow: hidden;
    /* Prevent child overflow */
}

.section-heading-submit {
    color: #F58220;
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 300;
}

.section-subheading-submit {
    color: #333;
    font-size: 32px;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 50px;
}

.include-content {
    display: flex;
    gap: 5%;
}

.bookshelf-container,
.steps-container {
    min-width: 0;
    /* Allow flex to shrink below content size */
}

.bookshelf-container {
    flex: 1;
    background-color: #eee;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.steps-container {
    flex: 1.5;
}

.step-item {
    margin-bottom: 40px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 20px;
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    font-size: 24px;
    font-weight: 900;
    color: #333;
    margin-bottom: 10px;
}

.step-title {
    font-weight: 400;
    color: #555;
}

.step-details p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

/* Online Form Section */
.online-form-section {
    background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
    /* Orange/Peach Gradient */
    padding: 60px 10%;
    margin-top: 0;
    overflow: hidden;
    /* Prevent child overflow */
}

.form-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 300;
}

.form-title strong {
    font-weight: 900;
    display: block;
}

.bg-submission-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 15px 4%;
    /* Responsive horizontal gap */
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    /* Ensure it doesn't exceed container */
}

.full-width {
    grid-column: span 2;
}

.submission-input,
.submission-select,
.submission-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #fff;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    display: block;
    outline: none;
}

.submission-textarea {
    min-height: 120px;
    resize: vertical;
}

.file-upload-container {
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    position: relative;
    /* Contain absolute input */
}

.file-upload-btn {
    margin-left: auto;
}

.form-footer {
    text-align: left;
    margin-top: 20px;
    color: #555;
    font-size: 12px;
}

.submit-btn-large {
    background-color: #e65100;
    /* Darker orange */
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.submit-btn-large:hover {
    background-color: #bf360c;
}

@media (max-width: 768px) {
    .include-content {
        flex-direction: column;
    }

    .bg-submission-form {
        grid-template-columns: 1fr;
    }

    .captcha-placeholder {
        max-width: 100%;
        overflow-x: auto;
        /* Allow internal captcha scroll if absolutely necessary */
    }

    .full-width {
        grid-column: span 1;
    }
}

/* About Us Page Styles */

/* About Hero defaults to Submit Hero styles but we can add specific tweaks if needed */
.about-hero {
    background-color: #f0f0f0;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 80px 10%;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.about-hero h1 {
    font-size: 48px;
    color: #333;
    margin: 0;
    font-weight: 900;
}

.about-hero h1 span {
    border-bottom: 4px solid #F58220;
}

/* Intro Section */
.about-intro {
    padding: 80px 10%;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro h2 {
    font-size: 42px;
    color: #333;
    font-weight: 300;
    margin-bottom: 30px;
}

.about-intro h2 span {
    color: #F58220;
    font-weight: 400;
}

.about-intro p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
    text-align: left;
    /* As per reference text block seems justified/left */
}

.about-intro p strong {
    color: #333;
}


/* Card-based Sections (No overlap, side-by-side) */
.about-cards-section {
    padding: 60px 10%;
    background-color: #fff;
}

@media (max-width: 900px) {
    .about-cards-section {
        padding: 40px 5%;
    }
}

.about-cards-row {
    display: flex;
    align-items: stretch;
    gap: 4%;
    margin: 0 auto 60px;
    max-width: 1100px;
}

.about-card {
    min-width: 0;
}

.about-cards-row.reverse {
    flex-direction: row-reverse;
}

.about-card {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-card.image-card {
    padding: 0;
    overflow: hidden;
    background-color: #f9f9f9;
}

.about-card.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-card h2 {
    font-size: 20px;
    color: #F58220;
    margin-bottom: 5px;
    font-weight: 300;
}

.about-card h3 {
    font-size: 28px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.about-card p+p {
    margin-top: 15px;
}

@media (max-width: 900px) {

    .about-cards-row,
    .about-cards-row.reverse {
        flex-direction: column;
    }

    .about-card.image-card {
        height: 300px;
    }
}

/* Solutions Page Styles */

/* Solutions Hero */
.solutions-hero {
    background-color: #f0f0f0;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 80px 10%;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 0;
    /* No margin because sections have padding */
}

.solutions-hero h1 {
    font-size: 48px;
    color: #333;
    margin: 0;
    font-weight: 900;
}

.solutions-hero h1 span {
    border-bottom: 4px solid #F58220;
}

/* Solution Split Section (Side-by-Side) */
.solution-split-section {
    display: flex;
    align-items: center;
    padding: 80px 10%;
    background-color: #fff;
    gap: 5%;
}

.solution-image-col,
.solution-text-col {
    min-width: 0;
}

.solution-split-section.bg-beige {
    background-color: #eee5dc;
    /* Beige approximation */
}

.solution-split-section.bg-gray {
    background-color: #d0d0d0;
    /* Gray approximation */
}

.solution-split-section.reverse {
    flex-direction: row-reverse;
}

.solution-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-text-col {
    flex: 1;
}

/* Image Placeholders */
.solution-img-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16/9;
    /* Default to landscape/video ratio for general content, or specific */
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
}

.solution-img-placeholder.book-cover {
    aspect-ratio: 3/4;
    max-width: 300px;
}

.solution-img-placeholder.device {
    aspect-ratio: 9/16;
    max-width: 250px;
    border: 8px solid #333;
    border-radius: 30px;
}

/* Text Content */
.solution-heading-top {
    color: #F58220;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.solution-heading-main {
    color: #333;
    font-size: 32px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.2;
}

.solution-text-col p {
    color: #444;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

@media (max-width: 900px) {

    .solution-split-section,
    .solution-split-section.reverse {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
    }

    .solution-image-col {
        margin-bottom: 40px;
        width: 100%;
    }

    .solution-text-col {
        width: 100%;
    }

    .solution-heading-main {
        font-size: 28px;
    }

    .solution-heading-main {
        font-size: 28px;
    }
}

/* Books Page Styles */
.books-hero {
    background-color: #f0f0f0;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 80px 20px;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 60px;
}

.books-hero h1 {
    font-size: 48px;
    color: #333;
    margin: 0;
    font-weight: 900;
}

.books-hero h1 span {
    border-bottom: 4px solid #F58220;
}

/* Slideshow Container */
.slideshow-section {
    padding: 60px 10% 80px;
    background-color: #fff;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 991px) {
    .slideshow-section {
        padding: 0 5% 60px;
    }
}

.slideshow-container {
    position: relative;
    overflow: hidden;
    /* Hide overflow */
    min-height: 800px;
    /* Prevent jumpiness */
}

.slide {
    display: none;
    animation: fadeEffect 0.5s;
}

.slide.active {
    display: block;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slideshow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}



/* Navigation Buttons */
.slideshow-nav {
    display: flex;
    justify-content: center;
    /* Centered as per some designs, or spaced? Reference implies standard pagination */
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #555;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: inherit;
}

.nav-btn:hover {
    background-color: #f5f5f5;
    color: #333;
    border-color: #ccc;
}

@media (max-width: 1024px) {
    .slideshow-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .slideshow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slideshow-section {
        padding: 0 5% 60px;
    }
}

@media (max-width: 480px) {
    .slideshow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Main Footer */
.main-footer {
    background-color: #f8f8f8;
    padding: 80px 10% 40px;
    border-top: 1px solid #eee;
    font-family: 'Lato', sans-serif;
}

@media (max-width: 991px) {
    .main-footer {
        padding: 60px 5% 30px;
    }
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.footer-info-logo {
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact-info {
    font-size: 14px;
    color: #444;
    line-height: 1.8;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    font-size: 14px;
    color: #666;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #F58220;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-link {
    display: inline-block;
    transition: transform 0.3s;
}

.footer-social-link:hover {
    transform: translateY(-3px);
}

.footer-social-img {
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: #888;
}

.footer-payments {
    display: flex;
    align-items: center;
}

.footer-payments-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
}

@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Partners Page Content Styles */
.partners-banner-section {
    padding: 60px 10%;
    background-color: #fff;
    text-align: center;
}

@media (max-width: 991px) {
    .partners-banner-section {
        padding: 40px 5%;
    }
}

.partners-banner-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto 50px auto;
}

.partners-benefits-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.partners-benefits-title {
    font-size: 32px;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}

.partners-benefits-intro {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.partners-benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 40px;
    list-style: none;
    padding: 0;
}

.partners-benefits-list li {
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    color: #555;
    line-height: 1.4;
}

.partners-benefits-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #F58220;
    font-weight: 900;
}

.partner-distribution-section {
    padding: 80px 10%;
    background-color: #f9f9f9;
}

@media (max-width: 991px) {
    .partner-distribution-section {
        padding: 60px 5%;
    }
}

.distribution-intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 20px;
    color: #333;
    font-weight: 300;
}

.partner-category-group {
    margin-bottom: 80px;
}

.partner-category-title {
    font-size: 24px;
    color: #F58220;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partner-logo-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.partner-logo-item:hover {
    transform: translateY(-5px);
}

.partner-logo-img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo-item:hover .partner-logo-img {
    opacity: 1;
}

.partner-name {
    margin-top: 10px;
    font-size: 12px;
    color: #777;
    text-align: center;
}

@media (max-width: 768px) {
    .partners-benefits-list {
        grid-template-columns: 1fr;
    }

    .partner-logo-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }
}