/* YEGEDER homepage – clean layout matching yegeder.org */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

body.yeg-mirror-home {
    color: #333;
}

body.yeg-mirror-home .header {
    margin-bottom: 0;
}

body.yeg-mirror-home .footer {
    margin-top: 0;
}

/* ---- tokens ---- */
.yeg-home {
    --yeg-navy: #07294d;
    --yeg-navy-dark: #031a3d;
    --yeg-red: #f14d5d;
    --yeg-red-hover: #e03d4d;
    --yeg-text: #333333;
    --yeg-muted: #777777;
    --yeg-wrap: 1170px;
    font-family: 'Open Sans', sans-serif;
    color: var(--yeg-text);
    line-height: 1.7;
    overflow-x: hidden;
}

.yeg-home *,
.yeg-home *::before,
.yeg-home *::after {
    box-sizing: border-box;
}

.yeg-home img {
    max-width: 100%;
    height: auto;
    display: block;
}

.yeg-home h1,
.yeg-home h2,
.yeg-home h3,
.yeg-home h4,
.yeg-home p {
    margin: 0;
    font-weight: inherit;
}

.yeg-wrap {
    width: 100%;
    max-width: var(--yeg-wrap);
    margin: 0 auto;
    padding: 0 15px;
}

.yeg-center {
    text-align: center;
    margin-top: 40px;
}

.yeg-center-text {
    text-align: center;
}

.yeg-kicker {
    color: var(--yeg-red);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.yeg-kicker--light {
    color: var(--yeg-red);
}

.yeg-btn {
    display: inline-block;
    background: var(--yeg-red);
    color: #fff !important;
    border: none;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1.4;
}

.yeg-btn:hover {
    background: var(--yeg-red-hover);
    color: #fff !important;
}

.yeg-btn--sm {
    padding: 10px 22px;
    font-size: 13px;
}

.yeg-btn--dark {
    background: #1a1a1a;
}

.yeg-btn--dark:hover {
    background: #333;
}

/* ---- hero ---- */
.yeg-hero {
    position: relative;
    width: 100%;
}

.yeg-hero__slider {
    width: 100%;
}

.yeg-hero__slide {
    position: relative;
    min-height: 580px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex !important;
    align-items: center;
}

.yeg-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.yeg-hero__inner {
    position: relative;
    z-index: 2;
    padding: 80px 15px;
    max-width: 650px;
}

.yeg-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}

.yeg-hero__text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    margin-bottom: 28px;
    max-width: 520px;
}

.yeg-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.yeg-hero__arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.yeg-hero__arrow--prev { left: 20px; }
.yeg-hero__arrow--next { right: 20px; }

.yeg-hero .slick-list,
.yeg-hero .slick-track,
.yeg-hero .slick-slide,
.yeg-hero .slick-slide > div {
    height: 100%;
}

.yeg-hero .slick-slide > div {
    height: 580px;
}

/* ---- team ---- */
.yeg-team {
    padding: 70px 0 60px;
    background: #fff url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8e8e8' fill-opacity='0.35'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.yeg-team__title {
    text-align: center;
    color: var(--yeg-red);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 45px;
}

.yeg-team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.yeg-team-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 24px;
}

.yeg-team-card__photo {
    flex: 0 0 90px;
}

.yeg-team-card__photo img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.yeg-team-card__body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--yeg-red);
    margin-bottom: 4px;
}

.yeg-team-card__role {
    font-size: 13px;
    color: var(--yeg-muted);
    margin-bottom: 8px !important;
}

.yeg-team-card__bio {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ---- news ---- */
.yeg-news {
    padding: 70px 0;
    background: #fff;
}

.yeg-news__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.yeg-news__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--yeg-navy);
}

.yeg-news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
}

.yeg-news-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.yeg-news-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.yeg-news-card__image img,
.yeg-news-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.yeg-news-card__placeholder {
    background: linear-gradient(135deg, #152447 0%, #3d5a80 100%);
}

.yeg-news-card__image:hover img {
    transform: scale(1.04);
}

.yeg-news-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--yeg-red);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

.yeg-news-card__body {
    padding: 18px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.yeg-news-card__body h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.yeg-news-card__body h3 a {
    color: var(--yeg-navy);
    text-decoration: none;
}

.yeg-news-card__body h3 a:hover {
    color: var(--yeg-red);
}

.yeg-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--yeg-muted);
    margin-bottom: 10px;
}

.yeg-news-card__meta i {
    margin-right: 4px;
    color: var(--yeg-red);
}

.yeg-news-card__body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.yeg-news-card__more {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--yeg-red) !important;
    text-decoration: none !important;
}

.yeg-news-card__more:hover {
    text-decoration: underline !important;
}

/* ---- president ---- */
.yeg-president {
    padding: 70px 0;
    background: #fff;
}

.yeg-president__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.yeg-president__text h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--yeg-navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.yeg-president__text > p {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
}

.yeg-president__person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.yeg-president__person img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.yeg-president__person strong {
    display: block;
    font-size: 15px;
    color: var(--yeg-navy);
}

.yeg-president__person span {
    font-size: 13px;
    color: var(--yeg-muted);
}

.yeg-president__image img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    object-position: center;
}

/* ---- cta duo ---- */
.yeg-cta-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.yeg-cta-duo__box {
    background: var(--yeg-navy);
    padding: 55px 50px;
    text-align: center;
    color: #fff;
}

.yeg-cta-duo__box--alt {
    background: var(--yeg-navy-dark);
}

.yeg-cta-duo__box h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

.yeg-cta-duo__box p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- stats ---- */
.yeg-stats {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.yeg-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7, 41, 77, 0.72);
}

.yeg-stats__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.yeg-stat__value {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.yeg-stat__label {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
}

/* ---- testimonials ---- */
.yeg-testimonials {
    padding: 70px 0;
    background: #f8f9fa;
}

.yeg-testimonials__title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--yeg-navy);
    margin-bottom: 40px;
}

.yeg-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.yeg-testimonial-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.yeg-stars {
    color: var(--yeg-red);
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    gap: 3px;
}

.yeg-testimonial-card__quote {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px !important;
    font-style: italic;
}

.yeg-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 16px;
}

.yeg-testimonial-card__author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.yeg-testimonial-card__author strong {
    display: block;
    font-size: 14px;
    color: var(--yeg-navy);
}

.yeg-testimonial-card__author span {
    font-size: 12px;
    color: var(--yeg-muted);
}

/* ---- projects ---- */
.yeg-projects {
    padding: 45px 0 70px;
    background: #fff;
}

.yeg-projects__title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--yeg-navy);
    margin: 0 0 68px;
    padding: 0 20px;
    line-height: 1.35;
    text-wrap: balance;
}

.yeg-projects__title-line {
    display: block;
}

@media (min-width: 768px) {
    .yeg-projects__title-line {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .yeg-projects {
        padding-top: 35px;
    }

    .yeg-projects__title {
        font-size: 24px;
        line-height: 1.45;
        margin-bottom: 52px;
    }
}

.yeg-projects__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px 24px;
    max-width: 960px;
    margin: 0 auto;
}

.yeg-project-item {
    text-align: center;
    grid-column: span 3;
}

.yeg-project-item:nth-child(5) {
    grid-column: 3 / span 3;
}

.yeg-project-item:nth-child(6) {
    grid-column: span 3;
}

.yeg-project-item:nth-child(7) {
    grid-column: span 3;
}

.yeg-project-item img {
    width: auto;
    max-height: 70px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.yeg-project-item h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--yeg-navy);
    margin-bottom: 4px;
}

.yeg-project-item p {
    font-size: 12px;
    color: var(--yeg-muted);
}

/* ---- contact ---- */
.yeg-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.yeg-contact__image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.yeg-contact__form-wrap {
    background: var(--yeg-navy);
    padding: 55px 50px;
    color: #fff;
}

.yeg-contact__form-wrap h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
}

.yeg-contact__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.yeg-contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.yeg-contact__form input,
.yeg-contact__form textarea {
    width: 100%;
    border: none;
    border-radius: 3px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #333;
}

.yeg-contact__form textarea {
    min-height: 120px;
    resize: vertical;
}

.yeg-contact__form .yeg-btn {
    align-self: flex-start;
    margin-top: 6px;
}

/* ---- responsive ---- */
@media (max-width: 991px) {
    .yeg-team__grid {
        grid-template-columns: 1fr;
    }

    .yeg-news__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yeg-president__grid {
        grid-template-columns: 1fr;
    }

    .yeg-president__image {
        order: -1;
    }

    .yeg-cta-duo {
        grid-template-columns: 1fr;
    }

    .yeg-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .yeg-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .yeg-projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yeg-project-item,
    .yeg-project-item:nth-child(5),
    .yeg-project-item:nth-child(6),
    .yeg-project-item:nth-child(7) {
        grid-column: auto;
    }

    .yeg-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .yeg-hero__slide,
    .yeg-hero .slick-slide > div {
        min-height: 420px;
        height: 420px;
    }

    .yeg-news__grid {
        grid-template-columns: 1fr;
    }

    .yeg-contact__row {
        grid-template-columns: 1fr;
    }

    .yeg-cta-duo__box,
    .yeg-contact__form-wrap {
        padding: 40px 24px;
    }

    .yeg-team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
