/* ==========================================================================
   TSA Works Global Stylesheet
   Built to Connect - Telecom, DAS & Fiber Infrastructure
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - TSA Works Logo Signature Theme */
    --bg-darker: #ffffff;             /* Main background */
    --bg-dark: #f8fafc;               /* Light grey-slate background for sections & cards */
    --bg-light: #e2e8f0;              /* Border and layout grey-slate */
    --bg-glass: rgba(255, 255, 255, 0.85); /* Frosted glass white */
    --bg-glass-hover: rgba(241, 245, 249, 0.95);
    --border-glass: rgba(15, 23, 42, 0.08); /* Dark subtle border for glass */
    --border-glass-bright: rgba(14, 50, 86, 0.25); /* Soft logo navy border */
    
    --color-cyan: #0e3256;            /* Exact TSA Works Logo Primary Navy */
    --color-blue: #09223c;            /* Exact TSA Works Logo Dark Navy */
    --color-cyan-glow: rgba(14, 50, 86, 0.22);
    
    --text-main: #334155;             /* slate-700 primary body text */
    --text-muted: #64748b;            /* slate-500 secondary body text */
    --text-dark: #0e3256;             /* TSA Works Logo Navy heading color */
    --text-white: #0e3256;            /* Map headings and active highlights to logo navy */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0e3256 0%, #193b5d 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Layout & Spacing */
    --container-width: 1440px;
    --header-height: 105px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-glow: 0 0 20px var(--color-cyan-glow);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05); /* Soft premium light shadow */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darker);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 114, 255, 0.015) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 78, 204, 0.015) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark); /* Ensure headings are dark for high contrast */
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
}

/* Reusable Components */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    display: inline-block;
}

.highlight-subtitle {
    background: rgba(0, 114, 255, 0.08);
    border: 1px solid rgba(0, 114, 255, 0.25);
    padding: 8px 20px;
    border-radius: 50px;
    color: #0072FF !important;
    -webkit-text-fill-color: #0072FF !important;
    font-weight: 700;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.highlight-subtitle i {
    font-size: 0.95rem;
    color: #0072FF;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-white);
}

.section-title-large {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.section-title-large span {
    color: #0052cc;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #0052cc;
    font-weight: 800;
}

.section-desc-lead {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 500;
    color: #0f172a;
    max-width: 820px;
    margin: 0 auto 36px auto;
    line-height: 1.7;
    letter-spacing: 0.1px;
}

.section-desc-lead .lead-highlight {
    color: #0052cc;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 201, 255, 0.4);
    color: var(--bg-darker);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-white);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--color-cyan);
    transform: translateY(-2px);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glass-bright);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 201, 255, 0.1);
}

/* Crisp White Header / Nav */
.header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1.5px solid rgba(0, 114, 255, 0.12);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: #ffffff;
    height: 72px;
    box-shadow: 0 6px 25px rgba(15, 23, 42, 0.08);
}

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

.nav-linkedin-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 114, 255, 0.08);
    border: 1.5px solid rgba(0, 114, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0072FF;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.nav-linkedin-btn:hover {
    background: #0077b5;
    color: #ffffff;
    border-color: #0077b5;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 119, 181, 0.35);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.logo-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    border: none;
    box-shadow: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects for Logo Container */
.logo-wrap:hover .logo-container {
    background: transparent;
    box-shadow: none;
    transform: translateY(-1px);
}

.logo-img {
    height: 78px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease, height 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.logo-wrap:hover .logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 6px 16px rgba(0, 114, 255, 0.28));
}

.header.scrolled .logo-img {
    height: 64px;
}

/* Keyframe Animations for Logo */
@keyframes logoShimmer {
    0% {
        left: -80%;
    }
    25%, 100% {
        left: 150%;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    color: #0f172a !important;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: #0052cc !important;
    font-weight: 700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0052cc 0%, #0072ff 100%);
    border-radius: 2px;
    transition: width 0.25s ease;
}

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

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff !important;
    border: 1.5px solid rgba(0, 82, 204, 0.16) !important;
    border-radius: 12px;
    list-style: none;
    padding: 10px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12) !important;
    z-index: 1010 !important;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 22px;
    font-size: 0.88rem;
    color: #0f172a !important;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(0, 82, 204, 0.08) !important;
    color: #0052cc !important;
    padding-left: 28px;
    font-weight: 600;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(255, 255, 255, 0.01);
        border: none;
        border-left: 2px solid var(--border-glass);
        margin-top: 10px;
        padding: 5px 0;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        display: none;
        flex-direction: column;
    }
    .dropdown.open .dropdown-menu {
        display: flex;
    }
    .dropdown-item {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

/* Compact Edge-to-Edge Panoramic Hero Banner */
.hero-wide-banner {
    position: relative;
    padding-top: calc(var(--header-height) + 25px);
    padding-bottom: 35px;
    min-height: 350px;
    max-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero_fullscreen_telecom.png');
    background-repeat: no-repeat;
    background-position: center 30%;
    background-size: cover;
    z-index: 1;
    opacity: 0.95;
    transition: opacity 0.4s ease;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(14, 50, 86, 0.95) 0%,
        rgba(29, 42, 61, 0.92) 50%,
        rgba(9, 34, 60, 0.96) 100%
    );
    z-index: 2;
}

.hero-content-wrap {
    position: relative;
    z-index: 3;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    padding: 24px 28px;
    background: rgba(14, 50, 86, 0.35);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(14, 50, 86, 0.4);
    backdrop-filter: blur(10px);
}

.hero-content-wrap .hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-content-wrap .hero-title span {
    color: #ffffff;
    background: rgba(14, 50, 86, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3px 14px;
    border-radius: 12px;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-content-wrap .hero-desc {
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 840px;
    margin: 0 auto 24px auto;
    color: #f1f5f9;
    line-height: 1.6;
    letter-spacing: 0.1px;
}

.hero-content-wrap .hero-desc .hero-highlight {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
}

.hero-content-wrap .hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Integrated Wide Capabilities Bar */
.hero-capabilities-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    border-top: 1.5px solid rgba(0, 114, 255, 0.15);
    padding-top: 30px;
    text-align: left;
    max-width: 680px;
    margin: 0 auto;
}

.capability-node {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 114, 255, 0.18);
    padding: 14px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.capability-node:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 114, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0, 114, 255, 0.18);
    background: #ffffff;
}

.capability-node i {
    font-size: 1.35rem;
    color: #0072FF;
    background: rgba(0, 114, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.capability-node strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
}

.capability-node span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* 5 Cs Framework / Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pillars-grid .pillar-card {
    background: var(--gradient-card);
    border: 1.5px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 30px 18px;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease, opacity 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Scroll Reveal Animation for 01-05 Grid Cards */
.pillars-grid .pillar-card.reveal {
    opacity: 0;
    transform: translateY(35px) scale(0.94);
}

.pillars-grid .pillar-card.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 3D Revolving Door Stage Framework */
.section-revolving-pillars {
    overflow: visible;
    padding: 70px 0 90px 0;
}

.revolving-stage-container {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 30px auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    padding: 40px 60px;
}

.revolving-door-stage {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.revolving-card {
    position: absolute;
    width: 310px;
    min-height: 330px;
    background: #ffffff;
    border-radius: 24px;
    padding: 34px 26px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1.5px solid rgba(0, 114, 255, 0.14);
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.65s ease, box-shadow 0.65s ease, border-color 0.65s ease, filter 0.65s ease;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Active Revolving Card (Front & Center Highlighted) */
.revolving-card.active {
    transform: translateX(0) translateZ(120px) rotateY(0deg) scale(1.08);
    z-index: 10;
    opacity: 1;
    border-color: #0052cc;
    box-shadow: 0 25px 60px rgba(0, 82, 204, 0.28), 0 0 35px rgba(0, 114, 255, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    filter: brightness(1);
}

.revolving-card.selected {
    outline: 3px solid rgba(0, 82, 204, 0.22);
    outline-offset: 6px;
}

.revolving-card.active .pillar-num {
    opacity: 1;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #0052cc 0%, #0072ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.revolving-card.active .pillar-badge {
    background: linear-gradient(135deg, #0052cc 0%, #004ecc 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
    border-color: transparent;
}

/* Split Sides in Background (3D Perspective Fan Layout - Positive Z for 100% Click Hit-Testing) */
.revolving-card.left-1 {
    transform: translateX(-190px) translateZ(40px) rotateY(18deg) scale(0.88);
    z-index: 6;
    opacity: 0.9;
    filter: brightness(0.96);
}

.revolving-card.right-1 {
    transform: translateX(190px) translateZ(40px) rotateY(-18deg) scale(0.88);
    z-index: 6;
    opacity: 0.9;
    filter: brightness(0.96);
}

.revolving-card.left-2 {
    transform: translateX(-350px) translateZ(10px) rotateY(28deg) scale(0.76);
    z-index: 3;
    opacity: 0.75;
    filter: brightness(0.88);
}

.revolving-card.right-2 {
    transform: translateX(350px) translateZ(10px) rotateY(-28deg) scale(0.76);
    z-index: 3;
    opacity: 0.75;
    filter: brightness(0.88);
}

.revolving-card.hidden {
    transform: translateX(0) translateZ(-300px) scale(0.5);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

/* Revolving Navigation Arrows */
.revolving-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(0, 82, 204, 0.25);
    color: #0052cc;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.revolving-nav-btn:hover {
    background: #0052cc;
    color: #ffffff;
    border-color: #0052cc;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 32px rgba(0, 82, 204, 0.4);
}

.revolving-nav-btn.prev-btn {
    left: 0px;
}

.revolving-nav-btn.next-btn {
    right: 0px;
}

.pillar-card:hover .pillar-num {
    opacity: 1;
}

.pillar-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.45;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pillar-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.pillar-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-cyan);
    border: 1px solid var(--border-glass-bright);
    background: rgba(0, 201, 255, 0.05);
    padding: 3px 10px;
    border-radius: 30px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pillar-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.service-card {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
    opacity: 1;
}

body.js-loaded .service-card.reveal:not(.active) {
    opacity: 0;
    transform: translateY(30px);
}

body.js-loaded .service-card.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    border-color: rgba(0, 114, 255, 0.28);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 201, 255, 0.06);
    border: 1px solid var(--border-glass-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-cyan);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--bg-darker);
    box-shadow: var(--shadow-glow);
    transform: rotate(10deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    color: var(--color-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Detail Service Page Cards */
.detailed-services-wrap {
    display: flex;
    flex-direction: column;
    gap: 88px;
}

.detailed-service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 32px;
    padding: 36px 40px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detailed-service-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #0052cc 0%, #0072ff 100%);
    border-radius: 0 10px 10px 0;
    transition: transform 0.3s ease;
}

.detailed-service-item:nth-child(even)::before {
    inset: 0 0 0 auto;
    border-radius: 10px 0 0 10px;
}

.detailed-service-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 16px;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 82, 204, 0.16) 50%, transparent 100%);
    transform: translateX(-50%) scaleX(0.7);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.detailed-service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08);
}

.detailed-service-item:hover::before {
    transform: scaleY(1.02);
}

.detailed-service-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.detailed-service-item:nth-child(even) {
    direction: rtl;
}

.detailed-service-item:nth-child(even) .detailed-service-content {
    direction: ltr;
}

.detailed-service-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.detailed-service-item:nth-child(even) .detailed-service-content h3 {
    text-align: right;
}

.detailed-service-content .desc-lead {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.detailed-service-content .desc-body {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.sub-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-services-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 14px;
    padding: 12px 14px;
}

.sub-services-list i {
    color: var(--color-cyan);
    margin-top: 5px;
    flex-shrink: 0;
}

.sub-services-list h4 {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 4px;
}

.sub-services-list p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detailed-service-visual {
    position: relative;
}

.detailed-service-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.detailed-service-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(110deg, transparent 0%, rgba(0, 114, 255, 0.08) 45%, transparent 100%);
    transform: translateX(-140%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.detailed-service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 114, 255, 0.2);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.detailed-service-card:hover::before {
    transform: translateX(140%);
}

.detailed-service-card img {
    border-radius: 18px;
    width: 100%;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.detailed-service-card:hover img {
    transform: scale(1.03);
    filter: saturate(1.05);
}

/* Call to Action */
.cta {
    position: relative;
    overflow: hidden;
}

.cta-wrap {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: var(--gradient-primary);
    filter: blur(120px);
    opacity: 0.1;
    z-index: 1;
}

/* Option 6 Background Integration - Services & Capabilities Section */
.section-services-bg {
    position: relative;
    background: url('telecom_option_6.png') center/cover fixed no-repeat;
    padding: 90px 0;
    overflow: hidden;
}

.section-services-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.93) 0%,
        rgba(241, 245, 249, 0.88) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.section-services-bg .container {
    position: relative;
    z-index: 2;
}

.section-services-bg .service-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid rgba(0, 114, 255, 0.22);
    box-shadow: 0 15px 40px rgba(0, 114, 255, 0.12), 0 4px 15px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.section-services-bg .service-card:hover {
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(0, 114, 255, 0.25);
    border-color: rgba(0, 114, 255, 0.5);
    transform: translateY(-6px);
}

/* Option 7 Background Integration - Heroic Tower Rigger CTA Banner */
.cta-banner-bg {
    position: relative;
    background: url('telecom_option_7.png') center/cover no-repeat;
    padding: 110px 0;
    overflow: hidden;
}

.cta-banner-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(0, 78, 204, 0.86) 100%
    );
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
}

.cta-banner-bg .container {
    position: relative;
    z-index: 2;
}

.cta-banner-bg .cta-wrap h2 {
    color: #ffffff;
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cta-banner-bg .cta-wrap p {
    color: #f1f5f9;
    font-size: 1.25rem;
    max-width: 740px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 201, 255, 0.4);
}

/* Info Banner / Highlights */
.highlights-bar {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 40px 0;
}

.highlights-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.highlight-item h3 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.highlight-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Client logos slider */
.slider-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-darker);
    overflow: hidden;
}

.slider-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.slider-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    position: relative;
    width: 100%;
}

.slider-container::before, .slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-darker), transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-darker), transparent);
}

.slider-track {
    display: flex;
    gap: 25px;
    animation: scroll 35s linear infinite;
    width: max-content;
    align-items: center;
}

.slider-item {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
}

.slider-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 114, 255, 0.2);
    background: #ffffff;
}

.slider-item i {
    font-size: 1.15rem;
}

/* Distinct Partner Brand Colors */
.partner-telstra {
    color: #0052CC !important;
    border: 1.5px solid rgba(0, 82, 204, 0.3);
}

.partner-optus {
    color: #00A896 !important;
    border: 1.5px solid rgba(0, 168, 150, 0.3);
}

.partner-tpg {
    color: #9D4EDD !important;
    border: 1.5px solid rgba(157, 78, 221, 0.3);
}

.partner-vodafone {
    color: #E63946 !important;
    border: 1.5px solid rgba(230, 57, 70, 0.3);
}

.partner-nbn {
    color: #0096C7 !important;
    border: 1.5px solid rgba(0, 150, 199, 0.3);
}

.partner-amplitel {
    color: #4338CA !important;
    border: 1.5px solid rgba(67, 56, 202, 0.3);
}

.partner-nokia {
    color: #1D4ED8 !important;
    border: 1.5px solid rgba(29, 78, 216, 0.3);
}

.partner-ericsson {
    color: #2563EB !important;
    border: 1.5px solid rgba(37, 99, 235, 0.3);
}

.partner-commscope {
    color: #EA580C !important;
    border: 1.5px solid rgba(234, 88, 12, 0.3);
}

.partner-nextivity {
    color: #059669 !important;
    border: 1.5px solid rgba(5, 150, 105, 0.3);
}

/* About Us Section specifics */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-bullets {
    list-style: none;
    margin-top: 30px;
}

.about-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.about-bullets i {
    color: var(--color-cyan);
    font-size: 1.2rem;
    margin-top: 4px;
}

.about-bullets h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 6px;
}

.about-bullets p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ISO Standards badges */
.iso-wrap {
    margin-top: 40px;
}

.iso-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

.iso-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.iso-card:hover {
    border-color: var(--color-cyan);
    background: rgba(0, 114, 255, 0.05);
}

.iso-icon {
    font-size: 1.8rem;
    color: var(--color-cyan);
    margin-bottom: 12px;
}

.iso-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.iso-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Projects details */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    height: 380px;
    box-shadow: var(--shadow-card);
}

.project-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.project-item:hover .project-bg {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.project-item h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.project-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Details & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    padding: 34px 34px 28px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.contact-panel h3,
.contact-panel .section-subtitle {
    color: #0f172a;
}

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

.contact-panel .form-control {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.contact-panel .btn-primary {
    width: 100%;
    padding: 16px 0;
    font-size: 1rem;
}

.contact-panel .form-label {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-panel .section-subtitle {
    color: #0052cc;
    font-weight: 700;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 18px 18px 18px 16px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
}

.contact-info-text h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.offices-wrap {
    margin-top: 12px;
}

.offices-wrap h3 {
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.office-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.office-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0;
}

.office-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.office-card .map-link {
    margin-top: 8px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background: rgba(0, 201, 255, 0.05);
    border: 1px solid var(--border-glass-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    font-size: 1.2rem;
}

.contact-info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.offices-wrap h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.office-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.office-card .map-link {
    font-size: 0.92rem;
    color: var(--color-cyan);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.25s ease, transform 0.25s ease;
}

.office-card .map-link:hover {
    color: #003db3;
    transform: translateX(2px);
}

.office-card h4 {
    font-size: 1.1rem;
    color: var(--color-cyan);
    margin-bottom: 8px;
}

.office-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--bg-light);
    color: var(--text-dark);
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 114, 255, 0.1);
}

textarea.form-control {
    resize: none;
    height: 150px;
}

.form-alert {
    display: none;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-alert.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
}

.form-alert.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

/* Footer Section */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    display: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.1fr 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 20px;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form .form-control {
    padding: 10px 16px;
    font-size: 0.85rem;
}

.newsletter-form .btn {
    padding: 10px 16px;
}

/* Footer Acknowledgement of Country & Scroll to Top */
.footer-acknowledgement {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.footer-acknowledgement p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

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

.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 114, 255, 0.08);
    border: 1.5px solid rgba(0, 114, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0072FF;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.footer-social-btn:hover {
    background: linear-gradient(135deg, #0072FF 0%, #0072ff 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.scroll-top-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0072FF 0%, #004ecc 100%);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.35), 0 0 12px rgba(0, 201, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}

.scroll-top-btn i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #0072ff 0%, #0072FF 100%);
    box-shadow: 0 10px 28px rgba(0, 201, 255, 0.5), 0 0 20px rgba(0, 114, 255, 0.4);
    transform: translateY(-4px) scale(1.08);
}

.scroll-top-btn:hover i {
    animation: arrowBounce 1.2s infinite ease-in-out;
}

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

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 201, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 201, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 201, 255, 0); }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 30px)); }
}

/* Scroll Animation classes - Safety Fallback */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-loaded .reveal:not(.active) {
    opacity: 0;
    transform: translateY(30px);
}

body.js-loaded .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services-grid, .projects-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .section {
        padding: 60px 0;
    }
    .hero-grid, .about-grid, .detailed-service-item, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .detailed-service-item:nth-child(even) {
        direction: ltr;
    }
    .hero-visual {
        height: auto;
        order: -1;
    }
    .hero-image-container {
        transform: none !important;
        margin: 0 auto;
    }
    .badge-top-right {
        top: -12px;
        right: 0px;
    }
    .badge-bottom-left {
        bottom: -12px;
        left: 0px;
    }
    .badge-top-left {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        transition: var(--transition-smooth);
        z-index: 999;
        gap: 40px;
        border-top: 1px solid var(--border-glass);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-toggle {
        display: block;
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid, .projects-gallery, .highlights-container, .offices-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Core Values Option C: 5-Pillar Interactive Expanding Accordion Layout
   ========================================================================== */
.values-pillars-flex {
    display: flex;
    gap: 20px;
    max-width: 1140px;
    margin: 0 auto;
    min-height: 440px;
    align-items: stretch;
}

.value-pillar-card {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid rgba(0, 82, 204, 0.14);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.value-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0052cc 0%, #0072ff 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.value-pillar-card:hover {
    border-color: rgba(0, 82, 204, 0.35);
    box-shadow: 0 14px 36px rgba(0, 82, 204, 0.12);
}

.value-pillar-card.active {
    flex: 2.4;
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
    border-color: #0052cc;
    box-shadow: 0 18px 45px rgba(0, 82, 204, 0.18);
}

.value-pillar-card.active::before {
    opacity: 1;
}

.pillar-number-bg {
    position: absolute;
    bottom: -15px;
    right: -10px;
    font-family: var(--font-heading);
    font-size: 6.5rem;
    font-weight: 900;
    color: rgba(0, 82, 204, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.35s ease;
}

.value-pillar-card.active .pillar-number-bg {
    color: rgba(0, 82, 204, 0.09);
}

.pillar-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.pillar-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 82, 204, 0.08);
    color: #0052cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
    flex-shrink: 0;
}

.value-pillar-card.active .pillar-icon-box {
    background: #0052cc;
    color: #ffffff;
    transform: scale(1.08);
}

.pillar-badge {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: #0052cc;
    background: rgba(0, 82, 204, 0.06);
    border: 1px solid rgba(0, 82, 204, 0.15);
    padding: 3px 10px;
    border-radius: 12px;
    width: fit-content;
}

.value-pillar-card.active .pillar-badge {
    background: #0052cc;
    color: #ffffff;
    border-color: #0052cc;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.value-pillar-card.active .pillar-title {
    font-size: 1.45rem;
    color: #0f172a;
}

.pillar-content {
    margin-top: 20px;
    position: relative;
    z-index: 2;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease 0.1s, max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-pillar-card.active .pillar-content {
    opacity: 1;
    max-height: 300px;
}

.pillar-category-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0052cc;
    background: rgba(0, 82, 204, 0.06);
    border: 1px solid rgba(0, 82, 204, 0.16);
    padding: 4px 12px;
    border-radius: 16px;
    margin-bottom: 12px;
}

.pillar-desc {
    font-size: 0.94rem;
    color: #334155;
    line-height: 1.65;
    margin-bottom: 16px;
}

.pillar-key-point {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(0, 82, 204, 0.12);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.pillar-key-point i {
    color: #0052cc;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Responsive Rules for Option C Pillars & Mobile Optimization */
@media (max-width: 992px) {
    .values-pillars-flex {
        flex-direction: column;
        min-height: auto;
        gap: 12px;
    }

    .value-pillar-card {
        flex: none !important;
        padding: 20px 18px;
        border-radius: 16px;
    }

    .value-pillar-card.active {
        padding: 22px 20px;
    }

    .value-pillar-card.active .pillar-content {
        max-height: 450px;
    }

    .pillar-number-bg {
        font-size: 3.5rem;
        bottom: -5px;
        right: 8px;
        opacity: 0.7;
    }

    .pillar-title {
        font-size: 1.15rem;
    }

    .value-pillar-card.active .pillar-title {
        font-size: 1.25rem;
    }

    /* Detailed Service Items & Images */
    .detailed-service-item {
        margin-bottom: 45px !important;
    }

    .detailed-service-visual img {
        height: 250px !important;
        border-radius: 16px !important;
    }
}

/* Mobile Screen Scaling (Phones & Tablets) */
@media (max-width: 768px) {
    /* Mobile Hero Scaling */
    .hero {
        padding: 110px 0 50px 0 !important;
        min-height: auto !important;
    }

    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.28 !important;
        margin-bottom: 14px !important;
    }

    .hero-desc {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
        margin-bottom: 24px !important;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

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

    /* Section Headings & Padding */
    .section {
        padding: 45px 0 !important;
    }

    .section-title, .section-title-large {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }

    .section-desc-lead {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .section-title-wrap {
        margin-bottom: 30px !important;
    }

    /* Who We Work With Grid Mobile Scaling */
    .who-we-work-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-bottom: 30px !important;
    }

    .audience-card {
        padding: 20px 18px !important;
        border-radius: 14px !important;
    }

    .audience-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .audience-card p {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }

    /* Detailed Service Cards (Home Page) */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .service-card {
        padding: 24px 20px !important;
    }

    /* Detailed Services Images (Services Page) */
    .detailed-service-visual img {
        height: 210px !important;
        border-radius: 14px !important;
    }

    .detailed-service-content h3 {
        font-size: 1.5rem !important;
    }
}

/* Background Image Cards (Distortion-Free Scaling on Mobile) */
.detailed-service-card, .about-img-bg-card {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    transition: transform 0.3s ease;
}

@media (max-width: 992px) {
    .detailed-service-card, .about-img-bg-card {
        min-height: 260px !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 576px) {
    .detailed-service-card, .about-img-bg-card {
        min-height: 220px !important;
        border-radius: 14px !important;
    }
}

/* Who We Work With Audience Cards */
.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 82, 204, 0.1);
    border-color: rgba(0, 82, 204, 0.35) !important;
}
.audience-card:hover div i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Universal Mobile Responsiveness Rules & Hero Scaling Engine */
@media (max-width: 768px) {
    /* Hero Banner & Layout Scaling */
    .hero {
        min-height: auto !important;
        padding-top: calc(var(--header-height) + 10px) !important;
        padding-bottom: 25px !important;
    }

    .hero-content-wrap {
        padding: 20px 16px !important;
        border-radius: 18px !important;
        margin: 0 8px !important;
    }

    /* Hero Typography Scaling */
    .hero-title, 
    .hero-content-wrap .hero-title,
    h1.hero-title,
    section .hero-title {
        font-size: 1.7rem !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        letter-spacing: -0.3px !important;
    }

    .hero-desc,
    .hero-content-wrap .hero-desc,
    p.hero-desc {
        font-size: 0.94rem !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
    }

    /* Hero Buttons Stacking for Mobile App Feel */
    .hero-actions {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.92rem !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Section Headings Scaling */
    h2, .section-title, section h2 {
        font-size: 1.55rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    h3 {
        font-size: 1.3rem !important;
        line-height: 1.35 !important;
    }

    /* Section Subtitles / Eyebrow Text */
    .section-subtitle, 
    span[style*="text-transform: uppercase"] {
        font-size: 0.76rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 6px !important;
    }

    /* Section Padding Reduction for Compact Viewports */
    .section {
        padding: 40px 0 !important;
    }

    /* Executive Intro Badges Grid (About Page) */
    div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    /* Offer Cards & Capability Grids (About & Home Page) */
    div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Services Page Feature Cards */
    #das, #macro, #fibre, #civil, #rf-testing, #lifecycle {
        padding: 24px 18px !important;
        border-radius: 18px !important;
    }

    #das div[style*="grid-template-columns"],
    #macro div[style*="grid-template-columns"],
    #fibre div[style*="grid-template-columns"],
    #civil div[style*="grid-template-columns"],
    #rf-testing div[style*="grid-template-columns"],
    #lifecycle div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Hero Banner Paddings */
    .hero-wide-banner {
        padding-top: calc(var(--header-height) + 15px) !important;
        padding-bottom: 30px !important;
        min-height: auto !important;
    }
}

@media (max-width: 480px) {
    /* Small Smartphone Typography */
    .hero-title, 
    .hero-content-wrap .hero-title,
    h1.hero-title {
        font-size: 1.48rem !important;
        line-height: 1.25 !important;
    }

    .hero-desc,
    .hero-content-wrap .hero-desc {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }

    h2, .section-title, section h2 {
        font-size: 1.4rem !important;
    }

    /* Single-column grid for small mobile screens */
    div[style*="grid-template-columns: repeat(4, 1fr)"],
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}



