/* ==========================================================================
   DESIGN VARIABLES & RESETS
   ========================================================================== */
:root {
    --accent-sky: #ffffff;
    --accent-sky-dark: #e0f2fe;
    --bg-dark-black: #0c0f24;
    --bg-gradient: linear-gradient(135deg, #1042f4 0%, #82159c 50%, #e60021 100%);
    --bg-navy-dark: rgba(255, 255, 255, 0.96);
    --bg-navy-mid: rgba(255, 255, 255, 0.9);
    --bg-navy-light: rgba(255, 255, 255, 0.85);
    --text-white: #ffffff;
    --text-light: #f8fafc;
    --text-muted: rgba(255, 255, 255, 0.88);
    --border-color: rgba(255, 255, 255, 0.25);
    --border-muted: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(12, 16, 36, 0.65);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glow-sky: rgba(255, 255, 255, 0.25);
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    background: linear-gradient(135deg, #1042f4 0%, #82159c 50%, #e60021 100%) fixed;
    color: var(--text-light);
    font-family: var(--font-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Custom animated mouse cursor styles */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, transform 0.2s ease, opacity 0.3s ease;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
    will-change: left, top;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.25s ease,
        background-color 0.25s ease,
        opacity 0.3s ease;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
    will-change: left, top;
}

/* Cursor hover states */
.cursor-ring.hovered {
    width: 54px;
    height: 54px;
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.5);
}

.cursor-dot.hovered {
    background-color: #ffffff;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 15px #ffffff;
}

/* Cursor click state */
.cursor-ring.active-click {
    width: 28px;
    height: 28px;
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.35);
}

@media (hover: none),
(pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

/* Fine grid lines overlay inspired by anhart.ca visual style */
.grid-lines-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
    padding: 0 5%;
}

.grid-lines-overlay .line {
    width: 1px;
    height: 100%;
    background-color: var(--border-muted);
    opacity: 0.5;
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

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

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

p {
    color: var(--text-muted);
}

.highlight-text {
    background: linear-gradient(135deg, var(--text-white) 20%, var(--accent-sky) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Badges */
/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.5rem 1.15rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-fast);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

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

.nav-btn {
    background-color: #ffffff;
    color: #0f172a !important;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.nav-btn:hover {
    background-color: #f1f5f9;
    color: #0f172a !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.35);
}

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

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Main Content SPA Viewports */
.main-content {
    flex: 1;
    padding-top: 80px;
    position: relative;
    z-index: 2;
}

.page-section {
    opacity: 0;
    transform: translateY(15px);
    animation: pageLoadFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    padding: 4.5rem 0;
}

@keyframes pageLoadFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section headers */
.section-header {
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.15rem;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

/* Glass Cards */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    padding: 2.25rem;
    transition: var(--transition-smooth);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    color: #0f172a;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card strong,
.card .card-title {
    color: #0f172a !important;
}

.card p,
.card span:not(.blog-category),
.card li,
.card label {
    color: #334155;
}

.card:hover {
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   1. HOME SECTION STYLES (CENTERED HERO & CURSIVE ACCENT)
   ========================================================================== */

.hero-section-centered {
    padding-top: 2rem;
}

.hero-container-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.hero-text-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 3rem;
}

.hero-title-centered {
    font-size: clamp(2.8rem, 7.5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
}

.hero-bold-text {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero-cursive-text {
    font-family: 'Pacifico', 'Satisfy', 'Caveat', 'Dancing Script', cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.35em;
    color: #fde047;
    background: linear-gradient(135deg, #fff59d 0%, #fde047 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 0 0.2em;
    filter: drop-shadow(0 4px 15px rgba(250, 204, 21, 0.5));
    transform: rotate(-3.5deg);
    margin-left: 0.1em;
}

.hero-subtitle-centered {
    font-size: 1.15rem;
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Social Media Links under consultation options */
.hero-social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.social-links-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.hero-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-social-icon-btn:hover {
    background: #ffffff;
    color: #0f172a;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    border-color: #ffffff;
}

.hero-visual-centered {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 2rem;
    align-items: center;
    min-height: calc(75vh - 80px);
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3.85rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

/* Animated hero words — staggered reveal */
.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(15deg);
    animation: heroWordReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.3s + var(--word-index) * 0.15s);
}

@keyframes heroWordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
}

/* Hero visual styling inspired by modern minimal layout */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-interactive-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 320px;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.deco-mesh {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.45;
    animation: rotate-slow 60s linear infinite;
}

@keyframes rotate-slow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.geometric-shape {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.shape-1 {
    width: 250px;
    height: 250px;
    top: -50px;
    right: -50px;
    border-color: rgba(56, 189, 248, 0.05);
}

.shape-2 {
    width: 180px;
    height: 180px;
    bottom: -40px;
    left: -40px;
    border-color: rgba(56, 189, 248, 0.08);
}

.hero-display-card {
    background-color: var(--bg-dark-black);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    border-radius: 10px;
    width: 85%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 5;
}

.card-status {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--accent-sky);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.tech-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tech-item-glow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-muted);
    color: var(--text-white);
    transition: var(--transition-fast);
}

.tech-item-glow:hover {
    border-color: var(--accent-sky);
    box-shadow: 0 0 8px var(--glow-sky);
}

.card-desc {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.card-footer-lines {
    border-top: 1px solid var(--border-muted);
    padding-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-family: monospace;
    color: var(--text-muted);
}

/* Brand Intro Bar */
.brand-intro-bar {
    border-top: 1px solid var(--border-muted);
    border-bottom: 1px solid var(--border-muted);
    padding: 4.5rem 0;
    background: rgba(255, 255, 255, 0.01);
}

.intro-content {
    align-items: start;
    gap: 3.5rem;
}

.intro-heading {
    font-size: 2.25rem;
    line-height: 1.25;
}

.intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Services Overview Grid */
.services-overview-bar {
    padding: 5rem 0;
}

.cards-wrapper {
    margin-top: 2rem;
}

.service-overview-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon-box {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.service-overview-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-overview-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-learn-more {
    font-size: 0.85rem;
    color: var(--accent-sky);
    font-weight: 600;
    transition: var(--transition-fast);
}

.service-overview-card:hover .card-learn-more {
    color: var(--text-white);
    padding-left: 5px;
}

/* Handle grid layout specific span on big screens */
@media (min-width: 1025px) {
    .card-span-2 {
        grid-column: span 2;
        flex-direction: row;
        align-items: center;
        gap: 2.25rem;
    }

    .card-span-2 .card-icon-box {
        margin-bottom: 0;
        font-size: 2.5rem;
    }

    .card-span-2 p {
        margin-bottom: 0;
    }
}

/* Why choose us */
.why-choose-bar {
    padding: 4.5rem 0;
    border-top: 1px solid var(--border-muted);
}

.why-choose-visual {
    display: flex;
    justify-content: center;
}

.why-visual-box {
    width: 100%;
    max-width: 400px;
    height: 320px;
    border-radius: 12px;
    border: 1px solid var(--border-muted);
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.04) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.circle-radial-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--accent-sky);
    filter: blur(50px);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.why-text-floating {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

.why-text-floating h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.why-text-floating p {
    font-size: 0.8rem;
}

.why-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.why-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-desc h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.why-desc p {
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-bar {
    padding: 5rem 0;
    border-top: 1px solid var(--border-muted);
}

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

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-sky);
    opacity: 0.08;
    position: absolute;
    top: -2.5rem;
    left: -1rem;
    font-family: serif;
}

.testimonial-author {
    border-top: 1px solid var(--border-muted);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-white);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA Bar */
.cta-bar {
    padding: 6rem 0;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.04) 0%, transparent 75%);
    border-top: 1px solid var(--border-muted);
}

.cta-heading {
    font-size: 2.5rem;
    max-width: 700px;
    margin: 0 auto 1.25rem auto;
}

.cta-sub {
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 2.5rem auto;
}

/* ==========================================================================
   2. SERVICES DETAIL PAGE STYLES
   ========================================================================== */

.services-pills-wrapper {
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: center;
}

.services-pills {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-muted);
    padding: 0.4rem;
    border-radius: 8px;
    gap: 0.25rem;
}

.pill-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.pill-btn:hover {
    color: var(--text-white);
}

.pill-btn.active {
    background-color: var(--accent-sky);
    color: var(--bg-dark-black);
}

.services-details-container {
    position: relative;
    min-height: 400px;
}

.service-tab-content {
    display: block;
    
    margin-bottom: 7rem;
}

.service-tab-content:last-child {
    margin-bottom: 0;
}

@media (min-width: 769px) {
    .service-tab-content:nth-child(even) .grid-2 {
        direction: rtl;
    }

    .service-tab-content:nth-child(even) .grid-2>* {
        direction: ltr;
    }

    .service-tab-content:nth-child(even) .service-desc-side {
        padding-right: 0;
        padding-left: 1.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-desc-side {
    padding-right: 1.5rem;
}

.service-type-badge {
    color: var(--accent-sky);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.75rem;
}

.service-desc-side h3 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.service-desc-side p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Graphics display cards on tabs */
.service-graphic-side {
    display: flex;
    justify-content: center;
}

/* Web Dev terminal card */
.code-box-visual {
    background-color: #020409;
    border: 1px solid var(--border-muted);
    border-radius: 10px;
    width: 100%;
    max-width: 440px;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    font-family: monospace;
    font-size: 0.85rem;
}

.code-header {
    display: flex;
    gap: 5px;
    margin-bottom: 1.25rem;
}

.terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-muted);
}

.code-box-visual .keyword {
    color: #f43f5e;
}

.code-box-visual .class-name {
    color: #38bdf8;
}

.code-box-visual .string {
    color: #10b981;
}

/* SEO graph card */
.graph-box-visual {
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    width: 100%;
    max-width: 440px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.05);
}

.graph-bar-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bar-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.graph-bar-container {
    width: 100%;
    height: 32px;
    background-color: var(--bg-navy-mid);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-muted);
}

.graph-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-sky-dark), var(--accent-sky));
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bg-dark-black);
    animation: barFill 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes barFill {
    from {
        width: 0%;
    }
}

/* GEO query card */
.ai-box-visual {
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-muted);
    border-radius: 10px;
    width: 100%;
    max-width: 440px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.ai-query {
    align-self: flex-end;
    background-color: var(--bg-navy-light);
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 0 12px;
    font-size: 0.85rem;
    max-width: 80%;
}

.ai-response {
    align-self: flex-start;
    background-color: var(--bg-navy-mid);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.15rem;
    border-radius: 12px 12px 12px 0;
    font-size: 0.85rem;
    max-width: 90%;
    color: var(--text-light);
    line-height: 1.5;
}

.ai-response strong {
    color: var(--accent-sky);
}

/* AEO voice card */
.voice-box-visual {
    background-color: #020409;
    border: 1px solid var(--border-muted);
    border-radius: 10px;
    width: 100%;
    max-width: 440px;
    padding: 2.25rem;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.voice-wave {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.voice-wave span {
    width: 3px;
    background-color: var(--accent-sky);
    border-radius: 10px;
    animation: wavePulse 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(1) {
    height: 15px;
    animation-delay: 0.1s;
}

.voice-wave span:nth-child(2) {
    height: 35px;
    animation-delay: 0.3s;
}

.voice-wave span:nth-child(3) {
    height: 20px;
    animation-delay: 0.5s;
}

.voice-wave span:nth-child(4) {
    height: 40px;
    animation-delay: 0.2s;
}

.voice-wave span:nth-child(5) {
    height: 10px;
    animation-delay: 0.4s;
}

@keyframes wavePulse {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.4);
    }
}

.voice-transcript {
    font-size: 0.85rem;
    font-style: italic;
}

/* App Dev phone card */
.phone-box-visual {
    background-color: #020409;
    border: 6px solid #1e293b;
    border-radius: 24px;
    width: 200px;
    height: 380px;
    padding: 0.5rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.phone-notch {
    width: 80px;
    height: 14px;
    background-color: #1e293b;
    border-radius: 0 0 10px 10px;
    align-self: center;
    position: absolute;
    top: 0;
    z-index: 10;
}

.phone-screen {
    flex: 1;
    background-color: var(--bg-dark-black);
    border-radius: 18px;
    overflow: hidden;
    padding: 1.5rem 0.75rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phone-app-header {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    color: var(--accent-sky);
    margin-bottom: 0.5rem;
}

.phone-card {
    height: 80px;
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-muted);
    border-radius: 8px;
}

/* ==========================================================================
   3. CONTACT SECTION STYLES
   ========================================================================== */

//* =========================================================
   MODERN MULTI-STEP CONTACT SECTION
   ========================================================= */

.contact-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
}

.contact-container {
    width: min(1200px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;

    align-items: center;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.contact-left {
    color: #ffffff;
}

.contact-eyebrow,
.form-label,
.small-label {
    display: block;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 2px;

    color: rgba(255, 255, 255, 0.65);

    margin-bottom: 12px;
}

.contact-left h2 {
    margin: 0 0 20px;

    font-size: clamp(2.3rem, 4vw, 4rem);

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.contact-left h2 span {
    display: block;

    color: rgba(255, 255, 255, 0.55);
}

.contact-intro {
    max-width: 480px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 1rem;

    line-height: 1.7;

    margin-bottom: 40px;
}


/* =========================================================
   WHATSAPP CARD
   ========================================================= */

.whatsapp-card {
    display: flex;

    gap: 20px;

    padding: 25px;

    max-width: 500px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition: all 0.3s ease;
}

.whatsapp-card:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 255, 255, 0.35);

    background: rgba(255, 255, 255, 0.12);
}

.whatsapp-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #25d366;

    color: #ffffff;

    font-size: 1.6rem;

    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.25);
}

.whatsapp-content h3 {
    margin: 0 0 6px;

    font-size: 1.15rem;
}

.whatsapp-content p {
    margin: 0 0 10px;

    font-size: 0.85rem;

    color: rgba(255, 255, 255, 0.62);
}

.whatsapp-number {
    display: block;

    margin-bottom: 14px;

    color: #ffffff;

    font-weight: 700;

    text-decoration: none;
}

.whatsapp-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #ffffff;

    font-size: 0.85rem;

    font-weight: 700;

    text-decoration: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.5);

    padding-bottom: 3px;
}

.whatsapp-button:hover {
    border-color: #ffffff;
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.social-area {
    margin-top: 35px;
}

.social-links {
    display: flex;

    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.07);

    transition: all 0.25s ease;
}

.social-links a:hover {
    background: #ffffff;

    color: #15152b;

    transform: translateY(-4px);
}


/* =========================================================
   RIGHT SIDE FORM CARD
   ========================================================= */

.contact-form-card {
    position: relative;

    padding: 42px;

    border-radius: 22px;

    background: rgba(8, 11, 30, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
/* STEP 1 - FIX CONTACT FORM INPUT VISIBILITY */

.contact-form-card input,
.contact-form-card textarea {
    background: #111329 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    opacity: 1 !important;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    background: #111329 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
    outline: none;
}

/* =========================================================
   FORM TOP / PROGRESS
   ========================================================= */

.form-top {
    margin-bottom: 45px;
}

.form-label {
    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.9);
}

.progress-text {
    color: rgba(255, 255, 255, 0.45);

    font-size: 0.78rem;

    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;

    height: 3px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.1);

    border-radius: 20px;
}

.progress-fill {
    width: 25%;

    height: 100%;

    background: #ffffff;

    border-radius: inherit;

    transition: width 0.4s ease;
}


/* =========================================================
   FORM STEPS
   ========================================================= */

.form-step {
    display: none;

    animation: stepIn 0.4s ease forwards;
}

.form-step.active {
    display: block;
}

@keyframes stepIn {

    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

.step-number {
    display: block;

    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.35);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 2px;
}

.form-step h3 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(1.7rem, 3vw, 2.4rem);

    line-height: 1.15;

    letter-spacing: -0.8px;
}

.form-step h3 span {
    color: rgba(255, 255, 255, 0.5);
}

.step-description {
    margin: 14px 0 30px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.9rem;

    line-height: 1.6;
}


/* =========================================================
   BUSINESS OPTIONS
   ========================================================= */

.business-options {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;
}

.business-option {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.045);

    color: #ffffff;

    cursor: pointer;

    text-align: left;

    font-family: inherit;

    transition: all 0.25s ease;
}

.business-option:hover {
    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(255, 255, 255, 0.3);

    transform: translateY(-2px);
}

.business-option.selected {
    background: #ffffff;

    color: #0c0f24;

    border-color: #ffffff;

    box-shadow:
        0 8px 25px rgba(255, 255, 255, 0.12);
}

.option-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.1);

    flex-shrink: 0;
}

.business-option.selected .option-icon {
    background: rgba(12, 15, 36, 0.08);
}

.option-text {
    flex: 1;

    font-size: 0.85rem;

    font-weight: 600;
}

.option-arrow {
    opacity: 0.45;

    font-size: 1rem;
}


/* =========================================================
   OTHER BUSINESS
   ========================================================= */

.other-business-wrapper {
    display: none;

    margin-top: 15px;

    animation: fadeIn 0.3s ease;
}

.other-business-wrapper.show {
    display: block;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.other-business-wrapper label,
.single-input label {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.75rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================================================
   INPUTS
   ========================================================= */

.single-input {
    margin-bottom: 10px;
}

.single-input input,
.single-input textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 15px 16px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.06);

    color: #ffffff;

    -webkit-text-fill-color: #ffffff;

    font-family: inherit;

    font-size: 0.95rem;

    outline: none;

    transition: all 0.25s ease;
}

.single-input input {
    height: 52px;
}

.single-input textarea {
    min-height: 150px;

    resize: vertical;
}

.single-input input::placeholder,
.single-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);

    opacity: 1;
}

.single-input input:focus,
.single-input textarea:focus {
    border-color: rgba(255, 255, 255, 0.65);

    background: rgba(255, 255, 255, 0.09);

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.06);
}


/* =========================================================
   TWO INPUTS
   ========================================================= */

.input-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


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

.step-actions {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 30px;
}

.back-button,
.next-button,
.submit-button {
    min-height: 48px;

    padding: 0 22px;

    border-radius: 8px;

    font-family: inherit;

    font-size: 0.85rem;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.back-button {
    border: 1px solid rgba(255, 255, 255, 0.12);

    background: transparent;

    color: rgba(255, 255, 255, 0.6);
}

.back-button:hover {
    color: #ffffff;

    border-color: rgba(255, 255, 255, 0.3);
}

.next-button,
.submit-button {
    margin-left: auto;

    border: 0;

    background: #ffffff;

    color: #0c0f24;
}

.next-button {
    min-width: 145px;
}

.next-button:hover,
.submit-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(255, 255, 255, 0.15);
}

.next-button:disabled {
    opacity: 0.3;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}

.next-button span,
.submit-button span {
    margin-left: 8px;
}


/* =========================================================
   SUCCESS
   ========================================================= */

.success-message {
    display: none;

    text-align: center;

    padding: 60px 20px;
}

.success-message.show {
    display: block;

    animation: stepIn 0.4s ease;
}

.success-icon {
    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #ffffff;

    color: #0c0f24;

    font-size: 1.7rem;

    font-weight: 800;
}

.success-message h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 1.7rem;
}

.success-message p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    line-height: 1.6;
}


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

@media (max-width: 900px) {

    .contact-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

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

    .contact-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .whatsapp-card {
        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }

    .social-links {
        justify-content: center;
    }

}


@media (max-width: 600px) {

    .contact-section {
        padding: 70px 0;
    }

    .contact-container {
        width: min(94%, 500px);
    }

    .contact-form-card {
        padding: 25px 20px;

        border-radius: 16px;
    }

    .business-options {
        grid-template-columns: 1fr;
    }

    .input-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .whatsapp-card {
        padding: 20px;

        gap: 14px;
    }

    .whatsapp-icon {
        width: 46px;
        height: 46px;

        font-size: 1.4rem;
    }

    .step-actions {
        margin-top: 25px;
    }

    .next-button,
    .submit-button {
        min-width: 130px;
    }

}
/* ==========================================================================
   4. FREE CONSULTATION SECTION STYLES
   ========================================================================== */

.consultation-layout {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 3.5rem;
    align-items: start;
}

.consultation-info h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.steps-list {
    list-style: none;
}

.steps-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-sky);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.steps-list h4 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.steps-list p {
    font-size: 0.95rem;
}

.direct-contact {
    border-top: 1px solid var(--border-muted);
    padding-top: 2rem;
    margin-top: 2rem;
}

.direct-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.whatsapp-direct-link {
    display: inline-block;
    color: var(--accent-sky);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.whatsapp-direct-link:hover {
    color: var(--text-white);
    text-shadow: 0 0 8px var(--glow-sky);
}

/* Floating WhatsApp Widget */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--bg-navy-dark);
    border: 1.5px solid var(--accent-sky);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--accent-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.15);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--accent-sky);
    color: var(--bg-dark-black);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.4);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   5. FOOTER AREA STYLES
   ========================================================================== */

.footer {
    border-top: 1px solid var(--border-muted);
    background-color: #020308;
    padding: 5rem 0 2rem 0;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    display: inline-flex;
}

.footer-slogan {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-sky);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 320px;
}

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

.social-links a {
    color: var(--text-muted);
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-muted);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent-sky);
    border-color: var(--accent-sky);
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--glow-sky);
}

.social-icon {
    width: 18px;
    height: 18px;
}

.footer-links-group h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
}

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

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

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

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact span {
    flex-shrink: 0;
}

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

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-sky);
}

/* ==========================================================================
   6. BLOG PAGE STYLES
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-navy-mid) 0%, var(--accent-sky) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image .blog-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.08) 100%);
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    background-color: var(--accent-sky);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.blog-date,
.blog-read-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.blog-card-body p {
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.5rem;
}

.blog-read-link {
    font-size: 0.85rem;
    color: var(--accent-sky);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card:hover .blog-read-link {
    color: var(--text-white);
    gap: 0.75rem;
}

.blog-card:hover .blog-card-image {
    filter: brightness(1.05);
}

/* Featured / large blog card */
.blog-featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 55% 45%;
    overflow: hidden;
}

.blog-featured .blog-card-image {
    height: 100%;
    min-height: 320px;
}

.blog-featured .blog-card-body h3 {
    font-size: 1.75rem;
}

/* Blog CTA */
.blog-cta-bar {
    margin-top: 5rem;
    padding: 4rem;
    background: var(--bg-navy-dark);
    border: 1px solid var(--border-muted);
    border-radius: 16px;
    text-align: center;
}

.blog-cta-bar h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-cta-bar p {
    max-width: 520px;
    margin: 0 auto 2rem auto;
    font-size: 1.05rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet Screens */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
        padding-top: 1rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .consultation-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .intro-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .blog-featured {
        grid-column: span 2;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

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

    .blog-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .blog-cta-bar {
        padding: 2.5rem 1.5rem;
    }

    .grid-lines-overlay {
        padding: 0 2%;
    }

    .header-container {
        height: 70px;
    }

    .logo {
        font-size: 1.25rem;
    }

    /* Mobile Hamburger Trigger */
    .mobile-toggle {
        display: flex;
    }

    /* Side navigation panel */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(224, 242, 254, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    .nav-menu.open {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        text-align: center;
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.5);
    }

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

    .nav-btn {
        text-align: center;
        margin-top: 0.5rem;
        width: 100%;
    }

    /* Hamburger Animation to 'X' */
    .mobile-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Section adjustments */
    .hero-title {
        font-size: clamp(2rem, 7vw, 2.75rem);
        line-height: 1.25;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.15rem);
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1.25rem;
    }

    .services-pills {
        flex-direction: column;
        width: 100%;
    }

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

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

    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
}

/* Extra Small Mobile Devices (phones <= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

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

    .tech-stack-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .tech-item-glow {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* STEP 1 - FINAL CONTACT INPUT FIX */

#multiStepContactForm input,
#multiStepContactForm textarea {
    background: #111329 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* Chrome Autofill FIX */
#multiStepContactForm input:-webkit-autofill,
#multiStepContactForm input:-webkit-autofill:hover,
#multiStepContactForm input:-webkit-autofill:focus,
#multiStepContactForm textarea:-webkit-autofill,
#multiStepContactForm textarea:-webkit-autofill:hover,
#multiStepContactForm textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px #111329 inset !important;
    box-shadow: 0 0 0 1000px #111329 inset !important;
    background-color: #111329 !important;
    transition: background-color 9999s ease-in-out 0s;
}

#multiStepContactForm input::placeholder,
#multiStepContactForm textarea::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    opacity: 1 !important;
}

#multiStepContactForm input:focus,
#multiStepContactForm textarea:focus {
    background: #111329 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
    outline: none;
}

/* STEP 2 - MAKE SOCIAL ICONS VISIBLE */

.social-links a {
    background: #111329 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.social-links a i {
    color: #ffffff !important;
    font-size: 18px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}  

/* STEP 3 - COMPACT BUSINESS OPTIONS */

#multiStepContactForm .business-options {
    gap: 8px !important;
}

#multiStepContactForm .business-option {
    min-height: 42px !important;
    height: 42px !important;
    padding: 7px 10px !important;
    border-radius: 9px !important;
    gap: 8px !important;
}

#multiStepContactForm .business-option .option-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 7px !important;
    font-size: 0.8rem !important;
}

#multiStepContactForm .business-option .option-text {
    font-size: 0.82rem !important;
}

#multiStepContactForm .business-option .option-arrow {
    font-size: 0.8rem !important;
}