:root {
    --primary-color: #f7931e;
    --primary-dark: #d67a12;
    --secondary-color: #2b3a42;
    --accent-color: #4a90e2;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #121212;
    --border-color: #eeeeee;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 20px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.mt-4 {
    margin-top: 2rem !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 30, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo .logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.nav-logo { order: 3; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    order: 1;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    transition: var(--transition);
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:not(.btn-primary):hover::after,
.nav-link.active:not(.btn-primary)::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: none;
    border: none;
    cursor: pointer;
    order: 2;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    min-height: 640px;
    background-image: url('../images/Building Sketch.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* STATS SECTION */
.stats-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

/* Fixed Grid that doesn't ruin Stats Section Container */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary-color);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* INTRO SECTION */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.intro-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.intro-image-wrapper:hover .intro-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-hover);
    border: 5px solid white;
}

.badge-number {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* FOOTER */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
}

.footer-col p {
    color: #aaaaaa;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaaaaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 20px 0;
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
}

/* SEAMLESS STRENGTHS */
.strengths-section {
    padding: 0;
    background-color: var(--bg-color);
}
.strengths-row {
    display: flex;
    align-items: stretch;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}
.strengths-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.strengths-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.strengths-image-container:hover img {
    transform: scale(1.05);
}
.strengths-content {
    flex: 1;
    padding: 100px 80px;
    background-color: #3f5e4f; /* rich elegant green */
    color: white;
    z-index: 2;
    clip-path: polygon(100px 0, 100% 0, 100% 100%, 0% 100%);
    margin-left: -100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.strengths-row:nth-child(even) .strengths-content {
    background-color: #2b3a42; /* dark slate */
    clip-path: polygon(0 0, calc(100% - 100px) 0, 100% 100%, 0 100%);
    margin-left: 0;
    margin-right: -100px;
}
.strengths-row:nth-child(even) {
    flex-direction: row-reverse;
}
.strengths-content h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.strengths-content p {
    color: #f1f1f1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-slideshow {
    display: none;
}

.strengths-mobile-note {
    display: none;
}

/* MARQUEE CAROUSEL */
.marquee-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.marquee-content {
    display: inline-flex;
    gap: 34px;
    padding-left: 50px;
    animation: scroll-left 90s linear infinite;
}

.marquee-content.reverse {
    animation: scroll-right 90s linear infinite;
}

.marquee-item {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #444;
    transition: var(--transition);
}

.marquee-item:hover {
    color: var(--primary-color);
}

.trusted-partners-link {
    display: inline-block;
}

.trusted-partners-link:hover .section-title {
    color: var(--secondary-color);
}

.marquee-item img {
    width: 138px;
    height: 96px !important;
    filter: none !important;
    opacity: 1 !important;
    background: white;
    border-radius: 6px;
    padding: 8px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.marquee-item img.logo-kreeda,
.marquee-item img.logo-legato {
    padding: 0 !important;
}

.marquee-item img.logo-sleekline {
    padding: 18px !important;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Assumes content is duplicated */
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .strengths-row, .strengths-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile hide for now */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-cta {
        flex-direction: column;
    }
}

/* BOARD OF DIRECTORS */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.board-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 450px;
    background-color: #2b3a42; /* fallback */
    background-size: cover;
    background-position: center top;
}
.board-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(43, 58, 66, 0.95);
    color: white;
    padding: 25px;
    transition: all 0.4s ease;
    height: auto;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.board-overlay.active {
    height: 100%;
    justify-content: space-between;
}
.board-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}
.board-name h4 {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: white;
}
.board-title {
    font-size: 0.9rem;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
}
.board-toggle {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: transparent;
    color: white;
}
.board-overlay.active .board-toggle {
    transform: rotate(180deg);
}
.board-desc {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.board-overlay.active .board-desc {
    opacity: 1;
    height: auto;
    overflow: visible;
}

/* =========================================
   ABOUT US INFOGRAPHICS 
   ========================================= */

/* 1. Building Blocks (Values Diagram) */
.values-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}
.values-left {
    background: #4A5636; /* Dark Olive styling matching SS */
    border-radius: 50%;
    width: 400px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.vl-divider { width: 80%; height: 1px; background: rgba(255,255,255,0.4); margin: 25px 0; }
.values-left h3 { color: white; margin-bottom: 10px; font-size: 1.8rem; }
.values-left p { font-size: 0.95rem; line-height: 1.5; color: #f1f1f1; margin:0;}

.values-right {
    position: relative;
    width: 450px;
    height: 450px;
}
.values-right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 365px;
    height: 365px;
    border: 4px solid #C4A759;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.95;
}
.radial-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}
.radial-center i { font-size: 3.5rem; color: #333; display: block; margin-bottom: 10px; }
.radial-node {
    position: absolute;
    width: 110px; height: 110px;
    background: white;
    border-radius: 50%;
    border: 4px solid #C4A759; /* Gold */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    top: 50%; left: 50%;
    transform-origin: 0 0;
    z-index: 1;
}
/* Positioning the 7 nodes around the circle */
.radial-node i { font-size: 1.5rem; margin-bottom: 5px; color: #4A5636; }
.radial-node span { font-size: 0.7rem; font-weight: 600; line-height: 1.2; }
.node-1 { transform: translate(-50%, -50%) translate(0, -170px); }
.node-2 { transform: translate(-50%, -50%) translate(133px, -106px); }
.node-3 { transform: translate(-50%, -50%) translate(165px, 38px); }
.node-4 { transform: translate(-50%, -50%) translate(74px, 153px); }
.node-5 { transform: translate(-50%, -50%) translate(-74px, 153px); }
.node-6 { transform: translate(-50%, -50%) translate(-165px, 38px); }
.node-7 { transform: translate(-50%, -50%) translate(-133px, -106px); }

/* 2. Serpentine Timeline */
.serpentine-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 40px 0;
    margin-top: 40px;
}
.st-row {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}
.st-row::before {
    content: '';
    position: absolute;
    top: 25px;
    height: 15px;
    width: 80%;
    background: #C4A759;
    z-index: 1;
}
.st-row.reverse { flex-direction: row-reverse; }
.st-curve-right {
    position: absolute;
    right: 10%; top: 25px;
    width: 60px; height: 180px;
    border: 15px solid #C4A759;
    border-left: none;
    border-radius: 0 50px 50px 0;
    z-index: 1;
}
.st-curve-left {
    position: absolute;
    left: 10%; top: 25px;
    width: 60px; height: 180px;
    border: 15px solid #C4A759;
    border-right: none;
    border-radius: 50px 0 0 50px;
    z-index: 1;
}
.st-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 140px;
    margin: 0 10px;
    padding-top: 60px;
}
.st-year {
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    background: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    color: #333;
}
.st-desc { font-size: 0.8rem; color: #555; }
.st-wrapper { margin-bottom: 80px; width: 100%; position: relative; }

/* 3. People Map Flowchart */
.people-map-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}
.pm-card {
    border: 2px solid #8e94a8;
    border-radius: 10px;
    padding: 40px 20px 20px;
    position: relative;
    width: 200px;
    background: white;
}
.pm-header {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: #8e94a8;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
}
.pm-card ul { padding-left: 20px; text-align: left; font-size: 0.9rem; margin:0; }
.pm-arrow { font-size: 2rem; color: #C4A759; display:flex; align-items:center;}

/* 4. Ethical Compliance Map */
.compliance-map {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 50px auto 0;
}
.cm-center {
    position: absolute; top:50%; left:50%; transform: translate(-50%, -50%);
    background: white; border: 4px solid #333; border-radius: 30px;
    padding: 20px 40px; font-size: 1.5rem; font-weight: bold; z-index: 2;
}
.cm-node {
    position: absolute;
    text-align: center;
    width: 100px;
    top: 50%; left: 50%;
    transform-origin: 0 0;
}
.cm-node i { font-size: 2.5rem; margin-bottom: 10px; color: #555; display:block;}
.cm-node span { font-size: 0.8rem; font-weight: bold; }
/* Node placements roughly circular */
.c-1 { transform: translate(-50%, -50%) translate(0, -200px); }
.c-2 { transform: translate(-50%, -50%) translate(150px, -150px); }
.c-3 { transform: translate(-50%, -50%) translate(200px, 0px); }
.c-4 { transform: translate(-50%, -50%) translate(150px, 150px); }
.c-5 { transform: translate(-50%, -50%) translate(0, 200px); }
.c-6 { transform: translate(-50%, -50%) translate(-150px, 150px); }
.c-7 { transform: translate(-50%, -50%) translate(-200px, 0); }
.c-8 { transform: translate(-50%, -50%) translate(-150px, -150px); }

@media (max-width: 768px) {
    .values-left, .values-right, .compliance-map { width: 100%; height: auto; display:flex; flex-direction:column; align-items:center; }
    .radial-node, .cm-node { position: relative; transform: none; top:auto; left:auto; margin: 10px; display:inline-flex;}
    .radial-center, .cm-center { position:relative; transform:none; margin: 20px 0; top:auto; left:auto;}
    .values-right { display: flex; flex-wrap: wrap; justify-content: center; height: auto;}
    .compliance-map { height: auto; }
    .st-row, .st-row.reverse { flex-wrap: wrap; flex-direction: column; align-items:center;}
    .st-row::before, .st-curve-right, .st-curve-left { display: none; }
    .st-item { width: 100%; padding: 20px; border-left: 3px solid #C4A759; text-align:left; margin-bottom:20px; }
    .st-year { position: relative; top: auto; left: auto; transform: none; display:inline-block; margin-bottom: 10px;}
    .pm-arrow { transform: rotate(90deg); margin: 15px 0; }
}

.radial-node { transition: all 0.3s ease; cursor: pointer; }
.radial-node:hover { transform: scale(1.1); box-shadow: 0 10px 25px rgba(196,167,89,0.4); background: #fdfdfd; }
.node-1:hover { transform: translate(-50%, -50%) translate(0, -170px) scale(1.1); }
.node-2:hover { transform: translate(-50%, -50%) translate(133px, -106px) scale(1.1); }
.node-3:hover { transform: translate(-50%, -50%) translate(165px, 38px) scale(1.1); }
.node-4:hover { transform: translate(-50%, -50%) translate(74px, 153px) scale(1.1); }
.node-5:hover { transform: translate(-50%, -50%) translate(-74px, 153px) scale(1.1); }
.node-6:hover { transform: translate(-50%, -50%) translate(-165px, 38px) scale(1.1); }
.node-7:hover { transform: translate(-50%, -50%) translate(-133px, -106px) scale(1.1); }

.cm-node { transition: all 0.3s ease; cursor: pointer; }
.cm-node:hover { transform: scale(1.1); }
.c-1:hover { transform: translate(-50%, -50%) translate(0, -200px) scale(1.1); }
.c-2:hover { transform: translate(-50%, -50%) translate(150px, -150px) scale(1.1); }
.c-3:hover { transform: translate(-50%, -50%) translate(200px, 0px) scale(1.1); }
.c-4:hover { transform: translate(-50%, -50%) translate(150px, 150px) scale(1.1); }
.c-5:hover { transform: translate(-50%, -50%) translate(0, 200px) scale(1.1); }
.c-6:hover { transform: translate(-50%, -50%) translate(-150px, 150px) scale(1.1); }
.c-7:hover { transform: translate(-50%, -50%) translate(-200px, 0) scale(1.1); }
.c-8:hover { transform: translate(-50%, -50%) translate(-150px, -150px) scale(1.1); }


/* Success stories seamless background fix */
.success-stories-page { background: #f9f9f9; width: 100%; min-height: 100vh; }


@media (max-width: 768px) {
    /* FOOTER FIX */
    .footer-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    
    /* STRENGTHS FIX */
    .strengths-row, .strengths-row:nth-child(even) { flex-direction: column !important; min-height: auto; }
    .strengths-image-container { width: 100%; height: 300px; order: 1; }
    .strengths-content { 
        width: 100%; order: 2; margin-left: 0 !important; margin-right: 0 !important;
        clip-path: none !important; padding: 40px 20px !important;
    }
    
    /* RADIAL AND COMPLIANCE MAP MOBILE OVERRIDES */
    .values-container { display: flex; flex-direction: column; width: 100%; gap: 30px; }
    .values-left { width: 100%; height: auto; border-radius: 20px; padding: 40px 20px; }
    .values-right { 
        position: relative; 
        width: 100%; 
        height: auto; 
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 15px; 
        padding: 20px 0; 
    }
    .radial-center { 
        position: relative; 
        transform: none; 
        top: auto; 
        left: auto; 
        width: 150px !important; 
        height: 150px !important; 
        margin: 0 auto 10px; 
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .radial-node { 
        position: relative !important; 
        transform: none !important; 
        top: auto !important; 
        left: auto !important;
        width: 100px !important; 
        height: 100px !important; 
        padding: 8px !important;
        flex-shrink: 0;
    }
    .radial-node span { font-size: 0.65rem !important; }
    .radial-node i { font-size: 1.2rem !important; }
    .cm-node { 
        position: relative; transform: none !important; top: auto; left: auto;
        width: 100%; height: auto; padding: 15px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; box-sizing: border-box;
    }

    .compliance-map { position: relative; width: 100%; height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 20px 0; margin-top:20px; }
    .cm-center { position: relative; transform: none; top: auto; left: auto; grid-column: span 2; padding: 20px; }

    /* TIMELINE MOBILE */
    .serpentine-timeline { padding: 20px 0; }
    .st-wrapper { margin-bottom: 0 !important; margin-top: 0 !important; padding-left: 20px; }
    .st-row, .st-row.reverse { flex-direction: column !important; align-items: flex-start !important; }
    .st-item { width: 100%; text-align: left; padding: 0 0 30px 30px; border-left: 3px solid #C4A759; margin: 0; min-height: 80px;}
    .st-year { position: absolute; left: -15px; top: 0; transform: none; display: inline-block; padding: 5px 15px; }
    .st-desc { padding-top: 40px; margin: 0; }
    .st-row::before, .st-curve-right, .st-curve-left { display: none !important; }
    
    /* PEOPLE MAP MOBILE */
    .people-map-flow { flex-direction: column; }
    .pm-arrow { transform: rotate(90deg); margin: 20px 0; }
}

/* === OVERRIDE CRITICAL SPACING FIXES === */
.values-left {
    border-radius: 20px !important; /* Make it a pill rather than circle */
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    padding: 50px 40px !important;
}

/* Timeline Math Fixes */
.st-curve-right {
    height: calc(100% + 20px) !important;
    top: 25px !important;
    border-radius: 0 80px 80px 0 !important;
}
.st-curve-left {
    height: calc(100% + 20px) !important;
    top: 25px !important;
    border-radius: 80px 0 0 80px !important;
}
.st-wrapper { margin-bottom: 0px !important; padding-bottom:30px; }

/* Scale Compliance map up visually using scaling */
.compliance-map { transform: scale(0.9); }
@media (min-width: 1024px) {
    .compliance-map { transform: scale(1.1); margin-top: 80px; margin-bottom: 80px; }
}

/* === CRITICAL REDESIGNS === */

/* VALUES MATRIX - The Center Badge */
.radial-center {
    width: 120px;
    height: 120px;
    background-color: #EBEBEB;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

/* ETHICAL CONDUCT MATRIX - Badge Layouts */
.cm-node {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 50%;
    border: 3px solid #f1f1f1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.cm-center {
    border-radius: 50px; /* pill shape */
    background: white;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border: 4px solid var(--secondary-color);
    color: var(--secondary-color);
}

/* MILESTONES REDESIGN (S-Curve Wrap Protection) */
.serpentine-timeline {
    position: relative;
    padding: 40px 0;
    margin-top: 40px;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.st-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    position: relative;
    margin-bottom: 80px;
    padding: 0 30px;
}

.st-line-horiz {
    position: absolute;
    top: 35px;
    left: 40px;
    right: 40px;
    height: 15px;
    background: #C4A759;
    z-index: 1;
}

.st-line-right-curve {
    position: absolute;
    top: 35px;
    right: -25px; /* stick out off the wrapper */
    width: 65px;
    height: calc(100% + 80px); /* spans to the next line top */
    border: 15px solid #C4A759;
    border-left: none;
    border-radius: 0 50px 50px 0;
    z-index: 1;
}

.st-line-left-curve {
    position: absolute;
    top: 35px;
    left: -25px;
    width: 65px;
    height: calc(100% + 80px);
    border: 15px solid #C4A759;
    border-right: none;
    border-radius: 50px 0 0 50px;
    z-index: 1;
}

.st-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 160px;
    display: flex;
    flex-direction: column;
    background: white; /* optional backing */
}

.st-year {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    color: #333;
    background: white;
    margin: 0 auto 15px auto;
    z-index: 3;
    position: relative;
    border: 4px solid white;
}

.st-desc {
    font-size: 0.85rem;
    color: #555;
    padding-top: 10px;
}


/* SUCCESS STORIES COMPONENT REDESIGN */
.profile-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 40px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
}
.profile-top {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}
.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f1f1f1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.profile-info h3 { color: var(--secondary-color); font-size: 2rem; margin-bottom: 5px; }
.profile-info .sub { color: var(--primary-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.profile-info p { line-height: 1.6; color: #555; font-size: 1rem; margin-bottom: 0;}

.profile-timeline {
    position: relative;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 1px dashed #ddd;
    display: flex;
    justify-content: space-around;
}
.profile-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: #e2e2e2;
    z-index: 1;
}
.pt-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 200px;
}
.pt-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 10px auto 10px;
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}
.pt-year { font-weight: bold; color: var(--secondary-color); font-size: 1.1rem; }
.pt-desc { font-size: 0.85rem; color: #777; }


@media (max-width: 768px) {
    .st-row { flex-direction: column; margin-bottom: 0px; padding: 0; }
    .st-line-horiz, .st-line-right-curve, .st-line-left-curve { display: none !important; }
    .st-item { width: 100%; text-align: left; margin-bottom: 30px; padding-left: 20px; border-left: 3px solid var(--primary-color); }
    .st-year { margin: 0 0 10px 0; display: inline-block; }
    
    .profile-top { flex-direction: column; text-align: center; align-items: center; }
    .profile-img { width: 150px !important; height: 150px !important; }
    .profile-card { padding: 25px !important; }
    .profile-info h3 { font-size: 1.5rem !important; }
    .profile-info .sub { font-size: 0.8rem !important; }
    .profile-info p { font-size: 0.9rem !important; text-align: center; }
    .profile-timeline { 
        flex-direction: column !important; 
        align-items: center !important; 
        padding: 15px 0 0 !important;
        background: none !important;
        gap: 10px;
        border-top: 2px solid #C4A759 !important;
    }
    .profile-timeline .pt-item { 
        margin-bottom: 0;
        padding: 0 !important;
        width: 100% !important;
        max-width: 280px;
    }
    .profile-timeline .pt-item::before {
        display: none !important;
    }
    .pt-card {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px;
        text-align: center !important;
    }
    .pt-card .pt-year {
        font-size: 1.1rem !important;
        white-space: nowrap;
        margin-bottom: 0 !important;
        color: var(--primary-color) !important;
    }
    .pt-card .pt-desc {
        font-size: 0.85rem !important;
        text-align: left !important;
    }
    
    .cm-node { width: 100%; height: auto; border-radius: 10px; padding: 15px; margin-bottom: 15px; }
}


/* === PAGE HEADER (IMG-BASED, ZERO CROP) === */
.page-header {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 65px; /* Push below fixed navbar */
    min-height: 350px;
    height: auto;
}
.page-header-bg {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
    object-position: center;
}
.page-header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 70px 20px 35px;
}

/* Values Anchor Scale Up */
.radial-center {
    width: 200px !important;
    height: 200px !important;
    background-color: #EBEBEB !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.08) !important;
}
.radial-center i { font-size: 3.5rem !important; color: #444 !important; margin-bottom: 5px !important; }
.radial-center h4, .radial-center span { font-size: 1.6rem !important; font-weight: 700 !important; color: #333 !important; }

/* Enlarge Timeline styling on Success Stories */
/* Enhanced Timeline Cards */
.profile-timeline { 
    border-top: none !important; 
    margin-top: 25px !important; 
    padding-top: 0 !important; 
    display: flex !important;
    justify-content: space-around !important;
    position: relative;
    background: linear-gradient(90deg, transparent 0%, #C4A759 10%, #C4A759 90%, transparent 100%);
    background-size: 100% 3px;
    background-repeat: no-repeat;
    background-position: center 35px;
}
.profile-timeline::before { display: none !important; }

.pt-item {
    text-align: center;
    position: relative;
    flex: 1;
    padding: 0 10px;
}
.pt-item::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-color);
    margin: 20px auto 15px;
    position: relative;
    z-index: 10;
}

.pt-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-top: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}
.pt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pt-year { 
    font-size: 1.5rem !important; 
    margin-bottom: 8px; 
    font-family: 'Cormorant Garamond', serif !important; 
    font-weight: 700 !important;
    color: var(--secondary-color) !important;
}
.pt-desc { 
    font-size: 0.9rem !important; 
    color: #555 !important; 
    font-weight: 500; 
    line-height: 1.4; 
}

@media (max-width: 768px) {
    .profile-timeline {
        align-items: stretch !important;
        width: 100% !important;
    }

    .profile-timeline .pt-item {
        max-width: 300px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .profile-timeline .pt-card {
        display: grid !important;
        grid-template-columns: 58px minmax(0, 1fr) !important;
        align-items: center !important;
        justify-content: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        min-height: 58px !important;
        padding: 12px 14px !important;
        text-align: left !important;
    }

    .profile-timeline .pt-card .pt-year {
        width: 58px !important;
        margin: 0 !important;
        text-align: center !important;
        font-size: 0.82rem !important;
        line-height: 1.1 !important;
        color: var(--primary-color) !important;
    }

    .profile-timeline .pt-card .pt-desc {
        width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
        font-size: 0.78rem !important;
        line-height: 1.3 !important;
    }

    .values-container {
        gap: 24px !important;
    }

    .values-right {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        padding: 0 !important;
    }

    .values-right::before {
        display: none !important;
    }

    .values-right .radial-center {
        grid-column: 1 / -1;
        width: 100% !important;
        height: auto !important;
        min-height: 92px !important;
        border-radius: 12px !important;
        margin: 0 !important;
    }

    .values-right .radial-node {
        width: 100% !important;
        height: 118px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        border-width: 2px !important;
        background: #fff !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    }

    .values-right .radial-node:hover {
        transform: none !important;
    }

    /* Hero section mobile */
    .hero {
        background-attachment: scroll !important;
        min-height: 520px;
        height: 78vh;
        background-size: cover !important;
        background-position: center top !important;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: inherit;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center 82px;
        z-index: 0;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.56)) !important;
    }

    .hero-content {
        padding-top: 120px;
    }

    /* Page header mobile */
    .page-header {
        margin-top: 55px;
        min-height: 260px;
        height: auto;
    }
    .page-header-bg {
        width: 100%;
        height: 260px;
        object-fit: cover;
        object-position: center;
    }
    .page-header-overlay {
        padding: 85px 18px 28px;
        align-items: center;
    }
    .page-header .hero-title {
        font-size: clamp(1.45rem, 8vw, 2rem) !important;
        line-height: 1.18;
        margin-bottom: 10px;
    }
    .page-header .hero-subtitle {
        font-size: clamp(0.86rem, 3.8vw, 1rem) !important;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    /* Intro grid mobile */
    .intro-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Service rows mobile */
    .service-row, .service-row:nth-child(even) {
        flex-direction: column !important;
    }
    
    /* Contact grid mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Stats section mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    .stat-card {
        padding: 20px 10px !important;
    }
    .stat-number {
        font-size: 2rem !important;
    }
    
    /* Section padding mobile */
    .section-padding {
        padding: 50px 0 !important;
    }
    .section-title {
        font-size: 1.8rem !important;
    }
    
    /* Hero title on homepage */
    .hero-title {
        font-size: 2.5rem !important;
    }
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    /* Gallery grid mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Downloads grid mobile */
    .downloads-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Clients grid mobile */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* Board image mobile */
    .board-grid img {
        max-width: 100% !important;
    }
    
    /* Marquee carousel mobile */
    .marquee-content {
        gap: 30px !important;
        padding-left: 30px !important;
    }
    .marquee-item img {
        width: 104px !important;
        height: 78px !important;
        padding: 7px !important;
    }
    .marquee-item img.logo-kreeda,
    .marquee-item img.logo-legato {
        padding: 0 !important;
    }
    .marquee-item img.logo-sleekline {
        padding: 15px !important;
    }
    .marquee-container::before,
    .marquee-container::after {
        width: 40px !important;
    }
    .marquee-section {
        padding: 30px 0 !important;
    }
}

@media (max-width: 420px) {
    .hero {
        min-height: 500px;
        height: 74vh;
    }

    .hero::before {
        background-size: 112% auto;
        background-position: center 88px;
    }
}



/* Appended Fixes */
.footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.stat-card {
    padding: 40px 20px;
}
.stat-number {
    font-size: 3.5rem;
}
.stat-label {
    font-size: 1.1rem;
}


/* Media Folders */
.folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.folder-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.folder-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}
.folder-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.folder-contents {
    display: none;
    margin-top: 40px;
}
.folder-contents.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.back-btn {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.back-btn:hover {
    background: white;
    color: var(--bg-dark);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Final mobile polish overrides */
@media (max-width: 768px) {
    .hero {
        background-image: none !important;
        background-color: #d9d9d9 !important;
        min-height: 455px !important;
        height: 68vh !important;
        align-items: center !important;
    }

    .hero::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background-image: url('../images/Building Sketch.png') !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position: center 64px !important;
        z-index: 0 !important;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.48)) !important;
        z-index: 1 !important;
    }

    .hero-content {
        padding: 115px 18px 0 !important;
        max-width: 360px !important;
        z-index: 2 !important;
    }

    .hero .hero-title {
        font-size: clamp(1.55rem, 8vw, 2.15rem) !important;
        line-height: 1.12 !important;
        margin-bottom: 12px !important;
    }

    .hero .hero-subtitle {
        font-size: clamp(0.78rem, 3.4vw, 0.95rem) !important;
        line-height: 1.35 !important;
        margin: 0 !important;
    }

    .stats-section {
        padding: 34px 0 !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 0 10px !important;
    }

    .stat-card {
        padding: 18px 8px !important;
        border-radius: 8px !important;
        min-height: 132px !important;
    }

    .stat-icon {
        font-size: 1.75rem !important;
        margin-bottom: 10px !important;
    }

    .stat-number {
        font-size: 1.65rem !important;
        line-height: 1 !important;
    }

    .stat-plus {
        font-size: 1.2rem !important;
    }

    .stat-label {
        font-size: 0.72rem !important;
        line-height: 1.25 !important;
        letter-spacing: 0.3px !important;
        margin-top: 8px !important;
    }

    .intro-text {
        text-align: center !important;
    }

    .intro-text .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .intro-text .btn {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .strengths-row,
    .strengths-row:nth-child(even) {
        gap: 0 !important;
        margin-bottom: 0 !important;
    }

    .strengths-image-container {
        height: 220px !important;
    }

    .strengths-image-container img {
        object-position: center center !important;
    }

    .strengths-content {
        padding: 30px 18px !important;
        text-align: left !important;
    }

    .strengths-content h3 {
        font-size: 1.45rem !important;
        line-height: 1.2 !important;
        margin-bottom: 14px !important;
        gap: 10px !important;
    }

    .strengths-content h3 i {
        font-size: 1.1rem !important;
    }

    .strengths-content p {
        font-size: 0.9rem !important;
        line-height: 1.65 !important;
    }

    .values-right .radial-center {
        min-height: 118px !important;
        padding: 18px 14px !important;
        gap: 8px !important;
    }

    .values-right .radial-center i {
        font-size: 2.35rem !important;
        margin: 0 !important;
    }

    .values-right .radial-center,
    .values-right .radial-center span {
        font-size: 1.25rem !important;
        line-height: 1.15 !important;
    }

    .values-right .radial-node {
        height: 116px !important;
        justify-content: center !important;
    }

    .values-right .radial-node.node-7 {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: calc(50% - 6px) !important;
    }

    .clients-grid .client-card {
        filter: none !important;
        opacity: 1 !important;
    }

    .clients-grid .client-card:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: calc(50% - 8px) !important;
    }

    .footer {
        text-align: center !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .footer-col {
        padding-top: 0 !important;
    }

    .footer-col p {
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .footer-links a:hover {
        padding-left: 0 !important;
    }

    .social-links {
        justify-content: center !important;
    }

    .footer-col img[alt="Certifications"] {
        max-width: 230px !important;
    }

    .footer-bottom .container {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 8px !important;
    }
}

@media (max-width: 420px) {
    .hero {
        min-height: 430px !important;
        height: 64vh !important;
    }

    .hero::before {
        background-position: center 58px !important;
    }

    .hero-content {
        padding-top: 104px !important;
    }
}

/* Mobile-only refinement pass */
@media (max-width: 768px) {
    .hero {
        background-image: none !important;
        background-color: #efefef !important;
        min-height: 470px !important;
        height: 68vh !important;
        max-height: 560px !important;
    }

    .hero::before {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background-image: url('../images/Building Sketch.png') !important;
        background-repeat: no-repeat !important;
        background-size: 100% auto !important;
        background-position: center 80px !important;
        z-index: 0 !important;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.22) 52%, rgba(0,0,0,0.66) 100%) !important;
    }

    .hero-content {
        align-self: flex-end !important;
        padding: 0 18px 54px !important;
        max-width: 360px !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        padding: 0 14px !important;
    }

    .stat-card {
        min-height: 126px !important;
        padding: 16px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .stat-icon {
        font-size: 1.55rem !important;
    }

    .stat-number {
        font-size: 1.55rem !important;
    }

    .stat-label {
        font-size: 0.68rem !important;
        max-width: 110px !important;
    }

    .intro-text {
        text-align: center !important;
    }

    .intro-text .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .intro-text .btn {
        display: table !important;
        margin: 24px auto 0 !important;
    }

    .strengths-row,
    .strengths-row:nth-child(even) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
        gap: 0 !important;
        background: #233139 !important;
    }

    .strengths-image-container {
        width: 100% !important;
        height: 230px !important;
        min-height: 230px !important;
        order: 1 !important;
    }

    .strengths-image-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
    }

    .strengths-content {
        order: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 30px 18px 34px !important;
        clip-path: none !important;
        text-align: left !important;
    }

    .strengths-content h3 {
        display: grid !important;
        grid-template-columns: 24px 1fr !important;
        align-items: start !important;
        gap: 10px !important;
        font-size: 1.48rem !important;
        line-height: 1.22 !important;
        margin-bottom: 14px !important;
    }

    .strengths-content p {
        font-size: 0.9rem !important;
        line-height: 1.68 !important;
    }

    .values-right {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
    }

    .values-right .radial-center {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: 58% !important;
        min-width: 150px !important;
        max-width: 210px !important;
        min-height: 104px !important;
        padding: 20px 12px !important;
        border-radius: 14px !important;
    }

    .values-right .radial-center i {
        font-size: 2.25rem !important;
    }

    .values-right .radial-node {
        min-height: 118px !important;
        height: auto !important;
        padding: 14px 8px !important;
    }

    .values-right .radial-node.node-7 {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: calc(50% - 6px) !important;
    }

    .clients-grid .client-card {
        filter: none !important;
        opacity: 1 !important;
    }

    .clients-grid .client-card:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        width: calc(50% - 8px) !important;
    }

    .footer {
        padding-top: 36px !important;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        text-align: left !important;
    }

    .footer-col {
        background: rgba(255,255,255,0.055) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
        border-radius: 10px !important;
        padding: 22px 18px !important;
    }

    .footer-col:first-child {
        text-align: center !important;
    }

    .footer-col p {
        max-width: none !important;
        margin: 0 0 12px !important;
        line-height: 1.6 !important;
    }

    .footer-col h4 {
        margin-bottom: 14px !important;
    }

    .footer-links {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px 14px !important;
    }

    .footer-links li {
        margin-bottom: 0 !important;
    }

    .social-links {
        justify-content: center !important;
    }

    .footer-col img[alt="Certifications"] {
        display: block !important;
        margin: 0 auto 18px !important;
        max-width: 220px !important;
    }

    .footer-bottom {
        margin-top: 18px !important;
    }

    .footer-bottom .container {
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
    }
}

@media (max-width: 420px) {
    .hero {
        min-height: 440px !important;
        height: 64vh !important;
    }

    .hero::before {
        background-size: 108% auto !important;
        background-position: center 76px !important;
    }

    .hero-content {
        padding-bottom: 42px !important;
    }

    .strengths-image-container {
        height: 205px !important;
        min-height: 205px !important;
    }
}

/* Focused homepage mobile corrections */
@media (max-width: 768px) {
    .hero {
        background-image:
            linear-gradient(to bottom, rgba(255,255,255,0.02) 0%, rgba(70,70,70,0.12) 42%, rgba(0,0,0,0.64) 100%),
            url('../images/Building Sketch.png') !important;
        background-color: #777 !important;
        background-repeat: no-repeat !important;
        background-size: 108% auto !important;
        background-position: center 60px !important;
        min-height: 390px !important;
        height: 58vh !important;
        max-height: 430px !important;
        align-items: flex-end !important;
    }

    .hero::before {
        content: none !important;
        display: none !important;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.12) 44%, rgba(0,0,0,0.58) 100%) !important;
    }

    .hero-content {
        padding: 0 18px 30px !important;
        max-width: 360px !important;
    }

    .hero .hero-title {
        font-size: clamp(1.45rem, 7vw, 1.95rem) !important;
        line-height: 1.12 !important;
        margin-bottom: 8px !important;
    }

    .hero .hero-subtitle {
        font-size: clamp(0.74rem, 3.2vw, 0.92rem) !important;
        line-height: 1.35 !important;
    }

    .stats-section {
        padding: 24px 0 28px !important;
    }

    .stat-card {
        display: block !important;
        min-height: 128px !important;
        padding: 18px 8px 16px !important;
        text-align: center !important;
    }

    .stat-icon {
        font-size: 1.75rem !important;
        margin-bottom: 8px !important;
    }

    .stat-number {
        display: inline-block !important;
        font-size: 1.8rem !important;
        line-height: 1 !important;
        margin: 0 !important;
        vertical-align: baseline !important;
    }

    .stat-plus {
        display: inline-block !important;
        font-size: 1.25rem !important;
        line-height: 1 !important;
        margin-left: 2px !important;
        vertical-align: baseline !important;
    }

    .stat-label {
        font-size: 0.72rem !important;
        line-height: 1.25 !important;
        margin: 8px auto 0 !important;
    }

    .intro-section.section-padding {
        padding-bottom: 28px !important;
    }

    .strengths-section > .container {
        padding-top: 34px !important;
        padding-bottom: 18px !important;
    }

    .strengths-section .section-title {
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    .strengths-section .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .strengths-row:first-of-type {
        margin-top: 0 !important;
    }
}

@media (max-width: 420px) {
    .hero {
        background-size: 112% auto !important;
        background-position: center 58px !important;
        min-height: 380px !important;
        height: 56vh !important;
    }

    .hero-content {
        padding-bottom: 28px !important;
    }
}

/* Screenshot-specific homepage mobile adjustments */
@media (max-width: 768px) {
    .hero {
        background-image:
            linear-gradient(to bottom, rgba(255,255,255,0.04) 0%, rgba(35,35,35,0.06) 38%, rgba(0,0,0,0.5) 100%),
            url('../images/Building Sketch.png') !important;
        background-size: 112% auto !important;
        background-position: center 48px !important;
        background-repeat: no-repeat !important;
        background-color: #777 !important;
        min-height: 420px !important;
        height: 58vh !important;
        max-height: 470px !important;
        align-items: flex-end !important;
    }

    .hero::before {
        content: none !important;
        display: none !important;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.08) 42%, rgba(0,0,0,0.62) 100%) !important;
    }

    .hero-content {
        padding: 0 18px 34px !important;
        max-width: 360px !important;
    }

    .hero .hero-title {
        font-size: clamp(1.55rem, 7.4vw, 2.05rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 8px !important;
    }

    .hero .hero-subtitle {
        font-size: clamp(0.82rem, 3.45vw, 1rem) !important;
        line-height: 1.32 !important;
        margin-top: 8px !important;
    }

    .stats-section {
        padding: 26px 0 30px !important;
    }

    .stats-grid {
        gap: 12px !important;
        padding: 0 14px !important;
    }

    .stat-card {
        display: block !important;
        min-height: 134px !important;
        padding: 18px 8px 15px !important;
        text-align: center !important;
    }

    .stat-number {
        display: inline-block !important;
        font-size: 2rem !important;
        line-height: 1 !important;
        margin: 0 !important;
        vertical-align: baseline !important;
    }

    .stat-plus {
        display: inline-block !important;
        font-size: 1.45rem !important;
        line-height: 1 !important;
        margin-left: 2px !important;
        vertical-align: baseline !important;
    }

    .stat-label {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
        margin-top: 9px !important;
    }

    .intro-section.section-padding {
        padding-top: 42px !important;
        padding-bottom: 18px !important;
    }

    .intro-grid {
        gap: 22px !important;
    }

    .strengths-section > .container {
        padding-top: 22px !important;
        padding-bottom: 14px !important;
    }

    .strengths-section .section-title {
        text-align: center !important;
        margin: 0 auto !important;
        padding-bottom: 12px !important;
    }

    .strengths-section .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 420px) {
    .hero {
        background-size: 116% auto !important;
        background-position: center 50px !important;
        min-height: 405px !important;
        height: 56vh !important;
    }

    .hero-content {
        padding-bottom: 30px !important;
    }

    .stat-number {
        font-size: 1.86rem !important;
    }

    .stat-plus {
        font-size: 1.34rem !important;
    }
}

/* ===== DEFINITIVE MOBILE HERO & STRENGTHS ===== */
@media (max-width: 768px) {
    .hero {
        background-image: url('../images/Building Sketch.png') !important;
        background-color: #666 !important;
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
        min-height: 350px !important;
        height: 50vh !important;
        max-height: 420px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero::before {
        content: none !important;
        display: none !important;
    }

    .hero-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.6) 100%) !important;
        z-index: 1 !important;
    }

    .hero-content {
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 24px !important;
        text-align: center !important;
        align-self: center !important;
    }

    .hero .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5) !important;
    }

    .hero .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.4) !important;
    }

    /* Strengths section heading area */
    .strengths-section > .container {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
    }

    .strengths-section .section-title {
        font-size: 1.6rem !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    .strengths-section .section-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .strengths-mobile-note {
        display: block !important;
        max-width: 100% !important;
        margin: 8px auto 0 !important;
        color: var(--text-light) !important;
        font-size: clamp(0.66rem, 3vw, 0.85rem) !important;
        line-height: 1.5 !important;
        text-align: center !important;
        padding: 0 8px !important;
        white-space: nowrap !important;
    }

    .strengths-row:first-of-type {
        margin-top: 0 !important;
    }
}

@media (max-width: 420px) {
    .hero {
        min-height: 300px !important;
        height: 45vh !important;
        max-height: 380px !important;
    }

    .hero .hero-title {
        font-size: 1.5rem !important;
    }

    .hero .hero-subtitle {
        font-size: 0.82rem !important;
    }
}
/* Homepage hero slideshow */
.hero.has-slideshow {
    background-image: none !important;
    background-color: #f6f5f1;
    height: clamp(420px, 55.4vw, 720px);
    min-height: 420px;
    overflow: hidden;
}

.hero.has-slideshow::before {
    content: none !important;
    display: none !important;
}

.hero.has-slideshow .hero-slideshow {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero.has-slideshow .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero.has-slideshow .hero-slide.active {
    opacity: 1;
}

.hero.has-slideshow .hero-slide-intro-media {
    display: none;
}

.hero.has-slideshow .hero-slide-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
}

.hero.has-slideshow .hero-slide-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero.has-slideshow .hero-slide-photo.hero-slide-focus-top img {
    object-position: center top;
}

.hero.has-slideshow .hero-slide-intro {
    background-image: url('../images/Building Sketch.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero.has-slideshow .hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.45), rgba(0,0,0,0.2));
    z-index: 1;
}

.hero.has-slideshow .hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero.has-slideshow .hero-slide-content .hero-subtitle {
    font-size: 1.5rem;
    margin-top: 20px;
}

.hero.has-slideshow .hero-slide-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    font-size: 2.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero.has-slideshow .hero-slide-control:hover,
.hero.has-slideshow .hero-slide-control:focus-visible {
    background: rgba(0, 0, 0, 0.65);
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hero.has-slideshow .hero-slide-control:active {
    transform: translateY(-50%) scale(0.96);
}

.hero.has-slideshow .hero-slide-prev {
    left: 24px;
}

.hero.has-slideshow .hero-slide-next {
    right: 24px;
}

.hero.has-slideshow .hero-slide-dots {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 3;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero.has-slideshow .hero-slide-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.hero.has-slideshow .hero-slide-dot.active {
    background: #fff;
}

@media (max-width: 768px) {
    .hero.has-slideshow {
        margin-top: 90px;
        min-height: clamp(300px, 50vh, 420px) !important;
        height: clamp(300px, 50vh, 420px) !important;
        max-height: none !important;
    }

    .hero.has-slideshow.hero-showing-intro {
        min-height: calc(100vw * 941 / 1672) !important;
        height: calc(100vw * 941 / 1672) !important;
        max-height: 245px !important;
    }

    .hero.has-slideshow.hero-showing-focus-top {
        min-height: calc(100vw * 1059 / 1600) !important;
        height: calc(100vw * 1059 / 1600) !important;
        max-height: 290px !important;
    }

    .hero.has-slideshow .hero-slide-intro {
        background-image: none;
        overflow: hidden;
    }

    .hero.has-slideshow .hero-slide-intro-media {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .hero.has-slideshow .hero-slide-intro .hero-slide-content {
        padding: 0 30px;
    }

    .hero.has-slideshow .hero-slide-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.38) 100%);
    }

    .hero.has-slideshow .hero-slide-content {
        width: 100%;
        max-width: 100%;
        padding: 0 24px;
    }

    .hero.has-slideshow .hero-slide-content .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .hero.has-slideshow .hero-slide-content .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .hero.has-slideshow .hero-slide-control {
        width: 36px;
        height: 36px;
        font-size: 1.7rem;
    }

    .hero.has-slideshow .hero-slide-prev {
        left: 12px;
    }

    .hero.has-slideshow .hero-slide-next {
        right: 12px;
    }

    .hero.has-slideshow .hero-slide-dots {
        bottom: 12px;
        gap: 8px;
    }

    .hero.has-slideshow .hero-slide-dot {
        width: 9px;
        height: 9px;
    }

    .hero.has-slideshow .hero-slide-photo.hero-slide-focus-top img {
        object-fit: contain;
        object-position: center !important;
    }
}

@media (max-width: 420px) {
    .hero.has-slideshow {
        min-height: 300px !important;
        height: 45vh !important;
        max-height: 380px !important;
    }

    .hero.has-slideshow .hero-slide-content .hero-title {
        font-size: 1.5rem !important;
    }

    .hero.has-slideshow .hero-slide-content .hero-subtitle {
        font-size: 0.82rem !important;
    }

    .hero.has-slideshow.hero-showing-intro {
        min-height: calc(100vw * 941 / 1672) !important;
        height: calc(100vw * 941 / 1672) !important;
        max-height: 236px !important;
    }

    .hero.has-slideshow.hero-showing-focus-top {
        min-height: calc(100vw * 1059 / 1600) !important;
        height: calc(100vw * 1059 / 1600) !important;
        max-height: 278px !important;
    }

    .hero.has-slideshow .hero-slide-intro .hero-slide-content {
        padding: 0 30px;
    }

    .hero.has-slideshow .hero-slide-intro .hero-slide-content .hero-title {
        font-size: clamp(0.7rem, 3.8vw, 0.98rem) !important;
        line-height: 1.08 !important;
        margin-bottom: 3px !important;
    }

    .hero.has-slideshow .hero-slide-intro .hero-slide-content .hero-subtitle {
        font-size: clamp(0.38rem, 2vw, 0.52rem) !important;
        line-height: 1.15 !important;
    }

    .hero.has-slideshow .hero-slide-photo.hero-slide-focus-top img {
        object-fit: contain;
        object-position: center;
    }

    .hero.has-slideshow .hero-slide-photo.hero-slide-focus-top .hero-slide-content {
        padding: 0 30px;
    }

    .hero.has-slideshow .hero-slide-photo.hero-slide-focus-top .hero-title {
        font-size: clamp(0.85rem, 4.5vw, 1.15rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 5px !important;
    }

    .hero.has-slideshow .hero-slide-photo.hero-slide-focus-top .hero-subtitle {
        font-size: clamp(0.44rem, 2.3vw, 0.62rem) !important;
        line-height: 1.2 !important;
    }
}
