.container-fluid.main-content.aboutus2 {
    padding: 2rem;
    max-width: 1200px;
}

.header-section {
    text-align: center;
    margin-bottom: 4rem;
}

.header-section small {
    text-transform: uppercase;
    font-weight: 600;
    color: white;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.header-section h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin: 1rem 0;
    color: white;
    line-height: 1.2;
}

.header-section p {
    color: white;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.card-profile {
    background-color: #5c9344;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-profile .profile-img {
    width: 100%;
    height: auto;
    border-radius: 1.25rem;
    margin-bottom: 1rem;
}

.img-container {
    position: relative;
    padding-bottom: 2rem;
}

.name-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.middle-card-col .card-profile {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .middle-card-col .card-profile {
        margin-top: 0;
        margin-bottom: 0;
    }
}

.card-service-about {
    background-color: #5c9344;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-service-about:hover {
    background-color: #7fc568;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-service-about h4 {
    font-weight: 700;
    color: white;
    margin-top: 1rem;
}

.card-service-about p {
    color: white;
}

.card-service-about .service-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #cbd5e0;
}

.row.g-4 .col-12 {
    padding-left: 1rem;
    padding-right: 1rem;
}


.gradient-text {
    background-image: linear-gradient(to right, var(--color-hero-start), var(--color-hero-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rotated-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.rounded-3xl {
    border-radius: 1.5rem !important;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}