/* =========================================================================
   RENEW TECH SOLUTIONS - ENTERPRISE DESIGN SYSTEM
   =========================================================================
   
   SECTIONS:
   1. Variables & Tokens | 2. Reset & Base | 3. Utility Classes | 4. Buttons
   4. Layout: Navbar, Hero, Footer | 5. Animations | 6. Responsive
   7. Services | 8. Process Timeline | 9. Certifications | 10. Clients
   11. Page-Level: Hero, Navbar, Footer, Contact, About, Sustainability,
       Enterprise, ESG Metrics, Lifecycle
   ========================================================================= */

/* --- QUEENS CUSTOM SERIF FONT --- */
@font-face {
    font-family: "Queen";
    src: url("./tiempos-font-family/TestTiemposFine-Light-BF66457a5102792.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

/* --- 1. VARIABLES & TOKENS --- */
:root {
    /* Color Palette */
    --color-primary: #0B1F3B;
    /* Deep Navy Blue */
    --color-secondary: #1E3A8A;
    /* Enterprise Blue */
    --color-accent: #22C55E;
    /* Eco Green */
    --color-accent-hover: #bfdbfe;

    --color-text-dark: #111827;
    --color-text-muted: #4B5563;
    --color-text-light: #9CA3AF;

    --color-bg-white: #FFFFFF;
    --color-bg-light: #F8FAFC;
    --color-bg-tint: #EFF6FF;
    /* Soft light blue – corporate accent */
    --color-bg-dark: #0F172A;

    --color-border: #E2E8F0;

    /* Typography – Queen serif for headings; Inter for body/nav */
    --font-primary: "Tiempos", Queen, Aldine, "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", "Droid Serif", Times, "Source Serif Pro", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px rgba(11, 31, 59, 0.08);
    /* Enterprise feel shadow */

    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    /* Fixed navbar height (production-friendly) */
    --navbar-height: 130px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text-dark);
    background:
        radial-gradient(circle at top left, rgba(239, 246, 255, 0.9), transparent 55%),
        radial-gradient(circle at bottom right, rgba(219, 234, 254, 0.9), transparent 55%),
        linear-gradient(to bottom, #f4f7fb, #ffffff);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    flex: 1;
    padding-top: var(--navbar-height);
}

body.home-page main {
    padding-top: var(--navbar-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

p {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: var(--transition-normal);
}

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

ul {
    list-style: none;
}

/* --- 3. UTILITY CLASSES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* Section background variants (reusable) */
.section-light {
    background: var(--color-bg-light);
}

.section-gray {
    background: #202020;
    color: #f9fafb;
}

.section-gradient {
    background: linear-gradient(135deg, #e0f2fe 0%, #f9fafb 45%, #eff6ff 100%);
}

.section-dark {
    background: linear-gradient(135deg, #0b1f4a, #163a82);
    color: #ffffff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark p,
.section-dark .section-description {
    color: #e5edff;
}

.section-gray h1,
.section-gray h2,
.section-gray h3,
.section-gray h4,
.section-gray h5,
.section-gray h6,
.section-gray p,
.section-gray .section-description {
    color: #f9fafb;
}

/* Floating card-style wrapper */
.section-card-container {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-premium);
    padding: 3rem 2.5rem;
    position: relative;
    z-index: 1;
}

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

.bg-tint {
    background-color: var(--color-bg-tint);
}

.bg-white {
    background-color: var(--color-bg-white);
}

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

.text-white {
    color: var(--color-bg-white) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-dark {
    color: var(--color-text-dark) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-muted {
    color: var(--color-text-muted) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0 !important;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Typography Utilities */
.section-eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    max-width: 700px;
}

.section-description.lead {
    font-size: 1.25rem;
}

.text-center .section-description {
    margin-left: auto;
    margin-right: auto;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-bg-white);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-outline-primary {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

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

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Reusable primary pill CTA */
.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    background-color: #dbeafe;
    /* light blue */
    color: #020617;
    /* near-black */
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-primary-cta .btn-arrow,
.btn-primary-cta i,
.btn-primary-cta svg {
    transition: transform 0.3s ease;
}

.btn-primary-cta:hover {
    background-color: #020617;
    color: #bfdbfe;
    /* light blue text */
}

.btn-primary-cta:hover .btn-arrow,
.btn-primary-cta:hover i,
.btn-primary-cta:hover svg {
    transform: translateX(4px);
}

/* --- 4. LAYOUT COMPONENTS --- */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    z-index: 1000;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 1.25rem;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.logo-img {
    height: calc(var(--navbar-height) - 16px);
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 auto;
    min-width: 0;
    /* allow shrinking to avoid overlap */
    justify-content: flex-end;
}

.nav-link {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    position: relative;
    white-space: nowrap;
    padding: 6px 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* Mobile Menu Variables */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    flex: 0 0 auto;
}

.nav-actions .btn-primary-cta {
    white-space: nowrap;
    padding: 0.7rem 1.15rem;
}

/* Hero Section - Full Layout */
.hero-full {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-bg-dark);
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 10s linear;
    /* Let it slowly zoom back while fading out */
    transform: scale(1.05);
    /* Slight zoom out while fading */
}

.hero-bg-image.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 2s ease-in-out, transform 10s linear;
    /* Subtle zoom in effect while active */
}

.hero-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(11, 31, 59, 0.95) 0%, rgba(11, 31, 59, 0.6) 40%, transparent 100%);
    z-index: 2;
}

.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    height: 65vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 31, 59, 0.7);
    /* dark blue overlay */
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero-services {
    background-image: url('public/service_hero.png');
}

.hero-enterprise {
    background-image: url('public/enterprise_hero.png');
}

.hero-sustainability {
    background-image: url('public/sustainability_hero.png');
}

.hero-about {
    background-image: url('public/about.png');
}

.hero-clients {
    background-image: url('public/client_hero.png');
}

.hero-contact {
    background-image: url('public/contact_hero.png');
}

.hero-full-container {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 8rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-full-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-full-title {
    display: inline;
    /* ← KEY CHANGE */
    background-color: #5485c2;
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.8;
    /* ← increase so padding shows */
    padding: 6px 20px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    box-decoration-break: clone;
    /* ← KEY CHANGE */
    -webkit-box-decoration-break: clone;
    /* ← Safari support */
}

.hero-full-subtitle {
    color: var(--color-accent);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.05em;
}

/* Social Floating Bar */
.social-floating-bar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.social-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-float-btn.linkedin {
    background-color: #0077B5;
    width: auto;
    padding: 0 15px;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.social-float-btn.facebook {
    background-color: #3b5998;
    border-radius: 50%;
    margin: 5px;
    width: 35px;
    height: 35px;
}

.social-float-btn.twitter {
    background-color: #000000;
    border-radius: 50%;
    margin: 5px;
    width: 35px;
    height: 35px;
}

.social-float-btn.youtube {
    background-color: #FF0000;
    border-radius: 50%;
    margin: 5px;
    width: 35px;
    height: 35px;
}

.social-float-btn.email {
    background-color: #888888;
    border-radius: 50%;
    margin: 5px;
    width: 35px;
    height: 35px;
}

.social-float-btn:hover {
    transform: scale(1.1);
}

.social-float-btn.linkedin:hover {
    transform: translateX(-5px) scale(1.05);
}

/* Hero Stats Bar */
.hero-stats-bar {
    position: relative;
    z-index: 4;
    padding: 3rem 0 1.5rem;
    width: 100%;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    color: white;
}

.hero-stat-item {
    padding: 0 1rem;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-stat-desc {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.hero-stat-sub {
    font-size: 0.85rem;
    color: #D1D5DB;
    display: block;
}

.hero-stat-disclaimer {
    text-align: center;
    color: #9CA3AF;
    font-size: 0.75rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* --- SERVICE PHOTO CARDS (Homepage) --- */
.services-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.service-photo-card {
    position: relative;
    min-height: 320px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: white;
    transition: transform var(--transition-normal);
}

.service-photo-card:hover {
    transform: translateY(-4px);
}

.service-photo-card:hover .service-photo-overlay {
    background: linear-gradient(to top, rgba(11, 31, 59, 0.95) 0%, rgba(11, 31, 59, 0.6) 50%, rgba(11, 31, 59, 0.3) 100%);
}

.service-photo-card:hover .btn-outline-light {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.service-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 31, 59, 0.9) 0%, rgba(11, 31, 59, 0.5) 40%, rgba(11, 31, 59, 0.2) 100%);
    transition: var(--transition-normal);
}

.service-photo-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-photo-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.3;
}

.service-photo-summary {
    font-size: 0.95rem;
    color: #E2E8F0;
    line-height: 1.5;
    margin: 0;
}

.service-photo-card .btn {
    align-self: flex-start;
}

/* --- VERTICAL PROCESS TIMELINE --- */
.process-timeline {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 18%, #ffffff 82%, #eff6ff 100%);
}

.process-timeline::before,
.process-timeline::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.45;
    pointer-events: none;
}

.process-timeline::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(30, 64, 175, 0.35), transparent 65%);
    top: -140px;
    left: -80px;
}

.process-timeline::after {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.24), transparent 65%);
    bottom: -180px;
    right: -120px;
}

/* Floating card container for the timeline on homepage */
.process-timeline>.container {
    max-width: 1120px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 1.75rem;
    box-shadow: var(--shadow-premium);
    padding: 3.5rem 3rem;
    position: relative;
    z-index: 1;
}

.process-timeline .section-header {
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg,
            transparent 0%,
            #1e3a8a 5%,
            #1e3a8a 95%,
            transparent 100%);
    border-radius: 2px;
    transform: translateX(-50%);
    opacity: 0.6;
}

.timeline-step {
    position: relative;
    margin-bottom: 2.75rem;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step:nth-child(2).visible {
    transition-delay: 0;
}

.timeline-step:nth-child(3).visible {
    transition-delay: 0.08s;
}

.timeline-step:nth-child(4).visible {
    transition-delay: 0.16s;
}

.timeline-step:nth-child(5).visible {
    transition-delay: 0.24s;
}

.timeline-step:nth-child(6).visible {
    transition-delay: 0.32s;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step-card {
    position: relative;
    width: calc(50% - 48px);
    padding: 2rem;
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(11, 31, 59, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.timeline-step-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #1e3a8a, var(--color-accent));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.timeline-step-left .timeline-step-card::before {
    left: 0;
}

.timeline-step-right .timeline-step-card::before {
    left: auto;
    right: 0;
    background: linear-gradient(180deg, var(--color-accent), #1e3a8a);
}

.timeline-step-card:hover {
    box-shadow: 0 12px 40px rgba(11, 31, 59, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: rgba(30, 58, 138, 0.15);
}

.timeline-step-card:hover::before {
    opacity: 1;
}

.timeline-step-left .timeline-step-card {
    margin-right: auto;
}

.timeline-step-right .timeline-step-card {
    margin-left: auto;
}

.timeline-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(34, 197, 94, 0.08) 100%);
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    transition: all 0.35s ease;
    border: 2px solid rgba(30, 58, 138, 0.12);
}

.timeline-step-card:hover .timeline-icon {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
    transform: scale(1.05);
}

.timeline-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border-radius: 50%;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
}

.timeline-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.6rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.timeline-step-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Timeline connector dot on central line */
.timeline-step::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 2.25rem;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border: 4px solid var(--color-bg-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2), 0 4px 12px rgba(30, 58, 138, 0.25);
    z-index: 2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.timeline-step:hover::before {
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15), 0 6px 20px rgba(30, 58, 138, 0.35);
}

.timeline-step.visible::before {
    animation: timeline-dot-appear 0.5s ease-out forwards;
}

@keyframes timeline-dot-appear {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .timeline-line {
        left: 24px;
        transform: none;
    }

    .timeline-step {
        padding-left: 0;
    }

    .timeline-step::before {
        left: 24px;
        top: 2.25rem;
        transform: translate(-50%, -50%);
        width: 16px;
        height: 16px;
    }

    .timeline-step-card {
        width: 100%;
    }

    .timeline-step-left .timeline-step-card,
    .timeline-step-right .timeline-step-card {
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-step-card::before {
        left: 0 !important;
        right: auto !important;
    }
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Enterprise Solutions Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.metric-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    backdrop-filter: blur(10px);
}

.metric-card.highlight {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.metric-number {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.metric-card.highlight .metric-number {
    color: var(--color-accent);
}

.metric-label {
    color: #9CA3AF;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.metric-card.highlight .metric-label {
    color: white;
}

/* ESG Impact: minimal "by the numbers" design */
.esg-numbers {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1f4a, #163a82);
}

.esg-numbers::before,
.esg-numbers::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(95px);
    opacity: 0.55;
    pointer-events: none;
}

.esg-numbers::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.5), transparent 65%);
    top: -140px;
    left: -80px;
}

.esg-numbers::after {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.4), transparent 65%);
    bottom: -200px;
    right: -120px;
}

.esg-numbers .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    border-radius: 1.75rem;
    background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.85), rgba(15, 23, 42, 0.98));
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.8);
    position: relative;
    z-index: 1;
}

.esg-numbers-heading {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e5edff;
    margin-bottom: 3rem;
}

.esg-numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    max-width: 700px;
    margin: 0 auto;
}

.esg-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.esg-stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: #facc15;
    line-height: 1;
}

.esg-stat-value small {
    font-size: 0.6em;
}

.esg-stat-label {
    font-size: 1rem;
    color: #bfdbfe;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .esg-numbers-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .esg-stat-value {
        font-size: 2.75rem;
    }
}

/* Why Enterprises Choose Us - minimal grid design */
.why-choose-us {
    position: relative;
    background-image: url('public/recycling_facility_1772265495593.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.96) 100%);
    z-index: 0;
}

.why-choose-us .container {
    position: relative;
    z-index: 1;
}

.why-choose-us-heading {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3A7F41;
    letter-spacing: 0.02em;
    margin-bottom: 3rem;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.why-choose-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem 1.5rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s ease;
}

.why-choose-item:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.why-choose-item:nth-child(odd) {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding-right: 2rem;
}

.why-choose-item:nth-child(even) {
    padding-left: 2rem;
}

.why-choose-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.why-choose-icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(34, 197, 94, 0.08) 100%);
    color: rgba(30, 58, 138, 0.4);
    border: 2px solid rgba(30, 58, 138, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: all 0.35s ease;
}

.why-choose-item:hover .why-choose-icon {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
    transform: translateY(-3px) scale(1.05);
}

.why-choose-content {
    flex: 1;
    min-width: 0;
}

.why-choose-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6B5E4F;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.why-choose-item:hover .why-choose-title {
    color: #1e3a8a;
}

.why-choose-desc {
    font-size: 0.95rem;
    color: #333333;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .why-choose-us-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-item:nth-child(odd) {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
        padding-right: 0;
    }

    .why-choose-item:nth-child(even) {
        padding-left: 1.5rem;
    }

    .why-choose-item:last-child {
        border-bottom: none;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    background: url('public/technicians_hero_1772260438436.png') center/cover no-repeat fixed;
    padding: 6rem 0;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 31, 59, 0.9);
}

.z-10 {
    position: relative;
    z-index: 10;
}

.cta-title {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: #E2E8F0;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #05101E;
    /* Very Dark Blue */
    color: #9CA3AF;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-heading {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}


.footer-text {
    font-size: 0.95rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
}

.social-links a:hover {
    background-color: var(--color-accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #9CA3AF;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-list i {
    color: var(--color-secondary);
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

/* --- 5. ANIMATIONS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.appear {
    opacity: 1 !important;
    transform: translate(0) !important;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* --- 6. RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-full-title {
        font-size: 2.75rem;
    }

    .hero-full-subtitle {
        font-size: 1.5rem;
    }

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

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn,
    .nav-actions .btn-primary-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-white);
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        gap: 1rem;
    }

    .nav-links.active .nav-link {
        color: var(--color-text-dark);
        display: block;
        padding: 0.5rem 0;
    }

    .hero-full-container {
        padding-top: 4rem;
    }

    .hero-full-title {
        font-size: 2.25rem;
    }

    .hero-full-subtitle {
        font-size: 1.25rem;
    }

    .social-floating-bar {
        display: none;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .metrics-grid {
        margin-top: 2rem;
    }

}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* Pulsing animation */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

/* --- CONTACT PAGE CARDS --- */
.contact-card {
    background: var(--color-bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.contact-card-link:hover {
    color: inherit;
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-card:hover .contact-card-icon {
    background: var(--color-accent);
    color: white;
}

.contact-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-card-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.contact-card-sub {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* --- UTILITY --- */
.position-relative {
    position: relative;
}

.hover-up {
    transition: transform var(--transition-normal);
}

.hover-up:hover {
    transform: translateY(-4px);
}

/* --- CERTIFICATION CARDS (Sustainability) --- */
.certifications-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.certification-card {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
}

.certification-badge-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.certification-badge-card.certification-accent {
    border-color: var(--color-accent);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cert-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.cert-desc {
    font-size: 0.9rem;
    margin: 0;
}

.px-5 {
    padding-left: 3rem;
    padding-right: 3rem;
}

/* --- CLIENT LOGOS CAROUSEL (Homepage) --- */
.client-logos-carousel-section {
    padding: var(--spacing-lg) 0;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe 0%, #f9fafb 40%, #eff6ff 100%);
}

.client-logos-carousel-section::before,
.client-logos-carousel-section::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.client-logos-carousel-section::before {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.35), transparent 65%);
    top: -120px;
    left: -60px;
}

.client-logos-carousel-section::after {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.22), transparent 65%);
    bottom: -160px;
    right: -80px;
}

.client-logos-carousel {
    overflow: hidden;
    max-width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    padding: 2rem 0;
}

.client-logos-carousel:hover .client-logos-track {
    animation-play-state: paused;
}

.client-logos-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: client-logos-scroll 35s linear infinite;
    will-change: transform;
}

.client-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 60px;
    padding: 1rem 2rem;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-slow), box-shadow var(--transition-normal);
}

.client-logo-item.center {
    transform: scale(1.4);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: filter var(--transition-normal), opacity var(--transition-normal);
}

.client-logo-item.center img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes client-logos-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- CLIENTS PAGE GRID --- */
.clients-page-header {
    margin-bottom: 3rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

@media (min-width: 1400px) {
    .clients-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal),
        border-color var(--transition-normal), filter var(--transition-normal);
    min-height: 120px;
}

.client-logo-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 58, 138, 0.15);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--transition-normal), opacity var(--transition-normal);
}

.client-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================================================
   PAGE-LEVEL STYLES (Consolidated from inline styles)
   ========================================================================= */

/* --- HERO SECTION (Page Hero - About, Contact, Clients, Sustainability, Enterprise) --- */
.page-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.7) 0%, rgba(59, 130, 246, 0.6) 50%, rgba(37, 99, 235, 0.7) 100%);
    z-index: 1;
}

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

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

.page-hero .subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.about-hero {
    background-image: url('https://picsum.photos/seed/about-hero/1920/600.jpg');
}

.services-hero {
    background-image: url('https://picsum.photos/seed/services-hero/1920/600.jpg');
}

.enterprise-hero {
    background-image: url('https://picsum.photos/seed/enterprise-hero/1920/600.jpg');
}

.sustainability-hero {
    background-image: url('https://picsum.photos/seed/sustainability-hero/1920/600.jpg');
}

.clients-hero {
    background-image: url('https://picsum.photos/seed/clients-hero/1920/600.jpg');
}

.contact-hero {
    background-image: url('https://picsum.photos/seed/contact-hero/1920/600.jpg');
}

/* Services page hero (dark variant) */
.services-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    padding: 80px 0 60px;
}

.about-hero-content {
    max-width: 800px;
    padding: 0 20px;
}

/* --- UNIFIED HERO (layout + background consistency) --- */
.hero-consistent {
    height: 65vh !important;
    min-height: 380px;
    max-height: 520px;
    padding: 6vh 0 !important;
    /* equal top/bottom padding */
    background-image: linear-gradient(135deg, #4a67a1, #6f8ecf) !important;
    background-color: #5f7fc5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-consistent::before {
    display: none !important;
    /* remove random overlay effects */
}

.hero-consistent .page-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-consistent h1 {
    margin-bottom: 1rem !important;
    /* consistent spacing between heading and subheading */
}

.hero-consistent .subtitle {
    margin-bottom: 0 !important;
}

/* --- UNIFIED HERO TYPOGRAPHY --- */
.hero-title {
    font-size: 52px !important;
    line-height: 1.1;
    margin-bottom: 16px !important;
    /* consistent gap to subheading */
    color: #ffffff !important;
}

.hero-subtitle {
    font-size: 18px !important;
    line-height: 1.6;
    margin-bottom: 0 !important;
    color: #ffffff !important;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px !important;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 30px !important;
    }
}

/* Remove random background images while keeping page-specific typography overrides intact */
.about-hero,
.services-hero,
.enterprise-hero,
.sustainability-hero,
.clients-hero,
.contact-hero {
    background-image: none !important;
    background: none !important;
    padding-left: 0;
    padding-right: 0;
}

/* --- NAVBAR (Production tweaks) --- */
@media (max-width: 768px) {
    :root {
        --navbar-height: 72px;
    }

    .logo-img {
        height: calc(var(--navbar-height) - 14px);
        max-width: 220px;
    }
}

/* --- FOOTER (Premium Styles) --- */
.footer {
    background: #071A2F !important;
    color: #9FB3C8 !important;
    padding: 60px 0 0 !important;
}

.footer-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
}

.footer-brand {
    grid-column: span 1;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #9FB3C8;
    margin-bottom: 0;
}

.footer-heading {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #9FB3C8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F25C2A;
}

.footer-contact {
    grid-column: span 1;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #9FB3C8;
}

.contact-list i {
    margin-right: 12px;
    margin-top: 2px;
    color: #F25C2A;
    font-size: 0.9rem;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.footer-bottom {
    text-align: center !important;
    padding: 20px 0 !important;
    font-size: 0.85rem !important;
    color: #9FB3C8 !important;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0 !important;
    }

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

/* --- SECTION STYLES --- */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2b3c;
    text-align: center;
    margin-bottom: 60px;
}

.section-white {
    background: #ffffff;
}

.section-light {
    background: #e8f2f6;
}

/* --- SERVICES PAGE --- */
.service-section {
    padding: 80px 0;
}

.service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-layout.reverse {
    direction: rtl;
}

.service-layout>* {
    direction: ltr;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.service-content {
    padding: 20px 0;
}

.service-label {
    color: #1a2b3c;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.service-title {
    color: #1a2b3c;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.service-description {
    color: #1a2b3c;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-layout.reverse {
        direction: ltr;
    }

    .service-image {
        order: -1;
    }

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

/* --- ABOUT PAGE --- */
.story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.mission-vision-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mvv-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.mvv-icon i {
    font-size: 2rem;
    color: #059669;
}

.mvv-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 16px;
}

.mvv-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.values-list li {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.values-list li::before {
    content: '•';
    color: #059669;
    font-weight: bold;
    font-size: 1.2rem;
}

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

.excellence-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.excellence-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.excellence-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.excellence-icon i {
    font-size: 1.5rem;
    color: #059669;
}

.excellence-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 12px;
    line-height: 1.3;
}

.excellence-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

.placeholder-text {
    font-style: normal;
    color: #111827;
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #059669;
}

@media (max-width: 1024px) {
    .excellence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .story-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-vision-values {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .excellence-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mvv-card,
    .excellence-item,
    .certification-card {
        padding: 30px 20px;
    }
}

/* --- CONTACT PAGE --- */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 100px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #059669;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card-icon i {
    font-size: 1.5rem;
    color: #059669;
}

.contact-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 12px;
}

.contact-card-text {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 8px;
}

.contact-card-sub {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    color: #1a2b3c;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-button {
    background: #059669;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background: #047857;
    transform: translateY(-2px);
}

.map-section {
    padding: 80px 0;
    background: #f8fafc;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 500px;
    border: none;
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group.full-width {
        grid-column: 1;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* --- LIFECYCLE SECTION (Sustainability) --- */
.circular-intro {
    max-width: 920px;
    margin: 0 auto 1.5rem;
}

.circular-intro-description {
    margin: 0 auto;
}

.circular-diagram {
    text-align: center;
    padding: 60px 0;
}

.circular-diagram img {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.circular-lifecycle-explainer {
    margin-top: 1rem;
}

.circular-lifecycle-title {
    font-size: 2rem;
    color: #1a2b3c;
    margin-bottom: 1.75rem;
    text-align: center;
}

.circular-lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.circular-stage {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1.1rem;
}

.circular-stage h4 {
    font-size: 1.05rem;
    color: #1a2b3c;
    margin-bottom: 0.45rem;
}

.circular-stage p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.lifecycle-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

.lifecycle-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.lifecycle-timeline .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.lifecycle-timeline .timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lifecycle-timeline .timeline-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lifecycle-timeline .timeline-icon i {
    font-size: 1.5rem;
    color: #059669;
}

.lifecycle-timeline .timeline-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 8px;
}

/* --- ESG METRICS (Sustainability page) --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.metric-icon i {
    font-size: 1.5rem;
    color: #059669;
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 10px;
    line-height: 1;
}

.metric-label {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.4;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.certification-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cert-icon {
    font-size: 3rem;
    color: #059669;
    margin-bottom: 20px;
}

.cert-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2b3c;
    margin-bottom: 10px;
}

.cert-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.4;
}

.placeholder-comment {
    font-style: normal;
    color: #111827;
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #059669;
}

.esg-numbers-heading {
    color: #e5edff !important;
}

.esg-stat-value {
    color: #facc15 !important;
}

.esg-stat-label {
    color: #bfdbfe !important;
}

/* Index: Service photo card hover effects */
.service-photo-card {
    transition: transform 0.3s ease, background-size 0.3s ease !important;
    background-size: cover !important;
}

.service-photo-card:hover {
    transform: scale(1.05) !important;
    background-size: 110% !important;
}

.service-photo-summary {
    opacity: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease !important;
    margin: 0 !important;
}

.service-photo-card:hover .service-photo-summary {
    opacity: 1 !important;
    max-height: 100px !important;
    margin: 12px 0 !important;
}

.service-photo-content {
    transition: transform 0.3s ease !important;
}

.service-photo-card:hover .service-photo-content {
    transform: translateY(-5px) !important;
}

@media (max-width: 1024px) {
    .circular-lifecycle-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .circular-diagram {
        padding: 40px 0;
    }

    .circular-lifecycle-title {
        font-size: 1.6rem;
    }

    .circular-stage {
        padding: 1rem;
    }

    .lifecycle-timeline {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }

    .lifecycle-timeline::before {
        display: none;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .metric-card,
    .certification-card {
        padding: 30px 20px;
    }

    .metric-value {
        font-size: 2.5rem;
    }
}

/* --- ENTERPRISE PAGE (Industry cards) --- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.industry-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.industry-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.industry-content {
    padding: 24px;
}

.industry-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.problem-section {
    margin-bottom: 20px;
}

.problem-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.problem-text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0;
}

.solution-section {
    margin-bottom: 20px;
}

.solution-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.solution-list li i {
    margin-top: 2px;
    font-size: 0.8rem;
}

.solution-list strong {
    color: #1f2937;
}

.metrics-section {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.metrics-section .metric {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.metrics-section .metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 4px;
}

.metrics-section .metric-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .industry-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 0;
    }

    .industry-content {
        padding: 20px;
    }

    .industry-title {
        font-size: 1.3rem;
    }

    .metrics-section {
        flex-direction: column;
        gap: 12px;
    }

    .metrics-section .metric {
        padding: 10px;
    }
}