/* About Us Custom Styles */
.about-custom-section {
    padding: 100px 0;
    background: #fff;
    font-family: 'DM Sans', sans-serif;
    overflow: hidden;
}

/* Breadcumb subtle */
.custom-breadcrumb {
    color: #F09A06;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    font-size: 14px;
    letter-spacing: 1px;
}

.custom-breadcrumb span {
    color: #999;
}

/* Headings */
.about-custom-section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #1a1a1a;
}

.about-custom-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* Section 1: Image & Badge */
.about-image-wrapper {
    position: relative;
    border-radius: 30px;
    /* Specific rounded styling */
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: 30px;
    /* Simulate the specific shape if needed, but rounding is safe */
}

.rotating-badge {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Allow positioning variation */
.badge-left-bottom {
    bottom: 20px;
    left: 20px;
}

.rotating-badge .text-circle {
    width: 100%;
    height: 100%;
    position: relative;
    animation: rotateText 10s linear infinite;
    background: url('https://i.imgur.com/your-badge-text.png');
    /* Fallback or SVG logic */
    /* Since we don't have a badge generator, we'll design a CSS fake or use an icon */
    background: #F09A06;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.rotating-badge .arrow-icon {
    font-size: 24px;
    color: #fff;
}

/* Because creating a text-on-path via pure CSS without SVG is hard, 
   we will use a simplified "Stamp" look */
.rotating-badge-inner {
    width: 120px;
    height: 120px;
    border: 2px dashed #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    animation: rotateText 20s linear infinite;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Section 2: Mission */
.mission-section {
    padding-top: 50px;
}

/* Collage */
.image-collage {
    position: relative;
    padding-right: 50px;
    /* Space for overlay */
}

.img-main {
    border-radius: 30px;
    overflow: hidden;
    width: 85%;
}

.img-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.img-overlay {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 50%;
    border: 8px solid #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.img-overlay img {
    width: 100%;
}

/* Checkmarks List */
.mission-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.mission-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.mission-list li i {
    color: #4CAF50;
    /* Green */
    font-size: 18px;
    background: rgba(76, 175, 80, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
    .rotating-badge {
        display: none;
    }

    /* Hide complex badge on mobile */
    .image-collage {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .img-overlay {
        position: relative;
        width: 100%;
        bottom: auto;
        right: auto;
        margin-top: -50px;
        margin-left: 20px;
    }

    .about-image-wrapper {
        margin-bottom: 40px;
    }
}

/* Section 3: Team */
.team-section {
    padding: 100px 0;
    background: #fff;
}

.team-header {
    margin-bottom: 50px;
}

.team-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.team-header p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    line-height: 1.6;
}

.team-btn-wrapper {
    text-align: right;
}

.btn-yellow-rounded {
    background-color: #FBC02D;
    /* Gold/Yellow */
    color: #1a1a1a;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-yellow-rounded:hover {
    background-color: #f9a825;
    transform: translateY(-2px);
    color: #1a1a1a;
}

/* Team Card */
.team-card {
    margin-bottom: 30px;
}

.team-img-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 25px;
}

.team-img-wrapper img {
    width: 100%;
    border-radius: 30px;
    transition: transform 0.5s ease;
    height: 350px;
    /* Fixed height for consistency */
    object-fit: cover;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Floating Social Icons */
.team-social-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateX(20px);
}

.social-icon:nth-child(1) {
    transition-delay: 0.1s;
}

.social-icon:nth-child(2) {
    transition-delay: 0.2s;
}

.social-icon:nth-child(3) {
    transition-delay: 0.3s;
}

.social-icon:nth-child(4) {
    transition-delay: 0.4s;
}

.team-card:hover .social-icon {
    opacity: 1;
    transform: translateX(0);
}

.social-icon:hover {
    background: #FBC02D;
    color: #fff;
}

.social-icon.active {
    background: #FBC02D;
    /* Example for 'Facebook' active state in mockup */
}

/* Team Info */
.team-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.team-info span {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

@media (max-width: 991px) {
    .team-btn-wrapper {
        margin-bottom: 30px;
        text-align: left;
    }

    .team-header h2 {
        font-size: 32px;
    }
}