/* Our Work Page Specific Styles */

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px; /* Adjust for fixed header */
}

.hero-info {
    width: 90%;
    max-width: 900px;
}

.hero-info .gradient {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin: 0 auto 20px auto;
}

.hero-info p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

.cta-button {
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #72a1de;
    color: black;
    box-shadow: none;
    text-shadow: none;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin: 50px auto;
    text-align: center;
    border-radius: 15px;
    padding: 30px 0;
}

.stat {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 260px;
}

.progress-bg, .progress-fg {
    stroke-linecap: round;
}

.progress-fg {
    transition: stroke-dashoffset 1.5s ease-out;
}

.counter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counter h2 {
    font-size: 2em;
    color: #72a1de;
    margin: 0;
    font-weight: bold;
}

.stat p {
    font-size: 1em;
    color: lightgray;
    line-height: 1.5;
    padding: 0 10px;
    margin-top: 20px;
}

/* Strategic Edge Section */
.strategic-edge {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.strategic-edge-content {
    flex: 1.5;
    text-align: left;
}

.strategic-edge-content p {
    max-width: 650px;
    font-size: 1.1rem;
    color: whitesmoke;
    line-height: 1.7;
    margin-bottom: 30px;
}

.strategic-edge-video {
    flex: 1;
    max-width: 450px;
}

.strategic-edge-video img {
    width: 100%;
    border-radius: 10px;
}

/* Engineering Solutions (Featured Case Studies) Section */
.engineering-solutions {
    width: 95%;
    max-width: 1500px;
    text-align: center;
    margin: 0 auto 80px auto;
}

.engineering-solutions > p {
    max-width: 800px;
    margin: -20px auto 40px auto;
    color: #c5c5c5;
    line-height: 1.7;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.solution-card {
    background-color: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(114, 161, 222, 0.2);
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(114, 161, 222, 0.3);
    border-color: rgba(114, 161, 222, 0.4);
}

.solution-card i {
    font-size: 40px;
    color: #72a1de;
    margin-bottom: 20px;
    align-self: flex-start;
}

.solution-card h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.solution-card p {
    color: #c5c5c5;
    line-height: 1.6;
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

.solution-card .learn-more-link {
    color: #72a1de;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.solution-card .learn-more-link:hover {
    color: #fff;
    gap: 10px;
}

/* Workflow Section (Project Approach) */
.workflow-section {
    padding: 80px 20px;
    text-align: center;
}

.workflow-section .section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .strategic-edge {
        flex-direction: column;
        text-align: center;
    }
    .strategic-edge-content {
        text-align: center;
    }
    .strategic-edge-content p {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .stats-section {
        flex-direction: column;
        gap: 30px;
    }
    .stat {
        width: 100%;
    }
    .hero {
        height: auto;
        padding: 120px 20px 60px 20px;
    }
    .hero-info .gradient {
        font-size: 2.5rem;
    }
    .hero-info p {
        font-size: 1rem;
    }
    .engineering-solutions > p {
        font-size: 1rem;
    }
    .workflow-section .section-title {
        font-size: 2rem;
    }
}

/* Our Proprietary Innovation Pipeline Section */
.innovation-pipeline {
    width: 95%;
    max-width: 1200px;
    margin: 80px auto;
    text-align: center;
}

.pipeline-header {
    margin-bottom: 60px;
}

.pipeline-header .section-subtitle {
    font-size: 1.1rem;
    color: #72a1de;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.pipeline-header .section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.pipeline-header .section-description {
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #c5c5c5;
    line-height: 1.7;
}

.pipeline-header .section-description-bold {
    font-size: 1.1rem;
    color: #fff;
    font-weight: bold;
    margin-top: 30px;
}

.pipeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pipeline-step {
    background-color: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(114, 161, 222, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pipeline-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(114, 161, 222, 0.3);
    border-color: rgba(114, 161, 222, 0.4);
}

.pipeline-step .step-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: rgba(114, 161, 222, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}

.pipeline-step h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Our Process Section */
.our-process-section {
    width: 95%;
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px;
    background-color: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(114, 161, 222, 0.2);
    border-radius: 15px;
    display: flex;
    gap: 40px;
    min-height: 600px; /* Ensure enough height for content */
}

.process-container {
    display: flex;
    width: 100%;
    gap: 40px;
}

.process-sidebar {
    flex: 0 0 280px; /* Fixed width for sidebar */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.process-sidebar .phase-title {
    font-size: 1.1rem;
    color: #72a1de;
    margin-top: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.process-sidebar .phase-title:first-child {
    margin-top: 0;
}

.process-button {
    background-color: transparent;
    border: 1px solid rgba(114, 161, 222, 0.2);
    color: #c5c5c5;
    padding: 15px 20px;
    text-align: left;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.process-button i {
    font-size: 1.5rem;
    color: #72a1de;
}

.process-button:hover {
    background-color: rgba(114, 161, 222, 0.1);
    border-color: rgba(114, 161, 222, 0.4);
    color: #fff;
}

.process-button.active {
    background-color: #72a1de;
    color: black;
    border-color: #72a1de;
    font-weight: bold;
}

.process-button.active i {
    color: black;
}

.process-content-display {
    flex: 1;
    background-color: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(114, 161, 222, 0.2);
    border-radius: 15px;
    padding: 30px;
    overflow-y: auto; /* Enable scrolling for long content */
}

.process-content {
    display: none;
}

.process-content.active {
    display: block;
}

.process-content .content-title {
    font-size: 2.2rem;
    color: #72a1de;
    margin-bottom: 10px;
}

.process-content .content-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.process-content p {
    font-size: 1rem;
    color: #c5c5c5;
    line-height: 1.7;
    margin-bottom: 15px;
}

.process-content ul, .process-content ol {
    color: #c5c5c5;
    margin-left: 20px;
    margin-bottom: 15px;
}

.process-content ul li, .process-content ol li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.process-content strong {
    color: #fff;
}

.process-content .tools-used {
    font-size: 1.1rem;
    color: #fff;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
}

.process-content .tool-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.process-content .tool-icons img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

/* Responsive adjustments for Our Process Section */
@media screen and (max-width: 992px) {
    .our-process-section {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .process-container {
        flex-direction: column;
        gap: 20px;
    }
    .process-sidebar {
        flex: none;
        width: 100%;
        flex-direction: row; /* Make buttons horizontal on smaller screens */
        flex-wrap: wrap;
        justify-content: center;
    }
    .process-sidebar .phase-title {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .process-button {
        flex: 1 1 auto; /* Allow buttons to wrap */
        justify-content: center;
    }
    .process-content-display {
        padding: 20px;
    }
    .process-content .content-title {
        font-size: 1.8rem;
    }
    .process-content .content-subtitle {
        font-size: 1rem;
    }
    .process-content p, .process-content ul, .process-content ol {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    .process-sidebar {
        flex-direction: column; /* Stack buttons vertically on very small screens */
    }
    .process-button {
        width: 100%;
    }
}

.pipeline-step p {
    font-size: 1rem;
    color: #c5c5c5;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Responsive adjustments for pipeline steps */
@media screen and (max-width: 768px) {
    .pipeline-steps {
        grid-template-columns: 1fr;
    }
    .pipeline-step .step-number {
        font-size: 3rem;
    }
    .pipeline-step h3 {
        font-size: 1.3rem;
    }
    .pipeline-step p {
        font-size: 0.9rem;
    }
}

/* Our Work Section (my-project) */
.my-project {
    width: 95%;
    max-width: 1200px;
    margin: 80px auto;
    text-align: center;
}

.my-project .section-title {
    margin-bottom: 60px;
}

.my-project .project-card {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    background-color: transparent; /* Removed background color */
    backdrop-filter: none; /* Removed backdrop filter */
    border: none; /* Removed border */
    border-radius: 0; /* Removed border radius */
    padding: 0; /* Removed padding */
    transition: none; /* Removed transition */
    box-shadow: none; /* Removed box shadow */
}

.my-project .project-card:hover {
    transform: none;
    box-shadow: none;
    border-color: none;
}

.my-project .project-imgbox {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.my-project .project-imgbox img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.my-project .project-info {
    flex: 1;
    text-align: left;
}

.my-project .project-info .project-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase; /* Added uppercase */
    font-weight: bold; /* Added bold */
}

.my-project .project-info .project-description {
    font-size: 1.1rem;
    color: #c5c5c5;
    line-height: 1.7;
    margin-bottom: 25px;
}

.my-project .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.my-project .project-tags .tag {
    background-color: #72a1de;
    color: black;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Reverse layout for alternating cards */
.my-project .project-card-reverse {
    flex-direction: row-reverse;
}

/* Responsive adjustments for project cards */
@media screen and (max-width: 992px) {
    .my-project .project-card {
        flex-direction: column;
        text-align: center;
    }
    .my-project .project-card-reverse {
        flex-direction: column; /* Reset for smaller screens */
    }
    .my-project .project-imgbox {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .my-project .project-info {
        text-align: center;
    }
    .my-project .project-tags {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .my-project .project-info .project-title {
        font-size: 1.8rem;
    }
    .my-project .project-info .project-description {
        font-size: 1rem;
    }
}