/*
Theme Name: SGG Tech Modern
Theme URI: https://www.sggtech.com
Author: Sail Golden Gate Consulting
Author URI: https://www.sggtech.com
Description: Modern, performance-focused WordPress theme for SGG Tech
Version: 1.2.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sgg-tech
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==================== */
/* MODERN SGG THEME     */
/* ==================== */

:root {
    /* Color System */
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #06b6d4;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-darker: #0b1120;
    --gray-dark: #1e293b;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --light: #f1f5f9;
    --bg: #f8fafc;
    --white: #ffffff;
    
    /* Gradients */
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-purple: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* ==================== */
/* BASE STYLES          */
/* ==================== */

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ==================== */
/* NAVIGATION           */
/* ==================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* ==================== */
/* BUTTONS              */
/* ==================== */

.btn-primary-small,
.btn-primary,
.btn-primary-large,
.btn-secondary {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary-small {
    padding: 0.5rem 1.25rem;
    background: var(--gradient);
    color: var(--white);
    font-size: 0.9rem;
}

.btn-primary {
    padding: 0.875rem 2rem;
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary-large {
    padding: 1rem 2.5rem;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    padding: 0.875rem 2rem;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-primary-small:hover,
.btn-primary:hover,
.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

/* ==================== */
/* HERO SECTION         */
/* ==================== */

.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-light);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
}

/* ==================== */
/* DASHBOARD MOCKUP     */
/* ==================== */

.hero-visual {
    position: relative;
}

.dashboard-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.mockup-header {
    background: var(--dark);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray);
}

.mockup-title {
    color: var(--gray-light);
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: auto;
}

.mockup-content {
    padding: var(--space-lg);
}

.chart-bars {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-end;
    height: 200px;
    margin-bottom: var(--space-lg);
}

.bar {
    flex: 1;
    background: var(--gradient);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    animation: grow 1s ease-out;
}

@keyframes grow {
    from { height: 0; }
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.metric-card {
    background: var(--light);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ==================== */
/* SERVICES SECTION     */
/* ==================== */

.services {
    padding: var(--space-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
}

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-lg);
}

.service-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
    position: relative;
}

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

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.375rem 0.75rem;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 0.5rem;
}

/* ==================== */
/* CONTENT SECTIONS     */
/* ==================== */

.content-section {
    padding: var(--space-2xl) 0;
}

.content-section.gray-bg {
    background: var(--light);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--dark);
}

.content-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

.content-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.content-wrapper p {
    margin-bottom: var(--space-md);
    color: var(--gray);
    line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.content-wrapper li {
    margin-bottom: var(--space-sm);
    color: var(--gray);
}

/* ==================== */
/* CTA SECTION          */
/* ==================== */

.cta-section {
    padding: var(--space-2xl) 0;
    background: var(--dark);
}

.cta-box {
    text-align: center;
    padding: var(--space-2xl);
}

.cta-box h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-box p {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-bottom: var(--space-xl);
}

/* ==================== */
/* FOOTER               */
/* ==================== */

.footer {
    background: var(--dark-light);
    color: var(--gray-light);
}

.footer-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    height: 70px;
}

.footer-bar p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-logo-inline {
    height: 35px;
    width: auto;
}

/* ==================== */
/* HAMBURGER / MOBILE NAV */
/* ==================== */

/* Prevent horizontal scroll globally on mobile */
html, body {
    overflow-x: hidden;
}

/* Hamburger button — hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: var(--light);
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animated X when active */
.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay that dims page behind open menu */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ==================== */
/* RESPONSIVE           */
/* ==================== */

@media (max-width: 768px) {

    /* --- Navbar --- */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile nav menu — slides down from top */
    .nav-menu {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 70px; /* height of navbar */
        left: 0;
        right: 0;
        background: var(--white);
        padding: var(--space-md) var(--space-md) var(--space-lg);
        box-shadow: var(--shadow-lg);
        gap: 0;
        z-index: 1000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.3s ease;
        padding-top: 0;
        padding-bottom: 0;
    }

    .nav-menu.active {
        max-height: 500px;
        padding: var(--space-md) var(--space-md) var(--space-lg);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.875rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--light);
        color: var(--dark);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    /* Nav CTA button gets full treatment on mobile */
    .nav-menu .btn-primary-small {
        display: inline-block;
        margin-top: var(--space-sm);
        padding: 0.75rem 1.5rem;
        text-align: center;
    }

    /* --- Hero --- */
    .hero {
        padding: 110px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

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

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

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        justify-content: space-between;
        gap: var(--space-md);
    }

    /* Hide dashboard mockup on small screens — not worth the space */
    .hero-visual {
        display: none;
    }

    /* --- Services grid --- */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* --- Buttons touch targets --- */
    .btn-primary, .btn-secondary, .btn-primary-large {
        padding: 0.875rem 1.5rem;
        min-height: 44px;
    }

    /* --- CTA section --- */
    .cta-box h2 {
        font-size: 1.8rem;
    }

    /* --- Content pages --- */
    .content-grid {
        grid-template-columns: 1fr;
    }

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

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

    .benefits-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra-small screens (iPhone SE, 320px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

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

    .container {
        padding: 0 1rem;
    }

    .cta-box {
        padding: var(--space-lg);
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   SERVICE PAGE STYLES
   ======================================== */

/* Service Hero */
.service-hero {
    background: linear-gradient(135deg, #0a192f 0%, #1a365d 100%);
    padding: 6rem 0 3rem;
    color: white;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: #64ffda;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Service Content Grid */
.service-content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.main-content {
    max-width: 800px;
}

.main-content h2 {
    color: #0a192f;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.main-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #334155;
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 8px;
}

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

.benefit-card {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #0a192f;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #64748b;
}

/* Features Section */
.features-section {
    margin: 3rem 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.feature-check {
    color: #64ffda;
    font-size: 1.25rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* Use Cases Section */
.use-cases-section {
    margin: 3rem 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.use-case-card {
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.use-case-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Service CTA */
.service-cta {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, #0a192f 0%, #1a365d 100%);
    border-radius: 12px;
    text-align: center;
    color: white;
}

.service-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.service-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #0a192f;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-list li:last-child {
    border-bottom: none;
}

.related-list {
    list-style: none;
    padding: 0;
}

.related-list li {
    margin-bottom: 1rem;
}

.related-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    color: #334155;
    transition: all 0.2s;
}

.related-list a:hover {
    background: #f1f5f9;
    color: #64ffda;
}

.service-icon-small {
    font-size: 1.25rem;
}

.contact-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-box h3 {
    color: white;
}

.contact-box p {
    color: rgba(255, 255, 255, 0.9);
}

.btn-secondary-full {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    background: white;
    color: #667eea;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Other Services Section */
.other-services {
    background: #f8fafc;
    padding: 4rem 0;
}

.other-services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mini-service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

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

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

.mini-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mini-service-card h3 a {
    color: #0a192f;
    text-decoration: none;
}

.mini-service-card p {
    color: #64748b;
    margin-bottom: 1rem;
}

.link-arrow {
    color: #64ffda;
    text-decoration: none;
    font-weight: 600;
}

.link-arrow:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .service-subtitle {
        font-size: 1rem;
    }
    
    .benefits-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* CONTACT PAGE STYLES  */
/* ==================== */

.contact-hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content-section {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* Contact Info Column */
.contact-info-column {
    position: sticky;
    top: 100px;
}

.contact-intro {
    margin-bottom: var(--space-xl);
}

.contact-intro h2 {
    font-size: 2rem;
    color: var(--dark);
    margin: 0 0 1rem;
}

.contact-intro p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: var(--white);
    border: 1px solid var(--gray-light);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    color: var(--white);
}

.contact-card-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--dark);
}

.contact-card-content p,
.contact-card-content a {
    margin: 0;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card-content a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-card-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Social Links */
.contact-social {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--light);
}

.contact-social h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin: 0 0 var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form Column */
.contact-form-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-form-wrapper {
    background: var(--light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin: 0 0 0.5rem;
}

.contact-form-wrapper > p {
    color: var(--gray);
    margin: 0 0 var(--space-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

.form-note {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: var(--space-md);
}

.contact-form-fallback {
    /* Initially hidden if form plugin content exists */
}

/* Professional Photo Card */
.contact-photo-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--light);
}

.photo-wrapper {
    text-align: center;
    margin-bottom: var(--space-md);
}

.contact-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.photo-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

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

.photo-caption h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin: 0 0 0.25rem;
}

.photo-caption p {
    color: var(--gray);
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.photo-bio {
    margin-top: var(--space-sm);
    line-height: 1.6;
    font-size: 0.9rem !important;
}

/* Trust Indicators Section */
.contact-trust-section {
    background: var(--light);
    padding: var(--space-2xl) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.trust-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trust-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.trust-item h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin: 0 0 0.5rem;
}

.trust-item p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .contact-info-column {
        position: static;
    }
    
    .contact-hero {
        padding: 80px 0 60px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 640px) {
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-wrapper,
    .contact-photo-card {
        padding: var(--space-md);
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .social-link {
        justify-content: center;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
}


/* ======================================== */
/* DEVOPS AUTOMATION PAGE                   */
/* ======================================== */

/* --- Hero --- */
.dv-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.dv-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: brightness(0.35);
}
.dv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(14,165,233,0.3) 100%);
}
.dv-hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) 0;
}
.dv-hero-text {
    max-width: 700px;
}
.dv-eyebrow {
    display: inline-block;
    background: rgba(14,165,233,0.15);
    border: 1px solid rgba(14,165,233,0.4);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: var(--space-md);
}
.dv-hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}
.dv-highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.dv-hero-text p {
    font-size: 1.15rem;
    color: var(--gray-light);
    max-width: 580px;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}
.dv-hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.dv-btn-primary {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.dv-btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.dv-btn-primary.dv-btn-large { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.dv-btn-ghost {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.dv-btn-ghost:hover { border-color: var(--primary); background: rgba(14,165,233,0.1); }

/* --- Stats Bar --- */
.dv-stats {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.dv-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-x: 1px solid rgba(255,255,255,0.08);
}
.dv-stat {
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.dv-stat:last-child { border-right: none; }
.dv-stat-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.dv-stat-label {
    display: block;
    font-size: 0.85rem;
    color: #334155;
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Section Shared --- */
.dv-section {
    padding: var(--space-2xl) 0;
}
.dv-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}
.dv-section-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    margin: var(--space-xs) 0 var(--space-sm);
}
.dv-section-header p {
    color: #334155;
    font-size: 1.05rem;
}
.dv-section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

/* --- AI Advantage Split --- */
.dv-ai-advantage {
    background: var(--light);
}
.dv-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}
.dv-split-text .dv-section-tag { margin-bottom: var(--space-xs); display: block; }
.dv-split-text h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}
.dv-split-text p {
    color: #1e293b;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}
.dv-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}
.dv-check-list li {
    padding-left: 1.8rem;
    position: relative;
    color: var(--dark);
    font-size: 0.95rem;
}
.dv-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
.dv-split-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* --- Services Grid --- */
.dv-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.dv-service-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: box-shadow 0.3s, transform 0.3s;
}
.dv-service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.dv-service-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}
.dv-service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}
.dv-service-card p {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- How It Works --- */
.dv-hiw-section { background: var(--light); }
.dv-steps {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}
.dv-step {
    flex: 1;
    text-align: center;
}
.dv-step-num {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-md);
}
.dv-step-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
}
.dv-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}
.dv-step p {
    color: #334155;
    font-size: 0.93rem;
    line-height: 1.7;
}
.dv-step-arrow {
    font-size: 1.8rem;
    color: var(--primary);
    padding-top: 8rem;
    flex-shrink: 0;
}
.dv-timeline-note {
    text-align: center;
    margin-top: var(--space-xl);
    color: #334155;
    font-size: 0.95rem;
}

/* --- Tech Stack --- */
.dv-tech-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}
.dv-tech-cat h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1e293b;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--primary);
}
.dv-tech-tags {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.dv-tech-tags span {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 500;
}

/* --- CTA --- */
.dv-cta {
    background: var(--gradient);
    padding: var(--space-2xl) 0;
}
.dv-cta-inner {
    text-align: center;
}
.dv-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-sm);
}
.dv-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}
.dv-cta .dv-btn-primary {
    background: var(--white);
    color: var(--primary-dark);
}
.dv-cta .dv-btn-primary:hover { opacity: 0.95; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .dv-tech-categories { grid-template-columns: repeat(3, 1fr); }
    .dv-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .dv-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dv-split { grid-template-columns: 1fr; }
    .dv-split-image { order: -1; }
    .dv-services-grid { grid-template-columns: 1fr; }
    .dv-steps { flex-direction: column; }
    .dv-step-arrow { display: none; }
    .dv-tech-categories { grid-template-columns: repeat(2, 1fr); }
    .dv-hero { min-height: 100vh; }
}


/* ========================================
   PERFORMANCE TESTING PAGE (pt-)
   ======================================== */

.pt-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.pt-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}
.pt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(14,165,233,0.3) 100%);
}
.pt-hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) 0;
}
.pt-hero-text {
    max-width: 700px;
}
.pt-eyebrow {
    display: inline-block;
    background: rgba(14,165,233,0.15);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}
.pt-hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}
.pt-highlight {
    color: var(--primary);
}
.pt-hero-text p {
    font-size: 1.15rem;
    color: var(--gray-light);
    max-width: 580px;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}
.pt-hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.pt-btn-primary, .pt-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pt-btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(14,165,233,0.4);
}
.pt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(14,165,233,0.5);
}
.pt-btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.pt-btn-ghost:hover {
    border-color: var(--primary);
    background: rgba(14,165,233,0.1);
}

.pt-stats {
    background: var(--gray-dark);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pt-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}
.pt-stat {
    text-align: center;
}
.pt-stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.3rem;
}
.pt-stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-light);
    font-weight: 500;
}

.pt-section {
    padding: var(--space-3xl) 0;
}
.pt-section-tag {
    display: inline-block;
    background: rgba(14,165,233,0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
}
.pt-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}
.pt-section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
}
.pt-section-header p {
    font-size: 1.1rem;
    color: var(--gray-light);
}

.pt-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}
.pt-split-text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
}
.pt-split-text p {
    font-size: 1.05rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}
.pt-check-list {
    list-style: none;
    padding: 0;
}
.pt-check-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: var(--space-sm);
    color: var(--dark);
    line-height: 1.6;
}
.pt-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}
.pt-split-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.pt-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.pt-service-card {
    background: var(--gray-darker);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.pt-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(14,165,233,0.2);
}
.pt-service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}
.pt-service-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}
.pt-service-card p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.6;
}

.pt-hiw-section {
    background: var(--gray-darker);
}
.pt-hiw-section .pt-section-header h2,
.pt-hiw-section .pt-section-header p {
    color: var(--white) !important;
}
.pt-hiw-section .pt-section-tag {
    background: rgba(14,165,233,0.2);
    color: var(--primary) !important;
}
.pt-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
.pt-step {
    flex: 1;
    text-align: center;
}
.pt-step-num {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}
.pt-step-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: var(--space-md);
}
.pt-step h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}
.pt-step p {
    font-size: 0.95rem;
    color: var(--gray-light);
    line-height: 1.6;
}
.pt-step-arrow {
    font-size: 2.5rem;
    color: var(--primary);
    align-self: center;
    margin-top: 60px;
}
.pt-timeline-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-light);
}
.pt-timeline-note strong {
    color: var(--primary);
}

.pt-tech-section {
    background: var(--gray-dark);
}
.pt-tech-section .pt-section-header h2,
.pt-tech-section .pt-section-header p { color: var(--white); }
.pt-tech-section .pt-section-tag { background: rgba(14,165,233,0.2); color: var(--primary); }
.pt-tech-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}
.pt-tech-cat h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    color: var(--primary);
}
.pt-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.pt-tech-tags span {
    background: rgba(255,255,255,0.05);
    color: var(--gray-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.pt-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-3xl) 0;
}
.pt-cta-inner {
    text-align: center;
}
.pt-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: var(--space-md);
}
.pt-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-xl);
}
.pt-btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}
.pt-cta .pt-btn-primary {
    background: var(--white);
    color: var(--primary-dark);
}
.pt-cta .pt-btn-primary:hover { opacity: 0.95; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pt-tech-categories { grid-template-columns: repeat(3, 1fr); }
    .pt-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pt-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pt-split { grid-template-columns: 1fr; }
    .pt-split-image { order: -1; }
    .pt-services-grid { grid-template-columns: 1fr; }
    .pt-steps { flex-direction: column; }
    .pt-step-arrow { display: none; }
    .pt-tech-categories { grid-template-columns: repeat(2, 1fr); }
    .pt-hero { min-height: 100vh; }
}

/* ========================================
   PERFORMANCE OPTIMIZATION PAGE (po-)
   ======================================== */

.po-hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; }
.po-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.po-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(14,165,233,0.3) 100%); }
.po-hero-content { position: relative; z-index: 2; padding: var(--space-2xl) 0; }
.po-hero-text { max-width: 700px; }
.po-eyebrow { display: inline-block; background: rgba(14,165,233,0.15); color: var(--primary); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-md); }
.po-hero-text h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: var(--space-md); }
.po-highlight { color: var(--primary); }
.po-hero-text p { font-size: 1.15rem; color: var(--gray-light); max-width: 580px; margin-bottom: var(--space-lg); line-height: 1.7; }
.po-hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.po-btn-primary, .po-btn-ghost { display: inline-flex; align-items: center; padding: 0.9rem 1.8rem; font-size: 1rem; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.2s ease; }
.po-btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px 0 rgba(14,165,233,0.4); }
.po-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px 0 rgba(14,165,233,0.5); }
.po-btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.po-btn-ghost:hover { border-color: var(--primary); background: rgba(14,165,233,0.1); }
.po-stats { background: var(--gray-dark); padding: var(--space-xl) 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.po-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.po-stat { text-align: center; }
.po-stat-num { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.3rem; }
.po-stat-label { display: block; font-size: 0.95rem; color: var(--gray-light); font-weight: 500; }
.po-section { padding: var(--space-3xl) 0; }
.po-section-tag { display: inline-block; background: rgba(14,165,233,0.1); color: var(--primary); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-sm); }
.po-section-header { text-align: center; max-width: 700px; margin: 0 auto var(--space-2xl); }
.po-section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: var(--space-md); }
.po-section-header p { font-size: 1.1rem; color: var(--gray-light); }
.po-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.po-split-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: var(--space-md); }
.po-split-text p { font-size: 1.05rem; color: var(--gray-light); line-height: 1.7; margin-bottom: var(--space-lg); }
.po-check-list { list-style: none; padding: 0; }
.po-check-list li { padding-left: 2rem; position: relative; margin-bottom: var(--space-sm); color: var(--dark); line-height: 1.6; }
.po-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 1.2rem; }
.po-split-image img { width: 100%; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.po-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.po-service-card { background: var(--gray-darker); padding: var(--space-xl); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease; }
.po-service-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 8px 30px rgba(14,165,233,0.2); }
.po-service-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.po-service-card h3 { font-size: 1.3rem; margin-bottom: var(--space-sm); color: var(--white); }
.po-service-card p { font-size: 0.95rem; color: var(--gray-light); line-height: 1.6; }
.po-hiw-section { background: var(--gray-darker); }
.po-hiw-section .po-section-header h2,
.po-hiw-section .po-section-header p {
    color: var(--white) !important;
}
.po-hiw-section .po-section-tag {
    background: rgba(14,165,233,0.2);
    color: var(--primary) !important;
}
.po-steps { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-md); margin-bottom: var(--space-lg); }
.po-step { flex: 1; text-align: center; }
.po-step-num { display: inline-block; width: 50px; height: 50px; background: var(--primary); color: var(--white); border-radius: 50%; line-height: 50px; font-weight: 700; font-size: 1.2rem; margin-bottom: var(--space-md); }
.po-step-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: var(--space-md); }
.po-step h3 { font-size: 1.5rem; margin-bottom: var(--space-sm); color: var(--white); }
.po-step p { font-size: 0.95rem; color: var(--gray-light); line-height: 1.6; }
.po-step-arrow { font-size: 2.5rem; color: var(--primary); align-self: center; margin-top: 60px; }
.po-timeline-note { text-align: center; font-size: 0.95rem; color: var(--gray-light); }
.po-timeline-note strong { color: var(--primary); }
.po-tech-section { background: var(--gray-dark); }
.po-tech-section .po-section-header h2,
.po-tech-section .po-section-header p { color: var(--white); }
.po-tech-section .po-section-tag { background: rgba(14,165,233,0.2); color: var(--primary); }
.po-tech-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.po-tech-cat h4 { font-size: 1.1rem; margin-bottom: var(--space-md); color: var(--primary); }
.po-tech-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.po-tech-tags span { background: rgba(255,255,255,0.05); color: var(--gray-light); padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.1); }
.po-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: var(--space-3xl) 0; }
.po-cta-inner { text-align: center; }
.po-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: var(--space-md); }
.po-cta p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: var(--space-xl); }
.po-btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.po-cta .po-btn-primary { background: var(--white); color: var(--primary-dark); }
.po-cta .po-btn-primary:hover { opacity: 0.95; }
@media (max-width: 1024px) { .po-tech-categories { grid-template-columns: repeat(3, 1fr); } .po-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .po-stats-grid { grid-template-columns: repeat(2, 1fr); } .po-split { grid-template-columns: 1fr; } .po-split-image { order: -1; } .po-services-grid { grid-template-columns: 1fr; } .po-steps { flex-direction: column; } .po-step-arrow { display: none; } .po-tech-categories { grid-template-columns: repeat(2, 1fr); } .po-hero { min-height: 100vh; } }

/* ========================================
   END-TO-END MONITORING PAGE (em-)
   ======================================== */

.em-hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; }
.em-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.em-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(14,165,233,0.3) 100%); }
.em-hero-content { position: relative; z-index: 2; padding: var(--space-2xl) 0; }
.em-hero-text { max-width: 700px; }
.em-eyebrow { display: inline-block; background: rgba(14,165,233,0.15); color: var(--primary); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-md); }
.em-hero-text h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: var(--space-md); }
.em-highlight { color: var(--primary); }
.em-hero-text p { font-size: 1.15rem; color: var(--gray-light); max-width: 580px; margin-bottom: var(--space-lg); line-height: 1.7; }
.em-hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.em-btn-primary, .em-btn-ghost { display: inline-flex; align-items: center; padding: 0.9rem 1.8rem; font-size: 1rem; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.2s ease; }
.em-btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px 0 rgba(14,165,233,0.4); }
.em-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px 0 rgba(14,165,233,0.5); }
.em-btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.em-btn-ghost:hover { border-color: var(--primary); background: rgba(14,165,233,0.1); }
.em-stats { background: var(--gray-dark); padding: var(--space-xl) 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.em-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.em-stat { text-align: center; }
.em-stat-num { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.3rem; }
.em-stat-label { display: block; font-size: 0.95rem; color: var(--gray-light); font-weight: 500; }
.em-section { padding: var(--space-3xl) 0; }
.em-section-tag { display: inline-block; background: rgba(14,165,233,0.1); color: var(--primary); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-sm); }
.em-section-header { text-align: center; max-width: 700px; margin: 0 auto var(--space-2xl); }
.em-section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: var(--space-md); }
.em-section-header p { font-size: 1.1rem; color: var(--gray-light); }
.em-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.em-split-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: var(--space-md); }
.em-split-text p { font-size: 1.05rem; color: var(--gray-light); line-height: 1.7; margin-bottom: var(--space-lg); }
.em-check-list { list-style: none; padding: 0; }
.em-check-list li { padding-left: 2rem; position: relative; margin-bottom: var(--space-sm); color: var(--dark); line-height: 1.6; }
.em-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 1.2rem; }
.em-split-image img { width: 100%; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.em-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.em-service-card { background: var(--gray-darker); padding: var(--space-xl); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease; }
.em-service-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 8px 30px rgba(14,165,233,0.2); }
.em-service-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.em-service-card h3 { font-size: 1.3rem; margin-bottom: var(--space-sm); color: var(--white); }
.em-service-card p { font-size: 0.95rem; color: var(--gray-light); line-height: 1.6; }
.em-hiw-section { background: var(--gray-darker); }
.em-hiw-section .em-section-header h2,
.em-hiw-section .em-section-header p {
    color: var(--white) !important;
}
.em-hiw-section .em-section-tag {
    background: rgba(14,165,233,0.2);
    color: var(--primary) !important;
}
.em-steps { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-md); margin-bottom: var(--space-lg); }
.em-step { flex: 1; text-align: center; }
.em-step-num { display: inline-block; width: 50px; height: 50px; background: var(--primary); color: var(--white); border-radius: 50%; line-height: 50px; font-weight: 700; font-size: 1.2rem; margin-bottom: var(--space-md); }
.em-step-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: var(--space-md); }
.em-step h3 { font-size: 1.5rem; margin-bottom: var(--space-sm); color: var(--white); }
.em-step p { font-size: 0.95rem; color: var(--gray-light); line-height: 1.6; }
.em-step-arrow { font-size: 2.5rem; color: var(--primary); align-self: center; margin-top: 60px; }
.em-timeline-note { text-align: center; font-size: 0.95rem; color: var(--gray-light); }
.em-timeline-note strong { color: var(--primary); }
.em-tech-section { background: var(--gray-dark); }
.em-tech-section .em-section-header h2,
.em-tech-section .em-section-header p { color: var(--white); }
.em-tech-section .em-section-tag { background: rgba(14,165,233,0.2); color: var(--primary); }
.em-tech-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.em-tech-cat h4 { font-size: 1.1rem; margin-bottom: var(--space-md); color: var(--primary); }
.em-tech-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.em-tech-tags span { background: rgba(255,255,255,0.05); color: var(--gray-light); padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.1); }
.em-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: var(--space-3xl) 0; }
.em-cta-inner { text-align: center; }
.em-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: var(--space-md); }
.em-cta p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: var(--space-xl); }
.em-btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.em-cta .em-btn-primary { background: var(--white); color: var(--primary-dark); }
.em-cta .em-btn-primary:hover { opacity: 0.95; }
@media (max-width: 1024px) { .em-tech-categories { grid-template-columns: repeat(3, 1fr); } .em-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .em-stats-grid { grid-template-columns: repeat(2, 1fr); } .em-split { grid-template-columns: 1fr; } .em-split-image { order: -1; } .em-services-grid { grid-template-columns: 1fr; } .em-steps { flex-direction: column; } .em-step-arrow { display: none; } .em-tech-categories { grid-template-columns: repeat(2, 1fr); } .em-hero { min-height: 100vh; } }

/* ========================================
   ABOUT US PAGE (au-)
   ======================================== */

.au-hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; }
.au-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.au-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(14,165,233,0.3) 100%); }
.au-hero-content { position: relative; z-index: 2; padding: var(--space-2xl) 0; }
.au-hero-text { max-width: 700px; }
.au-eyebrow { display: inline-block; background: rgba(14,165,233,0.15); color: var(--primary); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-md); }
.au-hero-text h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: var(--space-md); }
.au-highlight { color: var(--primary); }
.au-hero-text p { font-size: 1.15rem; color: var(--gray-light); max-width: 580px; margin-bottom: var(--space-lg); line-height: 1.7; }
.au-hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.au-btn-primary, .au-btn-ghost { display: inline-flex; align-items: center; padding: 0.9rem 1.8rem; font-size: 1rem; font-weight: 600; border-radius: 8px; text-decoration: none; transition: all 0.2s ease; }
.au-btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px 0 rgba(14,165,233,0.4); }
.au-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px 0 rgba(14,165,233,0.5); }
.au-btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.au-btn-ghost:hover { border-color: var(--primary); background: rgba(14,165,233,0.1); }

.au-intro { background: var(--gray-dark); padding: var(--space-3xl) 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.au-intro-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.au-intro-inner h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: var(--space-lg); color: var(--white); }
.au-intro-inner p { font-size: 1.1rem; color: var(--white); line-height: 1.7; margin-bottom: var(--space-md); }

.au-section { padding: var(--space-3xl) 0; }
.au-section-tag { display: inline-block; background: rgba(14,165,233,0.1); color: var(--primary); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-sm); }
.au-section-header { text-align: center; max-width: 700px; margin: 0 auto var(--space-2xl); }
.au-section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: var(--space-md); }
.au-section-header p { font-size: 1.1rem; color: var(--gray-light); }

.au-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.au-split-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: var(--space-md); }
.au-split-text p { font-size: 1.05rem; color: var(--gray-light); line-height: 1.7; margin-bottom: var(--space-md); }
.au-check-list { list-style: none; padding: 0; margin-top: var(--space-lg); }
.au-check-list li { padding-left: 2rem; position: relative; margin-bottom: var(--space-sm); color: var(--dark); line-height: 1.6; }
.au-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 1.2rem; }
.au-split-image img { width: 100%; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.3); }

.au-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.au-service-card { background: var(--gray-darker); padding: var(--space-xl); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s ease; }
.au-service-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 8px 30px rgba(14,165,233,0.2); }
.au-service-icon { font-size: 3rem; margin-bottom: var(--space-md); }
.au-service-card h3 { font-size: 1.5rem; margin-bottom: var(--space-sm); color: var(--white); }
.au-service-card p { font-size: 0.95rem; color: var(--gray-light); line-height: 1.6; margin-bottom: var(--space-md); }
.au-service-link { display: inline-block; color: var(--primary); font-weight: 600; text-decoration: none; transition: all 0.2s ease; }
.au-service-link:hover { color: var(--white); transform: translateX(4px); }

.au-hiw-section { background: var(--gray-darker); }
.au-steps { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-md); margin-bottom: var(--space-lg); }
.au-step { flex: 1; text-align: center; }
.au-step-num { display: inline-block; width: 50px; height: 50px; background: var(--primary); color: var(--white); border-radius: 50%; line-height: 50px; font-weight: 700; font-size: 1.2rem; margin-bottom: var(--space-md); }
.au-step-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: var(--space-md); }
.au-step h3 { font-size: 1.5rem; margin-bottom: var(--space-sm); color: var(--white); }
.au-step p { font-size: 0.95rem; color: var(--gray-light); line-height: 1.6; }
.au-step-arrow { font-size: 2.5rem; color: var(--primary); align-self: center; margin-top: 60px; }

.au-values-section { background: var(--gray-dark); }
.au-values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.au-value-card { background: rgba(255,255,255,0.03); padding: var(--space-xl); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.au-value-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.au-value-card h4 { font-size: 1.3rem; margin-bottom: var(--space-sm); color: var(--white); }
.au-value-card p { font-size: 0.95rem; color: var(--gray-light); line-height: 1.6; }

.au-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: var(--space-3xl) 0; }
.au-cta-inner { text-align: center; }
.au-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: var(--space-md); }
.au-cta p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: var(--space-xl); }
.au-btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.au-cta .au-btn-primary { background: var(--white); color: var(--primary-dark); }
.au-cta .au-btn-primary:hover { opacity: 0.95; }

@media (max-width: 1024px) { .au-services-grid { grid-template-columns: repeat(2, 1fr); } .au-values-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .au-split { grid-template-columns: 1fr; } .au-split-image { order: -1; } .au-services-grid { grid-template-columns: 1fr; } .au-steps { flex-direction: column; } .au-step-arrow { display: none; } .au-hero { min-height: 100vh; } }

/* ========================================
   CONTACT US PAGE (cu-)
   ======================================== */

.cu-hero { background: linear-gradient(135deg, var(--gray-dark) 0%, var(--gray-darker) 100%); padding: var(--space-3xl) 0; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.cu-hero-content { max-width: 700px; margin: 0 auto; }
.cu-eyebrow { display: inline-block; background: rgba(14,165,233,0.15); color: var(--primary); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: var(--space-md); }
.cu-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: var(--space-md); }
.cu-hero p { font-size: 1.15rem; color: var(--gray-light); line-height: 1.7; }

.cu-form-section { padding: var(--space-3xl) 0; background: var(--bg); }
.cu-form-wrapper { max-width: 700px; margin: 0 auto; }
.cu-form-intro { text-align: center; margin-bottom: var(--space-2xl); }
.cu-form-intro h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: var(--space-sm); }
.cu-form-intro p { font-size: 1.05rem; color: #334155; }

.cu-contact-form { background: var(--gray-darker); padding: var(--space-2xl); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.cu-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.cu-form-group { margin-bottom: var(--space-lg); }
.cu-form-group label { display: block; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; font-size: 0.95rem; }
.cu-form-group input, .cu-form-group textarea { width: 100%; padding: 0.9rem 1.2rem; background: var(--gray-dark); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; color: var(--white); font-size: 1rem; font-family: inherit; transition: all 0.2s ease; }
.cu-form-group input:focus, .cu-form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }
.cu-form-group input::placeholder, .cu-form-group textarea::placeholder { color: var(--gray-light); opacity: 0.6; }
.cu-form-group textarea { resize: vertical; min-height: 140px; }

.cu-btn-submit { width: 100%; padding: 1rem 2rem; background: var(--primary); color: var(--white); font-size: 1.05rem; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 4px 14px 0 rgba(14,165,233,0.4); }
.cu-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px 0 rgba(14,165,233,0.5); }

.cu-info-section { padding: var(--space-3xl) 0; background: var(--gray-darker); }
.cu-section-header { text-align: center; max-width: 700px; margin: 0 auto var(--space-2xl); }
.cu-section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: var(--space-sm); color: var(--white); }
.cu-section-header p { font-size: 1.05rem; color: var(--gray-light); }

.cu-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.cu-info-card { background: var(--gray-dark); padding: var(--space-xl); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); text-align: center; }
.cu-info-icon { font-size: 3rem; margin-bottom: var(--space-md); }
.cu-info-card h3 { font-size: 1.3rem; margin-bottom: var(--space-sm); color: var(--white); }
.cu-info-card p { font-size: 0.95rem; color: var(--gray-light); margin-bottom: var(--space-sm); }
.cu-info-link { display: inline-block; color: var(--primary); font-weight: 600; text-decoration: none; transition: all 0.2s ease; }
.cu-info-link:hover { color: var(--white); }
.cu-info-detail { font-size: 0.9rem; color: var(--gray-light); font-style: italic; }

.cu-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: var(--space-3xl) 0; }
.cu-cta-inner { text-align: center; }
.cu-cta h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--white); margin-bottom: var(--space-md); }
.cu-cta p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: var(--space-xl); }
.cu-btn-primary { display: inline-flex; align-items: center; padding: 0.9rem 1.8rem; font-size: 1rem; font-weight: 600; border-radius: 8px; text-decoration: none; background: var(--white); color: var(--primary-dark); transition: all 0.2s ease; }
.cu-btn-primary:hover { opacity: 0.95; transform: translateY(-2px); }
.cu-btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

@media (max-width: 768px) { .cu-form-row { grid-template-columns: 1fr; } .cu-info-grid { grid-template-columns: 1fr; } }


/* ======================================== */
/* INNER PAGES                              */
/* ======================================== */

.page-hero {
    background: var(--dark);
    padding: var(--space-xl) 0 var(--space-lg);
    margin-top: 70px; /* clear fixed navbar */
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: var(--space-sm);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.content-section {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.content-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

/* Gutenberg block content typography */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    margin-top: var(--space-lg);
}

.content-wrapper h2 { font-size: 1.8rem; }
.content-wrapper h3 { font-size: 1.35rem; }
.content-wrapper h4 { font-size: 1.1rem; }

.content-wrapper p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.content-wrapper a {
    color: var(--primary);
    text-decoration: none;
}

.content-wrapper a:hover { text-decoration: underline; }

.content-wrapper ul,
.content-wrapper ol {
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--gray);
    line-height: 1.8;
}

.content-wrapper li { margin-bottom: 0.4rem; }

.content-wrapper strong { color: var(--dark); }

.content-wrapper blockquote {
    border-left: 4px solid var(--primary);
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-lg) 0;
    background: var(--light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--dark);
    font-style: italic;
}

/* Gutenberg color palette class mappings */
.has-primary-color          { color: var(--primary) !important; }
.has-secondary-color        { color: var(--secondary) !important; }
.has-dark-color             { color: var(--dark) !important; }
.has-gray-color             { color: var(--gray) !important; }
.has-white-color            { color: var(--white) !important; }

.has-primary-background-color       { background-color: var(--primary) !important; }
.has-secondary-background-color     { background-color: var(--secondary) !important; }
.has-dark-background-color          { background-color: var(--dark) !important; }
.has-dark-light-background-color    { background-color: var(--dark-light) !important; }
.has-light-background-color         { background-color: var(--light) !important; }
.has-white-background-color         { background-color: var(--white) !important; }


/* =====================================================
   PAGE-SPECIFIC COLOR OVERRIDES
   Only override elements that sit on the WHITE body
   background. Do NOT override text inside dark-background
   cards/sections (service-card, au-intro, hiw, tech, stats).
   ===================================================== */

/* --- End-to-End Monitoring (em-) --- */
.em-section-header p  { color: #334155; }   /* white services section */
.em-split-text p      { color: #1e293b; }   /* white ai-advantage section */
/* em-service-card is gray-darker — keep existing light text */

/* --- Performance Optimization (po-) --- */
.po-section-header p  { color: #334155; }   /* white services section */
.po-split-text p      { color: #1e293b; }   /* white ai-advantage section */
/* po-service-card is gray-darker — keep existing light text */

/* --- Performance Testing (pt-) --- */
.pt-section-header p  { color: #334155; }   /* white services section */
.pt-split-text p      { color: #1e293b; }   /* white ai-advantage section */
/* pt-service-card is gray-darker — keep existing light text */

/* --- About Us (au-) --- */
/* White-background sections: darken paragraph text so it's readable */
.au-services-section .au-section-header p,
.au-team-section .au-section-header p     { color: var(--gray); }       /* #64748b — readable on white */

/* White-background sections: darken h2 so it's not too faint */
.au-services-section .au-section-header h2,
.au-team-section .au-section-header h2    { color: var(--dark); }       /* #0f172a — strong on white */

/* Dark sections: force h2/p white so it's visible on dark backgrounds */
.au-hiw-section .au-section-header h2,
.au-hiw-section .au-section-header p,
.au-values-section .au-section-header h2,
.au-values-section .au-section-header p { color: var(--white) !important; }

/* au-split-text is inside dark au-intro — keep existing light text */
/* au-service-card is gray-darker — keep existing light text */

/* =====================================================
   DARK-SECTION HEADING COLOR FIXES
   Headings in dark-background tiles/sections inherit
   body color (var(--dark) = #0f172a) — force white.
   ===================================================== */

/* Service cards (background: var(--gray-darker)) */
.em-service-card h3,
.po-service-card h3,
.pt-service-card h3,
.au-service-card h3  { color: var(--white); }

/* How It Works steps (dark hiw-section backgrounds) */
.em-step h3,
.po-step h3,
.pt-step h3,
.au-step h3          { color: var(--white); }

/* About Us intro (background: var(--gray-dark)) */
.au-intro-inner h2   { color: var(--white); }

/* Contact Us info section (background: var(--gray-darker)) */
.cu-section-header h2 { color: var(--white); }
.cu-info-card h3      { color: var(--white); }

/* au-intro body text — bump to white for readability on dark bg */
.au-intro-inner p { color: var(--white); }

/* cu-form-intro p — light bg section, text too light */
.cu-form-intro p { color: #334155; }
