/* Hero section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 3rem; /* smaller on phones */
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 5rem;
    }
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.8),
        rgba(15, 23, 42, 0.4),
        rgba(15, 23, 42, 0)
    );
    z-index: 1;
}
.hero-blue-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.2);
    mix-blend-mode: multiply;
    z-index: 2;
}
.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 70rem;
    margin: 0 auto;
    padding: 0 1rem;
}
.hero-content {
    max-width: 56rem;
    color: #fff;
}
.hero-texts {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 2rem;
    row-gap: 0.5rem;
    margin-bottom: 1rem;
}
.hero-span {
    color: #ffffff;
    font-size: o.85rem; /* smaller on phones */
    font-weight: 500;
    letter-spacing: -0.015em;
}
@media (min-width: 768px) {
    .hero-span {
        font-size: 1rem;
    }
}
.hero-subtitle {
    display: inline-block;
    color: #60a5fa;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.hero-title {
    color: #ffffff;
    font-weight: 700;
    font-style: italic;
    line-height: 1.1;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 42rem;
    font-size: 1.5rem; /* phones */
}
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
}
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}
@media (min-width: 1280px) {
    .hero-title {
        font-size: 4rem;
    }
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem; /* smaller on phones */
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 300ms ease;
}
@media (min-width: 768px) {
    .btn {
        padding: 1rem 2.5rem;
    }
}
.btn-primary {
    color: #ffffff;
    background-color: #2563eb;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.3);
}
.btn-primary:hover {
    background-color: #1d4ed8;
}
.btn-secondary {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Expertise section */
.expertise-section {
    background-color: #ffffff;
    padding: 4rem 1rem; /* phones */
}
@media (min-width: 768px) {
    .expertise-section {
        padding: 8rem 0;
    }
}
.heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem; /* phones */
}
@media (min-width: 768px) {
    .heading {
        margin-bottom: 5rem;
    }
}
.heading-texts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 6px;
    row-gap: 1rem;
    margin-bottom: 1.5rem;
}
.heading-texts h2 {
    font-size: 1.25rem; /* phones */
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.015em;
}
@media (min-width: 768px) {
    .heading-texts h2 {
        font-size: 1.875rem;
    }
}
@media (min-width: 1024px) {
    .heading-texts h2 {
        font-size: 1.85rem;
    }
}
.heading-underline {
    width: 4rem; /* smaller on phones */
    height: 0.5rem;
    background-color: #22c55e;
    border-radius: 9999px;
}
@media (min-width: 768px) {
    .heading-underline {
        width: 6rem;
    }
}
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .cards {
        gap: 2.5rem;
        grid-template-columns: repeat(3, 1fr);
    }
}
.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem; /* phones */
    border-radius: 2rem;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.5s ease;
}
@media (min-width: 768px) {
    .card {
        padding: 2.5rem;
        border-radius: 2.5rem;
    }
}
.card:hover {
    background-color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}
.card-icon {
    font-size: 2rem; /* phones */
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
}
/* Expertise card titles */
.card h3 {
    font-size: 1.25rem; /* phones */
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f172a;
    transition: color 0.3s ease;
}
@media (min-width: 768px) {
    .card h3 {
        font-size: 1.13rem;
        margin-bottom: 1rem;
    }
}
.card:hover h3 {
    color: #2563eb;
}

.card p {
    color: #475569;
    margin-bottom: 1.5rem; /* phones */
    line-height: 1.625;
}
@media (min-width: 768px) {
    .card p {
        margin-bottom: 2rem;
        font-size: 0.9rem;
    }
}

.card-link {
    margin-top: auto;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    gap: 4px;
    align-items: center;
    text-decoration: none;
}
.card-link .arrow {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

/* Initiative section */
.initiative-section {
    background-color: #f8fafc;
    padding: 4rem 1rem; /* phones */
}
@media (min-width: 768px) {
    .initiative-section {
        padding: 8rem 0;
    }
}

.initiative-card {
    background-color: #ffffff;
    border-radius: 2rem; /* phones */
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(222, 225, 228, 0.5);
    display: flex;
    flex-direction: column;
    /* align-items: stretch; */
}
@media (min-width: 768px) {
    .initiative-card {
        border-radius: 2.4rem;
    }
}
@media (min-width: 1024px) {
    .initiative-card {
        flex-direction: row;
    }
}

.initiative-image {
    position: relative;
    min-height: 250px; /* phones */
    flex: 1;
}
@media (min-width: 768px) {
    .initiative-image {
        min-height: 400px;
    }
}
.initiative-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.initiative-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem; /* phones */
}
@media (min-width: 768px) {
    .initiative-content {
        padding: 3rem;
    }
}
@media (min-width: 1024px) {
    .initiative-content {
        padding: 2rem 1.5rem;
    }
}

.initiative-label {
    display: inline-block;
    background-color: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem; /* phones */
}
@media (min-width: 768px) {
    .initiative-label {
        margin-bottom: 1.5rem;
    }
}

.initiative-title {
    font-size: 1.25rem; /* phones */
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .initiative-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }
}
@media (min-width: 1024px) {
    .initiative-title {
        font-size: 2.7rem;
    }
}

.initiative-text {
    color: #475569;
    font-size: 1rem; /* phones */
    line-height: 1.625;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .initiative-text {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
}

.initiative-button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem; /* phones */
    background-color: #0f172a;
    color: #ffffff;
    border-radius: 0.75rem; /* phones */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
@media (min-width: 768px) {
    .initiative-button {
        padding: 1rem 2.5rem;
        border-radius: 1rem;
    }
}
.initiative-button:hover {
    background-color: #2563eb;
}
