/* ==========================================================================
   DESIGN VARIABLES & RESETS
   ========================================================================== */
:root {
    --accent-sky: #0284c7;
    --accent-sky-dark: #0369a1;
    --bg-dark-black: #e0f2fe;
    /* Light sky blue background */
    --bg-navy-dark: #ffffff;
    /* White card backgrounds */
    --bg-navy-mid: #f0f9ff;
    /* Very soft sky blue for nested card surfaces */
    --bg-navy-light: #bae6fd;
    /* Highlighting grids */
    --text-white: #0f172a;
    /* Dark slate for titles and headers */
    --text-light: #1e293b;
    /* Slate-800 for body copy */
    --text-muted: #64748b;
    /* Slate-500 for secondary details */
    --border-color: rgba(2, 132, 199, 0.2);
    --border-muted: rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(2, 132, 199, 0.15);
    --glow-sky: rgba(2, 132, 199, 0.1);
    --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-color: var(--bg-dark-black);
    color: var(--text-light);
    font-family: var(--font-primary);
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Custom animated mouse cursor styles */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-sky);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.15s, height 0.15s, background-color 0.15s;
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--accent-sky);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
}

/* Cursor hover states */
.cursor-ring.hovered {
    width: 50px;
    height: 50px;
    border-color: var(--text-white);
    background-color: rgba(56, 189, 248, 0.08);
}

.cursor-dot.hovered {
    background-color: var(--text-white);
    width: 8px;
    height: 8px;
}

@media (hover: none) {

    .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 */
.badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-sky);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--glass-bg);
    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: var(--accent-sky);
    filter: drop-shadow(0 0 6px var(--glow-sky));
    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: var(--text-muted);
    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: var(--accent-sky);
    transition: var(--transition-fast);
    box-shadow: 0 0 6px var(--accent-sky);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

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

.nav-btn {
    background-color: var(--accent-sky);
    color: #ffffff !important;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.nav-btn:hover {
    background-color: var(--text-white);
    color: #ffffff !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

.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: var(--text-light);
    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: var(--accent-sky);
    color: var(--bg-dark-black);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
    background-color: var(--text-white);
    color: var(--bg-dark-black);
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: rgba(56, 189, 248, 0.05);
    border-color: var(--accent-sky);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.1);
}

.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;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Glass Cards */
.card {
    background: var(--bg-navy-dark);
    border: 1px solid var(--border-muted);
    border-radius: 10px;
    padding: 2.25rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.08);
}

/* ==========================================================================
   1. HOME SECTION STYLES
   ========================================================================== */

.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
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 3.5rem;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    width: 46px;
    height: 46px;
    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;
}

.info-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-details p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.phone-link,
.whatsapp-contact-link,
.insta-link,
.fb-link {
    color: var(--accent-sky);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.15rem;
    transition: var(--transition-fast);
}

.social-contact-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-contact-links .divider {
    color: var(--border-muted);
}

.phone-link:hover,
.whatsapp-contact-link:hover,
.insta-link:hover,
.fb-link:hover {
    color: var(--text-white);
    text-shadow: 0 0 8px var(--glow-sky);
}

.contact-form-wrapper {
    background-color: var(--bg-navy-dark);
    border: 1px solid var(--border-muted);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-dark-black);
    border: 1px solid var(--border-muted);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-sky);
    box-shadow: 0 0 10px var(--glow-sky);
    background-color: var(--bg-navy-mid);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    font-size: 0.7rem;
    color: var(--text-muted);
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding-right: 2.5rem;
}

/* Validation states */
.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ff5f56;
}

.error-msg {
    display: none;
    color: #ff5f56;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Success Card screens */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem;
}

.form-success.hidden {
    display: none;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(56, 189, 248, 0.1);
    border: 2px solid var(--accent-sky);
    border-radius: 50%;
    color: var(--accent-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    box-shadow: 0 0 15px var(--glow-sky);
    animation: scale-up 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.form-success h3 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 1.05rem;
    max-width: 440px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@keyframes scale-up {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   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: var(--bg-dark-black);
        border-top: 1px solid var(--border-muted);
        flex-direction: column;
        align-items: stretch;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 99;
    }

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

    .nav-link {
        font-size: 1.25rem;
        text-align: center;
    }

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

    .nav-btn {
        text-align: center;
        margin-top: 1rem;
    }

    /* 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: 2.75rem;
    }

    .section-title {
        font-size: 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.75rem;
    }

    .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;
    }
}