/* ========================================
   About Us Section - WITH 4 STAT BOXES (2x2 Grid)
   ======================================== */

.about-us-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Decorative background elements */
.about-us-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(43, 79, 135, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
}

.about-us-section::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(91, 155, 213, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
}

.about-us-section .container {
    position: relative;
    z-index: 1;
}

.about-us-section .row {
    position: relative;
    z-index: 1;
    align-items: stretch;
}

.about-us-section .row > .col-md-6 {
    display: flex;
    flex-direction: column;
}

.about-us-section .row > .col-md-6:first-child {
    padding-bottom: 120px;
}

.about-us-section .btn-about {
    margin-top: auto;
    align-self: flex-start;
}

/* LEFT COLUMN */
.about-images-stack {
    position: relative;
    height: 480px;
    margin-bottom: 10px;
    padding: 30px;
    margin-left: 30px;
    margin-right: 30px;
}

/* Main Icon Card - NO HOVER MOVEMENT */
.main-image-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(43, 79, 135, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    z-index: 1;
}

.main-image-wrapper:hover {
    box-shadow: 0 25px 70px rgba(43, 79, 135, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Carousel Slide Styling */
.about-text-carousel {
    width: 100%;
    height: 100%;
}

.carousel-slide {
    width: 100%;
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    position: relative;
}

.carousel-slide::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    animation: rotate 20s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.slide-icon {
    font-size: 5.5rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    color: #ffffff;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

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

.slide-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slide-description {
    font-size: 1.1rem;
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* Carousel Dots Styling */
.about-text-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

.about-text-carousel .owl-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-text-carousel .owl-dot span {
    display: none !important;
}

.about-text-carousel .owl-dot:hover {
    background: rgba(255, 255, 255, 0.6) !important;
}

.about-text-carousel .owl-dot.active {
    background: #ffffff !important;
    width: 30px;
    border-radius: 5px;
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(43, 79, 135, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 4;
    border: 5px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.experience-badge:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 20px 50px rgba(43, 79, 135, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.25);
}

.badge-number {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

/* Floating Icon Badges */
.floating-icon-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-icon-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    background: #5b9bd5;
    z-index: 4;
}

.floating-icon-badge i {
    font-size: 1.5rem;
    color: #5b9bd5;
    transition: color 0.3s ease;
}

.floating-icon-badge:hover i {
    color: #ffffff;
}

.floating-icon-badge span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #5b9bd5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.floating-icon-badge:hover span {
    color: #ffffff;
}

.floating-badge-1 {
    top: -10px;
    left: 0;
    animation: float1 3s ease-in-out infinite;
}

.floating-badge-2 {
    top: 30%;
    right: 0;
    z-index: 5;
    animation: float2 3.5s ease-in-out infinite;
}

.floating-badge-3 {
    bottom: 120px;
    left: 0;
    animation: float3 4s ease-in-out infinite;
}

.floating-badge-4 {
    top: 40%;
    left: 0;
    animation: float4 3.2s ease-in-out infinite;
}

@keyframes float1 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-5px, -5px);
    }
}

@keyframes float2 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(5px, -5px);
    }
}

@keyframes float3 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-5px, 5px);
    }
}

@keyframes float4 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(5px, -5px);
    }
}

/* Stats Card - 2x2 GRID LAYOUT */
.stats-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border: 1px solid rgba(43, 79, 135, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 30px;
    flex: 1;
}

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

.stats-card:hover {
    animation-play-state: paused;
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
    padding: 18px;
    border-radius: 3px;
    background: rgba(43, 79, 135, 0.03);
}

.stat-box:hover {
    transform: scale(1.05);
    background: rgba(43, 79, 135, 0.05);
}

.stat-box i {
    font-size: 2.5rem;
    color: #5b9bd5;
    background: linear-gradient(
        135deg,
        rgba(43, 79, 135, 0.15) 0%,
        rgba(91, 155, 213, 0.15) 100%
    );
    padding: 15px;
    border-radius: 3px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.stat-box:hover i {
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    color: #ffffff;
    transform: rotate(5deg);
}

.stat-box h4 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #5b9bd5;
    margin: 0;
    line-height: 1;
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box p {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 5px 0 0 0;
    font-weight: 500;
}

/* RIGHT COLUMN */
.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: #5b9bd5;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(43, 79, 135, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(43, 79, 135, 0.2);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #5b9bd5;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.title-underline-left {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #5b9bd5 0%, #5b9bd5 100%);
    margin-bottom: 30px;
    border-radius: 3px;
    position: relative;
}

.title-underline-left::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 5px;
    background: #a8d5f5;
    border-radius: 3px;
    animation: slide 2s ease-in-out infinite;
}

@keyframes slide {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(50px);
    }
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #6c757d;
    margin-bottom: 20px;
}

.about-text strong {
    color: #5b9bd5;
    font-weight: 700;
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features List */
.features-list {
    margin: 35px 0;
}

.feature {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
    padding: 20px;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #5b9bd5;
}

.feature i {
    font-size: 1.75rem;
    color: #5b9bd5;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature:hover i {
    transform: scale(1.2) rotate(5deg);
}

.feature h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #5b9bd5;
    margin: 0 0 8px 0;
}

.feature p {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Button */
.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(43, 79, 135, 0.3), 0 3px 8px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

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

.btn-about:hover::before {
    left: 100%;
}

.btn-about:hover {
    background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(43, 79, 135, 0.4),
        0 5px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.btn-about i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.btn-about:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 991px) {
    .about-us-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .about-images-stack {
        padding: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .stats-card {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        flex: none;
    }

    .about-us-section .row > .col-md-6:first-child {
        padding-bottom: 0;
    }

    .about-us-section .btn-about {
        margin-top: 20px;
        align-self: stretch;
    }
}

@media (max-width: 768px) {
    .about-images-stack {
        height: 400px;
        margin-bottom: 50px;
        padding: 15px;
        margin-left: 15px;
        margin-right: 15px;
    }

    .main-image-wrapper {
        height: 350px;
        border-radius: 4px;
    }

    .carousel-slide {
        height: 350px;
        padding: 30px;
    }

    .slide-icon {
        font-size: 4.5rem;
        margin-bottom: 20px;
    }

    .slide-title {
        font-size: 1.6rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    .floating-icon-badge {
        padding: 10px 14px;
        gap: 6px;
    }

    .floating-icon-badge i {
        font-size: 1.25rem;
    }

    .floating-icon-badge span {
        font-size: 0.75rem;
    }

    .floating-badge-1 {
        top: -8px;
        left: 0;
    }

    .floating-badge-2 {
        top: 30%;
        right: 0;
    }

    .floating-badge-3 {
        bottom: 100px;
        left: 0;
    }

    .floating-badge-4 {
        top: 35%;
        left: 0;
    }

    .experience-badge {
        width: 110px;
        height: 110px;
        bottom: -20px;
        right: -20px;
        border: 4px solid #ffffff;
    }

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

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

    .stats-card {
        padding: 25px 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .stat-box {
    }

    .stat-box i {
        font-size: 2.25rem;
        padding: 12px;
    }

    .stat-box h4 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .about-text {
        font-size: 1rem;
    }

    .feature {
        padding: 15px;
        margin-bottom: 15px;
    }

    .feature i {
        font-size: 1.5rem;
    }

    .feature h5 {
        font-size: 1.05rem;
    }

    .feature p {
        font-size: 0.9rem;
    }

    .btn-about {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }
}

@media (max-width: 576px) {
    .about-images-stack {
        height: 350px;
        padding: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .main-image-wrapper {
        height: 300px;
    }

    .carousel-slide {
        height: 300px;
        padding: 25px;
    }

    .slide-icon {
        font-size: 3.5rem;
    }

    .slide-title {
        font-size: 1.4rem;
    }

    .floating-icon-badge {
        padding: 8px 12px;
    }

    .floating-icon-badge i {
        font-size: 1.1rem;
    }

    .floating-icon-badge span {
        font-size: 0.7rem;
    }

    .floating-badge-2 {
        top: 28%;
        right: 0;
    }

    .experience-badge {
        width: 90px;
        height: 90px;
        bottom: -15px;
        right: -15px;
    }

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

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

    .section-title {
        font-size: 1.65rem;
    }

    /* Stats Card becomes single column on small mobile */
    .stats-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
