/* Project Details Page Styles */

/* Main Content */
.main-content { 
    color: #ffffff;
}
.about-hero {
    position: relative;
    padding-top: 111px;
    padding-bottom: 15px;
    overflow: hidden;
}

.hero-background-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bg-2.png') repeat, #1d1f23;
    z-index: -1;
}

.about-header-section {
    position: relative;
    z-index: 1;
}

.about-page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #838a91;
    margin-bottom: 40px;
    line-height: normal;
}

.about-subtitle-image {
    margin-bottom: 0;
}

.about-subtitle-image img {
    width: 100%;
    height: auto;
}

/* Project Showcase Section */
.project-showcase-section {
    padding: 80px 0;
}

.project-header {
    margin-bottom: 40px;
}

.project-title {
    font-size: 36px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
}

.project-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.project-navigation .btn {
    padding: 13px 32px;
    border-radius: 250px;
    font-size: 18px;
    font-weight: 400;
}

.project-navigation .btn-outline-secondary {
    border:1px solid #6b6b73; 
}
.project-navigation .btn-outline-secondary:hover {
    border:1px solid #8e61a5; 
    color: #FFF;
    background-color: #8e61a5;
}

.project-navigation .btn-outline-primary {
    border:1px solid #d2d2d2;
    color: #8e61a5;
}
.project-navigation .btn-outline-primary:hover {
    border:1px solid #8e61a5;
    color: #FFF;
    background-color: #8e61a5;
}

.project-image-fix {
    margin-bottom: 40px;
}

.project-image-fix img {
    width: 100%; 
    border-radius: 8px;
}

/* Progress Indicator */
.progress-indicator {
    margin-bottom: 40px;
}

.progress-line {
    position: relative;
    height: 3px;
    background-color: #838a91;
    opacity: 0.4;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 48%;
    background-color: #d9d9d9;
}

/* Project Details */
.project-details {
    margin-bottom: 80px;
}

.project-info {
    padding-right: 30px;
}

.info-item {
    margin-bottom: 40px;
}

.info-label {
    font-size: 22px;
    font-weight: 400;
    color: #9ea6af;
    margin-bottom: 12px;
}

.info-value {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

.components-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.components-list li {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
    padding: 0;
}

.project-description {
    padding-left: 30px;
}

.description-text {
    font-size: 32px;
    font-weight: 500;
    color: #9ea6af;
    margin-bottom: 56px;
    line-height: 1.4;
}

.project-map {
    margin-bottom: 56px;
}

.project-map img {
    width: 100%;
    height: auto;
}

/* Strategic Value */
.strategic-value {
    margin-top: 24px;
}

.strategic-title {
    font-size: 24px;
    font-weight: 500;
    color: #9ea6af;
    margin-bottom: 24px;
}

.value-divider {
    height: 1px;
    background-color: #838a91;
    opacity: 0.4;
    margin: 24px 0;
}

.value-points {
    margin-top: 24px;
}

.value-point {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.value-bullet {
    width: 8px;
    height: 8px;
    background-color: #8e61a5;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-point p {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}

/* Why Choose Blacksand Section */
.why-choose-section {
    padding: 120px 0;
    background-color: #1D1F23;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: #838a91;
    margin-bottom: 40px;
    text-align: left;
}

.rtl .section-title {
    text-align: right;
}

.value-cards {
    margin-top: 40px;
}

.value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: transparent;
}

.value-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.value-card .card-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.value-card .card-title {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.value-card .card-description {
    font-size: 20px;
    font-weight: 300;
    color: #a8a8a8;
    line-height: 1.5;
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    padding: 120px 0;
    background-color: #ffffff;
}

.cta-section .btn {
    padding: 13px 61px;
    border-radius: 250px;
    font-size: 18px;
    font-weight: 400;
    border : 1px solid #d2d2d2;
    color: #8e61a5;
}
.cta-section .btn:hover {
    border:1px solid #8e61a5;
    color: #FFF;
    background-color: #8e61a5;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #8e61a5;
    border: none;
    border-radius: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #7a4f8a;
    transform: translateY(-2px);
}

.scroll-to-top img {
    width: 16px;
    height: 16px;
}

/* Fix Mobile Overflow */
/* ========================== */
/* Project Page Responsive CSS */
/* ========================== */

/* For devices <= 768px */
@media (max-width: 768px) {

    /* Main Content Padding */
    .main-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Hero Section */
    .about-hero {
        padding-top: 70px;
        padding-bottom: 10px;
    }

    /* Project Header */
    .project-header .row {
        flex-direction: column;
        gap: 15px; /* space between title and navigation */
    }

    .project-header .col-md-6 {
        text-align: center;
    }

    .project-navigation {
        justify-content: center !important;
        gap: 10px;
        margin-top: 10px;
    }

    /* Project Title */
    .project-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    /* Buttons */
    .project-navigation .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    /* Project Showcase Section */
    .project-showcase-section {
        padding: 40px 15px;
    }

    /* Project Image */
    .project-image-fix img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* Project Details */
    .project-details {
        margin-bottom: 40px;
    }

    .project-info,
    .project-description {
        padding: 0;
        margin-bottom: 20px;
        height: auto;
    }

    .description-text {
        font-size: 22px;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .info-value, .components-list li {
        font-size: 20px;
    }

    /* Project Map */
    .project-map img {
        width: 100%;
        height: auto;
    }

    /* Strategic Value Section */
    .strategic-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .value-point p {
        font-size: 20px;
    }

    .value-divider {
        margin: 16px 0;
    }

    /* Why Choose Section */
    .why-choose-section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 30px;
    }

    .value-card {
        margin-bottom: 20px;
        padding: 15px;
    }

        .value-card .card-title {
            font-size: 22px;
            margin-bottom: 8px;
        }

        .value-card .card-description {
            font-size: 18px;
        }

    /* CTA Section */
    .cta-section {
        padding: 60px 15px;
    }

        .cta-section .btn {
            padding: 10px 30px;
            font-size: 16px;
        }

    /* Scroll to Top */
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 48px;
        height: 48px;
    }

    /* Footer */
    .container-fluid.bg-light .row {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .container-fluid.bg-light .col-md-6 {
        text-align: center;
        margin-bottom: 10px;
    }

    /* WhatsApp Button */
    .whatsapp-fixed {
        bottom: 125px !important;
        right: 15px !important;
        z-index: 1000;
    }

    .scroll-above {
        bottom: 180px !important;
        right: 15px !important;
        z-index: 1000;
    }
}

/* For devices <= 576px (small mobiles) */
@media (max-width: 576px) {

    .project-title {
        font-size: 22px;
    }

    .description-text {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .info-value, .components-list li {
        font-size: 18px;
    }

    .section-title {
        font-size: 22px;
    }

    .value-card .card-title {
        font-size: 22px;
    }

    .value-card .card-description {
        font-size: 16px;
    }

    .project-navigation {
        gap: 5px;
        flex-direction: column;
    }

        .project-navigation .btn {
            width: 100%;
        }

    .why-choose-section,
    .cta-section,
    .project-showcase-section {
        padding: 30px 10px;
    }
}
