/* Our Projects Page Specific Styles */

/* Hero Section */
.projects-hero {
    position: relative;
    padding-top: 120px;
    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;
}

.projects-header-section {
    position: relative;
    z-index: 1;
}

.projects-page-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #838a91;
    margin-bottom: 40px;
    line-height: normal;
}

.projects-subtitle-image {
    margin-bottom: 0;
}

.projects-subtitle-image img {
    width: 100%;
    height: auto;
}

/* Main Projects Section */
.main-projects-section {
    padding: 40px 0;
    position: relative;
}

.section-headline {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 80px;
    line-height: normal;
}

/* Projects List */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.project-item {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-2px);
}

.project-content {
    background: #ffffff;
    padding: 47px 41px;
    height: 441px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.project-item:hover .project-content {
    background: #8e61a5;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 64px;
    color: #8e61a5;
    line-height: 71.48px;
    margin-bottom: 0;
    width: min-content;
    min-width: 100%;
    transition: color 0.3s ease;
}

.project-item:hover .project-title {
    color: #ffffff;
}

.project-location h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #8e61a5;
    margin-bottom: 0;
    display: inline;
    transition: color 0.3s ease;
}

.project-location p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #8e61a5;
    margin-bottom: 0;
    line-height: normal;
    transition: color 0.3s ease;
}

.project-item:hover .project-location h4,
.project-item:hover .project-location p {
    color: #ffffff;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #8e61a5;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 22px;
    transition: all 0.3s ease;
}

.project-link i {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: #8e61a5;
    opacity: 0.8;
}

 

.project-item:hover .project-link {
    font-weight: 500;
    color: #ffffff;
}

.project-image {
    height: 441px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(142, 97, 165, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: #ffffff;
}

.view-project-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
}

.plus-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.view-project-btn:hover .plus-icon {
    background: #ffffff;
    color: #8e61a5;
    transform: rotate(90deg);
}

/* Hidden Projects Animation */
.hidden-projects {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden-projects .project-item {
    margin-bottom: 32px;
}

/* Load More Section */
.load-more-section {
    /*background: #ffffff;*/
    padding: 37px 0;
}

.btn-load-more {
    background: transparent;
    border: 1px solid #d2d2d2;
    color: #8e61a5;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    padding: 13px 61px;
    border-radius: 250px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-load-more:hover {
    background: #8e61a5;
    color: #ffffff;
    border-color: #8e61a5;
}

/* Footer Styles */
.footer {
    
    color: #ffffff;
}

.footer-main {
    padding: 99px 0;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bg-2.png') repeat, #1d1f23;
    z-index: -1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.footer-logo {
    height: 46px;
    width: 174px;
}

.footer-address {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    line-height: normal;
}

.footer-address p {
    margin-bottom: 0;
    line-height: 21.373px;
}

.footer-contact {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    position: relative;
    padding-left: 29px;
}

.footer-contact::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #838a91;
}

.footer-contact h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 13px;
    width: min-content;
}

.footer-contact p {
    color: #838a91;
    margin-bottom: 13px;
    line-height: normal;
}

.footer-contact .email {
    color: #8e61a5;
}

.footer-about {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    position: relative;
    padding-left: 29px;
}

.footer-about::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #838a91;
}

.footer-about h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 13px;
    width: min-content;
}

.footer-about p {
    color: #838a91;
    line-height: normal;
    margin-bottom: 0;
}

.footer-bottom {
    background: #ffffff;
    padding: 45px 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.footer-links a {
    color: #8e61a5;
    text-decoration: none;
}

.footer-links span {
    color: #bcbdc0;
}

.footer-copyright {
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #838a91;
}

.footer-copyright p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .projects-page-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .projects-hero {
        padding-top: 147px;
        padding-bottom: 60px;
    }
    
    .section-headline {
        font-size: 24px;
        margin-bottom: 60px;
    }
    
    .project-title {
        font-size: 48px;
        line-height: 54px;
    }
    
    .project-content {
        padding: 30px 25px;
        height: auto;
        min-height: 350px;
        gap: 30px;
    }
    
    .project-image {
        height: 300px;
        margin-top: 20px;
    }
    
    .main-projects-section {
        padding: 80px 0;
    }
    
    .view-all-section {
        padding: 80px 0;
    }
    
    .footer-main {
        padding: 60px 0;
    }
    
    .footer-contact,
    .footer-about {
        margin-top: 30px;
        padding-left: 0;
    }
    
    .footer-contact::before,
    .footer-about::before {
        display: none;
    }
    
    .footer-copyright {
        text-align: left;
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .projects-hero {
        padding-top: 147px;
        padding-bottom: 60px;
    }
    
    .projects-page-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .section-headline {
        font-size: 22px;
        margin-bottom: 40px;
    }
    
    .project-title {
        font-size: 36px;
        line-height: 40px;
    }
    
    .project-location h4 {
        font-size: 22px;
    }
    
    .project-location p {
        font-size: 20px;
    }
    
    .project-link {
        font-size: 20px;
    }
    
    .main-projects-section {
        padding: 60px 0;
    }
    
    .view-all-section {
        padding: 60px 0;
    }
    
    /* Mobile-specific adjustments */
    .load-more-section {
        padding: 60px 0;
    }
    
    /* Mobile-specific overlay adjustments */
    .project-overlay {
        opacity: 0.7;
        background: rgba(142, 97, 165, 0.6);
    }
    
    .project-item:hover .project-overlay {
        opacity: 0.9;
    }
    
    .plus-icon {
        width: 35px;
        height: 35px;
        font-size: 22px;
    }
    
    .view-project-btn {
        font-size: 18px;
    }

    .project-item .row {
        flex-direction: column;
    }

    .project-item .col-lg-5,
    .project-item .col-lg-7 {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .project-image,
    .img-placeholder.modern {
        width: 100%;
        height: auto; 
        min-height: 200px; 
        margin: 0; 
    }

    .project-content {
        text-align: center;
        margin-bottom: 0;
        padding: 0 10px;
    }

}

/* Dark theme overrides for existing elements */
body.projects-page {
    
}

.projects-page .header {
    
}

.projects-page .nav-link.active {
    color: #8e61a5;
}

.projects-page .nav-link.active::after {
    background: #8e61a5;
}

.project-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .project-item-link .project-item {
        transition: transform 0.3s ease;
        cursor: pointer;
    }

    .project-item-link:hover .project-item {
        transform: translateY(-5px);
    }

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(142, 97, 165, 0.2); 
    transition: background 0.3s ease;
}

.project-item-link:hover .project-overlay {
    background: rgba(142, 97, 165, 0.5); 
}


.img-placeholder.modern {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #d9d2e8, #f1edf7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6e4d8a;
    font-size: 22px;
    font-weight: 500;
}

    .img-placeholder.modern i {
        font-size: 48px;
        opacity: 0.7;
        margin-bottom: 10px;
    }


