/* Container Background */
.our-mission-vision.dark-section {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background Decorative Glows */
.our-mission-vision.dark-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 160, 233, 0.15) 0%, transparent 70%);
    z-index: 1;
}

/* Image Styling */
.mission-vision-image figure {
    margin: 0;
    padding: 20px;
    position: relative;
}

.mission-vision-image img {
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mission Vision Content Wrapper */
.mission-vision-content {
    padding: 20px 50px;
}

/* The Glassmorphism Item Card */
.mission-vision-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease-in-out;
}

.mission-vision-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 160, 233, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Icon Box Styling */
.mission-vision-item .icon-box {
    min-width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00a0e9 0%, #376ac2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 10px 20px rgba(0, 160, 233, 0.3); */
}

.mission-vision-item .icon-box img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1); /* Makes SVG icons white */
}

/* Text Content Styling */
.mission-vision-item-content h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.mission-vision-item-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
    font-size: 16px;
}

/* Animation refinement */
.wow.fadeInUp {
    animation-duration: 0.8s;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .mission-vision-content {
        padding: 40px 15px;
    }
    
    .mission-vision-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}



@media (max-width: 991px) {
    /* Center the header box content */
    .page-header-box {
        text-align: center;
        padding: 60px 0; /* Adjust vertical spacing for mobile */
    }

    .page-header-box h1 {
        font-size: 32px !important; /* Scale down the title size */
        margin-bottom: 10px;
    }

    /* Clean up breadcrumb alignment */
    .breadcrumb {
        justify-content: center;
        background: transparent;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }

    .breadcrumb-item, 
    .breadcrumb-item a {
        font-size: 14px;
        text-transform: lowercase;
    }

    /* Background image adjustment */
    .page-header.parallaxie {
        background-attachment: scroll !important; /* Parallax often breaks on mobile */
        background-position: center center !important;
        background-size: cover !important;
    }
}


@media (max-width: 991px) {
    /* Hide the vertical label on mobile to save horizontal space */
    .vertical-label {
        display: none;
    }

    /* Stack the visual and content sections */
    .blueprint-wrapper .row {
        flex-direction: column;
    }

    /* Add spacing between the image and the text */
    .blueprint-visual {
        margin-bottom: 40px;
    }

    /* Adjust the floating stats box so it doesn't cover too much of the image */
    .glass-stats-box {
        bottom: -20px !important;
        right: 10px !important;
        transform: scale(0.8);
    }

    /* Convert the technical grid to a 2-column layout on mobile */
    .technical-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .blueprint-content {
        padding: 0 15px; /* Ensure text doesn't hit screen edges */
    }

    .display-h2 {
        font-size: 28px !important;
        line-height: 1.2;
    }
    .image-mask img{
       display: none;
    }

    .glass-stats-box{
        display: none;
    }

    .about-us .col-lg-7{
        display: none;
    }
    .our-mission-vision{
        margin-top: -50px !important;
    }
   
    .philosophy-section{
        padding: 30px !important;
    }
}

@media (max-width: 991px) {
    .philosophy-section {
        padding: 60px 0;
        background: #fcfcfc; /* Light contrast from the section above */
    }

    .section-heading {
        text-align: center;
        font-size: 28px !important;
        margin-bottom: 40px;
    }

    /* Stack cards vertically on mobile */
    .philosophy-grid {
        display: grid !important;
        grid-template-columns: 100% !important;
        gap: 25px;
        padding: 0 15px;
    }

    .phi-card {
        text-align: center;
        padding: 30px;
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
    }

    .phi-icon-container {
        width: 60px;
        height: 60px;
        background: #007bff; /* Primary brand color */
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin: 0 auto 20px;
        font-size: 24px;
    }

    .phi-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
        color: #1a1a1a;
    }

    .phi-card p {
        font-size: 15px;
        line-height: 1.6;
        color: #666;
    }
}