/* ============================================================
   INDEX HERO
   ============================================================ */

.index-hero {
    position: relative;
    width: 100%;
    min-height: 1000px;

    display: flex;
    align-items: center;

    overflow: hidden;
    isolation: isolate;

    background:
        url("../images/hero/hero-index.jpg")
        center center / cover no-repeat;
}


/* ============================================================
   HERO OVERLAY
   Ivory + Green + Navy Gradient
   ============================================================ */

.index-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 45, 27, 0.94) 0%,
            rgba(8, 73, 45, 0.84) 28%,
            rgba(11, 31, 58, 0.68) 58%,
            rgba(11, 31, 58, 0.35) 80%,
            rgba(11, 31, 58, 0.18) 100%
        );

    z-index: 1;
}


/* ============================================================
   HERO SUBTLE GLOW
   ============================================================ */

.index-hero::before {
    content: "";

    position: absolute;
    width: 520px;
    height: 520px;

    top: -180px;
    left: -150px;

    border-radius: 50%;

    background: rgba(22, 157, 72, 0.18);

    filter: blur(90px);

    pointer-events: none;
    z-index: 1;

    animation: heroGreenGlow 12s ease-in-out infinite alternate;
}


.index-hero::after {
    content: "";

    position: absolute;
    width: 480px;
    height: 480px;

    right: -180px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(11, 31, 58, 0.30);

    filter: blur(100px);

    pointer-events: none;
    z-index: 1;

    animation: heroNavyGlow 14s ease-in-out infinite alternate;
}


/* ============================================================
   HERO GLOW ANIMATIONS
   ============================================================ */

@keyframes heroGreenGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.65;
    }

    50% {
        transform: translate(40px, 30px) scale(1.08);
        opacity: 0.85;
    }

    100% {
        transform: translate(80px, 15px) scale(1.16);
        opacity: 0.60;
    }
}


@keyframes heroNavyGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.55;
    }

    50% {
        transform: translate(-35px, -25px) scale(1.08);
        opacity: 0.75;
    }

    100% {
        transform: translate(-65px, 20px) scale(1.14);
        opacity: 0.50;
    }
}


/* ============================================================
   HERO CONTENT
   ============================================================ */

.index-hero-content {
    position: relative;
    z-index: 3;

    width: min(1180px, 92%);
    margin: 0 auto;

    padding-top: 76px;

    color: #ffffff;
}


/* ============================================================
   HERO EYEBROW
   ============================================================ */

.index-hero-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #e3c87a;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ============================================================
   HERO TITLE
   ============================================================ */

.index-hero h1 {
    max-width: 850px;

    margin: 0 0 22px;

    color: #ffffff;

    font-size: clamp(3.2rem, 7vw, 5.8rem);
    line-height: 1.02;

    letter-spacing: -0.04em;

    font-weight: 800;
}


/* ============================================================
   HERO DESCRIPTION
   ============================================================ */

.index-hero p {
    max-width: 700px;

    margin: 0 0 34px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 1.1rem;
    line-height: 1.85;
}


/* ============================================================
   HERO BUTTONS
   ============================================================ */

.index-hero-buttons {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}


/* ============================================================
   PRIMARY BUTTON
   ============================================================ */

.index-hero-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 155px;

    padding: 14px 24px;

    border-radius: 13px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.index-hero-button.primary {
    background: #c8a44d;

    color: #0b1f3a;

    box-shadow:
        0 12px 30px rgba(200, 164, 77, 0.25);
}


.index-hero-button.primary:hover {
    transform: translateY(-3px);

    background: #d4b35d;

    box-shadow:
        0 18px 35px rgba(200, 164, 77, 0.32);
}


/* ============================================================
   SECONDARY BUTTON
   ============================================================ */

.index-hero-button.secondary {
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.28);

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.index-hero-button.secondary:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.15);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.15);
}


/* ============================================================
   INDEX — LATEST NEWS
   ============================================================ */

.index-news-section {
    position: relative;

    padding: 110px 0 135px;

    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(22, 157, 72, 0.055),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 85%,
            rgba(11, 31, 58, 0.065),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f8f6f1 0%,
            #fffdf8 48%,
            #f3f8f4 100%
        );
}


/* ============================================================
   NEWS SECTION ANIMATED BLOBS
   ============================================================ */

.index-news-section::before,
.index-news-section::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    filter: blur(85px);

    opacity: 0.17;

    pointer-events: none;

    z-index: 0;

    animation:
        newsFloat 12s ease-in-out infinite alternate;
}


.index-news-section::before {
    top: -140px;
    left: -120px;

    background: #169d48;
}


.index-news-section::after {
    right: -140px;
    bottom: -160px;

    background: #0b1f3a;

    animation-delay: -6s;
}


/* ============================================================
   NEWS FLOAT ANIMATION
   ============================================================ */

@keyframes newsFloat {
    0% {
        transform:
            translate(0, 0)
            scale(1);
    }

    50% {
        transform:
            translate(25px, 20px)
            scale(1.08);
    }

    100% {
        transform:
            translate(55px, 35px)
            scale(1.15);
    }
}


/* ============================================================
   CONTAINER
   ============================================================ */

.index-news-container {
    position: relative;
    z-index: 2;

    width: min(1180px, 92%);

    margin: 0 auto;
}


/* ============================================================
   HEADER
   ============================================================ */

.index-news-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 38px;
}


.index-news-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: #a97916;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.index-news-header h2 {
    margin: 0 0 10px;

    color: #0b1f3a;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.15;
}


.index-news-header p {
    max-width: 650px;

    margin: 0;

    color: #64748b;

    line-height: 1.75;
}


/* ============================================================
   VIEW ALL
   ============================================================ */

.index-news-view-all {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 18px;

    border: 1px solid rgba(200, 164, 77, 0.55);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.75);

    color: #0b1f3a;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.index-news-view-all:hover {
    transform: translateY(-2px);

    background: #ffffff;

    box-shadow:
        0 10px 25px rgba(11, 31, 58, 0.08);
}


/* ============================================================
   NEWS GRID
   ============================================================ */

.index-news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* ============================================================
   NEWS CARD
   ============================================================ */

.index-news-card {
    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    min-width: 0;

    border: 1px solid rgba(11, 31, 58, 0.08);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(248, 246, 241, 0.94)
        );

    box-shadow:
        0 12px 35px rgba(11, 31, 58, 0.06);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.index-news-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(200, 164, 77, 0.75);

    box-shadow:
        0 24px 50px rgba(11, 31, 58, 0.12);
}


/* ============================================================
   IMAGE
   ============================================================ */

.index-news-image {
    position: relative;

    width: 100%;
    height: 240px;

    overflow: hidden;

    background: #e9eee9;
}


.index-news-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(7, 29, 53, 0.68),
            transparent 45%
        );

    pointer-events: none;

    z-index: 1;
}


.index-news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.45s ease;
}


.index-news-card:hover
.index-news-image img {
    transform: scale(1.05);
}


/* ============================================================
   DATE
   ============================================================ */

.index-news-date {
    position: absolute;

    left: 18px;
    bottom: 16px;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    padding: 8px 12px;

    border: 1px solid rgba(255, 255, 255, 0.20);

    border-radius: 999px;

    background:
        rgba(11, 31, 58, 0.72);

    color: #ffffff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.2px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* ============================================================
   CONTENT
   ============================================================ */

.index-news-content {
    padding: 24px 24px 26px;

    flex: 1;
}


.index-news-category {
    display: inline-block;

    margin-bottom: 8px;

    color: #a97916;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.index-news-content h3 {
    margin: 0 0 18px;

    color: #0b1f3a;

    font-size: 22px;

    line-height: 1.3;
}


/* ============================================================
   INFO BOX
   ============================================================ */

.index-news-info-box {
    padding: 14px 15px;

    border-left: 3px solid #169d48;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #f8f6f1,
            #ffffff
        );
}


.index-news-info-box span {
    display: block;

    margin-bottom: 5px;

    color: #31577e;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.4px;
}


.index-news-info-box p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.65;
}


/* ============================================================
   TABLET — HERO
   ============================================================ */

@media (max-width: 768px) {

    .index-hero {
        min-height: 850px;
    }

    .index-hero-content {
        padding-top: 80px;
    }

    .index-hero h1 {
        font-size:
            clamp(2.8rem, 9vw, 4.5rem);
    }

    .index-hero p {
        font-size: 1rem;
    }
}


/* ============================================================
   TABLET — NEWS
   ============================================================ */

@media (max-width: 900px) {

    .index-news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ============================================================
   MOBILE — HERO
   ============================================================ */

@media (max-width: 600px) {

    .index-hero {
        min-height: 760px;

        background-position:
            60% center;
    }

    .index-hero-content {
        padding-top: 85px;
    }

    .index-hero-eyebrow {
        font-size: 11px;
    }

    .index-hero h1 {
        font-size: 2.8rem;

        line-height: 1.05;
    }

    .index-hero p {
        font-size: 0.96rem;

        line-height: 1.75;
    }

    .index-hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .index-hero-button {
        width: 100%;
    }
}


/* ============================================================
   MOBILE — NEWS
   ============================================================ */

@media (max-width: 650px) {

    .index-news-section {
        padding: 75px 0 85px;
    }

    .index-news-header {
        flex-direction: column;

        align-items: flex-start;

        margin-bottom: 28px;
    }

    .index-news-view-all {
        width: 100%;

        justify-content: center;
    }

    .index-news-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .index-news-image {
        height: 220px;
    }

    .index-news-card {
        border-radius: 17px;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .index-hero::before,
    .index-hero::after,
    .index-news-section::before,
    .index-news-section::after {
        animation: none;
    }

    .index-news-card,
    .index-news-image img,
    .index-hero-button,
    .index-news-view-all {
        transition: none;
    }
}