.hero-section {
    min-height: 700px;
    overflow: hidden;
}

.hero-slide {
    min-height: 700px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-swiper {
    padding-bottom: 0;
}

.hero-swiper .swiper-slide {
    opacity: 0.7;
    transition: opacity 0.8s ease;
}

.hero-swiper .swiper-slide-active {
    opacity: 1;
}

.hero-slide-1 {
    background-image: linear-gradient(rgba(9, 48, 76, 0.7), rgba(9, 48, 76, 0.7)), url('https://placeholder.pics/svg/1920x700');
}

.hero-slide-2 {
    background-image: linear-gradient(rgba(9, 48, 76, 0.7), rgba(9, 48, 76, 0.7)), url('https://placeholder.pics/svg/1920x700');
}

.hero-overlay {
    min-height: 700px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-content {
    max-width: 620px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.85);
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--mihci-red);
    background: rgba(255,255,255,0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.btn-custom {
    background-color: var(--mihci-red);
    color: #fff;
    padding: 10px 32px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
}

.btn-custom:hover {
    background-color: #c82333;
    color: #fff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2.2rem;
    text-align: center;
}

.services-section {
    border-top: 3px solid var(--mihci-red);
}

.service-card {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    text-align: left;
}

.service-card p {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 0;
}

.projects-section {
    padding: 4rem 0;
    background-color: var(--mihci-gray);
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project-card img {
    width: 100%;
    aspect-ratio: 850/616;
    object-fit: cover;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background-color: var(--mihci-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.video-section {
    background: linear-gradient(rgba(9, 48, 76, 0.9), rgba(9, 48, 76, 0.9)), url('https://placeholder.pics/svg/1920x500') center/cover;
    color: #fff;
    text-align: center;
    padding: 4.5rem 0;
}

.video-section h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.video-section p {
    color: rgba(255,255,255,0.8);
}

.video-play {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--mihci-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.motto-logo-img {
    height: 70px;
    margin-bottom: 1rem;
}

.team-section {
    background-color: #fff;
}

.team-member {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.team-photo {
    width: 100%;
    aspect-ratio: 700/840;
    object-fit: cover;
}

.team-info {
    background-color: var(--mihci-dark-blue);
    color: #fff;
    padding: 0.75rem 0.5rem;
    border-bottom: 4px solid var(--mihci-red);
}

.team-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.team-info p {
    font-size: 0.8rem;
    margin-bottom: 0;
    opacity: 0.85;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 16px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--mihci-red);
    color: #fff;
    border-color: var(--mihci-red);
}

.gallery-container {
    position: relative;
    min-height: 500px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-wrapper {
    position: absolute;
    width: calc(33.333% - 1rem);
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
    transform-origin: center center;
}

.gallery-item-wrapper.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
    z-index: 1;
}

.gallery-item-wrapper.visible {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

@media (max-width: 767px) {
    .gallery-item-wrapper {
        width: 100%;
    }
}

.gallery-item {
    position: relative;
    margin-bottom: 0;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1040/920;
    object-fit: cover;
    border-radius: 5px;
}

.gallery-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--mihci-red);
    color: #fff;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
}

.values-section {
    background: linear-gradient(rgba(9, 48, 76, 0.9), rgba(9, 48, 76, 0.9)), url('https://placeholder.pics/svg/1920x600') center/cover;
    color: #fff;
    text-align: center;
    padding: 4.5rem 0;
}

.testimonials-section {
    background-color: #fff;
}

.testimonial-card {
    background-color: #fff;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ddd;
    margin-bottom: 1rem;
    object-fit: cover;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--mihci-red);
    background: #fff;
    color: var(--mihci-red);
}

.cta-strip {
    background-color: var(--mihci-red);
    color: #fff;
    padding: 2rem 0;
}

.cta-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    color: var(--mihci-dark-blue);
}

.cta-text {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
}

.cta-callout {
    width: 100%;
    text-align: right;
}

.cta-callout h4,
.cta-callout p {
    width: 100%;
}

.cta-callout h4 {
    color: var(--mihci-dark-blue);
    font-weight: 400;
    font-size: 18px;
}

.cta-callout p {
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
}

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .project-card img,
    .gallery-item img {
        height: 300px;
    }
}
