/* Industries CSS Styles */


/* Page Title */
.page-title {
    padding: clamp(60px, 8vw, 120px) 0 clamp(30px, 5vw, 60px);
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 50px;
}

.page-title::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.page-title h1 {
    color: var(--light-text);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.page-title h1::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    display: block;
    margin: 20px auto 0;
    transition: width 0.4s ease;
}

/* Industry Description */
.industry-description {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--dark-bg) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.industry-description::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(20, 58, 98, 0.02);
    border-radius: 50%;
    right: -250px;
    bottom: -250px;
    z-index: 0;
}

.industry-description .container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.industry-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.industry-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.5;
}

.industry-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.industry-image:hover img {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.industry-content {
    flex: 2;
    min-width: 300px;
}

.industry-content h2 {
    font-size: 2.3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.industry-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.industry-content:hover h2::after {
    width: 80px;
}

.industry-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Portfolio Projects */
.portfolio-projects {
    padding: 100px 0;
    background: var(--light-bg);
    position: relative;
}

.portfolio-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.06), transparent);
}

.portfolio-projects h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
}

.portfolio-projects h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    display: block;
    margin: 15px auto 0;
    transition: width 0.4s ease;
}

.portfolio-projects:hover h2::after {
    width: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.project-image {
    height: 100%;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.08);
}

.project-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-details h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.project-item:hover .project-details h3 {
    color: var(--secondary-color);
}

.project-location {
    color: var(--tertiary-color);
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.project-location i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/* Add styling for project specs */
.project-specs {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.spec-item {
    background: rgba(20, 58, 98, 0.03);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-color);
}

.spec-label {
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.spec-value {
    font-size: 0.9rem;
    color: var(--text-color);
    display: block;
}

.project-description {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.cta-section h2 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 2.2rem;
}

.cta-section p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-section .btn {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .industry-description {
        padding: 80px 0;
    }
    
    .portfolio-projects {
        padding: 80px 0;
    }
    
    .industry-content h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    
}

@media (max-width: 768px) {
    .industry-description .container {
        flex-direction: column;
    }

    
    .industry-image {
        order: 1;
        margin-bottom: 20px;
        
    }
    
    .industry-content {
        order: 2;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }

    .projects-grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 60px;
        max-width: 1200px;
        margin: 0 auto;
    }    

    .project-image {
        height: 100%;
        min-height: 350px;
        position: relative;
        overflow: hidden;
        z-index: 1000;
        justify-content: center;
    }
    
    .project-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .project-item:hover .project-image::after {
        opacity: 1;
    }
    
    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .project-details {
        padding: 25px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        z-index: 1;
    }
    
    .project-details h3 {
        margin-bottom: 5px;
        color: var(--primary-color);
        font-size: 1.4rem;
        transition: color 0.3s ease;
    }

    .project-item {
        background-color: var(--light-bg);
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--card-shadow);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
        height: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .industry-description {
        padding: 60px 0;
    }
    
    .portfolio-projects {
        padding: 60px 0;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-details {
        padding: 20px;
    }
    
    .cta-section .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
