/* ==========================================================================
   ALFATH MEDIA - PREMIUM SERVICES PAGE STYLES (AWWARDS DESIGN SYSTEM)
   Color Philosophy:
   - Structure: Black (#000000), Blue (#1A5DAC), Cream (#F9EFE8), White (#FFFFFF)
   - Accents: Magenta (#D41473), Purple (#6B3FA0), Grey (#A09FA3)
   ========================================================================== */

/* Typography & Global Variables */
@font-face {
    font-family: 'Aptos';
    src: local('Aptos'), local('Segoe UI'), local('Calibri');
    font-weight: 400;
    font-style: normal;
}

:root {
    /* Brand Primary Colors */
    --color-black: #000000;
    --color-blue: #1A5DAC;
    --color-white: #FFFFFF;
    --color-cream: #F9EFE8;
    --color-grey: #A09FA3;
    --color-dark-grey: #333333;
    
    /* Brand Accent Colors (Strictly for Glows, Highlights & Borders) */
    --accent-magenta: #D41473;
    --accent-purple: #6B3FA0;

    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Aptos', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-black);
    color: var(--color-black);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.section-label-blue {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* ==========================================================================
   SECTION 1: HERO (ELEGANT DARK & AMBIENT GLOWS)
   ========================================================================== */
.services-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 5vw 100px 5vw;
    background-color: var(--color-black);
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    background: url('assets/images/about/outdoor.png') center/cover no-repeat;
    transform: scale(1.08);
    will-change: transform;
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(7, 19, 31, 0.94) 65%, rgba(0, 0, 0, 0.99) 100%);
    z-index: 2;
}

/* Purple & Blue Ambient Lights */
.ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.35;
}

.blob-purple {
    top: 20%;
    right: 15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.blob-blue {
    bottom: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 920px;
    width: 100%;
    /* .services-hero is display:flex, making this its flex item. Flex
       items default to min-width:auto, so without this the browser won't
       shrink it below its own heading text's natural width — on very
       small phones that overflows the screen instead of just wrapping. */
    min-width: 0;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 6.5vw, 6rem);
    line-height: 1.02;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 1.4vw, 1.35rem);
    font-weight: 300;
    color: var(--color-grey);
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ==========================================================================
   SECTION 2: OUR CAPABILITIES (PREMIUM FEATURE BLOCKS)
   ========================================================================== */
.capabilities-section {
    background-color: var(--color-cream);
    padding: 140px 5vw;
    color: var(--color-black);
}

.capabilities-container {
    max-width: 1240px;
    margin: 0 auto;
}

.capabilities-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.capabilities-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 20px;
}

.capabilities-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-dark-grey);
    font-weight: 400;
}

/* Feature Blocks Grid */
.feature-blocks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.capability-block {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 48px 36px 40px 36px;
    box-shadow: 0 20px 40px rgba(26, 93, 172, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.block-top-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue) 0%, var(--accent-magenta) 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.block-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 20, 115, 0.25) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.block-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: rgba(26, 93, 172, 0.08);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.block-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--color-black);
}

.block-desc {
    font-size: 1.025rem;
    color: var(--color-dark-grey);
    line-height: 1.6;
    font-weight: 400;
}

.block-underline-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue), var(--accent-magenta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Capability Block Hover Effects */
.capability-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(212, 20, 115, 0.14), 0 15px 30px rgba(26, 93, 172, 0.1);
    border-color: rgba(212, 20, 115, 0.3);
}

.capability-block:hover .block-glow {
    opacity: 1;
}

.capability-block:hover .block-icon {
    transform: rotate(-4deg) scale(1.06);
    background-color: var(--color-blue);
    color: var(--color-white);
}

.capability-block:hover .block-underline-gradient {
    transform: scaleX(1);
}

/* ==========================================================================
   SECTION 3: INTERACTIVE SERVICE SHOWCASE (ELEVATED ACCORDION)
   ========================================================================== */
.showcase-section {
    position: relative;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 150px 5vw;
    overflow: hidden;
}

.purple-ambient-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(107, 63, 160, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.showcase-container {
    position: relative;
    z-index: 2;
    max-width: 1150px;
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    margin-bottom: 75px;
}

.showcase-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    text-transform: uppercase;
    line-height: 1.05;
}

.accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.accordion-item {
    position: relative;
    background-color: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.accordion-active-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-blue) 0%, var(--accent-magenta) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.accordion-item.is-expanded {
    background-color: rgba(26, 93, 172, 0.08);
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, rgba(26, 93, 172, 0.6), rgba(212, 20, 115, 0.6)) 1;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(7, 19, 31, 0.8), 0 0 30px rgba(107, 63, 160, 0.15);
}

.accordion-item.is-expanded .accordion-active-bar {
    opacity: 1;
}

.accordion-header {
    width: 100%;
    padding: 30px 40px;
    background: transparent;
    border: none;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.header-title-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-blue);
    transition: color 0.4s ease;
}

.accordion-item.is-expanded .service-number {
    color: var(--accent-magenta);
}

.service-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 2.6vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.4s ease;
}

.accordion-item.is-expanded .service-title {
    color: var(--color-white);
}

.accordion-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, border-color 0.4s ease;
}

.accordion-item.is-expanded .accordion-arrow {
    transform: rotate(180deg);
    background: linear-gradient(135deg, var(--color-blue), var(--accent-magenta));
    border-color: transparent;
    box-shadow: 0 0 15px rgba(212, 20, 115, 0.4);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item.is-expanded .accordion-content {
    max-height: 650px;
}

.content-inner {
    padding: 0 40px 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-desc {
    font-size: 1.15rem;
    color: var(--color-grey);
    line-height: 1.7;
    font-weight: 300;
}

.accordion-image-wrap {
    position: relative;
    width: 100%;
    height: 270px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.purple-image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(107, 63, 160, 0.35) 0%, transparent 70%);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.accordion-item.is-expanded .purple-image-glow {
    opacity: 1;
}

.accordion-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item.is-expanded:hover .accordion-img {
    transform: scale(1.05);
}

/* ==========================================================================
   SECTION 4: INTELLIGENT CAMPAIGN PLANNING (TECH TIMELINE)
   ========================================================================== */
.planning-section {
    position: relative;
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 150px 5vw;
    overflow: hidden;
}

.planning-ambient-blob {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 20, 115, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.planning-container {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
}

.planning-header {
    text-align: center;
    margin-bottom: 85px;
}

.planning-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.planning-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.timeline-container {
    position: relative;
    padding-top: 35px;
}

.timeline-line-bg {
    position: absolute;
    top: 61px;
    left: 4vw;
    right: 4vw;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.timeline-line-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-white) 0%, var(--accent-magenta) 100%);
    transition: width 0.1s linear;
}

/* Traveling Light Streak */
.timeline-traveling-light {
    position: absolute;
    top: -3px;
    left: 0%;
    width: 40px;
    height: 8px;
    border-radius: 10px;
    background: var(--accent-magenta);
    box-shadow: 0 0 15px var(--accent-magenta), 0 0 30px var(--accent-magenta);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon-wrap {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.icon-node-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--accent-magenta);
    opacity: 0;
    transform: scale(0.8);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.process-step:hover .step-icon-wrap {
    transform: scale(1.1);
    background-color: var(--accent-magenta);
    color: var(--color-white);
}

.process-step:hover .icon-node-pulse {
    opacity: 1;
    transform: scale(1.15);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 6px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-weight: 300;
}

/* ==========================================================================
   SECTION 5: THE ALFATH ADVANTAGE (ASYMMETRIC FLOATING TILES)
   ========================================================================== */
.advantage-section {
    background-color: var(--color-cream);
    padding: 150px 5vw;
    color: var(--color-black);
}

.advantage-container {
    max-width: 1240px;
    margin: 0 auto;
}

.advantage-header {
    text-align: center;
    margin-bottom: 75px;
}

.advantage-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    text-transform: uppercase;
    line-height: 1.05;
}

/* Asymmetric Heights Setup */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.tile-tall {
    padding: 48px 36px 52px 36px;
}

.tile-standard {
    padding: 38px 32px 42px 32px;
}

.advantage-tile {
    position: relative;
    background-color: var(--color-white);
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.tile-gradient-border {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-blue), var(--accent-magenta));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tile-glow-magenta {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(212, 20, 115, 0.25) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tile-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: rgba(26, 93, 172, 0.08);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.tile-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 12px;
}

.tile-desc {
    font-size: 1.025rem;
    color: var(--color-dark-grey);
    line-height: 1.6;
}

/* Tile Hover Interaction */
.advantage-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(26, 93, 172, 0.12), 0 10px 25px rgba(212, 20, 115, 0.1);
}

.advantage-tile:hover .tile-gradient-border,
.advantage-tile:hover .tile-glow-magenta {
    opacity: 1;
}

.advantage-tile:hover .tile-icon-box {
    transform: scale(1.08) rotate(-3deg);
    background-color: var(--color-blue);
    color: var(--color-white);
}

/* ==========================================================================
   SECTION 6: INTEGRATED MEDIA SOLUTIONS (CONNECTED HEX GRID)
   ========================================================================== */
.ecosystem-section {
    position: relative;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 170px 5vw;
    overflow: hidden;
}

.particle-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(26, 93, 172, 0.4);
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-100px) scale(0.6); opacity: 0; }
}

.ecosystem-purple-light {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(107, 63, 160, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.ecosystem-magenta-light {
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 20, 115, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.ecosystem-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.ecosystem-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 85px auto;
}

.ecosystem-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.ecosystem-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 16px;
}

.ecosystem-subtitle {
    font-size: 1.1rem;
    color: var(--color-grey);
    font-weight: 300;
}

.hex-grid-wrapper {
    position: relative;
}

.hex-connecting-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connect-line {
    stroke: rgba(26, 93, 172, 0.3);
    stroke-width: 2;
    stroke-dasharray: 6;
    animation: dashMove 20s linear infinite;
}

@keyframes dashMove {
    to { stroke-dashoffset: -100; }
}

.hex-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.hex-tile {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 46px 34px;
    border-radius: 24px;
    text-align: center;
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.hex-top-accent {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-magenta);
    opacity: 0;
    transition: opacity 0.4s ease, width 0.4s ease;
}

.hex-tile:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(26, 93, 172, 0.6);
    box-shadow: 0 20px 45px rgba(26, 93, 172, 0.3), 0 0 20px rgba(212, 20, 115, 0.25);
}

.hex-tile:hover .hex-top-accent {
    opacity: 1;
    width: 80px;
}

.hex-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(26, 93, 172, 0.12);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px auto;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.4s ease;
}

.hex-tile:hover .hex-icon {
    background-color: var(--color-blue);
    color: var(--color-white);
    transform: scale(1.1);
}

.hex-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hex-desc {
    font-size: 0.95rem;
    color: var(--color-grey);
    font-weight: 300;
}

/* ==========================================================================
   SECTION 7: CALL TO ACTION (MAGNETIC & ILLUMINATED)
   ========================================================================== */
.services-cta {
    position: relative;
    background: linear-gradient(135deg, #07131F 0%, #1A5DAC 100%);
    color: var(--color-white);
    padding: 160px 5vw;
    text-align: center;
    overflow: hidden;
}

.cta-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
}

.cta-purple-ambient {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(107, 63, 160, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-magenta-glow {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(212, 20, 115, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
}

.cta-heading {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    line-height: 1.02;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 52px auto;
    line-height: 1.65;
}

.cta-btn-wrapper {
    display: inline-block;
}

.btn-cta-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 20px 46px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.btn-gradient-outline {
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--color-blue), var(--accent-magenta));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-cta-magnetic:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    box-shadow: 0 20px 45px rgba(212, 20, 115, 0.3);
}

.btn-cta-magnetic:hover .btn-gradient-outline {
    opacity: 1;
}

.btn-arrow-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-cta-magnetic:hover .btn-arrow-icon {
    transform: translateX(6px);
}

/* ==========================================================================
   COMPLETE RESPONSIVE BREAKPOINT SYSTEM - SERVICES PAGE
   Covers: 
   - Mobile: Micro/Budget Androids, iPhone SE, Pixel, Galaxy S/Ultra, Pro Max, Foldables
   - Tablets: iPad Mini, iPad Air, iPad Pro (11" & 12.9"), Galaxy Tab
   - Laptops & Desktops: MacBook Air/Pro, Surface, 1080p, 2K, & 4K Ultra-wide
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ULTRA-WIDE & 4K DISPLAYS (1537px and above)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1537px) {
    .capabilities-container,
    .showcase-container,
    .planning-container,
    .advantage-container,
    .ecosystem-container,
    .cta-container {
        /* Was 1400px (matching production) — widened further so these
           bands use more of a genuinely wide/ultra-wide monitor instead of
           leaving large empty margins either side. */
        max-width: 1600px;
    }

    .hero-heading {
        font-size: 6.5rem;
    }
}

/* --------------------------------------------------------------------------
   2. DESKTOPS & LARGE LAPTOPS (1281px - 1536px)
   Targeting: MacBook Pro 14"/16", 1080p Desktop Monitors
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1281px) and (max-width: 1536px) {
    .planning-container {
        max-width: 1280px;
    }
}

/* --------------------------------------------------------------------------
   3. LARGE TABLETS & SMALL LAPTOPS (1025px - 1280px)
   Targeting: iPad Pro 12.9" / 13", iPad Air (Landscape), MacBook Air 13"
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .feature-blocks-grid,
    .advantage-grid,
    .hex-grid {
        gap: 24px;
    }

    .tile-tall {
        padding: 40px 28px;
    }

    .tile-standard {
        padding: 32px 24px;
    }

    .timeline-grid {
        gap: 16px;
    }

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

/* --------------------------------------------------------------------------
   4. STANDARD TABLETS & IPADS (769px - 1024px)
   Targeting: iPad 10.2", iPad Air 10.9", iPad Pro 11" (Portrait), Galaxy Tab
   -------------------------------------------------------------------------- */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .services-hero {
        padding-top: 130px;
        min-height: 70vh;
    }

    .feature-blocks-grid,
    .advantage-grid,
    .hex-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    /* Collapse horizontal line for 3x2 grid layout */
    .timeline-line-bg,
    .hex-connecting-lines {
        display: none;
    }

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

    .content-inner {
        gap: 28px;
    }

    .accordion-image-wrap {
        height: 240px;
    }
}

/* --------------------------------------------------------------------------
   5. SMALL TABLETS & UNFOLDED FOLDABLES (601px - 768px)
   Targeting: iPad Mini (Portrait), Galaxy Z Fold / Pixel Fold (Unfolded)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 601px) and (max-width: 768px) {
    .services-hero {
        padding: 120px 5vw 80px 5vw;
        min-height: 65vh;
    }

    .feature-blocks-grid,
    .advantage-grid,
    .hex-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 20px;
    }

    .timeline-line-bg,
    .hex-connecting-lines {
        display: none;
    }

    .content-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 30px 30px 30px;
    }

    .accordion-image-wrap {
        height: 230px;
    }

    .accordion-header {
        padding: 24px 30px;
    }

    .cta-heading {
        font-size: 3.6rem;
    }
}

/* --------------------------------------------------------------------------
   6. LARGE MOBILE & PHABLETS (481px - 600px)
   Targeting: iPhone 14/15/16 Plus & Pro Max, Galaxy S23/S24 Ultra, Pixel Pro
   -------------------------------------------------------------------------- */
@media screen and (min-width: 481px) and (max-width: 600px) {
    .services-hero {
        padding: 110px 5vw 70px 5vw;
        min-height: 60vh;
    }

    .capabilities-section,
    .showcase-section,
    .planning-section,
    .advantage-section,
    .ecosystem-section,
    .services-cta {
        padding: 100px 5vw;
    }

    .feature-blocks-grid,
    .timeline-grid,
    .advantage-grid,
    .hex-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .timeline-line-bg,
    .hex-connecting-lines {
        display: none;
    }

    .content-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 24px 24px 24px;
    }

    .accordion-header {
        padding: 22px 24px;
    }

    .accordion-image-wrap {
        height: 210px;
    }

    .tile-tall,
    .tile-standard {
        padding: 32px 24px;
    }
}

/* --------------------------------------------------------------------------
   7. STANDARD MOBILE (360px - 480px)
   Targeting: iPhone 12/13/14/15/16 (Base & Pro), Galaxy S22/S23/S24, Pixel 7/8/9
   -------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .services-hero {
        min-height: 60vh;
        padding: 110px 5vw 60px 5vw;
    }

    .capabilities-section,
    .showcase-section,
    .planning-section,
    .advantage-section,
    .ecosystem-section,
    .services-cta {
        padding: 90px 5vw;
    }

    .hero-heading {
        font-size: clamp(2.6rem, 10vw, 3.8rem);
    }

    .capabilities-heading,
    .showcase-heading,
    .planning-heading,
    .advantage-heading,
    .ecosystem-heading,
    .cta-heading {
        font-size: clamp(2.4rem, 8vw, 3.2rem);
    }

    .feature-blocks-grid,
    .timeline-grid,
    .advantage-grid,
    .hex-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-line-bg,
    .hex-connecting-lines {
        display: none;
    }

    .capability-block {
        padding: 36px 24px 32px 24px;
    }

    .accordion-header {
        padding: 20px;
    }

    .header-title-wrap {
        gap: 16px;
    }

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

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

    .accordion-arrow {
        width: 38px;
        height: 38px;
    }

    .content-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px 24px 20px;
    }

    .accordion-image-wrap {
        height: 190px;
    }

    .tile-tall,
    .tile-standard {
        padding: 30px 22px;
    }

    .hex-tile {
        padding: 36px 22px;
    }

    .btn-cta-magnetic {
        width: 100%;
        justify-content: center;
        padding: 18px 32px;
    }
}

/* --------------------------------------------------------------------------
   8. EXTRA SMALL MOBILE (Up to 359px)
   Targeting: iPhone SE (1st gen), Budget Androids, Compact screen states
   -------------------------------------------------------------------------- */
@media screen and (max-width: 359px) {
    .services-hero {
        padding-top: 95px;
    }

    .hero-label {
        font-size: 0.75rem;
    }

    .hero-subtitle,
    .capabilities-text,
    .service-desc,
    .cta-text {
        font-size: 0.975rem;
    }

    .capability-block,
    .advantage-tile,
    .hex-tile {
        padding: 28px 18px;
    }

    .accordion-header {
        padding: 16px;
    }

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

    .accordion-image-wrap {
        height: 160px;
    }
}

/* --------------------------------------------------------------------------
   9. MOBILE LANDSCAPE ORIENTATION OVERRIDES
   Prevents vertical overlap when phones are rotated horizontally
   -------------------------------------------------------------------------- */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .services-hero {
        min-height: 100vh;
        padding-top: 100px;
    }

    .accordion-image-wrap {
        height: 160px;
    }
}

/* --------------------------------------------------------------------------
   10. TOUCH DEVICE TARGETING (iOS / Android guidelines)
   -------------------------------------------------------------------------- */
@media (pointer: coarse) {
    .accordion-header,
    .btn-cta-magnetic {
        min-height: 48px;
    }
}