@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Background Gradients */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* subtle top red haze to simulate watercolor map */
        radial-gradient(ellipse at 50% 0%, rgba(200, 50, 50, 0.15) 0%, rgba(200, 50, 50, 0.05) 30%, transparent 60%),
        /* vertical gradient from very light red/pink to white to light grey */
        linear-gradient(to bottom,
            #fbeaea 0%,
            #ffffff 45%,
            #f0f0f0 70%,
            #d8d8d8 100%);
    z-index: -2;
}

.bg-map {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 80%;
    /* Subtle world map as background */
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Header & Logo */
header {
    width: 100%;
    padding-top: 3rem;
    display: flex;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.logo-icon-svg {
    width: 90px;
    height: 90px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.esbe {
    font-family: 'Poppins', sans-serif;
    font-size: 4.8rem;
    font-weight: 600;
    color: #1a294b;
    line-height: 0.9;
    letter-spacing: -2.5px;
}

.global-traders {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a294b;
    letter-spacing: 5.5px;
    margin-top: 0.3rem;
    text-align: left;
    margin-left: 2px;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 2.5rem;
}

.main-heading {
    font-size: 3.8rem;
    font-weight: 800;
    color: #9d1c22;
    /* Dark red/maroon matching logo */
    line-height: 1.2;
    margin: 0 0 1.2rem 0;
    text-align: center;
}

.sub-heading {
    font-size: 1.8rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
    text-align: center;
    margin: 0 0 0 0;
}

/* Machinery Image */
.machine-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    box-sizing: border-box;
    margin-bottom: -5rem;
    /* Push slightly down over footer */
}

.machine-img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    object-fit: contain;
    /* Blend the white background of the image into the gradient floor */
    mix-blend-mode: multiply;
    /* Soft border at bottom */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
}

/* Footer */
footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    gap: 1.8rem;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-item span,
.contact-item a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    text-decoration: none;
}

.icon-phone {
    width: 26px;
    height: 26px;
}

.icon-web {
    width: 26px;
    height: 26px;
}

.divider {
    color: #bbbbbb;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    margin-top: -4px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-heading {
        font-size: 3rem;
    }

    .sub-heading {
        font-size: 1.5rem;
    }

    .esbe {
        font-size: 4rem;
    }

    .logo-icon-svg {
        width: 75px;
        height: 75px;
    }
}

@media (max-width: 768px) {
    header {
        padding-top: 2rem;
    }

    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .esbe {
        font-size: 3.5rem;
        text-align: center;
    }

    .global-traders {
        font-size: 0.75rem;
        letter-spacing: 4px;
        text-align: center;
        margin-left: 0;
    }

    .main-heading {
        font-size: 2.2rem;
        margin-top: 1.5rem;
    }

    .sub-heading {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
    }

    .divider {
        display: none;
    }
}