/* ==================================================================
   IES - Integrated Engineering Solutions
   Palette follows iesslg.in (Induscity theme):
   Primary gold #f7c02d | Headings #393939 | Body #848484 | White bg
   ================================================================== */

:root {
    --primary: #f7c02d;
    --primary-dark: #dba814;
    --primary-soft: #fdf3d1;
    --heading: #393939;
    --text: #5a5a5a;
    --muted: #848484;
    --light-bg: #f7f7f7;
    --border: #e6e6e6;
    --footer-bg: #252525;
    --footer-muted: #9c9c9c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 32px;
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--heading);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
}

.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
    left: 130%;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(247, 192, 45, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--heading);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(247, 192, 45, 0.35);
}

/* ------------------------------------------------------------------
   Topbar
   ------------------------------------------------------------------ */
.topbar {
    background-color: var(--heading);
    color: #e6e6e6;
    font-size: 0.85rem;
    padding: 8px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar a {
    color: #e6e6e6;
}

.topbar a:hover {
    color: var(--primary);
}

.topbar i {
    color: var(--primary);
    margin-right: 6px;
}

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img.logo-img {
    height: 54px;
    width: auto;
    border-radius: 4px;
}

.logo h1 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.2;
}

.logo p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 4px;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    gap: 22px;
    align-items: center;
}

.main-nav li a {
    font-weight: 500;
    color: var(--heading);
    padding: 8px 0;
    position: relative;
    font-size: 0.95rem;
}

.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav li a:hover::after,
.main-nav li a.active::after {
    width: 100%;
}

.main-nav li a.active {
    color: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--heading);
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-btn span.active {
    background-color: var(--primary-dark);
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 140px 0 220px;
    background-color: #1f1f1f;
}

.hero-bg {
    position: absolute;
    top: -8%;
    left: -8%;
    width: 116%;
    height: 116%;
    background: url('../images/hero.jpg') center center / cover no-repeat;
    z-index: 0;
    animation: kenburns 22s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(20, 20, 20, 0.88) 0%, rgba(20, 20, 20, 0.72) 40%, rgba(20, 20, 20, 0.25) 75%),
        linear-gradient(180deg, rgba(17, 17, 17, 0.35) 0%, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, 0.75) 100%);
}

@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.12) translate(-2%, -2%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 60vh;
}

.hero-kicker {
    display: inline-block;
    background-color: var(--primary);
    color: #1f1f1f;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 3px;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.hero-text {
    flex: 1;
    max-width: 620px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 22px;
    line-height: 1.15;
}

.hero-text h1 span {
    background: linear-gradient(90deg, var(--primary) 0%, #ffd968 45%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: #e9e6de;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero side image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 540px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    transform: translateZ(0);
    animation: herofloat 7s ease-in-out infinite alternate;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -14px;
    right: -14px;
    width: 70%;
    height: 70%;
    border: 3px solid var(--primary);
    border-right-color: transparent;
    border-top-color: transparent;
    border-radius: 14px;
    opacity: 0.55;
    pointer-events: none;
}

@keyframes herofloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

/* Floating badge chips on hero image */
.hero-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--heading);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 40px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    z-index: 2;
    white-space: nowrap;
    animation: herofloat 6s ease-in-out infinite alternate;
}

.hero-badge i {
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.hero-badge.badge-projects {
    top: 12%;
    left: -6%;
    animation-delay: 0.5s;
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 190px;
    transform: translateX(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(247, 192, 45, 0.15);
    border: 1px solid rgba(247, 192, 45, 0.5);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cuebounce 2s ease-in-out infinite;
    transition: background 0.3s ease, color 0.3s ease;
}

.scroll-cue:hover {
    background: var(--primary);
    color: var(--heading);
}

@keyframes cuebounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* Hero stats strip */
.hero-stats {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 0 26px;
    background: linear-gradient(180deg, rgba(247, 192, 45, 0.12) 0%, rgba(17, 17, 17, 0.9) 60%);
    border-top: 1px solid rgba(247, 192, 45, 0.28);
}

.hero-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 18px 12px 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #ffd968);
    opacity: 0.9;
}

.stat-item:hover {
    background: rgba(247, 192, 45, 0.12);
    border-color: rgba(247, 192, 45, 0.45);
    transform: translateY(-4px);
}

.stat-item .stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    display: block;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: #e9e6de;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
    display: block;
}

/* ----- Lead magnet bar ----- */
.lead-magnet {
    background: linear-gradient(120deg, var(--primary) 0%, #ffd45e 55%, var(--primary) 100%);
    padding: 34px 0;
}

.lead-magnet-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.lead-text h2 {
    color: #1f1f1f;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.lead-text p {
    color: rgba(31, 31, 31, 0.78);
    font-size: 0.98rem;
}

.lead-form {
    flex: 1;
    max-width: 520px;
}

.lead-input-group {
    display: flex;
    gap: 0;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    border-radius: 8px;
    overflow: hidden;
}

.lead-input-group input {
    flex: 1;
    border: none;
    padding: 15px 18px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    min-width: 0;
}

.lead-input-group .btn-primary {
    border: none;
    border-radius: 0;
    padding: 15px 26px;
    background: #1f1f1f;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.lead-input-group .btn-primary:hover {
    background: var(--heading);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger reveal for grids */
@keyframes cardIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.el-stagger > * {
    opacity: 0;
}

.el-stagger.in-view > * {
    opacity: 1;
    animation: cardIn 0.65s ease backwards;
    animation-delay: calc(var(--i, 0) * 90ms);
}

.el-stagger > *:nth-child(1) { --i: 0; }
.el-stagger > *:nth-child(2) { --i: 1; }
.el-stagger > *:nth-child(3) { --i: 2; }
.el-stagger > *:nth-child(4) { --i: 3; }
.el-stagger > *:nth-child(5) { --i: 4; }
.el-stagger > *:nth-child(6) { --i: 5; }
.el-stagger > *:nth-child(7) { --i: 6; }
.el-stagger > *:nth-child(8) { --i: 7; }

/* Focus visibility (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), #ffd968);
    color: var(--heading);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(247, 192, 45, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg { animation: none; }
    .hero-image img { animation: none; }
    .hero-badge { animation: none; }
    .scroll-cue { display: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .el-stagger > * { opacity: 1; animation: none; }
    .testimonial-slide { transition: none; }
}

.image-placeholder {
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 1rem;
    overflow: hidden;
}

.image-placeholder img,
.image-placeholder svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------------------------------------------
   Section Titles
   ------------------------------------------------------------------ */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), #ffd968);
    margin: 12px auto 0;
    border-radius: 2px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 10px);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border: 2px solid #fff;
    border-radius: 2px;
    transform: translateX(-50%) rotate(45deg);
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ------------------------------------------------------------------
   Page Header (used on inner pages)
   ------------------------------------------------------------------ */
.page-header {
    background: linear-gradient(135deg, var(--heading) 0%, #4d4a42 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, transparent 30%, rgba(247, 192, 45, 0.06) 30.5%, rgba(247, 192, 45, 0.06) 38%, transparent 38.5%),
        linear-gradient(45deg, transparent 55%, rgba(247, 192, 45, 0.05) 55.5%, rgba(247, 192, 45, 0.05) 63%, transparent 63.5%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    background-image: linear-gradient(90deg, transparent, var(--primary) 30%, #ffd968 70%, transparent);
}

.page-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.15rem;
    color: #d8d4ca;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ------------------------------------------------------------------
   Value Proposition / Strength
   ------------------------------------------------------------------ */
.value-prop {
    background-color: white;
    padding: 80px 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 30px 25px;
    border-radius: 10px;
    background-color: var(--light-bg);
    border-bottom: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(247, 192, 45, 0.2);
    border-bottom-color: var(--primary);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-dark);
}

.expertise-item .value-icon,
.expertise-item .expertise-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-soft), #fdf6e0);
    border: 1px solid rgba(247, 192, 45, 0.35);
    border-radius: 50%;
    font-size: 1.7rem;
    transition: all 0.3s ease;
}

.expertise-item:hover .value-icon,
.expertise-item:hover .expertise-icon {
    background: linear-gradient(135deg, var(--primary), #ffd968);
    color: var(--heading);
    box-shadow: 0 10px 20px rgba(247, 192, 45, 0.35);
    transform: translateY(-4px);
}

.value-card .value-icon {
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-soft), #fdf6e0);
    border: 1px solid rgba(247, 192, 45, 0.35);
    border-radius: 50%;
    font-size: 1.9rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary), #ffd968);
    color: var(--heading);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 20px rgba(247, 192, 45, 0.35);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ------------------------------------------------------------------
   About preview (home) + About page
   ------------------------------------------------------------------ */
.about-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1.2;
}

.about-text h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.about-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--heading);
    margin: 24px 0 10px;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-image {
    flex: 1;
}

.about-image .image-placeholder {
    height: 420px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--heading);
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 3px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* ------------------------------------------------------------------
   Expertise
   ------------------------------------------------------------------ */
.expertise {
    padding: 80px 0;
    background-color: #fff;
}

.expertise > .container > h2,
.approach > .container > h2,
.services-intro h2,
.projects-intro h2,
.contact-section h2,
.working-hours h2,
.gallery-intro h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 20px;
    position: relative;
}

.expertise > .container > h2::after,
.approach > .container > h2::after,
.services-intro h2::after,
.projects-intro h2::after,
.contact-section h2::after,
.working-hours h2::after,
.gallery-intro h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expertise-item {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 28px;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.expertise-icon {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
    display: block;
}

.expertise-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 12px;
}

.expertise-item p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ------------------------------------------------------------------
   Industries We Serve (home)
   ------------------------------------------------------------------ */
.industries {
    padding: 80px 0;
    background-color: #fff;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.industries .expertise-item {
    background-color: var(--light-bg);
}

.industries .value-icon {
    color: var(--primary-dark);
}

.standards-block {
    margin-top: 48px;
    background-color: var(--light-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    padding: 28px 30px;
}

.standards-block h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 12px;
}

.standards-block p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 860px;
}

.standards-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 24px;
    margin-top: 18px;
}

.standards-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading);
    font-size: 0.95rem;
    font-weight: 500;
}

.standards-list i {
    color: var(--primary);
}

/* Home mini gallery */
.home-gallery {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.home-gallery .gallery-item {
    text-decoration: none;
    display: block;
}

/* ------------------------------------------------------------------
   Approach (steps)
   ------------------------------------------------------------------ */
.approach {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.step {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-6px);
}

.step-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ------------------------------------------------------------------
   Services (grid preview)
   ------------------------------------------------------------------ */
.services {
    background-color: var(--light-bg);
    padding: 80px 0;
}

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

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card .service-image {
    margin: -30px -30px 20px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    height: 190px;
}

.service-card .service-image .image-placeholder {
    width: 100%;
    height: 100%;
}

.service-card p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.95rem;
    gap: 5px;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ------------------------------------------------------------------
   Services intro + detailed service blocks (services page)
   ------------------------------------------------------------------ */
.services-intro {
    padding: 60px 0 10px;
    background-color: #fff;
}

.services-intro p {
    text-align: center;
    color: var(--muted);
    max-width: 860px;
    margin: 0 auto 16px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.detailed-services {
    padding: 30px 0 60px;
    background-color: #fff;
}

.service-detail {
    padding: 60px 0;
    border-bottom: 1px solid var(--border, #e8e6df);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.service-icon {
    font-size: 2.4rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-soft), #fdf6e0);
    border: 1px solid rgba(247, 192, 45, 0.35);
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), #ffd968);
    color: var(--heading);
    box-shadow: 0 10px 20px rgba(247, 192, 45, 0.35);
    transform: translateY(-4px) scale(1.05);
}

.service-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading);
}

.service-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-text {
    flex: 1.3;
}

.service-text p {
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--heading);
    margin: 20px 0 12px;
}

.service-list {
    list-style: none;
    columns: 2;
    column-gap: 30px;
    margin-bottom: 12px;
}

.service-list li {
    position: relative;
    padding: 6px 0 6px 24px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    break-inside: avoid;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--primary);
    font-weight: 700;
}

.service-image {
    flex: 1;
    flex-shrink: 0;
}

.service-image .image-placeholder {
    height: 320px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------------------------------
   Projects
   ------------------------------------------------------------------ */
.projects {
    background-color: white;
    padding: 80px 0;
}

.projects-intro {
    padding: 60px 0 10px;
    background-color: #fff;
}

.projects-intro p {
    text-align: center;
    color: var(--muted);
    max-width: 860px;
    margin: 0 auto 16px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.projects-section {
    padding: 30px 0 40px;
    background-color: #fff;
}

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--light-bg);
    border: 1px solid var(--border, #e0e0e0);
    color: var(--muted);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary);
    color: var(--heading);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border-top: 4px solid transparent;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    border-top-color: var(--primary);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--heading);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 10px;
}

.project-info > p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.project-description {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.9rem;
    gap: 5px;
    margin-top: auto;
}

.project-link:hover {
    color: var(--primary-dark);
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}

.related-projects {
    padding: 40px 0 80px;
    background-color: var(--light-bg);
}

.related-projects h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
}

.related-projects > .container > p {
    text-align: center;
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

/* ------------------------------------------------------------------
   Portfolio stats (about/projects)
   ------------------------------------------------------------------ */
.stats {
    padding: 40px 0 80px;
    background-color: #fff;
}

.stats h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 12px;
}

.stats h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 10px auto 30px;
    border-radius: 2px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.stats-table thead th {
    background-color: var(--heading);
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-size: 0.95rem;
}

.stats-table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border, #ececec);
    color: var(--muted);
    font-size: 0.92rem;
}

.stats-table tbody tr:nth-child(even) {
    background-color: var(--light-bg);
}

.stats-table tbody tr:hover {
    background-color: var(--primary-soft);
}

/* ------------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------------ */
.testimonials {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.testimonials {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.testimonials-slider {
    display: flex;
    overflow-x: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.testimonial-slide {
    flex: 0 0 100%;
    min-width: 100%;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}

.testimonial-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
    font-size: 2.4rem;
    color: var(--primary);
    opacity: 0.9;
    position: absolute;
    top: 16px;
    right: 18px;
}

.testimonial-content {
    max-width: 760px;
    margin: 0 auto;
}

.testimonial-content p,
.testimonial-content {
    font-style: italic;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
    padding-right: 30px;
    margin-bottom: 20px;
}

.testimonial-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), transparent);
    border-radius: 2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 760px;
    margin: 0 auto;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 1.4rem;
}

.author-info h4 {
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 4px;
}

.author-info p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Testimonials nav */
.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 26px;
}

.testimonials-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonials-nav button:hover {
    background: var(--primary);
    color: var(--heading);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(247, 192, 45, 0.35);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8d4ca;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dots .dot.active {
    background: var(--primary);
    transform: scale(1.25);
}

/* ------------------------------------------------------------------
   CTA
   ------------------------------------------------------------------ */
.cta,
.services-cta,
.projects-cta,
.contact-cta,
.gallery-cta {
    background: linear-gradient(135deg, var(--heading) 0%, #4d4a42 100%);
    color: white;
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(247, 192, 45, 0.3);
}

.cta::before,
.services-cta::before,
.projects-cta::before,
.contact-cta::before,
.gallery-cta::before {
    content: '';
    position: absolute;
    top: -80%;
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 192, 45, 0.18) 0%, rgba(247, 192, 45, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.cta-content h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ffd968);
    margin: 12px auto 0;
    border-radius: 2px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ------------------------------------------------------------------
   Contact (page)
   ------------------------------------------------------------------ */
.contact-section {
    padding: 70px 0;
    background-color: #fff;
}

.contact-section > .container > p {
    text-align: center;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--heading);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border, #ddd);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--heading);
    background: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    display: block;
}

.contact-details p {
    margin-bottom: 14px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-details i {
    color: var(--primary-dark);
    width: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Location cards */
.locations {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.locations h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 36px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 30px;
}

.location-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--primary);
}

.location-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 12px;
}

.location-card p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.location-card .location-badge {
    display: inline-block;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sales team */
.team-section {
    padding: 60px 0;
    background-color: #fff;
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 36px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: var(--light-bg);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--heading);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 4px;
}

.team-card .team-role {
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.team-card .team-phone {
    color: var(--muted);
    font-size: 0.92rem;
}

/* Working hours table */
.working-hours {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.hours-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.hours-table thead th {
    background-color: var(--heading);
    color: #fff;
    padding: 12px 18px;
    text-align: left;
    font-size: 0.95rem;
}

.hours-table tbody td {
    padding: 11px 18px;
    border-bottom: 1px solid var(--border, #e6e6e6);
    color: var(--muted);
    font-size: 0.92rem;
}

.hours-table tbody tr:nth-child(even) {
    background-color: var(--light-bg);
}

/* ------------------------------------------------------------------
   Gallery
   ------------------------------------------------------------------ */
.gallery-intro {
    padding: 50px 0 20px;
    background-color: #fff;
}

.gallery-intro p {
    text-align: center;
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.gallery-filter-section {
    padding: 30px 0 10px;
    background-color: #fff;
}

.gallery-section {
    padding: 20px 0 70px;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: #eee;
}

.gallery-info {
    padding: 15px;
    background: #fff;
}

.gallery-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 6px;
}

.gallery-info p {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--heading);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1001;
}

.lightbox-close:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

.lightbox-caption {
    margin-top: 15px;
    text-align: center;
    color: #ccc;
    font-size: 1.1rem;
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer {
    background-color: var(--heading);
    color: #e6e6e6;
    padding: 80px 0 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: linear-gradient(90deg, transparent, var(--primary) 30%, #ffd968 70%, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--footer-muted);
    line-height: 1.7;
    font-size: 0.92rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--footer-muted);
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links ul li a::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.6rem;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 2px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 12px;
    color: var(--footer-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-contact p i {
    color: var(--primary);
    width: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    background-color: #191919;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--footer-muted);
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 30px;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-text p {
        font-size: 1.05rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .lead-magnet-inner {
        justify-content: center;
        text-align: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }

    .about-image .image-placeholder {
        height: 300px;
    }

    .service-content {
        flex-direction: column;
    }

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

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .logo {
        gap: 10px;
    }

    .logo img.logo-img {
        height: 42px;
    }

    .logo h1 {
        font-size: 1.15rem;
    }

    .logo p {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        padding: 20px;
        z-index: 999;
    }

    .main-nav.active ul {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-stats {
        position: relative;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hero {
        padding: 110px 0 40px;
    }

    .hero-stats-inner {
        gap: 12px;
        margin-top: 0;
    }

    .stat-item .stat-value {
        font-size: 1.9rem;
    }

    .stat-item {
        padding: 14px 8px 12px;
    }

    .scroll-cue {
        display: none;
    }

    .hero-badge.badge-projects {
        left: 0;
        top: 8%;
    }

    .lead-input-group {
        flex-direction: column;
        border-radius: 8px;
    }

    .lead-input-group input {
        padding: 13px 16px;
    }

    .lead-input-group .btn-primary {
        border-radius: 0;
    }

    .value-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .service-list {
        columns: 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 8px;
    }

    .logo img.logo-img {
        height: 38px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 7px 12px;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
    }

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

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

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

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

    .standards-block {
        padding: 22px 20px;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-table thead,
    .hours-table tbody,
    .stats-table tbody {
        font-size: 0.85rem;
    }
}