/* ========================================
   BREAKWATER WEB - Main Stylesheet
   ========================================

   Table of Contents:
   1. CSS Variables (Brand Tokens)
   2. Reset & Base Styles
   3. Typography
   4. Layout Utilities
   5. Components (Buttons, Cards, etc.)
   6. Header & Navigation
   7. Hero Section
   8. Stats Section
   9. Services Section
   10. About Section
   11. Process Section
   12. Pricing Section
   13. Contact Section
   14. Footer
   15. Animations
   16. Responsive Design (Mobile-first breakpoints)

   ======================================== */


/* ========================================
   1. CSS VARIABLES (Brand Tokens)
   ========================================
   All colors, fonts, and spacing are defined here
   for easy maintenance and consistency.
   ======================================== */

:root {
    /* --- Colors --- */
    --color-ink: #1A1A1A;           /* Primary text color */
    --color-accent: #2563EB;         /* Blue - links, buttons, highlights */
    --color-accent-hover: #1d4fd8;   /* Darker blue for hover states */
    --color-accent-soft: #60A5FA;    /* Soft blue for dark backgrounds */
    --color-accent-pale: #BAD6FF;    /* Very light blue */
    --color-accent-bg: #EEF4FF;      /* Faint blue backgrounds */
    --color-white: #FFFFFF;
    --color-off-white: #FAFAF8;
    --color-background: #F3F2EE;     /* Main page background */
    --color-muted: #7C7C7C;          /* Secondary/muted text */
    --color-border: #E8E8E8;         /* Border color */
    --color-success: #22C55E;        /* Green for success/available */

    /* --- CodeStitch Variables --- */
    --primary: #2563EB;
    --primaryLight: #5b9bff;
    --secondary: #5b9bff;
    --secondaryLight: #93bbff;
    --headerColor: #1a1a1a;
    --bodyTextColor: #4e4b66;
    --bodyTextColorWhite: #fafbfc;
    --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem);
    --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --bodyFontSize: 1rem;
    --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;

    /* --- Fonts --- */
    --font-display: 'Outfit', sans-serif;     /* Logo */
    --font-heading: 'Sora', sans-serif;       /* Headings */
    --font-body: 'DM Sans', sans-serif;       /* Body text */

    /* --- Font Sizes (using clamp for fluid typography) --- */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: clamp(1.75rem, 4vw, 2rem);      /* 28-32px */
    --text-4xl: clamp(2rem, 5vw, 2.5rem);       /* 32-40px */
    --text-5xl: clamp(2.5rem, 6vw, 3.5rem);     /* 40-56px */
    --text-6xl: clamp(3rem, 8vw, 4.5rem);       /* 48-72px */

    /* --- Spacing --- */
    --space-xs: 0.25rem;     /* 4px */
    --space-sm: 0.5rem;      /* 8px */
    --space-md: 1rem;        /* 16px */
    --space-lg: 1.5rem;      /* 24px */
    --space-xl: 2rem;        /* 32px */
    --space-2xl: 3rem;       /* 48px */
    --space-3xl: 4rem;       /* 64px */
    --space-4xl: 6rem;       /* 96px */
    --space-5xl: 8rem;       /* 128px */

    /* --- Border Radius --- */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* --- Shadows --- */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);

    /* --- Transitions --- */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* --- Z-Index Scale --- */
    --z-header: 1000;
    --z-overlay: 900;
    --z-dropdown: 800;

    /* --- Header Height --- */
    --header-height: 72px;
}

/* --- CodeStitch Core Styles --- */
.cs-topper {
    font-size: var(--topperFontSize);
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
}

.cs-title {
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 43.75rem;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
}

.cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    max-width: 40.625rem;
    margin: 0;
    color: var(--bodyTextColor);
}


/* ========================================
   2. RESET & BASE STYLES
   ========================================
   Modern CSS reset and base element styling
   ======================================== */

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

html {
    /* Smooth scrolling for anchor links */
    scroll-behavior: smooth;
    /* Prevent font size inflation on mobile */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-ink);
    background-color: var(--color-background);
    /* Improve text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Remove default list styles */
ul, ol {
    list-style: none;
}

/* Make images responsive by default */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove default button styles */
button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* Remove default link styles */
a {
    color: inherit;
    text-decoration: none;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Hide elements visually but keep them accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hide honeypot field */
.hidden {
    display: none !important;
}


/* ========================================
   3. TYPOGRAPHY
   ========================================
   Heading styles and text utilities
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-ink);
}

/* Accent text color class */
.text-accent {
    color: var(--color-accent);
}

/* Muted text color */
.text-muted {
    color: var(--color-muted);
}


/* ========================================
   4. LAYOUT UTILITIES
   ========================================
   Container and layout helpers
   ======================================== */

/* Main container - centers content with max-width */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Section spacing */
section {
    padding: var(--space-4xl) 0;
}

/* Section header (tag + title + subtitle) */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

/* Small uppercase tag above section titles */
.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

/* Section title */
.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
}

/* Section subtitle */
.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto;
}


/* ========================================
   5. COMPONENTS
   ========================================
   Reusable UI components
   ======================================== */

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

/* Primary button - solid accent color */
.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Secondary button - outlined style */
.btn--secondary {
    background-color: var(--color-white);
    color: var(--color-ink);
    border: 1px solid var(--color-border);
}

.btn--secondary:hover {
    border-color: var(--color-ink);
    transform: translateY(-2px);
}

/* Large button variant */
.btn--large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-base);
}

/* Full-width button */
.btn--full {
    width: 100%;
}

/* Button arrow icon */
.btn__arrow {
    transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}


/* ========================================
   6. HEADER & NAVIGATION (CodeStitch)
   ========================================
   Floating nav with scroll behavior
   ======================================== */

/*-- -------------------------- -->
<---     Mobile Navigation      -->
<--- -------------------------- -*/
@media only screen and (max-width: 63.9375rem) {
  body.cs-open {
    overflow: hidden;
  }
  body.scroll #cs-navigation {
    width: 100%;
    max-width: 100%;
    top: 0;
  }
  body.scroll #cs-navigation:before {
    border-radius: 0;
  }
  body.scroll #cs-navigation .cs-ul-wrapper {
    top: 100%;
  }
  #cs-navigation {
    width: 94%;
    max-width: 80rem;
    box-sizing: border-box;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    border-radius: clamp(0.75rem, 2vw, 1.5rem);
    position: fixed;
    top: 2rem;
    left: 50%;
    z-index: 10000;
    transform: translateX(-50%);
    transition: top 0.3s, border-radius 0.3s, width 0.3s, max-width 0.3s;
  }
  #cs-navigation:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    opacity: 1;
    border-radius: clamp(0.75rem, 2vw, 1.5rem);
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.2s, border-radius 0.3s ease-in-out;
  }
  #cs-navigation.cs-active:before {
    transform: translateX(-50%) scale(1.03);
  }
  #cs-navigation.cs-active .cs-toggle {
    transform: rotate(180deg);
  }
  #cs-navigation.cs-active .cs-ul-wrapper {
    transform: scaleY(1);
    transition-delay: 0.15s;
  }
  #cs-navigation.cs-active .cs-li {
    opacity: 1;
    transform: translateY(0);
  }
  #cs-navigation .cs-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
  }
  #cs-navigation .cs-logo {
    width: auto;
    max-width: none;
    height: auto;
    margin: 0 auto 0 0;
    padding: 0 16px 0 8px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 10;
    text-decoration: none;
  }
  #cs-navigation .cs-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
  }
  #cs-navigation .cs-toggle {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 0 0 auto;
    background-color: #1a1a1a;
    border: none;
    border-radius: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    transition: transform 0.6s;
  }
  #cs-navigation .cs-nav {
    order: 3;
  }
  #cs-navigation .cs-contact-group {
    display: none;
    position: relative;
    z-index: 10;
  }
  #cs-navigation .cs-active .cs-line1 {
    top: 50%;
    transform: translate(-50%, -50%) rotate(225deg);
  }
  #cs-navigation .cs-active .cs-line2 {
    top: 50%;
    transform: translate(-50%, -50%) translateY(0) rotate(-225deg);
    transform-origin: center;
  }
  #cs-navigation .cs-active .cs-line3 {
    opacity: 0;
    bottom: 100%;
  }
  #cs-navigation .cs-box {
    width: clamp(1.5rem, 2vw, 1.75rem);
    height: 1rem;
    position: relative;
  }
  #cs-navigation .cs-line {
    width: 100%;
    height: 2px;
    background-color: #fafbfc;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #cs-navigation .cs-line1 {
    top: 0;
    transition: transform 0.5s, top 0.3s, left 0.3s;
    animation-duration: 0.7s;
    animation-timing-function: ease;
    animation-direction: normal;
    animation-fill-mode: forwards;
    transform-origin: center;
  }
  #cs-navigation .cs-line2 {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: top 0.3s, left 0.3s, transform 0.5s;
    animation-duration: 0.7s;
    animation-timing-function: ease;
    animation-direction: normal;
    animation-fill-mode: forwards;
  }
  #cs-navigation .cs-line3 {
    bottom: 0;
    transition: bottom 0.3s, opacity 0.3s;
  }
  #cs-navigation .cs-ul-wrapper {
    width: 100%;
    height: auto;
    padding-bottom: 2.4em;
    background-color: #fff;
    border-radius: 0 0 1.5rem 1.5rem;
    position: absolute;
    top: 85%;
    left: 0;
    z-index: -1;
    overflow: hidden;
    transform: scaleY(0);
    transition: transform 0.4s;
    transform-origin: top;
  }
  #cs-navigation .cs-ul {
    width: 100%;
    height: auto;
    max-height: 65vh;
    margin: 0;
    padding: 4rem 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
    overflow: auto;
  }
  #cs-navigation .cs-li {
    text-align: center;
    list-style: none;
    width: 100%;
    margin-right: 0;
    opacity: 0;
    transform: translateY(-4.375rem);
    transition: transform 0.6s, opacity 0.9s;
  }
  #cs-navigation .cs-li:nth-of-type(1) { transition-delay: 0.05s; }
  #cs-navigation .cs-li:nth-of-type(2) { transition-delay: 0.1s; }
  #cs-navigation .cs-li:nth-of-type(3) { transition-delay: 0.15s; }
  #cs-navigation .cs-li:nth-of-type(4) { transition-delay: 0.2s; }
  #cs-navigation .cs-li:nth-of-type(5) { transition-delay: 0.25s; }
  #cs-navigation .cs-li-link {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.2em;
    text-decoration: none;
    margin: 0;
    color: var(--headerColor);
    display: inline-block;
    position: relative;
  }
  #cs-navigation .cs-li-link.cs-active {
    color: var(--primary);
  }
  #cs-navigation .cs-li-link:hover {
    color: var(--primary);
  }
  #cs-navigation .cs-button-solid {
    display: none;
  }
}
@media only screen and (min-width: 48rem) {
  #cs-navigation .cs-contact-group {
    display: block;
  }
}

/*-- -------------------------- -->
<---     Desktop Navigation     -->
<--- -------------------------- -*/
@media only screen and (min-width: 64rem) {
  body.scroll #cs-navigation {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    top: 0;
  }
  #cs-navigation {
    width: 94%;
    max-width: 90rem;
    height: 7rem;
    box-sizing: border-box;
    padding: 0.5rem 0;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: clamp(0.75rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    position: fixed;
    top: 2rem;
    left: 50%;
    z-index: 10000;
    transform: translateX(-50%);
    transition: top 0.3s, border-radius 0.3s, width 0.3s, max-width 0.3s;
  }
  #cs-navigation .cs-container {
    width: 100%;
    max-width: 90rem;
    height: 100%;
    margin: auto;
    box-sizing: border-box;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
  #cs-navigation .cs-toggle {
    display: none;
  }
  #cs-navigation .cs-logo {
    width: auto;
    max-width: none;
    height: auto;
    margin: 0 auto 0 0;
    padding: 0 24px 0 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
    text-decoration: none;
  }
  #cs-navigation .cs-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
  }
  #cs-navigation .cs-contact-group {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 1.5rem;
    flex-shrink: 0;
  }
  #cs-navigation .cs-ul-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #cs-navigation .cs-ul {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(1.25rem, 2.6vw, 2.25rem);
  }
  #cs-navigation .cs-li {
    list-style: none;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    flex: none;
  }
  #cs-navigation .cs-li-link {
    font-size: 1rem;
    line-height: 1.5em;
    text-decoration: none;
    margin: 0;
    color: var(--headerColor);
    display: block;
    position: relative;
    transition: color 0.3s;
  }
  #cs-navigation .cs-li-link:hover {
    color: var(--primary);
  }
  #cs-navigation .cs-li-link.cs-active {
    color: var(--primary);
  }
  #cs-navigation .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-align: center;
    text-decoration: none;
    min-width: 9.375rem;
    margin: 0;
    box-sizing: border-box;
    padding: 0 2rem;
    color: #fff;
    background-color: var(--primary);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }
  #cs-navigation .cs-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: #000;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
  }
  #cs-navigation .cs-button-solid:hover:before {
    width: 100%;
  }
}

/* --- Logo (for footer) --- */
.logo {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo__b {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-ink);
    line-height: 1;
}

.logo__sup {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-accent) !important;
    position: relative;
    top: -0.5em;
    margin-left: -2px;
}

.logo__text {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-ink);
    margin-left: var(--space-xs);
}

/* Light logo variant for dark backgrounds */
.logo--light .logo__b,
.logo--light .logo__text {
    color: var(--color-white);
}

.logo--light .logo__sup {
    color: var(--color-accent-soft);
}


/* ========================================
   7. HERO SECTION (CodeStitch Hero-856)
   ========================================
   Two-column hero with image and wave
   ======================================== */

/*-- -------------------------- -->
<---            Hero            -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem) {
  #hero-856 {
    text-align: center;
    padding: clamp(7.25rem, 16.82vw, 10.25rem) 1rem clamp(3.75rem, 7.82vw, 6.25rem);
    background-color: #F5F4F0;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #hero-856 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
  }
  #hero-856 .cs-content {
    max-width: 39.375rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #hero-856 .cs-title {
    font-size: clamp(2.4375rem, 5vw, 3.8125rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: center;
    max-width: 23ch;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
  }
  #hero-856 .cs-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.5em;
    text-align: center;
    width: 100%;
    max-width: 33.1875rem;
    margin: 0 0 clamp(1.75rem, 3.92vw, 2.5rem) 0;
    color: var(--bodyTextColor);
  }
  #hero-856 .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }
  #hero-856 .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
  }
  #hero-856 .cs-button-solid:hover:before {
    width: 100%;
  }
  #hero-856 .cs-picture {
    width: 100%;
    max-width: 40rem;
    height: clamp(20rem, 40vw, 30rem);
    border-radius: 1rem;
    box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    display: block;
    position: relative;
  }
  #hero-856 .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
  }
  #hero-856 .cs-wave {
    width: 320%;
    height: auto;
    display: block;
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    z-index: -1;
  }
}
@media only screen and (min-width: 64rem) {
  #hero-856 {
    text-align: left;
  }
  #hero-856 .cs-container {
    flex-direction: row;
    justify-content: space-between;
  }
  #hero-856 .cs-content {
    width: 40vw;
    flex: none;
    align-items: flex-start;
    order: 2;
  }
  #hero-856 .cs-title,
  #hero-856 .cs-text {
    text-align: left;
  }
  #hero-856 .cs-picture {
    height: clamp(20rem, 40vw, 30rem);
  }
  #hero-856 .cs-wave {
    width: 100%;
    left: 0;
    transform: scaleX(-1);
  }
}


/* ========================================
   8. STATS SECTION
   ========================================
   Dark bar with key statistics
   ======================================== */

.stats {
    background-color: var(--color-ink);
    padding: var(--space-2xl) 0;
    position: relative;
}

/* Subtle blue gradient line at top */
.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--color-accent) 0%,
        var(--color-accent-soft) 50%,
        var(--color-accent) 100%
    );
}

.stats__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3xl);
}

.stats__item {
    text-align: center;
}

.stats__number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.stats__label {
    font-size: var(--text-sm);
    color: var(--color-muted);
}


/* ========================================
   9. SERVICES SECTION (CodeStitch)
   ========================================
   Three-column services with dark background
   ======================================== */

/*-- -------------------------- -->
<---         Services           -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem) {
  #services-1121 {
    padding: var(--sectionPadding);
    background-color: #1a1a1a;
    position: relative;
    z-index: 1;
  }
  #services-1121 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #services-1121 .cs-card-group {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  #services-1121 .cs-item {
    text-align: center;
    list-style: none;
    width: 100%;
    max-width: 25.8125rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 1.5rem);
  }
  #services-1121 .cs-image-group {
    width: clamp(5rem, 8vw, 6.25rem);
    height: clamp(5rem, 8vw, 6.25rem);
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
    position: relative;
    z-index: 1;
  }
  #services-1121 .cs-icon {
    width: clamp(2.25rem, 4vw, 3rem);
    height: auto;
  }
  #services-1121 .cs-graphic {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
  }
  #services-1121 .cs-h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 700;
    text-align: inherit;
    margin: 0 0 0.75rem;
    color: var(--bodyTextColorWhite);
  }
  #services-1121 .cs-item-text {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    color: var(--bodyTextColorWhite);
  }
  #services-1121 .cs-waves {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    position: absolute;
    z-index: -1;
  }
}
@media only screen and (min-width: 48rem) {
  #services-1121 .cs-card-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: clamp(1rem, 2.5vw, 1.25rem);
  }
}
@media only screen and (min-width: 64rem) {
  #services-1121 .cs-item {
    text-align: left;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}


/* ========================================
   10. ABOUT SECTION
   ========================================
   Two-column layout with quote card
   ======================================== */

.about {
    background-color: var(--color-off-white);
}

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

/* Dark quote card */
.about__quote-card {
    background-color: var(--color-ink);
    padding: var(--space-3xl);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

/* Floating B3 badge in corner */
.about__quote-badge {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    opacity: 0.1;
}

.about__quote-badge .logo__b {
    font-size: 3rem;
    color: var(--color-white);
}

.about__quote-badge .logo__sup {
    font-size: 1.5rem;
    color: var(--color-accent-soft);
    top: -1em;
}

.about__badge-logo {
    height: 30px;
    width: auto;
    opacity: 0.15;
    filter: brightness(0) invert(1);
}

.about__quote {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.4;
    margin-bottom: var(--space-xl);
}

.about__cite {
    display: flex;
    flex-direction: column;
    font-style: normal;
}

.about__cite strong {
    color: var(--color-white);
    font-weight: 600;
}

.about__cite span {
    color: var(--color-muted);
    font-size: var(--text-sm);
}

/* Right content area */
.about__title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-lg);
}

.about__text {
    color: var(--color-muted);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.about__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.about__heading {
    font-size: var(--text-xl);
    color: var(--color-text);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.about__list {
    color: var(--color-muted);
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
    line-height: 1.8;
}

.about__list li {
    margin-bottom: var(--space-xs);
}

/* Checkmarks list */
.about__checklist {
    margin: var(--space-xl) 0;
}

.about__check-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.about__check-icon {
    flex-shrink: 0;
    color: var(--color-accent);
}


/* ========================================
   10b. PORTFOLIO SECTION
   ========================================
   Featured project showcase with laptop mockup
   ======================================== */

.portfolio {
    background-color: var(--color-background);
}

/* Portfolio card */
.portfolio__card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all var(--transition-base);
}

.portfolio__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

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

/* Device Mockups (CSS-only) */
.portfolio__mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-group {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding-bottom: 60px;
    padding-right: 70px;
}

/* Laptop Mockup */
.laptop {
    width: 100%;
    max-width: 420px;
}

.laptop__screen {
    background-color: #2D2D2D;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 12px 12px 8px;
    position: relative;
}

.laptop__screen::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #444;
    border-radius: 50%;
}

.laptop__image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    background-color: #f0f0f0;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.laptop__base {
    background: linear-gradient(to bottom, #2D2D2D 0%, #1a1a1a 100%);
    height: 14px;
    border-radius: 0 0 4px 4px;
    position: relative;
}

.laptop__base::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 4px;
    background-color: #3a3a3a;
    border-radius: 0 0 4px 4px;
}

/* Phone Mockup */
.phone {
    position: absolute;
    right: -20px;
    bottom: -10px;
    width: 130px;
    background-color: #2D2D2D;
    border-radius: 24px;
    padding: 10px 8px;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.phone__notch {
    width: 40%;
    height: 5px;
    background-color: #1a1a1a;
    border-radius: var(--radius-full);
    margin: 0 auto 8px;
}

.phone__screen {
    background-color: #f0f0f0;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
}

.phone__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* Project content */
.portfolio__content {
    padding: var(--space-md) 0;
}

.portfolio__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
}

.portfolio__description {
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

/* Tech pills/badges */
.portfolio__tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.portfolio__pill {
    display: inline-block;
    background-color: var(--color-accent-bg);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
}

/* Project links */
.portfolio__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* More projects note */
.portfolio__note {
    text-align: center;
    color: var(--color-muted);
    font-size: var(--text-sm);
    font-style: italic;
    margin-top: var(--space-2xl);
}

/* Wide portfolio card variant (for mockup images) */
.portfolio__card--wide {
    margin-top: var(--space-2xl);
}

.portfolio__card-inner--wide {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl);
    align-items: center;
}

.portfolio__mockup--wide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio__mockup-image {
    width: 115%;
    max-width: 115%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-left: 0;
}

/* Responsive: Stack on mobile */
@media (max-width: 900px) {
    .portfolio__card-inner--wide {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .portfolio__mockup--wide {
        order: -1;
    }

    .portfolio__mockup-image {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}


/* ========================================
   11. PROCESS SECTION
   ========================================
   4 steps in a row with connecting line
   ======================================== */

.process {
    background-color: var(--color-background);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
}

/* Connecting line between steps */
.process__steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: linear-gradient(90deg,
        var(--color-border) 0%,
        var(--color-accent-pale) 50%,
        var(--color-border) 100%
    );
    z-index: 0;
}

.process__step {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Numbered circle */
.process__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-lg);
    background-color: var(--color-white);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.process__step-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.process__step-text {
    color: var(--color-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}


/* ========================================
   12. PRICING SECTION (CodeStitch)
   ========================================
   Two pricing cards side by side
   ======================================== */

/*-- -------------------------- -->
<---          Pricing           -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem) {
    #pricing-1087 {
        padding: var(--sectionPadding);
        background-color: #f7f8f8;
        position: relative;
    }
    #pricing-1087 .cs-container {
        width: 100%;
        max-width: 80em;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(3rem, 6vw, 4rem);
        position: relative;
    }
    #pricing-1087 .cs-content {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 10;
    }
    #pricing-1087 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(1rem, 1.8vw, 1.25rem);
        position: relative;
        z-index: 10;
    }
    #pricing-1087 .cs-item {
        text-align: left;
        list-style: none;
        width: 100%;
        max-width: 31.25rem;
        margin: 0;
        padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem);
        background-color: #fff;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: relative;
    }
    #pricing-1087 .cs-item.cs-popular {
        background-color: #1a1a1a;
    }
    #pricing-1087 .cs-item.cs-popular:before {
        content: "Most Popular";
        text-transform: uppercase;
        font-size: 0.8125rem;
        font-weight: 700;
        line-height: 1.2em;
        letter-spacing: 0.01em;
        padding: 0.5rem 1.25rem;
        background: var(--primary);
        color: #fff;
        opacity: 1;
        position: absolute;
        display: block;
        top: 0;
        right: 0;
    }
    #pricing-1087 .cs-item.cs-popular .cs-package {
        color: #888;
    }
    #pricing-1087 .cs-item.cs-popular .cs-price,
    #pricing-1087 .cs-item.cs-popular .cs-item-p,
    #pricing-1087 .cs-item.cs-popular .cs-li {
        color: var(--bodyTextColorWhite);
    }
    #pricing-1087 .cs-item.cs-popular .cs-li.cs-disabled {
        filter: grayscale(1) brightness(550%);
    }
    #pricing-1087 .cs-item.cs-popular .cs-icon {
        filter: grayscale(1) brightness(1000%);
    }
    #pricing-1087 .cs-item.cs-popular .cs-button-solid {
        transition: color 0.3s;
    }
    #pricing-1087 .cs-item.cs-popular .cs-button-solid:hover {
        color: var(--primary);
    }
    #pricing-1087 .cs-item.cs-popular .cs-button-solid:before {
        background-color: #fff;
    }
    #pricing-1087 .cs-package {
        font-size: clamp(0.8125rem, 1.4vw, 1rem);
        line-height: 1.2em;
        text-align: inherit;
        text-transform: uppercase;
        font-weight: 700;
        margin: 0 0 0.5rem 0;
        color: #767676;
        display: block;
    }
    #pricing-1087 .cs-price {
        font-size: var(--headerFontSize);
        line-height: 1.2em;
        text-align: inherit;
        font-weight: 900;
        margin: 0;
        color: var(--headerColor);
    }
    #pricing-1087 .cs-item-p {
        font-size: 1rem;
        line-height: 1.5em;
        text-align: inherit;
        font-weight: 400;
        margin: 0 0 clamp(1rem, 2vw, 1.5rem);
        color: var(--bodyTextColor);
    }
    #pricing-1087 .cs-ul {
        margin: 1.5rem 0 0;
        padding: 1.5rem 0 0 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        position: relative;
    }
    #pricing-1087 .cs-ul:before {
        content: "";
        width: 100%;
        height: 1px;
        background: linear-gradient(
            90deg,
            rgba(232, 232, 232, 0.2) 0%,
            #e8e8e8 53.78%,
            rgba(232, 232, 232, 0.2) 100%
        );
        opacity: 1;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
    }
    #pricing-1087 .cs-li {
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        list-style: none;
        line-height: 1.2em;
        width: 100%;
        margin: 0;
        padding: 0;
        color: var(--bodyTextColor);
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
    }
    #pricing-1087 .cs-li.cs-disabled {
        opacity: 0.5;
    }
    #pricing-1087 .cs-li.cs-disabled .cs-icon {
        filter: grayscale(1) brightness(300%);
    }
    #pricing-1087 .cs-icon {
        width: 1.125rem;
        height: auto;
        display: block;
    }
    #pricing-1087 .cs-button-solid {
        font-size: 1rem;
        line-height: clamp(2.875em, 5.5vw, 3.5em);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primary);
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
    }
    #pricing-1087 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 0.25rem;
        transition: width 0.3s;
    }
    #pricing-1087 .cs-button-solid:hover:before {
        width: 100%;
    }
    #pricing-1087 .cs-price-button {
        margin-top: auto;
        width: 100%;
        border-radius: 0;
    }
    #pricing-1087 .cs-price-button:before {
        border-radius: 0;
    }
}
@media only screen and (min-width: 48rem) {
    #pricing-1087 .cs-card-group {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
}


/* ========================================
   13. CONTACT SECTION (CodeStitch)
   ========================================
   Two-column: form on left, info on right
   ======================================== */

/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/
@media only screen and (min-width: 0rem) {
  #cs-contact-490 {
    padding: var(--sectionPadding);
  }
  #cs-contact-490 .cs-container {
    width: 100%;
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
  }
  #cs-contact-490 .cs-content {
    max-width: 32.625rem;
    text-align: left;
  }
  #cs-contact-490 .cs-text {
    margin: 0 0 clamp(1rem, 4.4vw, 3rem) 0;
  }
  #cs-contact-490 .cs-header {
    font-size: clamp(0.8125rem, 1.5vw, 1rem);
    line-height: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
    color: #b4b2c7;
    display: block;
  }
  #cs-contact-490 .cs-link {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-decoration: none;
    line-height: 1.5em;
    font-weight: 700;
    margin: 0 0 clamp(1rem, 2.5vw, 2rem);
    color: var(--headerColor);
    display: block;
  }
  #cs-contact-490 .cs-link:hover {
    text-decoration: underline;
  }
  #cs-contact-490 .cs-link:last-of-type {
    margin-bottom: 0;
  }
  #cs-contact-490 #cs-form-490 {
    width: 100%;
    max-width: 40.625rem;
    margin-bottom: clamp(2rem, 5.3vw, 2.5rem);
    padding: clamp(1.25rem, 4.5vw, 2.5rem);
    box-sizing: border-box;
    border: 1px solid #dad9e3;
    border-radius: 1rem;
  }
  #cs-contact-490 .cs-label {
    font-size: clamp(0.875rem, 1.3vw, 1rem);
    line-height: 1.5em;
    font-weight: 700;
    margin-bottom: clamp(1rem, 1em, 1.25rem);
    color: var(--headerColor);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
  }
  #cs-contact-490 .cs-label-message {
    margin-bottom: clamp(2rem, 4.5vw, 2.5rem);
  }
  #cs-contact-490 .cs-input,
  #cs-contact-490 textarea {
    font-size: 1rem;
    width: 100%;
    height: 4rem;
    margin-top: 0.25rem;
    padding-left: 1.25rem;
    border: 1px solid transparent;
    border-bottom: 1px solid #b4b2c7;
    box-sizing: border-box;
    transition: border 0.3s;
  }
  #cs-contact-490 .cs-input:hover,
  #cs-contact-490 textarea:hover {
    border: 1px solid var(--primary);
  }
  #cs-contact-490 .cs-input::placeholder,
  #cs-contact-490 textarea::placeholder {
    color: #7d799c;
  }
  #cs-contact-490 textarea {
    font-family: inherit;
    margin: 0;
    padding-top: 1.25rem;
    min-height: 7.5rem;
  }
  #cs-contact-490 .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: auto;
    width: 100%;
    color: #fff;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border: none;
    border-radius: 0.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }
  #cs-contact-490 .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.5rem;
    transition: width 0.3s;
  }
  #cs-contact-490 .cs-button-solid:hover {
    cursor: pointer;
  }
  #cs-contact-490 .cs-button-solid:hover:before {
    width: 100%;
  }
}
@media only screen and (min-width: 43.75rem) {
  #cs-contact-490 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
  }
  #cs-contact-490 .cs-content {
    width: 40%;
    order: 2;
    flex: none;
  }
  #cs-contact-490 #cs-form-490 {
    margin: 0;
  }
}


/* ========================================
   14. FOOTER
   ========================================
   Dark footer with logo and links
   ======================================== */

.footer {
    background-color: var(--color-ink);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

/* Faded B3 watermark */
.footer__watermark {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(150px, 30vw, 300px);
    font-weight: 800;
    color: var(--color-white);
    opacity: 0.02;
    user-select: none;
    pointer-events: none;
    line-height: 1;
}

.footer__watermark sup {
    font-size: 0.4em;
    color: var(--color-accent-soft);
    opacity: 0.5;
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer .logo {
    margin-bottom: var(--space-lg);
}

.footer__logo-link {
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.footer__logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__tagline {
    color: var(--color-muted);
    max-width: 400px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.footer__nav {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer__link {
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-accent-soft);
}

.footer__copyright {
    color: var(--color-muted);
    font-size: var(--text-sm);
}


/* ========================================
   15. ANIMATIONS
   ========================================
   Scroll-triggered fade-in animations
   ======================================== */

/* Fade in from below */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Simple fade in */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.fade-in.is-visible {
    opacity: 1;
}

/* Stagger children animations */

.process__steps .process__step:nth-child(1) { --delay: 0s; }
.process__steps .process__step:nth-child(2) { --delay: 0.1s; }
.process__steps .process__step:nth-child(3) { --delay: 0.2s; }
.process__steps .process__step:nth-child(4) { --delay: 0.3s; }


/* ========================================
   16. RESPONSIVE DESIGN
   ========================================
   Mobile-first breakpoints
   ======================================== */

/* Tablet and below (768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    /* --- Stats Mobile --- */
    .stats__container {
        gap: var(--space-xl);
    }

    .stats__item {
        flex: 1 1 100%;
    }

    /* --- About Mobile --- */
    .about__container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about__quote-card {
        padding: var(--space-xl);
    }

    .about__quote {
        font-size: var(--text-xl);
    }

    /* --- Portfolio Mobile --- */
    .portfolio__card-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .portfolio__mockup {
        order: -1;
    }

    .mockup-group {
        padding-bottom: 0;
        padding-right: 0;
    }

    .laptop {
        max-width: 360px;
    }

    /* Hide phone on mobile */
    .phone {
        display: none;
    }

    .portfolio__links {
        flex-direction: column;
    }

    .portfolio__links .btn {
        width: 100%;
    }

    /* --- Process Mobile --- */
    .process__steps {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl) var(--space-lg);
    }

    /* Hide connecting line on mobile */
    .process__steps::before {
        display: none;
    }

    /* --- Footer Mobile --- */
    .footer__nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-md) var(--space-lg);
    }

    .footer__watermark {
        display: none;
    }
}

/* Small mobile (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    section {
        padding: var(--space-3xl) 0;
    }

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

    .portfolio__card-inner {
        padding: var(--space-xl);
    }

    .laptop {
        max-width: 100%;
    }

    /* Process: 1 column on small mobile */
    .process__steps {
        grid-template-columns: 1fr;
    }
}

/* Large screens (1200px+) */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}


/* ========================================
   17. DARK MODE (Reserved for future use)
   ========================================
   Dark mode styles - can be enabled with
   body.dark-mode class via JavaScript
   ======================================== */

/* Dark Mode Variables */
body.dark-mode {
    --color-ink: #F5F4F0;
    --color-background: #1A1A1A;
    --color-off-white: #242424;
    --color-white: #2D2D2D;
    --color-muted: #A0A0A0;
    --color-border: #3D3D3D;
}

/* Dark Mode - Navigation */
body.dark-mode #cs-navigation {
    background-color: #2D2D2D;
}

body.dark-mode #cs-navigation:before {
    background: #2D2D2D;
}

body.dark-mode #cs-navigation .cs-logo {
    color: #F5F4F0;
}

body.dark-mode #cs-navigation .cs-li-link {
    color: #F5F4F0;
}

body.dark-mode #cs-navigation .cs-ul-wrapper {
    background-color: #2D2D2D;
}

/* Dark Mode - Hero */
body.dark-mode #hero-856 {
    background-color: #2D2D2D;
}

body.dark-mode #hero-856 .cs-wave path {
    fill: var(--color-background);
}

/* Dark Mode - Stats */
body.dark-mode .stats {
    background-color: #0D0D0D;
}

/* Dark Mode - Sections */
body.dark-mode .process {
    background-color: var(--color-background);
}

body.dark-mode .about {
    background-color: var(--color-off-white);
}

/* Dark Mode - Cards */
body.dark-mode .portfolio__card {
    background-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Dark Mode - About Quote Card */
body.dark-mode .about__quote-card {
    background-color: #0D0D0D;
}

/* Dark Mode - Process */
body.dark-mode .process__number {
    background-color: var(--color-white);
    color: var(--color-accent);
}

body.dark-mode .process__steps::before {
    background: linear-gradient(90deg,
        var(--color-border) 0%,
        var(--color-accent) 50%,
        var(--color-border) 100%
    );
}

/* Dark Mode - Form Inputs */
body.dark-mode .form-input {
    background-color: var(--color-off-white);
    border-color: var(--color-border);
    color: #F5F4F0;
}

body.dark-mode .form-input:focus {
    background-color: var(--color-white);
}

body.dark-mode .form-input::placeholder {
    color: var(--color-muted);
}

/* Dark Mode - Footer */
body.dark-mode .footer {
    background-color: #0D0D0D;
}

/* Dark Mode - Buttons */
body.dark-mode .btn--secondary {
    background-color: var(--color-white);
    color: #F5F4F0;
    border-color: var(--color-border);
}

body.dark-mode .btn--secondary:hover {
    border-color: #F5F4F0;
}

/* Dark Mode - Portfolio */
body.dark-mode .laptop__screen,
body.dark-mode .laptop__base,
body.dark-mode .phone {
    background-color: #1a1a1a;
}

body.dark-mode .laptop__base::before {
    background-color: #2a2a2a;
}

