/* =========================================================
   ABOUT - HISTORY PAGE
   ========================================================= */


/* ---------------------------------------------------------
   PAGE HERO
   --------------------------------------------------------- */

.inner-page-hero {

    height: 430px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;


    background:
        linear-gradient(
            135deg,
            var(--navy) 0%,
            var(--navy-dark) 65%,
            #092d52 100%
        );

    overflow: hidden;

}

.inner-page-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(242, 182, 50, 0.25);
    border-radius: 50%;
    right: -120px;
    top: -180px;
}

.inner-page-hero .container {
    position: relative;
    z-index: 2;
}

.inner-page-label {
    display: block;
    margin-bottom: 14px;

    color: var(--gold-light);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.inner-page-hero h1 {

    color: var(--white);

    font-size: clamp(3rem, 6vw, 5rem);

    line-height: 1.02;

    margin-top: 15px;

}

.inner-page-hero p {

    color: rgba(255,255,255,0.78);

    font-size: 17px;

    margin-top: 25px;

}


/* ---------------------------------------------------------
   HISTORY INTRO
   --------------------------------------------------------- */

.history-intro {
    padding: 90px 0;
    background: var(--white);
}

.history-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.history-intro-content h2 {
    max-width: 600px;
    margin-top: 12px;

    font-size: clamp(2rem, 4vw, 3.2rem);
}

.history-intro-content p {
    max-width: 590px;
    margin-top: 20px;
    color: var(--gray-700);
}

.gold-line {
    width: 65px;
    height: 3px;
    margin-top: 20px;
    background: var(--gold);
}


/* ---------------------------------------------------------
   HISTORY HIGHLIGHT CARDS
   --------------------------------------------------------- */

.history-highlight {
    display: grid;
    gap: 20px;
}

.history-highlight-card {
    position: relative;

    padding: 30px;

    background: var(--navy);

    color: var(--white);

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-md);
}

.history-highlight-card::before {
    content: "";
    position: absolute;

    width: 100px;
    height: 100px;

    right: -30px;
    top: -30px;

    border: 1px solid rgba(242, 182, 50, 0.4);
    border-radius: 50%;
}

.history-highlight-card.green {
    background: #07584d;
}

.history-number {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--gold-light);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.history-highlight-card h3 {
    max-width: 430px;

    color: var(--white);

    font-size: 24px;

    margin-bottom: 12px;
}

.history-highlight-card p {
    max-width: 480px;

    color: #dce6f2;

    font-size: 14px;
    line-height: 1.7;
}

.history-highlight-card a {
    display: inline-block;

    margin-top: 20px;

    color: var(--white);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.history-highlight-card a:hover {
    color: var(--gold-light);
}


/* ---------------------------------------------------------
   HISTORY STORY
   --------------------------------------------------------- */

.history-story {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #f8fafc 0%,
            #eef5ff 100%
        );
}

.history-story-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.history-story-content h2 {
    max-width: 550px;

    margin: 12px 0 25px;

    font-size: clamp(2rem, 4vw, 3rem);
}

.history-story-content > p {
    max-width: 580px;

    margin-bottom: 18px;

    color: var(--gray-700);
}

.history-quote {
    display: flex;

    gap: 12px;

    margin-top: 30px;
    padding: 22px 25px;

    border-left: 4px solid var(--gold);

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.history-quote span {
    color: var(--gold);

    font-family: "Playfair Display", serif;

    font-size: 42px;
    line-height: 0.8;
}

.history-quote p {
    margin: 0;

    color: var(--navy);

    font-family: "Playfair Display", serif;

    font-size: 18px;
    font-style: italic;
}


/* ---------------------------------------------------------
   HISTORY IMAGE
   --------------------------------------------------------- */

.history-story-image {
    position: relative;

    min-height: 500px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    background: var(--navy);

    box-shadow: var(--shadow-md);
}

.history-story-image img {
    width: 100%;
    height: 500px;

    object-fit: cover;
}

.history-image-caption {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 25px;

    padding: 18px 20px;

    background: rgba(0, 27, 61, 0.92);

    color: var(--white);

    border-left: 3px solid var(--gold);
}

.history-image-caption strong {
    display: block;

    color: var(--white);

    font-size: 18px;
}

.history-image-caption span {
    display: block;

    margin-top: 3px;

    color: #d8e2ed;

    font-size: 13px;
}


/* ---------------------------------------------------------
   MILESTONES
   --------------------------------------------------------- */

.milestones-section {
    padding: 100px 0;

    background: var(--white);
}

.section-heading.center {
    text-align: center;

    margin-bottom: 60px;
}

.section-heading.center .section-subtitle {
    margin-inline: auto;
}


/* ---------------------------------------------------------
   MILESTONE GRID
   --------------------------------------------------------- */

.milestones-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.milestone-card {
    position: relative;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.milestone-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-md);

    border-color: var(--gold);
}

.milestone-year {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 28px;

    font-family: "Playfair Display", serif;

    font-weight: 700;
}

.milestone-card h3 {
    margin-bottom: 10px;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;

    color: var(--navy);
}

.milestone-card p {
    min-height: 95px;

    margin-bottom: 18px;

    color: var(--gray-500);

    font-size: 13px;

    line-height: 1.65;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .history-intro-grid,
    .history-story-grid {
        grid-template-columns: 1fr;
    }

    .milestones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .inner-page-hero {
        padding: 70px 0;
    }

    .history-intro,
    .history-story,
    .milestones-section {
        padding: 70px 0;
    }

    .milestones-grid {
        grid-template-columns: 1fr;
    }

    .history-story-image {
        min-height: 350px;
    }

    .history-story-image img {
        height: 350px;
    }

}
