.hero {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.hero {
    position: relative;
    width: 100%;
}

.hero .intro-titles {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    /* height: 100vh; */
    height: 650px;
    aspect-ratio: 16/9;
    min-height: 650px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    color: #fff;
    padding-bottom: 250px;
    background-color: #272154;
}


.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    padding: 0 80px;
    text-align: left;
    padding-right: 120px;
}


.hero-title {
    font-size: 4.7rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-top: 15px;
}

.hero-title-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin: 0px 0 30px 0px;
}



/* === OUR PURPOSE SECTION === */
.our-purpose {
    position: relative;
    color: white;
    padding: 100px 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-top: -1px;
}

.our-purpose .purpose-title {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.our-purpose .highlight-word {
    font-weight: 700;
    position: relative;
}

.our-purpose .purpose-arrow {
    position: absolute;
    top: -20px;
    right: -35px;
    width: 35px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.our-purpose .purpose-line {
    position: absolute;
    bottom: -2px;
    right: 0;
    height: 2px;
    width: 0;
    background-color: #ff3b3b;
    transform-origin: right center;
    transition: width 0.5s ease;
}

.our-purpose.active .purpose-arrow {
    opacity: 1;
    transform: translateY(0);
}

.our-purpose.active .purpose-line {
    width: 45%;
}

.our-purpose.active .purpose-desc .color-change {
    background: linear-gradient(90deg, #1e90ff 0%, #ff3b3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    background-position: 100% 0%;
    animation: gradientFlow 5s ease forwards;

}

.our-purpose .purpose-desc p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #fff;
}

/* === ABOUT SECTION === */

.about-ahi {
    background-size: contain;
    background-position: top;
    padding: 80px 0;
    background-color: #fff;
    background-repeat: no-repeat;
}

.about-header {
    margin-bottom: 50px;
}

.about-title {
    color: #283583;
    font-size: 3.5rem;
    font-weight: 500;
    /* margin-bottom: 15px; */
}

.about-subtitle {
    color: #642349;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.about-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.about-text-left {
    flex-grow: 1;
}

.about-red-line {
    margin-top: auto;
}

.about-red-line img {
    width: 100%;
    margin-top: 30px;
}

.about-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.about-text-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.about-text-left,
.about-text-right {
    font-size: 1rem;
    line-height: 1.8;
    color: #272154;
    text-align: justify;
}

.about-text-right .about-last-text {
    display: inline-block;
    margin-top: auto;
    color: #283583;
    margin-top: 30px;
}

.about-text-right p:last-child {
    margin-bottom: 0px !important;
}

.about-ahi-locations {
    margin-bottom: 100px;
}

.about-ahi-locations .about-under {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    min-height: 600px;
    overflow: visible;
}

.about-ahi-locations .about-locations-card {
    position: absolute;
    right: 6%;
    bottom: -80px;
    /* μισό έξω από το μεγάλο image */
    width: 520px;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 28px 32px;
}

.about-ahi-locations .about-locations-info {
    /* max-width: 95%; */
    color: #fff;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
}

.about-ahi-locations .about-locations-info p {
    margin: 0 0 10px 0;
    text-align: justify;
}

.about-ahi-locations .about-locations-info strong {
    font-weight: 700;
}

.story-section {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    height: 50vh;
    position: relative;
    color: #fff;
}

.story-first {
    min-height: 65vh;
}

.story-split-bullets {
    height: auto;
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.story-section .container {
    position: relative;
    z-index: 1;
}

.story-dark-text,
.story-dark-text .story-title,
.story-dark-text .story-text {
    color: #272154;
}

.story-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.story-text {
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

.story-text p {
    margin-bottom: 18px;
}

.story-bullets-box {
    background: rgba(39, 33, 84, 0.85);
    padding: 40px;
    border-radius: 16px;
}

.story-bullets-wysiwyg {
    color: #fff;
}

/* ===== Custom bullets icon ===== */

.story-bullets-wysiwyg ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.story-bullets-wysiwyg li {
    position: relative;
    padding-left: 38px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.story-bullets-wysiwyg li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 22px;
    height: 22px;
    background-image: var(--list-icon);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.story-bullets-wysiwyg p:last-child {
    margin-bottom: 0;
}

/* ========================= HISTORY ========================= */
.history-section {
    padding: 40px 0;
}

.history-bg {
    padding: 100px 0 110px;
    margin: 0 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 28px;
}

.history-box {
    background: rgba(39, 33, 84, 0.85);
    border: 2px solid #B7C7DB;
    border-radius: 18px;

    padding: 34px 28px;
    margin: 0 auto;

    color: #fff;
}

.history-description {
    font-size: 1.20rem;
    line-height: 1.7;
    text-align: justify;
}

.history-description p {
    margin: 0 0 16px;
}

.history-description p:last-child {
    margin-bottom: 0;
}


.company-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 3px solid #ED291E;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    background: transparent;
}

.company-btn img {
    width: 35px;
    height: auto;
    transition: filter 0.3s ease;
}

.company-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #ED291E;
    z-index: 0;
    transition: width 0.4s ease;
}

.company-btn span,
.company-btn img {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    font-weight: 400;
}

.company-btn:hover::before {
    width: 100%;
}

.company-btn {
    color: #ED291E;
    border: 3px solid #ED291E;
}

.company-btn:hover {
    color: #fff;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1200px) {

    .about-ahi-locations .about-locations-card {
        right: 4%;
        width: 480px;
        height: 300px;
    }

    .about-ahi-locations .about-locations-info {
        max-width: 60%;
    }
}


@media (max-width: 992px) {

    .hero .intro-titles {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-bottom: 0;
        min-height: 500px;
        aspect-ratio: 16 / 9;
    }

    .hero-container {
        padding: 0 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-title-logo {
        max-width: 250px;
        margin-top: 15px;
    }


    .hero h2 {
        font-size: 3rem;
        text-align: center;
    }

    .hero h3 {
        font-size: 2.1rem;
        text-align: center;

    }

    .our-purpose .purpose-title {
        font-size: 2.2rem;
    }

    .our-purpose .purpose-arrow {
        width: 28px;
        top: -18px;
        right: -25px;
    }

    .our-purpose .purpose-line {
        bottom: -4px;
    }



    .about-ahi-locations .about-under {
        min-height: 380px;
    }

    .about-ahi-locations .about-locations-card {
        right: 50%;
        transform: translateX(50%);
        bottom: -70px;
        width: 420px;
        height: 280px;
    }

    .about-ahi-locations .about-locations-info {
        max-width: 70%;
    }

    .story-section,
    .story-first {
        padding: 80px 0;
        height: auto;
    }

    .story-section {
        height: auto;
    }

    .story-split-bullets {
        min-height: auto;
        align-items: flex-start;
    }

    .history-bg {
        margin: 0 7px;
        padding: 55px 0;
    }

    .history-box {
        padding: 24px 18px;
    }
}

@media (max-width: 768px) {
    .hero .intro-titles {
        height: auto;
    }

    .our-purpose {
        padding: 70px 0;
    }

    .about-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .about-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        padding: 0px 10px;
    }

    .about-red-line img {
        margin-left: auto;
        margin-right: auto;
    }

    .our-purpose .our-purpose-desc div {
        font-size: 1.2rem;
        line-height: 1.4;
        color: #fff;
    }


    .story-section,
    .story-first {
        padding: 10px 0;
        height: auto;
    }

    .story-title {
        font-size: 1.6rem;

    }

    .history-description {
        font-size: 1rem;
        line-height: 1.4;
        text-align: justify;
    }

    .about-ahi-locations {
        margin-bottom: 0px;
    }
}



@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .our-purpose .purpose-title {
        font-size: 2.1rem;
    }

    .our-purpose .purpose-arrow {
        width: 22px;
        top: -15px;
        right: -20px;
    }

    .our-purpose .purpose-line {
        bottom: -3px;
    }


    .about-ahi-locations .about-under {
        background-image: none !important;
        min-height: 0;
        padding: 0;
    }

    .about-ahi-locations .about-locations-card {
        position: relative;
        right: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        height: auto;
        margin: 0 auto;
        border-radius: 18px;
        background-size: cover;
        background-position: center;
        padding: 30px 20px;
    }

    .about-ahi-locations .about-locations-info {
        max-width: 100%;
        font-size: 0.95rem;
        color: #fff;
        text-align: left;
    }

}