/* Software Development Page Styles */

.software-hero-section {
    padding: 24px 24px 60px 24px;
}

.software-hero-container {
    /* We use Execute.webp as placeholder and overlay a dark gradient to match the requested dark theme */
    background: linear-gradient(90deg, rgba(13, 22, 42, 0.95) 0%, rgba(13, 22, 42, 0.8) 50%, rgba(13, 22, 42, 0.4) 100%), url('../assets/Images/software-hero.webp') no-repeat center right / cover;
    border-radius: 24px;
    padding: 100px 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    min-height: 550px;
}

.software-hero-content {
    max-width: 700px;
}





.software-hero-title {
    color: white;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}

.software-hero-title span {
    color: var(--primary-orange);
}

.software-hero-desc {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.software-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.software-hero-actions .hero-btn {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
}

.software-hero-actions .btn-outline {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.software-hero-actions .btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .software-hero-container {
        padding: 80px 40px;
    }
    .software-hero-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .software-hero-container {
        padding: 60px 24px;
    }
    .software-hero-title {
        font-size: 36px;
    }
    .software-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .software-hero-actions .btn-outline,
    .software-hero-actions .hero-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Spectrum Capabilities Section */
.capabilities-spectrum-section {
    padding: 80px 24px;
    background-color: #f8fafc;
}

.spectrum-header {
    max-width: 800px;
    margin-bottom: 60px;
}





.spectrum-title {
    color: var(--text-dark);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.spectrum-desc {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
}

.spectrum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.spectrum-col-left, .spectrum-col-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.spectrum-col-right {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}

.spectrum-item {
    background-color: white;
    padding: 32px 32px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: default;
    margin-bottom: 0;
}

.spectrum-item.no-border {
    border-bottom-color: #e2e8f0;
}

.item-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 12px;
}

.item-num {
    color: var(--primary-orange);
    font-size: 20px;
    font-weight: 800;
}

.spectrum-item h3 {
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 800;
}

.spectrum-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Reveal Effects */
.spectrum-item:hover {
    background-color: white;
    box-shadow: inset 0 3px 0 0 var(--primary-orange), 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(242, 104, 34, 0.1);
    z-index: 2;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.spectrum-item:hover p {
    margin-bottom: 24px;
}

.item-image-box, .item-features {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.spectrum-item:hover .item-image-box {
    max-height: 400px;
    opacity: 1;
    margin-bottom: 24px;
}

.spectrum-item:hover .item-features {
    max-height: 400px;
    opacity: 1;
}

.item-image-box {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.item-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.item-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-features li {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
    padding-left: 12px;
    position: relative;
    line-height: 1.5;
}

.item-features li::before {
    content: "•";
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.item-features li strong {
    color: var(--text-dark);
}

@media (max-width: 992px) {
    .spectrum-grid {
        grid-template-columns: 1fr;
    }
    .spectrum-col-right {
        padding: 0 24px;
    }
}

/* Engineering Lifecycle Section */
.lifecycle-section {
    background-color: #0b1120;
    border-radius: 24px;
    padding: 80px;
    margin: 0 24px 60px 24px;
    color: white;
}

.lifecycle-header {
    margin-bottom: 60px;
    max-width: 700px;
}





.lifecycle-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.lifecycle-title span {
    color: var(--primary-orange);
}

.lifecycle-desc {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
}

.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lifecycle-card {
    background-color: #111827; /* solid dark blue/grey background */
    border: 1px solid #1f2937; /* slightly lighter border */
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.lifecycle-card:hover {
    border-color: var(--primary-orange);
    background-color: #111827;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.card-num {
    font-size: 36px;
    font-weight: 900;
    color: #374151; /* deep blue-grey for the number before hover */
    transition: color 0.3s ease;
}

.lifecycle-card:hover .card-num {
    color: var(--primary-orange);
}

.card-icon {
    color: #4b5563; /* grey icon before hover */
    transition: color 0.3s ease;
}

.lifecycle-card:hover .card-icon {
    color: var(--primary-orange);
}

.lifecycle-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.lifecycle-card p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}

.lifecycle-divider {
    grid-column: 1 / -1;
    height: 1px;
    background: repeating-linear-gradient(
      to right,
      var(--primary-orange) 0,
      var(--primary-orange) 4px,
      transparent 4px,
      transparent 12px
    );
    opacity: 0.5;
    margin: 8px 0;
}

@media (max-width: 1200px) {
    .lifecycle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lifecycle-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .lifecycle-section {
        padding: 60px 24px;
        margin: 0 16px 40px 16px;
    }
    .lifecycle-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.software-cta-section {
    background-color: #0b1120;
    border-radius: 24px;
    padding: 100px 24px;
    margin: 0 24px 60px 24px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}





.software-cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.software-cta-title span {
    color: var(--primary-orange);
}

.software-cta-desc {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 40px;
}

.software-cta-actions {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-solid-orange {
    background-color: var(--primary-orange);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(242, 104, 34, 0.3);
}

.btn-solid-orange:hover {
    background-color: #e05a1f;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(242, 104, 34, 0.4);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid white;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: white;
    color: #0b1120;
}

@media (max-width: 768px) {
    .software-cta-section {
        margin: 0 16px 40px 16px;
        padding: 60px 24px;
    }
    .software-cta-title {
        font-size: 36px;
    }
    .software-cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    .software-cta-actions .btn-solid-orange,
    .software-cta-actions .btn-outline-white {
        width: 100%;
        justify-content: center;
    }
}
