/* ---------- HERO ---------- */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62vh;
    padding: 110px 0 70px;
    background-size: cover;
    background-position: center;
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-section h1,
.hero-content-modern h1 {
    font: 700 2.7rem/1.11 #fff;
    margin-bottom: 22px;
    letter-spacing: -1.1px;
    text-shadow: 0 5px 22px rgba(40, 60, 100, .15);
}

.hero-section p,
.hero-content-modern p {
    font-size: 1.18rem;
    color: #f2f4fa;
    margin-bottom: 30px;
    max-width: 600px;
    text-shadow: 0 4px 14px rgba(36, 49, 104, .13);
}

.hero-section .btn,
.hero-content-modern .btn {
    margin: 0 8px 8px 0;
}

@media(max-width:900px) {

    .hero-section h1,
    .hero-content-modern h1 {
        font-size: 2.1rem;
    }
}

@media(max-width:700px) {

    .hero-section,
    .hero-content-modern {
        padding-top: 35px;
        min-height: 320px;
    }
}

/* ---------- HERO & CAROUSEL ---------- */
.homepage-hero {
    padding: 0;
    min-height: 450px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eafaf1 0%, #f6fdf9 100%);
}

.hero-flex {
    display: flex;
    gap: 40px;
    align-items: stretch;
    justify-content: flex-start;
    padding: 60px 0;
}

.hero-left {
    flex: 1 1 410px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.14;
    margin-bottom: 16px;
    font-family: 'Poppins', Arial, sans-serif;
    color: #20265d;
    font-weight: 700;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-lead {
    color: #5b6681;
    font-size: 1.18rem;
    margin-bottom: 22px;
    font-family: 'Poppins', Arial, sans-serif;
    text-align: left;
}

.areas-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 8px;
    align-items: center;
}

.hero-right {
    flex: 1 1 520px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin-top: 10px;
}

.carousel {
    width: 355px;
    max-width: 95vw;
    min-height: 230px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(80, 120, 180, 0.10);
    padding: 28px 30px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    animation: fadein .8s;
}

.carousel-slide.active {
    display: flex;
}

.carousel-title {
    font-size: 1.25rem;
    color: #1db954;
    font-weight: 700;
    margin-bottom: 6px;
}

.carousel-desc {
    color: #233048;
    font-size: 1.02rem;
    margin-bottom: 16px;
    font-family: 'Poppins', Arial, sans-serif;
}

.carousel-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 2px;
}

.carousel-dots {
    display: flex;
    gap: 7px;
    margin-top: 10px;
    align-items: center;
    justify-content: flex-end;
}

.carousel-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #dbe5f7;
    cursor: pointer;
    transition: background .14s;
}

.carousel-dot.active {
    background: #1db954;
}

@media (max-width:950px) {
    .hero-flex {
        flex-direction: column;
        gap: 36px;
        padding: 28px 0;
    }

    .hero-right {
        align-items: center;
        margin-top: 0;
    }

    .carousel {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width:650px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .carousel {
        padding: 18px 10px;
    }

    .areas-tags {
        gap: 8px;
    }
}

/* Contact page specific adjustments */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.25;
    }
}

.carousel-content-row {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    margin-top: 34px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.areas-tags-row {
    flex: 1 0 0;
    display: flex;
    gap: 16px;
    min-width: 600px;
    max-width: 50vw;
    overflow-x: auto;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}

.carousel-card {
    flex: 2 1 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 36px 0 rgba(52, 112, 236, 0.13);
    padding: 40px 35px;
    min-width: 410px;
    max-width: 500px;
    min-height: 340px;
    font-size: 1.16rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transition: box-shadow 0.22s, transform 0.18s;
    display: none;
    color: white;
    position: relative;
}

.carousel-card.active {
    display: flex;
}

.carousel-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1100px) {
    .carousel-content-row {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .areas-tags-row {
        min-width: 0;
        max-width: 100vw;
        margin-bottom: 8px;
    }

    .carousel-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 30px 25px;
        min-height: 280px;
        font-size: 1.01rem;
    }
}

@media (max-width:650px) {
    .areas-tags-2col {
        grid-template-columns: 1fr;
        min-width: 130px;
        gap: 7px 0;
    }

    .area-tag {
        font-size: 0.97em;
        min-width: 110px;
    }
}

.areas-tags-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 12px 24px;
    margin-bottom: 8px;
    align-items: flex-start;
    justify-items: stretch;
    min-width: 310px;
    max-width: 440px;
}

.area-tag {
    background: #eafaf1;
    border: none;
    color: #2151a5;
    font-weight: 600;
    border-radius: 5px;
    padding: 11px 34px;
    font-size: 1rem;
    cursor: pointer;
    transition: background .16s, color .14s;
    flex: 1 1 0;
    min-width: 160px;
    text-align: center;
    display: block;
    white-space: nowrap;
}

.area-tag.active,
.area-tag:hover {
    background: #1db954;
    color: #fff;
}

@media (max-width:900px) {
    .areas-tags-row {
        min-width: 0;
        gap: 8px;
    }

    .area-tag {
        padding: 8px 16px;
        min-width: 100px;
        font-size: 0.97em;
    }
}

/* ABOUT PAGE HERO STYLES */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--brand-text);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.highlight-item:hover {
    background-color: rgba(29, 185, 84, 0.1);
    transform: translateX(4px);
}

.highlight-item.active {
    background-color: var(--brand-green);
    color: white;
    transform: translateX(4px);
}

.highlight-item i {
    font-size: 1.3rem;
    color: var(--brand-green);
    min-width: 24px;
}

.highlight-item.active i {
    color: white !important;
}

.hero-image-container {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

.hero-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

@media (max-width: 1100px) {
    .hero-image-container {
        max-width: 100%;
    }

    .hero-image {
        height: 180px;
    }
}

@media (max-width: 650px) {
    .hero-image {
        height: 150px;
    }
}

.about-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 36px 0 rgba(52, 112, 236, 0.13);
    padding: 40px 35px;
    min-width: 410px;
    max-width: 500px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transition: box-shadow 0.22s, transform 0.18s;
}

.about-card:hover {
    box-shadow: 0 12px 48px 0 rgba(52, 112, 236, 0.18);
    transform: translateY(-4px);
}

.about-card-content {
    width: 100%;
}

.about-card-title {
    font-size: 1.4rem;
    color: var(--brand-green);
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card-desc {
    color: var(--brand-text);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--brand-muted);
    font-weight: 500;
}

@media (max-width: 1100px) {
    .about-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 30px 25px;
        min-height: 280px;
    }

    .about-stats {
        gap: 15px;
    }

    .stat-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 650px) {
    .about-highlights {
        gap: 10px;
    }

    .highlight-item {
        font-size: 1rem;
    }

    .about-card {
        padding: 25px 20px;
        min-height: 250px;
    }

    .about-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .stat-number {
        font-size: 1.4rem;
        margin-bottom: 0;
    }
}