/* =========================================================
   LAMiC EVENTS PAGE
========================================================= */


/* =========================================================
   EVENTS HERO
========================================================= */

.events-hero {

    position: relative;

    min-height: 480px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            135deg,
            rgba(18,39,71,.96),
            rgba(24,50,91,.88)
        ),
        url("../images/events/events-hero.jpg");

    background-size: cover;

    background-position: center;

    overflow: hidden;

}


.events-hero::before {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.08);

    right: -120px;

    top: -100px;

}


.events-hero::after {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.06);

    right: 100px;

    bottom: -180px;

}


.events-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(18,39,71,.96),
            rgba(18,39,71,.70)
        );

}


.events-hero .container {

    position: relative;

    z-index: 2;

}


.events-hero-content {

    max-width: 820px;

    padding: 80px 0;

}


.events-breadcrumb {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 30px;

    font-size: 14px;

}


.events-breadcrumb a {

    color: rgba(255,255,255,.75);

    text-decoration: none;

    transition: .3s ease;

}


.events-breadcrumb a:hover {

    color: #00A651;

}


.events-breadcrumb i {

    font-size: 10px;

    color: #00A651;

}


.events-breadcrumb span {

    color: #fff;

}


.events-hero-label {

    display: inline-block;

    margin-bottom: 18px;

    color: #00A651;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

}


.events-hero h1 {

    margin: 0 0 25px;

    color: #fff;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1.5px;

}


.events-hero h1 strong {

    display: block;

    color: #00A651;

    font-weight: 700;

}


.events-hero p {

    max-width: 720px;

    margin: 0;

    color: rgba(255,255,255,.82);

    font-size: 18px;

    line-height: 1.8;

}


/* =========================================================
   EVENTS INTRO
========================================================= */

.events-intro {

    background: #fff;

}


.events-intro-grid {

    display: grid;

    grid-template-columns: 1.5fr .8fr;

    gap: 70px;

    align-items: center;

}


.events-intro-content {

    max-width: 760px;

}


.events-intro-content h2 {

    margin: 12px 0 22px;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.15;

    color: #18325B;

}


.events-intro-content p {

    color: #687386;

    font-size: 16px;

    line-height: 1.85;

}


.events-intro-content .lead {

    color: #3d4756;

    font-size: 18px;

    line-height: 1.8;

}


.events-intro-highlight {

    display: flex;

    gap: 22px;

    align-items: center;

    padding: 32px;

    border-radius: 12px;

    background: #f6f9fc;

    border-left: 4px solid #00A651;

}


.events-highlight-icon {

    width: 65px;

    height: 65px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #18325B;

    color: #fff;

    font-size: 24px;

}


.events-intro-highlight strong {

    display: block;

    margin-bottom: 6px;

    color: #18325B;

    font-size: 18px;

}


.events-intro-highlight span {

    color: #687386;

    font-size: 14px;

    line-height: 1.6;

}


/* =========================================================
   SECTION HEADING
========================================================= */

.events-view-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #18325B;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

}


.events-view-link i {

    color: #00A651;

    transition: .3s ease;

}


.events-view-link:hover i {

    transform: translateX(5px);

}


/* =========================================================
   FEATURED EVENT
========================================================= */

.upcoming-events {

    background: #f7f9fc;

}


.events-featured-card {

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 470px;

    background: #fff;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 15px 50px rgba(18,39,71,.08);

}


.events-featured-image {

    position: relative;

    min-height: 450px;

}


.events-featured-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


.events-date-badge {

    position: absolute;

    left: 25px;

    top: 25px;

    width: 75px;

    height: 80px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: #fff;

    box-shadow: 0 8px 25px rgba(0,0,0,.15);

}


.events-date-badge strong {

    color: #18325B;

    font-size: 28px;

    line-height: 1;

}


.events-date-badge span {

    margin-top: 5px;

    color: #00A651;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

}


.events-featured-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 60px;

}


.event-category {

    display: inline-block;

    margin-bottom: 14px;

    color: #00A651;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.events-featured-content h3 {

    margin: 0 0 18px;

    color: #18325B;

    font-size: 34px;

    line-height: 1.2;

}


.events-featured-content > p {

    margin: 0 0 25px;

    color: #687386;

    font-size: 15px;

    line-height: 1.8;

}


.event-meta {

    display: flex;

    flex-direction: column;

    gap: 12px;

    padding: 20px 0;

    border-top: 1px solid #e8edf2;

    border-bottom: 1px solid #e8edf2;

}


.event-meta div {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #4f5c6c;

    font-size: 14px;

}


.event-meta i {

    width: 20px;

    color: #00A651;

}


.event-actions {

    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 25px;

}


.event-contact-link {

    color: #18325B;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

}


/* =========================================================
   EVENT CATEGORIES
========================================================= */

.event-categories {

    background: #fff;

}


.event-category-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

    margin-top: 45px;

}


.event-category-card {

    padding: 35px 28px;

    border: 1px solid #e8edf2;

    border-radius: 12px;

    background: #fff;

    transition: .35s ease;

}


.event-category-card:hover {

    transform: translateY(-7px);

    border-color: rgba(0,166,81,.35);

    box-shadow: 0 15px 35px rgba(18,39,71,.08);

}


.event-category-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 22px;

    border-radius: 10px;

    background: rgba(0,166,81,.08);

    color: #00A651;

    font-size: 22px;

}


.event-category-card h3 {

    margin: 0 0 12px;

    color: #18325B;

    font-size: 20px;

}


.event-category-card p {

    margin: 0;

    color: #687386;

    font-size: 14px;

    line-height: 1.75;

}


/* =========================================================
   EVENT LIST
========================================================= */

.event-list-section {

    background: #f7f9fc;

}


.event-list-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    margin-top: 45px;

}


.event-card {

    background: #fff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 10px 35px rgba(18,39,71,.06);

    transition: .35s ease;

}


.event-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 45px rgba(18,39,71,.12);

}


.event-card-image {

    position: relative;

    height: 235px;

}


.event-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


.event-card-date {

    position: absolute;

    top: 18px;

    left: 18px;

    width: 62px;

    height: 68px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background: #fff;

    border-radius: 7px;

    box-shadow: 0 5px 18px rgba(0,0,0,.15);

}


.event-card-date strong {

    color: #18325B;

    font-size: 22px;

    line-height: 1;

}


.event-card-date span {

    margin-top: 5px;

    color: #00A651;

    font-size: 10px;

    font-weight: 800;

}


.event-card-content {

    padding: 28px;

}


.event-card-content h3 {

    margin: 0 0 13px;

    color: #18325B;

    font-size: 22px;

    line-height: 1.3;

}


.event-card-content p {

    margin: 0 0 20px;

    color: #687386;

    font-size: 14px;

    line-height: 1.75;

}


.event-small-meta {

    display: flex;

    flex-direction: column;

    gap: 8px;

    padding-top: 17px;

    border-top: 1px solid #e8edf2;

}


.event-small-meta span {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #687386;

    font-size: 12px;

}


.event-small-meta i {

    color: #00A651;

}


.event-read-more {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 22px;

    color: #18325B;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

}


.event-read-more i {

    color: #00A651;

    transition: .3s ease;

}


.event-read-more:hover i {

    transform: translateX(5px);

}


/* =========================================================
   PAST EVENTS
========================================================= */

.past-events {

    background: #fff;

}


.past-events-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

    margin-top: 40px;

}


.past-event-card {

    display: flex;

    gap: 25px;

    padding: 30px;

    border: 1px solid #e7ebef;

    border-radius: 12px;

    transition: .3s ease;

}


.past-event-card:hover {

    border-color: rgba(0,166,81,.4);

    box-shadow: 0 12px 35px rgba(18,39,71,.07);

}


.past-event-icon {

    width: 58px;

    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: #18325B;

    color: #fff;

    font-size: 20px;

}


.past-event-content > span {

    color: #00A651;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.2px;

}


.past-event-content h3 {

    margin: 8px 0 10px;

    color: #18325B;

    font-size: 20px;

}


.past-event-content p {

    margin: 0 0 15px;

    color: #687386;

    font-size: 14px;

    line-height: 1.7;

}


.past-event-content a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #18325B;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

}


.past-event-content a i {

    color: #00A651;

}


/* =========================================================
   EVENTS CTA
========================================================= */

.events-cta {

    position: relative;

    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            #18325B,
            #122747
        );

    overflow: hidden;

}


.events-cta::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.07);

    right: -100px;

    top: -150px;

}


.events-cta-inner {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

}


.events-cta-inner > div:first-child {

    max-width: 700px;

}


.events-cta-inner span {

    display: block;

    margin-bottom: 14px;

    color: #00A651;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.events-cta-inner h2 {

    margin: 0 0 15px;

    color: #fff;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.2;

}


.events-cta-inner p {

    margin: 0;

    color: rgba(255,255,255,.72);

    font-size: 16px;

    line-height: 1.75;

}


.events-cta-actions {

    display: flex;

    align-items: center;

    gap: 25px;

    flex-shrink: 0;

}


.events-social-link {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #fff;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

}


.events-social-link i {

    color: #00A651;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .event-category-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .event-list-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 900px) {

    .events-intro-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .events-featured-card {

        grid-template-columns: 1fr;

    }


    .events-featured-image {

        min-height: 350px;

    }


    .events-featured-content {

        padding: 40px;

    }


    .past-events-grid {

        grid-template-columns: 1fr;

    }


    .events-cta-inner {

        flex-direction: column;

        align-items: flex-start;

    }

}


@media (max-width: 700px) {

    .events-hero {

        min-height: 420px;

    }


    .events-hero-content {

        padding: 60px 0;

    }


    .events-hero h1 {

        font-size: 40px;

    }


    .events-hero p {

        font-size: 16px;

    }


    .event-category-grid {

        grid-template-columns: 1fr;

    }


    .event-list-grid {

        grid-template-columns: 1fr;

    }


    .events-featured-content {

        padding: 30px 25px;

    }


    .events-featured-content h3 {

        font-size: 28px;

    }


    .event-actions {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }


    .past-event-card {

        flex-direction: column;

    }


    .events-cta-actions {

        flex-direction: column;

        align-items: flex-start;

    }

}


@media (max-width: 480px) {

    .events-hero h1 {

        font-size: 34px;

    }


    .events-intro-highlight {

        padding: 25px;

    }


    .events-highlight-icon {

        width: 52px;

        height: 52px;

        font-size: 19px;

    }


    .events-featured-image {

        min-height: 280px;

    }


    .events-date-badge {

        width: 65px;

        height: 70px;

    }


    .event-card-image {

        height: 210px;

    }


    .event-card-content {

        padding: 23px;

    }

}