/* ===== CSS Variables ===== */
:root {
    --primary: #F26725;
    --primary-dark: #D4561C;
    --primary-light: #FCECE8;
    --bg-left: #F4F5F5;
    --bg-right: #FFFFFF;
    --text-main: #2D2C2F;
    --text-muted: #555555;
    --white: #FFFFFF;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-btn: 0 8px 16px rgba(242, 103, 37, 0.25);
    --radius: 8px;
    --radius-pill: 100px;
    --radius-xl: 16px;
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --dark: #0a1628;
    --dark-2: #1a2a44;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --secondary: #F26725;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
    font-weight: 800;
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--gray-100);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(240, 80, 35, 0.3);
}

.btn-pill {
    border-radius: 100px;
    padding: 16px 40px;
}

.btn-nav-cta {
    padding: 8px 20px !important;
    font-size: 0.875rem;
    border-radius: 100px;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.header.scrolled {
    top: 16px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    padding: 10px 16px 10px 40px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    z-index: 10;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
}

.btn-nav:hover {
    background: var(--primary-dark) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Minimal ===== */
.hero-minimal {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-left);
}

.hero-split-left {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 50%;
    background: var(--bg-left);
    z-index: 0;
}

.hero-split-right {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 50%;
    background: var(--bg-right);
    z-index: 0;
}

.hero-split-right picture {
    display: contents;
}

.hero-img-minimal {
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translateY(-45%);
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 5;
    mix-blend-mode: multiply;
}

.hero-content-minimal {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 140px;
}

.massive-title {
    font-size: clamp(4rem, 8vw, 6.5rem);
    line-height: 1;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle-minimal {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 450px;
    font-weight: 500;
}

.hero-actions-minimal {
    margin-bottom: 80px;
}

.hero-footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 380px;
    line-height: 1.6;
}

/* ===== Hero Trusted Logos ===== */
.hero-trusted {
    max-width: 420px;
}

.hero-trusted-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hero-trusted-logos {
    display: flex;
    align-items: center;
    gap: 32px;
}

.trusted-logo {
    height: 22px;
    width: auto;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}

.trusted-logo:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

/* ===== Page Hero ===== */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #1a3a5c 100%);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 2.75rem;
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-hero .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--secondary);
}

/* ===== Quote Banner ===== */
.quote-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark), #D4561C);
    background-size: 200% 200%;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
    animation: gradientShift 6s ease-in-out infinite;
}

.quote-banner::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 10%;
    font-size: 12rem;
    font-family: Georgia, serif;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    pointer-events: none;
}

.quote-banner blockquote {
    text-align: center;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.quote-banner blockquote strong {
    color: var(--white);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.05);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== About Preview ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-features {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--gray-800);
}

.about-feature svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

/* Real about image */
.about-image-real {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}

.about-image-real:hover {
    transform: scale(1.02);
}

.about-image-real picture {
    display: block;
    width: 100%;
    height: 100%;
}

.about-image-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.badge-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-top: 4px;
    display: block;
}

/* ===== Accreditations ===== */
.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.accreditation-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
}

.accreditation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.accreditation-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.accreditation-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.accreditation-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.accreditation-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* ===== Clients ===== */
.clients-banner {
    background: var(--gray-100);
}

/* ===== Client Logo Strip ===== */
.clients-logo-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px 56px;
}

.client-logo-item {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.client-logo-item img {
    height: 26px;
    width: auto;
    opacity: 0.35;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}

.client-logo-item:hover img {
    opacity: 0.85;
    filter: grayscale(0%);
    transform: scale(1.08);
}

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

.client-logo-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.client-logo-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.client-logo-card:hover::after {
    width: 60%;
}

.client-logo-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark), #D4561C);
    background-size: 200% 200%;
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease-in-out infinite;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(65,64,66,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
}

.footer-logo .logo-sub {
    color: var(--gray-500);
}

.footer-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-abn {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 600;
}

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

.footer-col ul li a {
    color: var(--gray-500);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

/* ===== Values Grid ===== */
.vision-statement {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--primary) !important;
    font-family: var(--font-heading);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.team-card h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--gray-600);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* ===== Expertise ===== */
.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.expertise-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.expertise-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.expertise-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== Service Detail (Services Page) ===== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.service-detail.reverse .service-detail-content {
    order: 2;
}

.service-detail.reverse .service-detail-visual {
    order: 1;
}

.service-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-200);
    margin-bottom: 8px;
}

.service-detail-content h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 16px;
    height: 16px;
    background: var(--primary-light);
    border-radius: 50%;
}

.service-features li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.service-visual-card {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-visual-card svg {
    width: 80px;
    height: 80px;
    color: var(--primary);
    opacity: 0.3;
}

/* ===== Projects Grid ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.project-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.project-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.project-header h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.project-client {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
}

.project-body {
    padding: 20px 28px 28px;
}

.project-body h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.project-body ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-body ul li {
    font-size: 0.82rem;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--gray-200);
}

/* ===== Equipment Grid ===== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.equipment-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
}

.equipment-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.equipment-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* ===== SQE Grid ===== */
.sqe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sqe-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all 0.3s;
}

.sqe-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.sqe-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sqe-icon svg {
    width: 28px;
    height: 28px;
}

.sqe-safety .sqe-icon {
    background: #FEF2F2;
}

.sqe-safety .sqe-icon svg {
    color: #EF4444;
}

.sqe-quality .sqe-icon {
    background: #F0FDF4;
}

.sqe-quality .sqe-icon svg {
    color: #22C55E;
}

.sqe-environment .sqe-icon {
    background: var(--primary-light);
}

.sqe-environment .sqe-icon svg {
    color: var(--primary);
}

.sqe-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.sqe-card h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.sqe-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.sqe-card h4 {
    font-size: 0.95rem;
    margin-top: 16px;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.sqe-card ul {
    padding-left: 0;
}

.sqe-card ul li {
    padding: 4px 0 4px 20px;
    position: relative;
    color: var(--gray-700);
    font-size: 0.85rem;
}

.sqe-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* ===== Management Grid ===== */
.management-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.management-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.management-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-200);
    display: block;
    margin-bottom: 8px;
}

.management-item h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.management-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ===== NECA Banner ===== */
.neca-banner {
    background: var(--primary-light);
    border: 1px solid rgba(242,101,34,0.2);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.neca-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.neca-content p {
    color: var(--gray-600);
    max-width: 500px;
}

.neca-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cert-badge {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== Contact Grid ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 600;
}

.contact-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.contact-card a {
    color: var(--primary);
}

.contact-card a:hover {
    text-decoration: underline;
}

.regional-offices {
    margin-bottom: 24px;
}

.regional-offices h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.regional-grid {
    display: flex;
    gap: 24px;
}

.regional-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.regional-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.business-info {
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.business-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    position: sticky;
    top: 96px;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--gray-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 8px;
    border-radius: var(--radius-pill);
}

/* ===== Background Imagery ===== */
.hero {
    background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(26,42,68,0.88) 50%, rgba(26,58,92,0.9) 100%),
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&q=80') center/cover no-repeat;
}

.page-hero {
    background: linear-gradient(135deg, rgba(10,22,40,0.93) 0%, rgba(26,42,68,0.9) 100%),
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center/cover no-repeat;
}

.cta-section {
    background: linear-gradient(135deg, rgba(45,44,47,0.93), rgba(30,29,32,0.95), rgba(30,29,32,0.93)),
                url('https://images.unsplash.com/photo-1544197150-b99a580bb7a8?w=1920&q=80') center/cover no-repeat;
    background-size: 100%, cover;
}

.about-image-placeholder {
    background: linear-gradient(135deg, rgba(45,44,47,0.87), rgba(30,29,32,0.91)),
                url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?w=800&q=80') center/cover no-repeat;
}

.about-image-placeholder.about-image-dark {
    background: linear-gradient(135deg, rgba(10,22,40,0.85), rgba(26,42,68,0.88)),
                url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?w=800&q=80') center/cover no-repeat;
}

.service-visual-card {
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(248,250,252,0.6), rgba(241,245,249,0.4));
    border-radius: inherit;
    z-index: 1;
}

.service-visual-card svg {
    position: relative;
    z-index: 2;
}

.service-visual-card[data-bg="fibre"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="hauling"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1544197150-b99a580bb7a8?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="civil"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="drilling"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="datacentre"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="equipment"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1600267175161-cfaa711b4a81?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="wireless"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="rigging"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1590486145985-f2e73bbbb0cd?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="inbuilding"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="smartcity"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1573164713988-8665fc963095?w=600&q=80') center/cover no-repeat;
}

.service-visual-card[data-bg="projectmgmt"] {
    background: linear-gradient(135deg, rgba(65,64,66,0.18), rgba(65,64,66,0.06)),
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=600&q=80') center/cover no-repeat;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid,
    .values-grid,
    .management-grid,
    .sqe-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .accreditation-grid,
    .clients-grid,
    .team-grid,
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .neca-banner {
        flex-direction: column;
        text-align: center;
    }

    .neca-certifications {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow on all mobile views */
    html, body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 20px;
    }

    /* ===== Mobile Header ===== */
    .header {
        top: 12px;
        width: 94%;
        border-radius: 20px;
        overflow: visible;
    }

    .header.scrolled {
        top: 8px;
    }

    .nav {
        min-height: 64px;
        padding: 8px 16px 8px 20px;
    }

    .logo-img {
        height: 40px;
        max-width: 160px;
    }

    /* Hide Contact Us button on mobile — it's in the menu instead */
    .btn-nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        z-index: 9999;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 10px;
        transition: all 0.2s;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--primary-light);
    }

    .nav-links::after {
        display: none;
    }

    /* ===== Mobile Hero — full-bleed immersive ===== */
    .hero-minimal {
        min-height: 100svh;
        padding: 0;
        background: #0a1628;
    }

    /* Hide the split backgrounds */
    .hero-split-left {
        display: none;
    }

    /* Canvas behind image on mobile (image z-index handled by .hero-split-right::after at z:2) */
    .hero-fibres {
        z-index: 0;
    }

    /* Image becomes a full-bleed backdrop */
    .hero-split-right {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        z-index: 1;
    }

    .hero-img-minimal {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        border-radius: 0;
        object-fit: cover;
        object-position: center 30%;
        mix-blend-mode: normal;
        opacity: 0.45;
        transform: none;
    }

    /* Gradient overlays for readability and drama */
    .hero-split-right::after {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background:
            linear-gradient(180deg,
                rgba(10, 22, 40, 0.6) 0%,
                rgba(10, 22, 40, 0.1) 35%,
                rgba(10, 22, 40, 0.0) 50%,
                rgba(10, 22, 40, 0.5) 75%,
                rgba(10, 22, 40, 0.95) 100%
            );
        z-index: 2;
    }

    /* Content sits at the bottom of the viewport */
    .hero-content-minimal {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        padding: 0 24px 48px;
        text-align: left;
    }

    .massive-title {
        font-size: clamp(2.5rem, 11vw, 3.5rem);
        margin-bottom: 12px;
        color: var(--white);
        text-shadow: 0 2px 30px rgba(0,0,0,0.4);
    }

    .hero-subtitle-minimal {
        font-size: 1rem;
        color: var(--white);
        text-shadow: 0 2px 20px rgba(0,0,0,0.5);
        margin-bottom: 24px;
        max-width: 340px;
    }

    .hero-actions-minimal {
        margin-bottom: 24px;
    }

    .hero-footer-text {
        max-width: none;
        margin: 0;
        font-size: 0.78rem;
        color: rgba(255,255,255,0.5);
    }

    .hero-footer-text br {
        display: none;
    }

    /* Trusted logos on mobile */
    .hero-trusted {
        max-width: none;
    }

    .hero-trusted-label {
        color: rgba(255,255,255,0.4);
        font-size: 0.7rem;
        margin-bottom: 12px;
    }

    .hero-trusted-logos {
        gap: 24px;
    }

    .trusted-logo {
        height: 18px;
        opacity: 0.5;
        filter: grayscale(100%) brightness(3);
    }

    .trusted-logo:hover {
        filter: grayscale(0%) brightness(3);
    }

    /* ===== Mobile grids ===== */
    .hero {
        min-height: 85vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat {
        flex: 0 0 calc(50% - 10px);
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .service-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 0;
    }

    .service-detail.reverse .service-detail-content,
    .service-detail.reverse .service-detail-visual {
        order: unset;
    }

    .service-visual-card {
        height: 200px;
    }

    .service-number {
        font-size: 2rem;
    }

    .services-grid,
    .values-grid,
    .projects-grid,
    .management-grid,
    .sqe-grid {
        grid-template-columns: 1fr;
    }

    /* Keep these as 2-col grids on mobile for compact display */
    .accreditation-grid,
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

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

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2,
    .page-hero h1 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .section {
        padding: 48px 0;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

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

    /* ===== Mobile Quote Banner ===== */
    .quote-banner {
        padding: 36px 0;
    }

    .quote-banner blockquote {
        font-size: 1.05rem;
        padding: 0 8px;
    }

    .quote-banner::before {
        font-size: 6rem;
        top: -10px;
        left: 5%;
    }

    /* ===== Mobile CTA ===== */
    .cta-section {
        padding: 64px 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* ===== Mobile accreditation/client cards ===== */
    .accreditation-card {
        padding: 24px 16px;
    }

    .accreditation-card h3 {
        font-size: 0.9rem;
    }

    .accreditation-card p {
        font-size: 0.78rem;
    }

    .client-logo-card {
        padding: 20px 12px;
        font-size: 0.95rem;
    }

    /* Client logo strip mobile */
    .clients-logo-strip {
        gap: 32px 40px;
    }

    .client-logo-item img {
        height: 20px;
    }

    /* ===== Mobile NECA banner ===== */
    .neca-banner {
        padding: 28px 20px;
    }

    .neca-banner h2 {
        font-size: 1.25rem;
    }

    .cert-badge {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    /* ===== Mobile SQE cards ===== */
    .sqe-card {
        padding: 28px 20px;
    }

    /* ===== Mobile Contact form ===== */
    .contact-form {
        padding: 28px 20px;
    }

    /* ===== Mobile Footer ===== */
    .footer {
        padding: 48px 0 0;
    }

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

    .footer-logo-img {
        height: 50px;
    }

    .footer-contact li {
        word-break: break-word;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .regional-grid {
        flex-direction: column;
        gap: 12px;
    }

    .contact-form-wrapper {
        position: static;
    }

    /* Team cards mobile */
    .team-card {
        padding: 24px 16px;
    }

    .team-card p {
        font-size: 0.8rem;
    }

    /* Project cards mobile */
    .project-header {
        padding: 20px 20px 16px;
    }

    .project-body {
        padding: 16px 20px 20px;
    }

    /* Expertise items mobile */
    .expertise-item {
        padding: 24px 20px;
    }

    /* Management items mobile */
    .management-item {
        padding: 24px 20px;
    }

    /* Value cards mobile */
    .value-card {
        padding: 24px 20px;
    }

    /* Equipment cards mobile */
    .equipment-card {
        padding: 24px 20px;
    }

    /* ===== Mobile About badge ===== */
    .about-image-badge {
        bottom: 16px;
        right: 16px;
        padding: 16px 20px;
    }

    .badge-number {
        font-size: 2.25rem;
    }

    .badge-label {
        font-size: 0.65rem;
    }

    /* ===== Mobile buttons ===== */
    .btn-pill {
        padding: 14px 32px;
    }

    .section-cta {
        margin-top: 32px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    .header {
        width: 96%;
    }

    .massive-title {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .stat {
        flex: 0 0 calc(50% - 8px);
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .big-number {
        font-size: 3rem;
    }

    .section-header h2,
    .page-hero h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .neca-banner {
        padding: 24px 16px;
    }

    .sqe-card {
        padding: 24px 16px;
    }

    .contact-form {
        padding: 24px 16px;
    }

    /* Stack accreditation/client grids to single col on very small screens */
    .accreditation-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Animations ===== */
/* ===== Background Patterns ===== */
.pattern-grid {
    background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
}

[data-theme="dark"] .pattern-grid {
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, 5%) scale(1.1); }
    66% { transform: translate(-5%, 10%) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes heroPulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(242,101,34,0.2); }
    50% { border-color: rgba(242,101,34,0.3); }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delays for grid children */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }
.fade-in:nth-child(7) { transition-delay: 0.6s; }
.fade-in:nth-child(8) { transition-delay: 0.7s; }

/* ===== Enhanced Section Tags ===== */
.section-tag {
    position: relative;
    overflow: hidden;
}

.section-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242,101,34,0.08), transparent);
    animation: shimmer 3s infinite;
}

/* ===== Smooth Page Load ===== */
body {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Enhanced Header Glass Effect ===== */
.header {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.92);
}

/* ===== Enhanced Project Cards ===== */
.project-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

/* ===== Enhanced SQE Cards ===== */
.sqe-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sqe-card:hover {
    box-shadow: var(--shadow-glow);
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-dark));
    z-index: 1001;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ===== Enhanced Footer ===== */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
/* ===== Data Center Banner ===== */
.datacenter-banner {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.datacenter-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.datacenter-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.datacenter-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.4) saturate(1.4);
    transition: transform 0.8s ease;
}

.datacenter-banner:hover .datacenter-bg img {
    transform: scale(1.04);
}

.datacenter-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.85) 0%,
        rgba(0, 52, 120, 0.65) 50%,
        rgba(0, 212, 255, 0.1) 100%
    );
}

.datacenter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 80px 0;
}

.datacenter-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin: 16px 0 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.datacenter-content p {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Responsive images ===== */
@media (max-width: 768px) {
    .about-image-real {
        aspect-ratio: 16/9;
    }
    .datacenter-content h2 {
        font-size: 1.75rem;
    }
    .datacenter-banner {
        min-height: 340px;
    }
    .datacenter-content {
        padding: 48px 0;
    }
    .datacenter-content p {
        font-size: 0.95rem;
    }
}

/* ===== Logo Image ===== */
.logo {
    align-items: center;
}

.logo-img {
    height: 70px;
    max-width: 280px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo {
    align-items: center;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    display: block;
    background: var(--white);
    border-radius: 8px;
    padding: 4px 12px;
}

/* ===== Mobile-only utility ===== */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

/* ===== Nav Controls (theme toggle + hamburger) ===== */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Hero Fibre Canvas ===== */
.hero-fibres {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ===== Hero Text Animations ===== */
.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    animation: wordReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line:nth-child(1) .title-word:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(1) .title-word:nth-child(2) { animation-delay: 0.45s; }
.title-line:nth-child(2) .title-word:nth-child(1) { animation-delay: 0.6s; }

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(100%) rotateX(-80deg);
        filter: blur(4px);
    }
    60% {
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
        filter: blur(0);
    }
}

.hero-anim-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.9s;
}

.hero-anim-delay-2 {
    animation-delay: 1.1s;
}

.hero-anim-delay-3 {
    animation-delay: 1.3s;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile hero text colour overrides for anim ===== */
@media (max-width: 768px) {
    .hero-anim-title .title-word {
        color: var(--white);
    }
}

/* End of Styles */
