﻿
/* GLOBAL RESET / SAFETY */
*,
*::before,
*::after {
    box-sizing: border-box;
}
.container {
    width: 100% !important;
    margin-top: 40px;
  
}

.image-box1 img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    object-fit: contain;
}


.image-box1 {
    display: flex;
  
}

.image-box2 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

    .image-box2 img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        overflow: hidden;
        display: flex;
        object-fit: contain;
    }


.section {
    width: 100% !important;
}

/*.split {
    display: flex;
    gap: 2rem;*/ /* Space between text and images */
    /*align-items: flex-start;*/ /* Align items at the top */
/*}*/




img {
    max-width: 100%;
    display: block;
}

/* BODY */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f7f7f7;
    color: #222;
    line-height: 1.9;
}

/* HERO */
.hero {
    width: 100%;
    background: linear-gradient(to right, #fff 0%, #fff 40%, #eba123 450%);
    color: black;
    margin-top:150px;
    padding: 80px 10%;
}

    .hero h1 {
        font-size: clamp(36px, 5vw, 60px);
        margin-bottom: 15px;
        line-height: 1.15;
    }

    .hero h2 {
        font-size: clamp(20px, 3vw, 30px);
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 18px;
        max-width: 800px;
    }

/* CTA Buttons */
.cta-group {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.primary-btn {
    background: #eba123;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .primary-btn:hover {
        background: #e5941f;
        transform: translateY(-2px);
    }

.secondary-btn {
    background: #4d4d4d;
    color: #fff;
}

    .secondary-btn:hover {
        background: #6e6e6e;
    }

/* SECTIONS */
.section {
    padding: 60px 10%;
    background: white;
    margin-top: 20px;
    border-radius: 10px;
}

    .section h1 {
        font-size: clamp(28px, 4vw, 45px);
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .section h2 {
        font-size: clamp(20px, 3vw, 25px);
        margin-bottom: 10px;
    }

    .section p {
        font-size: 18px;
        max-width: 800px;
    }

/* GRID LAYOUT */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 50px;
}

.reverse {
    direction: rtl;
    background: transparent url("../../images/banner-bg-1-1.png") right top no-repeat;
    background-size: cover;
    position: relative;
}

    .reverse > * {
        direction: ltr;
    }

.text {
    min-width: 0;
}

/* IMAGE HANDLING */
.image-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
}

    .image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* MOBILE */



/* Reveal animations */
/*.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }*/

/* Dark mode (non-invasive) */
/*[data-theme="dark"] body {
    background: #121212;
    color: #eaeaea;
}

[data-theme="dark"] .section,
[data-theme="dark"] .hero {
    background: #1e1e1e;
}

.theme-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}*/

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


@media (max-width: 768px) {
    .split {
        flex-direction: column; /* Stack vertically */
    }
    .split {
        flex-direction: column; /* Stack everything vertically */
    }

    /* Reorder to put images first */
    .split {
        display: flex;
        flex-direction: column;
    }

    /* Ensure images appear first */
    .image-box1 {
        order: 1; /* Images come first */
        width: 100%;
        margin-bottom: 2rem;
    }

    .image-box2 {
        order: 1; /* Images come first */
        width: 100%;
        margin-bottom: 2rem;
    }


    /*.text {
        order: 2;*/ /* Text comes after images */
    /*}*/

    /* Optional: Adjust image sizing for mobile */
    .image-box1 img {
        max-height: 300px; /* Smaller on mobile */
    }

    .text {
        order: 0; /* Text after images */
    }

    /* Rest of your existing styles... */
    /*.reverse {
        direction: ltr;
    }*/

    .hero {
        padding: 60px 6%;
    }

   
    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
        width: 100%;
    }
}























@media (max-width: 480px) {
    body {
        line-height: 1.7;
    }

    .section {
        padding: 40px 5%;
    }

    ul {
        padding-left: 20px;
    }
}


