/* ====================================
   ENHANCED PROJECT PORTFOLIO STYLES
   ==================================== */

/* Project Container */
#job_wrap, #ourServices {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ====================================
   PROJECT HERO SECTION
   ==================================== */
.project-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    margin-top: 50px;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.project-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.project-hero h1 {
    font-size: 3.5rem;
    font-family: var(--secondary-font);
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.project-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.project-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ====================================
   PROJECT INFO GRID
   ==================================== */
.project-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
    padding: 0 20px;
}

.info-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(20px);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(215, 25, 32, 0.1), transparent);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.info-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.info-card h4 {
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    color: var(--dark-grey);
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* ====================================
   PROJECT DESCRIPTION
   ==================================== */
#job_description {
    padding: 40px 20px;
    text-align: left;
    max-width: 1000px;
    margin: 60px auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#job_description h3 {
    font-size: 2.8rem;
    color: var(--dark-grey);
    font-family: var(--secondary-font);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--dark-grey) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#job_description p {
    font-size: 1.3rem;
    color: var(--dark-grey);
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 400;
}

#job_description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

#job_description a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--primary-color);
}

/* Enhanced Services Content */
#services_p_content {
    font-size: 1.1rem;
    font-family: var(--primary-font);
    color: var(--dark-grey);
    line-height: 1.8;
    text-align: left;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

#services_p_content h2 {
    font-size: 2.2rem;
    font-family: var(--secondary-font);
    color: var(--primary-color);
    margin: 30px 0;
    text-transform: uppercase;
    font-weight: 700;
    padding-left: 20px;
    border-left: 6px solid var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#services_p_content h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin: 25px 0 15px 0;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

#services_p_content ul {
    list-style: none;
    padding-left: 0;
    margin: 40px 0;
}

#services_p_content ul li {
    position: relative;
    font-size: 1.1rem;
    padding: 15px 0 15px 40px;
    margin-bottom: 15px;
    color: var(--dark-grey);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding-left: 50px;
    padding-right: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

#services_p_content ul li:hover {
    background: rgba(215, 25, 32, 0.05);
    border-left-color: var(--primary-color);
    transform: translateX(10px);
}

#services_p_content ul li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    background: rgba(215, 25, 32, 0.1);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====================================
   SHARE SECTION
   ==================================== */
.share-section {
    background: linear-gradient(145deg, var(--light-grey), #f0f4f8);
    padding: 50px 30px;
    border-radius: 20px;
    margin: 60px 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.share-section h3 {
    font-size: 2.5rem;
    font-family: var(--secondary-font);
    color: var(--dark-grey);
    margin-bottom: 15px;
    font-weight: 700;
}

.share-section p {
    font-size: 1.2rem;
    color: var(--medium-grey);
    margin-bottom: 30px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.share-btn.facebook { background: linear-gradient(135deg, #1877F2, #42a5f5); }
.share-btn.whatsapp { background: linear-gradient(135deg, #25D366, #4caf50); }
.share-btn.twitter { background: linear-gradient(135deg, #1DA1F2, #42a5f5); }
.share-btn.linkedin { background: linear-gradient(135deg, #0A66C2, #1976d2); }
.share-btn.copy { background: linear-gradient(135deg, var(--medium-grey), var(--dark-grey)); }

/* ====================================
   ENHANCED IMAGE GALLERY
   ==================================== */
.project-gallery {
    margin: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: var(--light-grey);
}

.gallery-item::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

/* ====================================
   RELATED PROJECTS
   ==================================== */
.related-projects {
    margin: 80px 20px;
    padding: 60px 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media only screen and (max-width: 768px) {
    .project-hero h1 {
        font-size: 2.5rem;
    }
    
    .project-badges {
        gap: 15px;
    }
    
    .project-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .info-card .icon {
        font-size: 2.5rem;
    }
    
    #job_description {
        padding: 30px 20px;
    }
    
    #job_description h3 {
        font-size: 2.2rem;
    }
    
    #services_p_content {
        padding: 20px;
    }
    
    .share-buttons {
        gap: 15px;
    }
    
    .share-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media only screen and (min-width: 650px) {
    #job_wrap {
        width: 95%;
        margin: 0 auto;
    }
    
    #job_description h3 {
        font-size: 3rem;
    }
}

@media only screen and (min-width: 1024px) {
   
    
    .project-hero h1 {
        font-size: 4rem;
    }
    
    #services_p_content {
        font-size: 1.2rem;
        padding: 40px;
    }
    
    #services_p_content h2 {
        font-size: 2.5rem;
    }
    
    #services_p_content ul li {
        font-size: 1.2rem;
        padding: 18px 20px 18px 60px;
    }
}

@media only screen and (min-width: 1300px) {
    #job_wrap {
        width: 85%;
    }
    
    #job_description h3 {
        font-size: 3.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (min-width: 1500px) {
    #job_description h3 {
        font-size: 4rem;
    }
    
    .project-hero h1 {
        font-size: 4.5rem;
    }
}

/* ====================================
   LEGACY SUPPORT (Keep for backward compatibility)
   ==================================== */
#job_images_wrap {
    display: none; /* Hide old gallery, use new enhanced gallery */
}

.img_jobWrap {
    width: 100%;
    margin: 10px;
    padding: 10px;
}

.img_jobWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ourwork_info, .ourwork_info_location {
    margin-bottom: 10px;
    font-family: var(--primary-font);
    font-size: 1rem;
    color: var(--dark-grey);
}

#job_description p.ourwork_info_location {
    font-family: var(--secondary-font);
    color: var(--primary-color);
}

.ourwork_info span {
    color: var(--primary-color);
}