/* =====================================================
   ENHANCED ABOUT US SECTION STYLES
   ===================================================== */

#about {
    padding: 100px 0 80px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.py-80 {
    padding: 100px 0;
}

/* Background Pattern */
.about-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 24, 62, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(30px) translateX(-30px); }
}

/* Gradient Text */
.gradient-text-danger {
    background: linear-gradient(135deg, #b8183e 0%, #e74c3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-primary {
    background: linear-gradient(135deg, #b8183e 0%, #c92a4f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Badge */
.badge {
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Image Wrapper */
.about-image-wrapper {
    position: relative;
    z-index: 2;
}

/* Trust Badge */
.about-trust-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    z-index: 10;
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-content {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #b8183e 0%, #c92a4f 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(184, 24, 62, 0.4);
    border: 4px solid #fafad2;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.badge-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    z-index: 1;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    z-index: 1;
}

/* Image Container */
.image-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f0 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(184, 24, 62, 0.1);
}

.about-main-img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    display: block;
}

.image-container:hover .about-main-img {
    transform: scale(1.08) rotate(2deg);
    filter: brightness(1.1) saturate(1.2);
}

/* Image Badge/Overlay */
.image-badge {
    background: linear-gradient(135deg, rgba(24, 24, 24, 0.9) 0%, rgba(184, 24, 62, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-top: 3px solid #fafad2;
    animation: slideUp 0.8s ease;
}

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

.badge-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fafad2 0%, #ffe066 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #181818;
    box-shadow: 0 8px 24px rgba(184, 24, 62, 0.3);
}

.badge-title {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.badge-subtitle {
    font-size: 0.9rem;
    color: #fafad2;
    font-weight: 500;
}

/* Floating Stats */
.floating-stats {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 5;
}

.stat-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    text-align: center;
    border: 2px solid #fafad2;
    position: absolute;
    animation: bounce 3s ease-in-out infinite;
}

.stat-card-1 {
    animation-delay: 0s;
}

.stat-card-2 {
    animation-delay: 0.2s;
    bottom: 0;
    left: 150px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #b8183e;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Core Values Cards */
.value-card {
    padding: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 1px solid rgba(184, 24, 62, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #b8183e 0%, #fafad2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(184, 24, 62, 0.2);
    border-color: rgba(184, 24, 62, 0.3);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(184, 24, 62, 0.1) 0%, rgba(250, 250, 210, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #b8183e;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, #b8183e 0%, #fafad2 100%);
    color: #fff;
    transform: scale(1.1) rotate(10deg);
}

/* Services Grid */
.about-services {
    background: linear-gradient(135deg, rgba(184, 24, 62, 0.05) 0%, rgba(250, 250, 210, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(184, 24, 62, 0.1);
    position: relative;
    overflow: hidden;
}

.about-services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 24, 62, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    text-align: center;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(184, 24, 62, 0.05));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: #b8183e;
    box-shadow: 0 12px 32px rgba(184, 24, 62, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #b8183e 0%, #c92a4f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fafad2;
    box-shadow: 0 8px 24px rgba(184, 24, 62, 0.3);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 32px rgba(184, 24, 62, 0.4);
}

.service-name {
    font-weight: 700;
    color: #181818;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* CTA Button */
.btn-explore {
    background: linear-gradient(135deg, #b8183e 0%, #c92a4f 100%);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 0.7px;
    box-shadow: 0 8px 24px rgba(184, 24, 62, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.btn-explore:hover {
    background: linear-gradient(135deg, #c92a4f 0%, #b8183e 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(184, 24, 62, 0.5);
    color: #fff;
}

.btn-explore:active {
    transform: translateY(-2px) scale(1.02);
}

/* Display Helper */
.fw-900 {
    font-weight: 900 !important;
}

.h3 {
    font-size: 1.75rem !important;
}

.display-5 {
    font-size: clamp(1.8rem, 6vw, 3.5rem) !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    #about {
        padding: 60px 0 50px 0;
    }

    .py-80 {
        padding: 60px 0;
    }

    .about-trust-badge {
        top: -20px;
        right: -20px;
    }

    .badge-content {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    .badge-number {
        font-size: 2rem;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .about-main-img {
        min-height: 350px !important;
        max-height: 400px !important;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card-2 {
        left: 120px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 1rem;
    }

    .service-item {
        padding: 1rem 0.8rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .service-name {
        font-size: 0.85rem;
    }

    .about-services {
        padding: 1.8rem;
    }
}

@media (max-width: 768px) {
    .about-bg-pattern {
        width: 300px;
        height: 300px;
    }

    .floating-stats {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 2rem;
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    .stat-card {
        position: relative;
        bottom: auto;
        left: auto;
    }

    .stat-card-2 {
        left: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .display-5 {
        font-size: 1.5rem !important;
    }

    .h3 {
        font-size: 1.3rem !important;
    }

    .badge-content {
        width: 100px;
        height: 100px;
    }

    .badge-number {
        font-size: 1.8rem;
    }

    .badge-text {
        font-size: 0.7rem;
    }

    .about-main-img {
        min-height: 250px !important;
        max-height: 300px !important;
    }

    .value-card {
        padding: 1.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .service-item {
        padding: 0.8rem 0.6rem;
        gap: 0.5rem;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .service-name {
        font-size: 0.75rem;
    }

    .btn-explore {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    .about-services {
        padding: 1.4rem;
    }
}

/* Animation Classes */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate__animated {
    animation-duration: 0.8s;
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}
