/* About Us Page Specific Styles */

.stats-section {
    /* background-color: rgba(255, 255, 255, 0.2); */
    padding: 60px 0;
}

.stats-section h3 {
    font-size: 1.5rem !important;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color) !important;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 15px 40px 90px var(--rgba-black-01);
    border-radius: 32px;
    padding: 4rem;
}

.stats-section p {
    font-size: 1rem !important;
    margin-bottom: 2rem;
    /* max-width: 600px; */
    /* margin-left: auto;
    margin-right: auto; */
}

@media (max-width: 768px) {
    .stats-section h3 {
        font-size: 1.8rem !important;
    }

    .stats-section p {
        font-size: 1rem !important;
    }
}

.about-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.5); Dark overlay */
}

.about-hero-content {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.about-hero .lead {
    font-size: 1.5rem;
    font-weight: 300;
}

.container-section {
    padding: 60px 0;
}

.container-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.container-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.team-section {
    padding: 60px 0;
}

.team-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.team-section .rounded-circle {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-section h4 {
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.team-section .text-muted {
    font-size: 1rem;
    font-style: italic;
}

/* Additional styles from blade file */

.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.decoration-line {
    width: 80px;
    height: 4px;
    margin: 0 auto;
    border-radius: 2px;
}

.stat-item {
    padding: 1rem;
}

.counter {
    transition: all 0.3s ease;
}

.image-container {
    height: 400px;
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.image-container:hover .hover-scale {
    transform: scale(1.05);
}

.image-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.icon-circle {
    width: 80px;
    height: 80px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-container:hover .icon-circle {
    transform: scale(1);
}

.icon-badge {
    transition: all 0.3s ease;
}

.content-wrapper:hover .icon-badge {
    transform: scale(1.1);
}

.highlight-line {
    width: 60px;
    height: 3px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.content-wrapper:hover .highlight-line {
    width: 100px;
}

.animate-fade-in {
    animation: fadeInUp 1s ease;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
    .about-hero {
        min-height: 250px;
    }

    .image-container {
        height: 250px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

/* Styles for Enhanced Who We Are Section */

.who-we-are-section {
    background-color: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    backdrop-filter: blur(10px);
}

.who-we-are-section h2,
.who-we-are-section h3 {
    color: var(--primary-color);
}

.map-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.map-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23e9ecef" opacity="0.1"/></svg>') repeat;
    z-index: 0;
}


.map-image img {
    position: relative;
    z-index: 1;
}

.map-image:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.corporate-profiles {
    position: relative;
}

.corporate-profiles::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23e9ecef" opacity="0.1"/></svg>') repeat;
    z-index: 0;
}

#corporateCarousel {
    z-index: 2;
    position: relative;
    padding: 20px 0;
}

.corporate-profiles .swiper-slide {
    opacity: 0;
    transform: translateY(30px);
    animation: slideFadeIn 0.8s ease forwards;
}

.corporate-profiles .swiper-slide:nth-child(1) { animation-delay: 0.1s; }
.corporate-profiles .swiper-slide:nth-child(2) { animation-delay: 0.2s; }
.corporate-profiles .swiper-slide:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.profile-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.profile-card:hover::before {
    left: 100%;
}

.profile-card:hover {
    transform: translateY(-12px) scale(1.0);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%);
    position: relative;
    z-index: 20;
}

.profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-card:hover .profile-img {
    transform: scale(1.1);
}

.country-businesses {
    position: relative;
}

.country-businesses::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23e9ecef" opacity="0.1"/></svg>') repeat;
    z-index: 0;
}

#countryBusinessSwiper {
    z-index: 2;
    position: relative;
    padding: 20px 0;
}

.country-businesses .swiper-slide {
    opacity: 0;
    transform: translateY(30px);
    animation: slideFadeIn 0.8s ease forwards;
}

.country-businesses .swiper-slide:nth-child(1) { animation-delay: 0.1s; }
.country-businesses .swiper-slide:nth-child(2) { animation-delay: 0.2s; }
.country-businesses .swiper-slide:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.country-businesses .country-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.country-businesses .country-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.country-businesses .country-card:hover::before {
    left: 100%;
}

.country-businesses .country-card:hover {
    transform: translateY(-12px) scale(1.0);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 250, 1) 100%);
    position: relative;
    z-index: 20;
}

.country-flag {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.country-businesses .country-card:hover .country-flag {
    transform: scale(1.1);
}

.country-flag img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.country-flag i {
    font-size: 2.8rem;
}

/* Swiper Navigation and Pagination */

.country-businesses .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.country-businesses .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.country-businesses .swiper-button-prev,
.country-businesses .swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.country-businesses .swiper-button-prev:hover,
.country-businesses .swiper-button-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.country-businesses .swiper-button-prev::after,
.country-businesses .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .profile-card {
        padding: 2rem 1rem;
    }

    .profile-img {
        width: 100px;
        height: 100px;
    }

    .country-businesses .country-card {
        flex-direction: column;
        text-align: center;
    }

    .country-businesses .country-card .country-flag {
        margin-bottom: 1rem;
        width: 100%;
        justify-content: center;
    }
}
