/* ===================================
   Engineering Excellence Page Styles
   Matches Home page design system
   =================================== */

/* Hero Section */
.eng-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 550px;
    background-image: url('../assets/images/home-img/wf2.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0;
    padding-top: 80px;
    overflow: hidden;
}

.eng-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, rgba(21, 15, 63, 0.95) 0%, rgba(21, 15, 63, 0.85) 50%, rgba(21, 15, 63, 0.4) 80%, transparent 100%);
    z-index: 1;
}

/* Page loading progress bar */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #41EEFC, #7C65FE);
    box-shadow: 0 0 10px rgba(65, 238, 252, 0.7);
    z-index: 9999;
    transform-origin: left center;
    transition: width 0.4s ease-out, opacity 0.3s ease-out;
}

#page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Decorative geometric accent */
.eng-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(124, 101, 254, 0.15) 40%, rgba(124, 101, 254, 0.25) 100%);
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.eng-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 650px;
    padding: 40px 5% 60px;
    margin-left: 5%;
}

.eng-hero-label {
    display: inline-block;
    background: rgba(124, 101, 254, 0.15);
    color: var(--purple-accent);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(124, 101, 254, 0.3);
}

.eng-hero-title {
    font-family: 'Roboto', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
}

.eng-hero-title span {
    color: #7C65FE;
}

.eng-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    max-width: 480px;
}

/* Section Label */
.section-label {
    display: inline-block;
    background: rgba(124, 101, 254, 0.15);
    color: var(--purple-accent);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid rgba(124, 101, 254, 0.25);
}

.section-label.center {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

/* Philosophy Section */
.philosophy-section {
    padding: 100px 5%;
    background: #f5f3f0;
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(124, 101, 254, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(124, 101, 254, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.philosophy-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.philosophy-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: start;
}

.philosophy-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.philosophy-heading span {
    color: var(--purple-accent);
}

.philosophy-intro {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 0;
    text-align: justify;
}

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

.principle-item {
    background: var(--white);
    padding: 28px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 35px rgba(21, 15, 63, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(124, 101, 254, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.principle-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--purple-accent);
    transition: height 0.4s ease;
}

.principle-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(124, 101, 254, 0.15);
    border-color: rgba(124, 101, 254, 0.2);
}

.principle-item:hover::before {
    height: 100%;
}

.principle-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 101, 254, 0.12) 0%, rgba(65, 238, 252, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(21, 15, 63, 0.18);
    overflow: hidden;
}

.principle-icon img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    display: block;
}

.principle-item:hover .principle-icon {
    transform: translateY(-2px);
}

.principle-number {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--purple-accent);
    opacity: 0.4;
    margin-bottom: 15px;
    line-height: 1;
}

.principle-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.principle-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.philosophy-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(21, 15, 63, 0.15);
}

.philosophy-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 101, 254, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

/* Highlights Bar */
.highlights-bar {
    background: #ffffff;
    padding: 70px 5%;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(124, 101, 254, 0.1);
    border-bottom: 1px solid rgba(124, 101, 254, 0.1);
}

.highlights-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-accent) 0%, rgba(124, 101, 254, 0.5) 50%, var(--purple-accent) 100%);
}

.highlights-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: rgba(124, 101, 254, 0.08);
    border-radius: 18px;
    border: 1px solid rgba(124, 101, 254, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.highlight-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--purple-accent);
    transition: width 0.4s ease;
}

.highlight-item:hover {
    background: rgba(124, 101, 254, 0.12);
    transform: translateY(-5px);
    border-color: rgba(124, 101, 254, 0.25);
}

.highlight-item:hover::after {
    width: 100%;
}

.highlight-icon {
    width: 65px;
    height: 65px;
    background: var(--purple-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(124, 101, 254, 0.25);
}

.highlight-icon i {
    font-size: 1.6rem;
    color: var(--white);
}

.highlight-number {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--deep-navy);
    line-height: 1;
}

.highlight-label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    font-weight: 500;
}

/* Tools Section */
.tools-section {
    padding: 100px 5%;
    background: #e9f1f7;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.tools-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.tools-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--deep-navy);
    text-align: center;
    margin-bottom: 15px;
}

.tools-heading span {
    color: var(--purple-accent);
}

.tools-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

.tools-category {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 12px 45px rgba(21, 15, 63, 0.1);
    border: 1px solid rgba(124, 101, 254, 0.12);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    display: block;
    visibility: visible;
    opacity: 1 !important;
    z-index: 1;
    transform: translateY(0);
}

.tools-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-accent) 0%, #41EEFC 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tools-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 55px rgba(124, 101, 254, 0.15);
    border-color: rgba(124, 101, 254, 0.2);
}

.tools-category:hover::before {
    opacity: 1;
}

.tools-category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(124, 101, 254, 0.12);
}

.tools-category-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(124, 101, 254, 0.12) 0%, rgba(65, 238, 252, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(21, 15, 63, 0.15);
}

.tools-category-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
}

.tools-category-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-navy);
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
}

.tool-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
    background: #ffffff !important;
    border-radius: 14px;
    border-left: 4px solid var(--purple-accent);
    box-shadow: 0 4px 20px rgba(21, 15, 63, 0.06);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease, border-left-width 0.3s ease;
    border-top: 1px solid rgba(124, 101, 254, 0.08);
    border-right: 1px solid rgba(124, 101, 254, 0.08);
    border-bottom: 1px solid rgba(124, 101, 254, 0.08);
    will-change: transform;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 1;
}

.tool-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 101, 254, 0.08);
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.tool-icon i {
    font-size: 0.9rem;
    color: var(--purple-accent);
    font-weight: 300;
    transform: rotate(0deg);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    opacity: 1;
    visibility: visible;
}

.tool-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(124, 101, 254, 0.12);
    border-left-color: #41EEFC;
    border-left-width: 5px;
}

.tool-item:hover .tool-icon {
    background: rgba(65, 238, 252, 0.15);
    transform: scale(1.1);
}

.tool-item:hover .tool-icon i {
    color: #41EEFC;
    transform: rotate(90deg);
}

/* Ensure icons are visible even if Font Awesome loads slowly */
.tool-icon i.fa-minus {
    opacity: 1;
    visibility: visible;
}

.tool-info {
    width: 100%;
}

.tool-name {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 500;
}

/* Competencies Section */
.competencies-section {
    padding: 100px 5%;
    background: #ffffff;
}

.competencies-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.competencies-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(21, 15, 63, 0.15);
}

.competencies-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 101, 254, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.competencies-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 550px;
}

.competencies-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.competencies-heading span {
    color: var(--purple-accent);
}

.competencies-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
}

.competencies-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.competency-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 5px 25px rgba(21, 15, 63, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 101, 254, 0.08);
}

.competency-item:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 35px rgba(124, 101, 254, 0.1);
    border-color: rgba(124, 101, 254, 0.15);
}

.competency-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--purple-accent) 0%, #9580ff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.competency-icon i {
    font-size: 1.1rem;
    color: var(--white);
}

.competency-text {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.6;
}

.competency-text strong {
    color: var(--deep-navy);
    font-weight: 700;
}

/* Standards Section */
.standards-section {
    padding: 100px 5%;
    background: #f5f3f0;
    position: relative;
    overflow: hidden;
}

.standards-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 101, 254, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.standards-inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.standards-section .section-label {
    background: rgba(124, 101, 254, 0.15);
    color: var(--purple-accent);
    border-color: rgba(124, 101, 254, 0.25);
}

.standards-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--deep-navy);
    text-align: center;
    margin-bottom: 15px;
}

.standards-heading span {
    color: var(--purple-accent);
}

.standards-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* New Standards Content Grid */
.standards-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    align-items: stretch;
}

.standards-text-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.standard-text-card {
    position: relative;
    display: flex;
    gap: 18px;
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 26px 24px;
    border: 1px solid rgba(124, 101, 254, 0.16);
    box-shadow: 0 10px 35px rgba(21, 15, 63, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    overflow: hidden;
}

.standard-text-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(124, 101, 254, 0.12), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.standard-text-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f7f6ff 100%);
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(124, 101, 254, 0.18);
    border-color: rgba(124, 101, 254, 0.4);
}

.standard-text-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, var(--purple-accent) 0%, #9580ff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(124, 101, 254, 0.25);
}

.standard-text-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
}

.standard-text-content h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 10px;
}

.standard-text-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.standard-text-content strong {
    color: var(--purple-accent);
    font-weight: 600;
}

/* Standards Visual Side */
.standards-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.standards-badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.standard-badge {
    background: linear-gradient(135deg, rgba(124, 101, 254, 0.2) 0%, rgba(124, 101, 254, 0.1) 100%);
    border: 1px solid rgba(124, 101, 254, 0.3);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.standard-badge:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(124, 101, 254, 0.3) 0%, rgba(124, 101, 254, 0.15) 100%);
    border-color: rgba(124, 101, 254, 0.5);
}

.badge-number {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--purple-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.badge-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.standards-regions {
    background: rgba(124, 101, 254, 0.05);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(124, 101, 254, 0.1);
}

.standards-regions h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 15px;
    text-align: center;
}

.region-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.region-tag {
    background: var(--purple-accent);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.region-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(124, 101, 254, 0.3);
}

/* Governance Section */
.governance-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f5f5f7 0%, #e9f1f7 50%, #ffffff 100%);
}

.governance-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.governance-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 20px;
}

.governance-heading span {
    color: var(--purple-accent);
}

.governance-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
}

.qa-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 28px 32px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 60px rgba(21, 15, 63, 0.16);
    border: 1px solid rgba(124, 101, 254, 0.08);
}

.qa-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qa-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f4f5ff 50%, #ffffff 100%);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    border-left: 3px solid rgba(124, 101, 254, 0.6);
    border-right: 1px solid rgba(124, 101, 254, 0.05);
    border-top: 1px solid rgba(124, 101, 254, 0.05);
    border-bottom: 1px solid rgba(124, 101, 254, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease, background 0.25s ease;
    text-align: left;
}

.qa-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(124, 101, 254, 0.22);
    border-left-color: #41EEFC;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 40%, #f1f7ff 100%);
}

.qa-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 167, 69, 0.08);
}

.qa-icon i {
    font-size: 1.1rem;
    color: #28a745;
}

.qa-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .qa-checklist {
        grid-template-columns: 1fr;
    }
}

.governance-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(21, 15, 63, 0.15);
}

.governance-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 101, 254, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.governance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

/* Case Studies Section */
.case-studies-section {
    padding: 100px 5%;
    background: #e9f1f7;
}

.case-studies-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.case-studies-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--deep-navy);
    text-align: center;
    margin-bottom: 15px;
}

.case-studies-heading span {
    color: var(--purple-accent);
}

.case-studies-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media screen and (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .team-list {
        grid-template-columns: 1fr;
    }
}

.case-study-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(21, 15, 63, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(124, 101, 254, 0.08);
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(124, 101, 254, 0.15);
}

.case-study-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.case-study-card:hover .case-study-image img {
    transform: scale(1.08);
}

.case-study-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--purple-accent);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study-content {
    padding: 25px;
}

.case-study-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 10px;
}

.case-study-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 18px;
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--purple-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-study-link:hover {
    color: var(--deep-navy);
    gap: 12px;
}

.case-study-link i {
    font-size: 0.85rem;
}

/* Team Section */
.team-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f7 45%, #e9f1f7 100%);
}

.team-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 60px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(124, 101, 254, 0.08);
}

.team-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.team-heading span {
    color: var(--purple-accent);
}

.team-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 32px;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8f5ff 0%, #f4f5ff 40%, #ffffff 100%);
    border-radius: 14px;
    border-left: 3px solid rgba(124, 101, 254, 0.7);
    border-top: 1px solid rgba(124, 101, 254, 0.06);
    border-right: 1px solid rgba(124, 101, 254, 0.06);
    border-bottom: 1px solid rgba(124, 101, 254, 0.06);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease, background 0.25s ease;
}

.team-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 40%, #f1f6ff 100%);
    transform: translateY(-4px);
    border-left-color: #41EEFC;
    box-shadow: 0 14px 35px rgba(124, 101, 254, 0.22);
}

.team-item i {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--purple-accent);
    flex-shrink: 0;
    background: rgba(124, 101, 254, 0.12);
}

.team-item span {
    font-size: 0.98rem;
    color: var(--deep-navy);
    font-weight: 500;
}

.team-cta {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(21, 15, 63, 0.1);
    border: 1px solid rgba(124, 101, 254, 0.1);
}

.team-cta-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.team-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--purple-accent) 0%, #9580ff 100%);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(124, 101, 254, 0.35);
}

.team-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124, 101, 254, 0.45);
    gap: 16px;
}

.team-btn i {
    font-size: 0.9rem;
}

/* CTA Section */
.eng-cta-section {
    padding: 80px 5%;
    background: #f5f5f7;
}

.eng-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.eng-cta-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.eng-cta-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.7;
}

.eng-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.eng-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
}

.eng-cta-btn.primary {
    background: var(--purple-accent);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(124, 101, 254, 0.3);
}

.eng-cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124, 101, 254, 0.4);
}

.eng-cta-btn.secondary {
    background: transparent;
    color: var(--deep-navy);
    border: 2px solid rgba(124, 101, 254, 0.3);
}

.eng-cta-btn.secondary:hover {
    background: rgba(124, 101, 254, 0.08);
    border-color: rgba(124, 101, 254, 0.5);
    transform: translateY(-3px);
}

/* ===================================
   Responsive Styles
   =================================== */
@media screen and (max-width: 1200px) {
    .standards-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .standards-text-block {
        grid-template-columns: 1fr;
    }

    .standards-badge-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .eng-hero {
        height: 90vh;
        min-height: 550px;
        justify-content: center;
        background-attachment: scroll;
        padding-top: 80px;
    }

    .eng-hero-overlay {
        width: 100%;
        background: linear-gradient(180deg, rgba(21, 15, 63, 0.88) 0%, rgba(21, 15, 63, 0.75) 100%);
    }

    .eng-hero::before {
        display: none;
    }

    .eng-hero-content {
        text-align: center;
        margin-left: 0;
        padding: 80px 30px 50px;
    }

    .eng-hero-title {
        font-size: 3.2rem;
    }

    .eng-hero-subtitle {
        margin: 0 auto;
    }

    .philosophy-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .philosophy-image {
        order: -1;
    }

    .competencies-wrapper,
    .governance-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .philosophy-image,
    .competencies-image,
    .governance-image {
        order: -1;
    }

    .philosophy-image img,
    .competencies-image img,
    .governance-image img {
        min-height: 350px;
    }

    .highlights-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1024px) {
    .philosophy-top {
        gap: 50px;
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .philosophy-wrapper {
        gap: 50px;
    }
}

@media screen and (max-width: 768px) {
    .eng-hero {
        height: 85vh;
        min-height: 500px;
        padding-top: 70px;
    }

    .eng-hero-title {
        font-size: 2.8rem;
    }

    .eng-hero-subtitle {
        font-size: 0.95rem;
    }

    .eng-hero-label {
        font-size: 0.7rem;
        padding: 6px 16px;
    }

    .philosophy-heading,
    .competencies-heading,
    .governance-heading,
    .tools-heading,
    .standards-heading,
    .case-studies-heading,
    .team-heading {
        font-size: 2rem;
    }

    .philosophy-wrapper {
        gap: 40px;
    }

    .philosophy-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .philosophy-image {
        order: -1;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .principle-item {
        padding: 22px 18px;
        min-height: auto;
    }

    .principle-icon {
        width: 44px;
        height: 44px;
        top: 16px;
        right: 16px;
    }

    .highlights-inner {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .highlight-item {
        justify-content: flex-start;
    }

    .standards-content-grid {
        grid-template-columns: 1fr;
    }

    .standards-text-block {
        grid-template-columns: 1fr;
    }

    .standards-badge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .standard-text-card {
        flex-direction: column;
        text-align: center;
    }

    .standard-text-icon {
        margin: 0 auto;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .eng-cta-heading {
        font-size: 1.8rem;
    }

    .eng-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .team-cta {
        padding: 30px 25px;
    }
}

@media screen and (max-width: 480px) {
    .eng-hero-title {
        font-size: 2.2rem;
    }

    .eng-hero-label {
        font-size: 0.65rem;
        padding: 5px 14px;
    }

    .section-label {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .philosophy-heading,
    .competencies-heading,
    .governance-heading,
    .tools-heading,
    .standards-heading,
    .case-studies-heading,
    .team-heading {
        font-size: 1.6rem;
    }

    .principle-item,
    .competency-item,
    .qa-item {
        padding: 18px;
    }

    .tools-category {
        padding: 25px 20px;
    }

    .standard-card {
        padding: 25px 20px;
    }
}

