/* =========================================================================
   GLOBAL TYPOGRAPHY RULES
   ========================================================================= */

p {
    font-size: 16px;
}

h3 {
    font-size: 24px;
}

/* =========================================================================
   COMMON LAYOUT UTILITIES & FULL-WIDTH SECTIONS
   ========================================================================= */

.products-section,
.download-section,
.features-section,
.hiw-section,
.cta-split-section,
.testimonials-section,
.faq-section,
.projects-section,
.ready-section {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
}

.products-section,
.download-section,
.features-section,
.hiw-section,
.testimonials-section,
.faq-section,
.projects-section,
.ready-section {
    padding: 80px 20px !important;
}

/* Base backgrounds */
.products-section,
.projects-section {
    background-color: #EEEEEE !important;
}

.features-section,
.faq-section {
    background-color: #F7F7F7 !important;
}

.hiw-section {
    background-color: #454545 !important;
}

.testimonials-section {
    background-color: #ffffff !important;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */

.products-title,
.features-title,
.faq-title,
.projects-title,
.testimonials-title,
.hiw-title,
.cta-title,
.download-title,
.ready-title {
    font-family: inherit !important;
    font-weight: normal !important;
}

.products-title,
.features-title,
.faq-title,
.projects-title,
.testimonials-title,
.hiw-title {
    font-size: 36px !important;
    text-align: center !important;
    margin-bottom: 80px !important;
    clear: none !important;
    max-width: none !important;
}

.products-title,
.features-title,
.faq-title,
.projects-title,
.testimonials-title {
    color: #444 !important;
}

.hiw-title {
    color: #fff !important;
}

.download-title,
.ready-title,
#lead .info h1 {
    font-size: 60px !important;
}

#lead .info h1 {
    border: none !important;
    text-decoration: none !important;
    clear: none !important;
    max-width: none !important;
}

#lead .info h1::after,
#lead .info h1::before {
    display: none !important;
}

.download-title {
    margin-bottom: 20px !important;
    clear: none !important;
    max-width: none !important;
}

.ready-title {
    margin-bottom: 50px !important;
    line-height: 1.4 !important;
    color: #fff !important;
    clear: none !important;
    max-width: none !important;
}

/* =========================================================================
   BUTTONS & CARDS
   ========================================================================= */

a.project-card,
.product-card {
    text-decoration: none !important;
    display: block !important;
    color: inherit !important;
}

.download-btn,
.cta-btn,
.ready-btn,
.hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.hero-btn:hover,
.ready-btn:hover {
    background-color: #333333 !important;
    transform: translateY(-2px) !important;
}

/* =========================================================================
   SECTION SPECIFIC STYLES
   ========================================================================= */

/* Intro */
.intro-section {
    text-align: center;
    position: relative;
    padding-top: 20px;
    padding-bottom: 40px;
    margin-top: -20px;
}

.intro-arrow {
    width: 50px;
    height: 50px;
    background-color: #e5e5e5;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    z-index: 20;
}

.intro-text p {
    font-family: 'Lora', serif;
    font-size: 30px;
    line-height: 1.6;
    color: #444;
    margin: 40px auto 0;
    max-width: 800px;
}

#lead .info p {
    font-size: 32px !important;
}

.intro-arrow svg {
    width: 20px;
    height: 20px;
}

/* Products Section */
.products-section {
    margin-top: 60px !important;
}

.products-grid {
    column-count: 2 !important;
    column-gap: 20px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.product-card {
    position: relative !important;
    break-inside: avoid !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
}

.product-card img,
.project-card img {
    width: 100% !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.product-card:hover img,
.project-card:hover img {
    transform: scale(1.05) !important;
}

.product-card-title {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    font-size: 32px !important;
    font-family: inherit !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6) !important;
    z-index: 2 !important;
    font-weight: normal !important;
    clear: none !important;
    max-width: none !important;
}

.product-card-arrow {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 40px !important;
    height: 40px !important;
    background-color: #e5e5e5 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #666 !important;
    z-index: 2 !important;
    transition: background-color 0.3s !important;
}

.product-card:hover .product-card-arrow {
    background-color: #d5d5d5 !important;
}

.product-card-arrow svg {
    width: 16px !important;
    height: 16px !important;
}

/* Download Section — background image set via --dl-bg CSS variable on the element */
.download-section {
    background-color: #1a1a1a !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), var(--dl-bg, none) !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    text-align: center !important;
    color: #fff !important;
}

/* Ready Section — background image set via --ready-bg CSS variable on the element */
.ready-section {
    background-color: #1a1a1a !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), var(--ready-bg, none) !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    text-align: center !important;
    color: #fff !important;
}

.download-subtitle,
.cta-subtitle {
    font-size: 18px !important;
    font-family: inherit !important;
    line-height: 1.6 !important;
    margin: 0 auto 40px !important;
}

.download-btn {
    gap: 10px !important;
    background-color: #444 !important;
    color: #fff !important;
    padding: 15px 30px !important;
}

.download-btn:hover {
    background-color: #222 !important;
}

.download-btn svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

.ready-buttons-wrapper {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.ready-btn {
    gap: 12px !important;
    background-color: #555555 !important;
    color: #ffffff !important;
    padding: 15px 35px !important;
    transition: background-color 0.3s, transform 0.3s !important;
}

.ready-btn img,
.hero-btn img {
    display: block !important;
}

.ready-btn img {
    height: 18px !important;
}

.hero-btn {
    gap: 12px !important;
    background-color: #4a4b4b !important;
    color: #ffffff !important;
    padding: 16px 36px !important;
    margin-top: 35px !important;
    border: none !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.hero-btn img {
    height: 22px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
}

/* Features Section */
.features-grid {
    display: flex !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    gap: 30px !important;
}

.feature-card {
    background-color: #fff !important;
    flex: 1 !important;
    position: relative !important;
    padding: 60px 40px 40px !important;
    text-align: center !important;
}

.feature-icon-box {
    position: absolute !important;
    top: -40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 80px !important;
    background-color: #e5e5e5 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.feature-icon-box img {
    width: 40px !important;
    height: 40px !important;
}

.feature-card-title {
    font-size: 24px !important;
    font-family: inherit !important;
    color: #333 !important;
    margin-bottom: 20px !important;
    font-weight: bold !important;
    clear: none !important;
    max-width: none !important;
}

.feature-card p {
    font-size: 16px !important;
    font-family: inherit !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* How It Works Section */
.hiw-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    gap: 0 !important;
}

.hiw-step {
    flex: 1 !important;
    text-align: center !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.hiw-step:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    top: 60px !important;
    left: calc(50% + 75px) !important;
    width: calc(100% - 150px) !important;
    border-top: 2px dotted #888 !important;
    z-index: 1 !important;
}

.hiw-box {
    width: 120px !important;
    height: 120px !important;
    border: 1px solid #777 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    margin-bottom: 30px !important;
    z-index: 2 !important;
    background-color: #454545 !important;
}

.hiw-number {
    position: absolute !important;
    top: -15px !important;
    left: -15px !important;
    width: 30px !important;
    height: 30px !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #454545 !important;
    z-index: 3 !important;
    font-family: inherit !important;
}

.hiw-box img {
    width: 40px !important;
    height: 40px !important;
}

.hiw-step-title {
    font-size: 24px !important;
    font-family: inherit !important;
    color: #fff !important;
    margin: 0 !important;
    font-weight: normal !important;
    line-height: 1.5 !important;
    clear: none !important;
    max-width: none !important;
}

/* CTA Split Section */
.cta-split-section {
    display: flex !important;
}

.cta-half {
    flex: 1 !important;
    padding: 100px 40px !important;
    text-align: center !important;
    color: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    min-height: 500px !important;
}

/* CTA backgrounds — set via --cta-left-bg / --cta-right-bg CSS variables */
.cta-half-left {
    background-color: #1a1a1a !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--cta-left-bg, none) !important;
    background-size: cover !important;
    background-position: center !important;
}

.cta-half-right {
    background-color: #b8a06a !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), var(--cta-right-bg, none) !important;
    background-size: cover !important;
    background-position: center !important;
}

.cta-title {
    font-size: 36px !important;
    margin-bottom: 20px !important;
    max-width: 500px !important;
    line-height: 1.3 !important;
    clear: none !important;
}

.cta-subtitle {
    margin-bottom: 40px !important;
    max-width: 450px !important;
}

.cta-btn {
    background-color: #fff !important;
    color: #444 !important;
    padding: 15px 40px !important;
}

.cta-btn:hover {
    background-color: #444 !important;
    color: #fff !important;
}

.cta-center-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 60px !important;
    height: 60px !important;
    z-index: 10 !important;
}

.cta-center-icon img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Testimonials Section */
.testimonials-section {
    text-align: center !important;
}

.testimonials-slider {
    position: relative !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

.testimonials-slider input[type="radio"] {
    display: none !important;
}

.testimonials-track {
    display: flex !important;
    width: 200% !important;
    transition: transform 0.5s ease-in-out !important;
}

.testimonial-slide {
    width: 50% !important;
    padding: 0 80px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.testimonial-quote {
    font-size: 20px !important;
    font-family: inherit !important;
    color: #444 !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
}

.testimonial-author {
    font-size: 16px !important;
    font-family: inherit !important;
    color: #777 !important;
    font-style: italic !important;
}

/* FAQ Section */
.faq-container {
    max-width: 1140px !important;
    margin: 0 auto !important;
    border-top: 1px solid #ddd !important;
}

.faq-item {
    border-bottom: 1px solid #ddd !important;
}

.faq-item summary {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 25px 0 !important;
    cursor: pointer !important;
    font-size: 20px !important;
    font-family: inherit !important;
    font-weight: normal !important;
    color: #333 !important;
    list-style: none !important;
}

.faq-item summary::-webkit-details-marker {
    display: none !important;
}

.faq-item summary::after {
    content: '+' !important;
    font-size: 30px !important;
    font-weight: 300 !important;
    color: #333 !important;
    margin-left: 20px !important;
    transition: transform 0.3s !important;
}

.faq-answer {
    padding-bottom: 25px !important;
    font-size: 16px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    font-family: inherit !important;
}

/* Projects Section */
.projects-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
}

.project-card {
    background-color: #4d4d4d !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.project-card img {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
}

.project-card-caption {
    padding: 20px 25px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: flex-start !important;
}

/* =========================================================================
   MEDIA QUERIES
   ========================================================================= */

@media screen and (max-width: 900px) {
    .features-grid {
        flex-direction: column !important;
        gap: 60px !important;
    }

    .cta-split-section {
        flex-direction: column !important;
    }

    .cta-half {
        width: 100% !important;
        padding: 80px 20px !important;
        min-height: 400px !important;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 768px) {
    .intro-text p {
        font-size: 16px;
        padding: 0 15px;
    }

    .intro-arrow {
        top: -45px;
    }

    .products-grid {
        column-count: 1 !important;
    }

    .products-title {
        font-size: 28px !important;
    }

    .product-card-title {
        font-size: 24px !important;
    }

    .hiw-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 60px !important;
    }

    .hiw-step:not(:last-child)::after {
        display: none !important;
    }

    .testimonial-slide {
        padding: 0 40px !important;
    }

    .testimonial-quote {
        font-size: 16px !important;
    }

    .faq-item summary {
        font-size: 18px !important;
    }

    #lead .info h1,
    .download-title,
    .ready-title {
        font-size: 36px !important;
    }

    #lead .info p {
        font-size: 20px !important;
    }
}

@media screen and (min-width: 769px) {
    .product-card-sandstone {
        transform: translateY(80px) !important;
        margin-bottom: 100px !important;
    }

    .download-section,
    .ready-section {
        min-height: 600px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
}

@media screen and (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================================
   FORM STYLES (Trade Registration & Brochures pages)
   ========================================================================= */

/* Wrapper — background set via --form-bg CSS variable on the element */
.form-section-wrapper {
    min-height: calc(100vh - 120px);
    background-color: #2a2a2a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), var(--form-bg, none);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 230px 20px 100px 20px;
    box-sizing: border-box;
    margin-top: 0;
}

.form-container {
    max-width: 800px;
    width: 100%;
}

.form-page-title {
    color: white;
    font-size: 50px;
    font-family: 'Lora', serif;
    font-weight: normal;
    text-shadow: 0px 4px 10px rgba(0,0,0,0.5);
    text-align: center;
    margin: 0 0 60px 0;
    clear: none !important;
    max-width: none !important;
}

.form-page-title.has-subtitle {
    margin-bottom: 15px;
}

.form-page-subtitle {
    color: #cccccc;
    font-size: 16px;
    text-align: center;
    margin: 0 auto 50px auto;
    font-family: 'Lora', serif;
    line-height: 1.6;
    max-width: 700px;
}

.form-section-header {
    margin-bottom: 25px;
}

.form-section-header.mt-50 {
    margin-top: 50px;
}

.form-section-title {
    color: white;
    font-size: 26px;
    font-family: 'Lora', serif;
    font-weight: normal;
    margin: 0 0 5px 0;
    clear: none !important;
    max-width: none !important;
}

.form-section-desc {
    color: #cccccc;
    font-size: 16px;
    margin: 0;
    font-family: 'Lora', serif;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.custom-form {
    width: 100%;
    font-family: 'Lora', serif;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group.full-width {
    margin-bottom: 25px;
}

.custom-form label {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
}

.custom-form input,
.custom-form select,
.custom-form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-family: 'Lora', serif;
    font-size: 16px;
    padding: 18px 20px;
    box-sizing: border-box;
    transition: background-color 0.3s;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    background-color: rgba(255, 255, 255, 0.25);
    outline: none;
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #b0b0b0;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.custom-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 50px;
}

.custom-form select option {
    background-color: #333;
    color: #fff;
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #fff;
    pointer-events: none;
}

.form-disclaimer {
    text-align: center;
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
    margin: 30px auto;
    max-width: 700px;
}

.form-submit-btn {
    background-color: #ffffff;
    color: #333333;
    font-family: 'Lora', serif;
    font-size: 18px;
    padding: 15px 60px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    display: inline-block;
}

.form-submit-btn:hover {
    background-color: #e0e0e0;
    color: #333;
    transform: translateY(-2px);
}

/* =========================================================================
   BROCHURE STYLES
   ========================================================================= */

.brochure-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.brochure-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
    width: 100%;
}

.brochure-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.brochure-card img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.brochure-card .form-section-title {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
}

.brochure-card .form-section-desc {
    border-bottom: none;
    line-height: 1.6;
    margin-bottom: 30px;
    padding-bottom: 0;
    text-align: center;
}

.brochure-card .form-submit-btn {
    width: 200px;
    text-align: center;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .form-section-wrapper {
        padding: 130px 20px 60px 20px;
    }

    .form-page-title {
        font-size: 36px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .brochure-grid {
        gap: 60px;
    }
}
