/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --color-bg:        #D9D9D9;
    --color-teal:      #043841;
    --color-teal-mid:  #076b7a;
    --color-coral:     #DB5442;
    --color-white:     #ffffff;
    --color-card:      #f5f2ef;

    --radius-card:     1.2rem;
    --radius-img:      0.8rem;
    --shadow-card:     0 4px 24px rgba(4, 56, 65, 0.10);
    --shadow-card-hover: 0 12px 40px rgba(4, 56, 65, 0.18);
    --shadow-img:      8px 8px 0 var(--color-coral);
    --shadow-img-hover: 12px 12px 0 var(--color-coral);

    --transition-base: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', 'Times New Roman', serif; /* warm, editorial feel */
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HERO / PARALLAX
   ============================================================ */
.parallax {
    margin: 0;
    padding-top: 80px;
    height: 100vh;
    background-image: url("../../images/overons/Favicon2.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* Subtle dark-to-transparent vignette at the bottom for depth */
    isolation: isolate;
}

.parallax::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(4, 56, 65, 0.35) 100%
    );
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1300px) {
    .parallax {
        background-image: url("../../images/overons/Favicon2.png");
    }
}

/* ============================================================
   BODY CONTENT AREA
   ============================================================ */
.bodydiv {
    margin: 0;
    padding: 60px 20px;
    width: 100%;
    min-height: 100%;

    /* Warm textured background instead of flat grey */
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(4, 56, 65, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(219, 84, 66, 0.04) 0%, transparent 60%),
        radial-gradient(#043841 0.6px, transparent 0.6px);
    background-size: auto, auto, 28px 28px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
}

/* ============================================================
   MODULAR BLOCKS — MOBILE FIRST
   ============================================================ */
.aboutModularBlockLeft,
.aboutModularBlockRight {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    margin-bottom: 48px;

    /* Card treatment */
    background-color: var(--color-card);
    border-radius: var(--radius-card);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.aboutModularBlockLeft:hover,
.aboutModularBlockRight:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

/* ---- Text areas ---- */
.textAreaLeft,
.textAreaRight {
    text-align: center;
    margin-bottom: 32px;
    color: var(--color-teal);
}

/* ---- Titles ---- */
.aboutModularBlockTitleLeft,
.aboutModularBlockTitleRight {
    color: var(--color-teal);
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

/* Coral underline accent on titles */
.aboutModularBlockTitleLeft::after,
.aboutModularBlockTitleRight::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--color-coral);
    border-radius: 2px;
    margin: 10px auto 0;
    transition: width var(--transition-base);
}

.aboutModularBlockLeft:hover .aboutModularBlockTitleLeft::after,
.aboutModularBlockRight:hover .aboutModularBlockTitleRight::after {
    width: 80px;
}

/* ---- Body text ---- */
.aboutModularBlockTextLeft,
.aboutModularBlockTextRight {
    font-size: clamp(16px, 2.5vw, 19px);
    line-height: 1.75;
    color: var(--color-teal);
    opacity: 0.85;
}

/* ---- Images ---- */
.aboutModularBlockImageLeft,
.aboutModularBlockImageRight {
    width: 100%;
    text-align: center;
    margin-bottom: 28px;
}

.aboutModularBlockImageLeft img,
.aboutModularBlockImageRight img {
    width: 100%;
    border-radius: var(--radius-img);
    border: none;
    box-shadow: var(--shadow-img);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    display: block;
}

.aboutModularBlockImageLeft img:hover,
.aboutModularBlockImageRight img:hover {
    box-shadow: var(--shadow-img-hover);
    transform: translate(-2px, -2px);
}

/* ============================================================
   DESKTOP LAYOUT  ≥ 1000px
   ============================================================ */
@media (min-width: 1000px) {
    .bodydiv {
        padding: 80px 40px;
        gap: 0;
    }

    .aboutModularBlockLeft,
    .aboutModularBlockRight {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 48px;
        padding: 48px 52px;
        margin-bottom: 56px;
    }

    .textAreaLeft,
    .textAreaRight {
        width: 48%;
        margin-bottom: 0;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    /* Left text block sits on the left, right text block sits on the right */
    .textAreaLeft {
        margin-right: 0;
    }
    .textAreaRight {
        margin-left: 0;
    }

    /* Title underline aligns left on desktop */
    .aboutModularBlockTitleLeft::after,
    .aboutModularBlockTitleRight::after {
        margin: 10px 0 0;
    }

    .aboutModularBlockImageLeft,
    .aboutModularBlockImageRight {
        width: 48%;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Right block: image LEFT, text RIGHT */
    .aboutModularBlockRight .textAreaRight {
        order: 2;
    }
    .aboutModularBlockRight .aboutModularBlockImageLeft {
        order: 1;
    }
}

/* ============================================================
   SCROLL CTA BUTTON
   ============================================================ */
.scroll-to-about {
    position: absolute;
    bottom: 50px;
    z-index: 10;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    background: rgba(4, 56, 65, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 100px;
    cursor: pointer;
    transition: background var(--transition-base),
                color var(--transition-base),
                transform var(--transition-base),
                box-shadow var(--transition-base);

    /* Soft pulsing glow to draw the eye */
    animation: pulse-glow 2.8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(219, 84, 66, 0); }
    50%       { box-shadow: 0 0 0 10px rgba(219, 84, 66, 0.22); }
}

.scroll-to-about:hover {
    background: var(--color-coral);
    color: var(--color-white);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 28px rgba(219, 84, 66, 0.45);
    animation: none;
}