/* ========================================
   Home Page Specific Styles
   ======================================== */

/* ========================================
   1. Hero Section
   ======================================== */
.hero {
    background: radial-gradient(circle at top left, rgba(242, 161, 4, 0.25), transparent 60%),
        linear-gradient(135deg, rgba(31, 60, 136, 0.9) 0%, rgba(50, 94, 168, 0.6) 100%),
        url("../img/hero-bg.svg");
    background-size: cover;
    color: var(--text-light);
    margin-top: -80px;
    padding-top: calc(4rem + 200px);
    padding-bottom: 200px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero__content {
    display: grid;
    gap: 2.5rem;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.hero__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__brand {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    color: var(--text-light);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
}

/* ========================================
   2. Mission Section
   ======================================== */
.section#mission {
    background: transparent;
    color: var(--text-light);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.section#mission .section__title {
    color: var(--text-light);
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section#mission .section__body {
    background: transparent;
    color: var(--text-light);
}

/* ========================================
   News Section Background Override
   ======================================== */
.section#news {
    background: transparent;
    color: var(--text-light);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.section#news .section__title {
    color: var(--text-light);
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section#news .section__body {
    background: transparent;
    color: var(--text-light);
}

.mission__content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.mission__tagline {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-align: center;
    max-width: 1200px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    margin: 0 auto;
    width: 100%;
}

.mission__value {
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    padding: 2rem 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.mission__value strong {
    color: var(--brand-yellow);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(242, 161, 4, 0.8);
}

.mission__pillars {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 1.0rem;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.mission__pillars li {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    position: relative;
    transition: all 0.3s ease;
}

.mission__pillars li::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.5rem;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-yellow), rgba(242, 161, 4, 0.5));
    transition: width 0.3s ease;
}

.mission__pillars li:hover::before {
    width: 60%;
}

.mission__pillars li:hover {
    transform: translateY(-3px);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
}

.mission__pillars strong {
    color: var(--brand-yellow);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 161, 4, 0.6);
}

/* ========================================
   3. Services Section
   ======================================== */
.section__subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #34495e;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Business Cards Grid */
.business__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Individual Business Card */
.business-card {
    background: var(--bg-dark);
    border: 3px solid var(--brand-yellow);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: 300px;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(242, 161, 4, 0.8);
}

/* Business Card Header (Icon + Title) */
.business-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.business-card__icon {
    margin-bottom: 0;
}

.business-card__icon-bg {
    width: 48px;
    height: 48px;
    background: var(--brand-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(242, 161, 4, 0.3);
}

.business-card__emoji {
    font-size: 1.4rem;
    line-height: 1;
}

.business-card__icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.business-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

/* Business Card Content */
.business-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Text link placed at bottom-right of the card */
.business-card__actions {
    margin-top: 1rem;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.business-card__more {
    color: var(--brand-yellow);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.business-card__arrow {
    display: inline-block;
    transition: transform 0.18s ease;
}

.business-card__more:hover .business-card__arrow {
    transform: translateX(4px);
}

.business-card__description {
    color: #34495e;
    line-height: 1.7;
    font-size: 1rem;
    flex: 1;
}

/* Empty State */
.services__empty {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    background: var(--bg-dark);
    border: 3px solid var(--brand-yellow);
    border-radius: 1.5rem;
    margin-top: 3rem;
}

/* ========================================
   4. Responsive Design - Tablet
   ======================================== */
@media (max-width: 768px) {

    /* Mission Section */
    .section#mission {
        min-height: 60vh;
        padding: 3rem 0;
    }

    .mission__content {
        gap: 2rem;
    }

    .mission__tagline {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        line-height: 1.2;
    }

    .mission__value {
        font-size: 1.15rem;
        line-height: 1.6;
        padding: 1.5rem;
    }

    .mission__pillars {
        gap: 2rem;
    }

    .mission__pillars li {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
        line-height: 1.5;
    }

    /* Services Section */
    .section__subtitle {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
    }

    .business__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    /* News Section */
    .news__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    .news-card {
        max-width: 100%;
    }
}

/* ========================================
   5. Responsive Design - Mobile
   ======================================== */
@media (max-width: 576px) {

    /* Hero Section */
    .hero {
        padding: 3rem 0;
        padding-top: calc(3rem + 80px);
        min-height: 40vh;
    }

    .hero__content {
        gap: 2rem;
    }

    .hero__brand {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .hero__cta {
        width: 100%;
        flex-direction: column;
    }

    /* Services Section */
    .section__subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .business__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* Business Cards */
    .business-card {
        padding: 2rem;
        min-height: 220px;
    }

    .business-card__header {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .business-card__icon-bg {
        width: 44px;
        height: 44px;
    }

    .business-card__emoji {
        font-size: 1.2rem;
    }

    .business-card__icon-img {
        width: 26px;
        height: 26px;
    }

    .business-card__title {
        font-size: 1.25rem;
    }

    .business-card__description {
        font-size: 0.95rem;
    }

    /* News Section */
    .news__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .news-card__image {
        height: 180px;
    }

    .news-card__content {
        padding: 1.25rem;
    }

    .news-card__title {
        font-size: 1.15rem;
    }
}

/* ========================================
   6. News Section
   ======================================== */

/* News Cards Grid */
.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

/* Individual News Card */
.news-card {
    background: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 380px;
    margin: 0 auto;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* News Card Image */
.news-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card__img {
    transform: scale(1.05);
}

/* News Card Content */
.news-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta Information */
.news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.news-card__category {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(31, 60, 136, 0.1);
    border-radius: 999px;
    font-size: 0.8rem;
}

.news-card__date {
    color: #666;
    font-size: 0.8rem;
}

/* News Card Title */
.news-card__title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--brand-black);
    transition: color 0.3s ease;
}

.news-card:hover .news-card__title {
    color: var(--brand-blue);
}

.news-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* News Card Summary */
.news-card__summary {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
    margin: 0;
}

/* News More Button */
.news__more {
    text-align: center;
    margin-top: 2rem;
}

/* Empty State */
.news__empty {
    text-align: center;
    padding: 3rem 0;
}

/* ========================================
   7. Content-Specific Components (from base.css)
   ======================================== */

/* Text Components */
.section__text {
    margin: 0 auto;
    max-width: 720px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* FAQ Components */
.faq-list {
    display: grid;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
}

.faq-item {
    background: rgba(16, 24, 32, 0.05);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.faq-item__question {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--brand-blue);
}

.faq-item__answer {
    margin: 0;
}

/* FAQ More Button */
.faq__more {
    text-align: center;
    margin-top: 2rem;
}


.section#company {
    background: transparent;
    color: var(--text-light);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.section#company .section__title {
    color: var(--text-light);
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section#company .section__body {
    background: transparent;
    color: var(--text-light);
}

/* Company Components */
.company-table {
    margin: 0 auto;
    max-width: 720px;
    width: 100%;
    /* transparent panel to let page background show through */
    background: transparent;
    color: var(--text-light);
    border: 1px solid #ffffff;
    border-radius: 0.75rem;
    border-collapse: collapse;
    overflow: hidden;
}

.company-table td {
    padding: 1rem 1.5rem;
    color: var(--text-light);
    border-bottom: 1px solid #ffffff;
    vertical-align: top;
}

.company-table td:first-child {
    width: 30%;
    /* keep subtle tint but lighten for contrast on transparent background */
    background: rgba(31, 60, 136, 0.12);
    font-weight: 600;
    color: var(--text-light);
}

.company-table td:last-child {
    width: 70%;
    line-height: 1.6;
}

.company-table tr:last-child td {
    border-bottom: none;
}

/* Contact Components */
.contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}